Changes between Initial Version and Version 2 of Ticket #30313


Ignore:
Timestamp:
Jul 23, 2011, 6:45:21 PM (13 years ago)
Author:
n3npq@…
Comment:

Replying to sgrewe@…: There proper "fix" here is rather not obvious:

rpm-4.4.9 was released 4+ years ago and has no upgrade path and no future whatsoever.

So the best fix imho is to retire rpm-4.4.9 and use rpm-5.2.1 instead.

If you disagree, then its easy enough to either stub-in the symbol, or #if 0 the code, since MacPorts uses Mach-O, not ELF. If there really is someone who relies on rpm+elf on MacPorts, then rpm-5.2.1 (released several years ago) is a far better solution than repairing rpm-4.4.9.

I can likely figure a "fix" for rpm-4.4.9 in a couple of minutes if there really is interest in rpm-4.4.9 functioning in MacPorts in spite of what I've just said.

Which solution do you wish (and asked generally of MacPorts as well as specifically of the bug reporter)?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30313

    • Property Owner changed from macports-tickets@… to n3npq@…
    • Property Port 4.4.9 removed
  • Ticket #30313 – Description

    initial v2  
    11snow leopard 10.6.8
    22Xcode:  3.2.6 (1761)
    3 {{{
    4 ...
    5 :info:build /usr/bin/gcc-4.2 -dynamiclib  -o .libs/librpm-4.4.dylib  .libs/cpio.o .libs/depends.o .libs/formats.o .libs/fs.o .libs/fsm.o .libs/getdate.o .libs/manifest.o .libs/misc.o .libs/package.o .libs/poptALL.o .libs/poptI.o .libs/poptQV.o .libs/psm.o .libs/query.o .libs/rpmal.o .libs/rpmchecksig.o .libs/rpmdpkg.o .libs/rpmds.o .libs/rpmevr.o .libs/rpmfc.o .libs/rpmfi.o .libs/rpmgi.o .libs/rpminstall.o .libs/rpmrollback.o .libs/rpmlead.o .libs/rpmlock.o .libs/rpmns.o .libs/rpmps.o .libs/rpmrc.o .libs/rpmsx.o .libs/rpmte.o .libs/rpmts.o .libs/signature.o .libs/stringbuf.o .libs/transaction.o .libs/verify.o .libs/tar.o  -L/opt/local/lib ../rpmdb/.libs/librpmdb.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_rpm/rpm/work/rpm-4.4.9/rpmio/.libs/librpmio.dylib /opt/local/lib/libbeecrypt.dylib /opt/local/lib/libneon.dylib /opt/local/lib/libssl.dylib /opt/local/lib/libcrypto.dylib /opt/local/lib/libexpat.dylib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_rpm/rpm/work/rpm-4.4.9/zlib /opt/local/lib/libz.dylib /opt/local/lib/libbz2.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libsqlite3.dylib ../rpmio/.libs/librpmio.dylib /opt/local/lib/libpopt.dylib  -arch x86_64 -install_name  /opt/local/lib/librpm-4.4.dylib
    6 :info:build Undefined symbols:
    7 :info:build   "_elf_strptr", referenced from:
    8 :info:build       _rpmdsELF in rpmds.o
    9 :info:build       _rpmdsELF in rpmds.o
    10 :info:build       _rpmdsELF in rpmds.o
    11 :info:build       _rpmdsELF in rpmds.o
    12 :info:build       _rpmdsELF in rpmds.o
    13 :info:build ld: symbol(s) not found
    14 :info:build collect2: ld returned 1 exit status
    15 :info:build gnumake[3]: *** [librpm.la] Error 1
    16 :info:build gnumake[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_rpm/rpm/work/rpm-4.4.9/lib'
    17 :info:build gnumake[2]: *** [all] Error 2
    18 :info:build gnumake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_rpm/rpm/work/rpm-4.4.9/lib'
    19 :info:build gnumake[1]: *** [all-recursive] Error 1
    20 :info:build gnumake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_rpm/rpm/work/rpm-4.4.9'
    21 :info:build gnumake: *** [all] Error 2
    22 :info:build gnumake: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_rpm/rpm/work/rpm-4.4.9'
    23 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_rpm/rpm/work/rpm-4.4.9" && /usr/bin/gnumake -w all " returned error 2
    24 :error:build Target org.macports.build returned: shell command failed (see log for details)
    25 :debug:build Backtrace: shell command failed (see log for details)
    26     while executing
    27 "command_exec build"
    28     (procedure "portbuild::build_main" line 8)
    29     invoked from within
    30 "$procedure $targetname"
    31 :info:build Warning: the following items did not execute (for rpm): org.macports.activate org.macports.build org.macports.destroot org.macports.install
    32 :error:build Failed to install rpm
    33 :notice:build Log for rpm is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_rpm/rpm/main.log
    34 }}}
     3
     4
     5There proper "fix" here is rather not obvious:
     6     rpm-4.4.9 was released 4+ years ago and has no upgrade
     7     path and no future whatsoever.
     8
     9So the best fix imho is to retire rpm-4.4.9 and use rpm-5.2.1 instead.
     10
     11If you disagree, then its easy enough to either stub-in the symbol,
     12or #if 0 the code, since MacPorts uses Mach-O, not ELF. If there really
     13is someone who relies on rpm+elf on MacPorts, then rpm-5.2.1
     14(released several years ago) is a far better solution than repairing
     15rpm-4.4.9.
     16
     17I can likely figure a "fix" for rpm-4.4.9 in a couple of minutes
     18if there really is interest in rpm-4.4.9 functioning in MacPorts
     19in spite of what I've just said.
     20
     21Which solution do you wish (and asked generally of MacPorts as well
     22as specifically of the bug reporter)?