[MacPorts] #32851: logrotate fails to build
#32851: logrotate fails to build ------------------------------+--------------------------------------------- Reporter: steve@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ------------------------------+--------------------------------------------- ld exits with message 'ld: library not found for -lpopt' and a ls returns: steve-mini:~ root# ls /opt/local/lib/*popt* /opt/local/lib/libpopt.0.dylib /opt/local/lib/libpopt.dylib /opt/local/lib/libpopt.a /opt/local/lib/libpopt.la -- Ticket URL: <https://trac.macports.org/ticket/32851> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32851: logrotate fails to build when broken bzip2 from Fink is installed -------------------------------+-------------------------------------------- Reporter: steve@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: invalid | Keywords: Port: logrotate | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => invalid * port: => logrotate Old description:
ld exits with message 'ld: library not found for -lpopt' and a ls returns:
steve-mini:~ root# ls /opt/local/lib/*popt* /opt/local/lib/libpopt.0.dylib /opt/local/lib/libpopt.dylib /opt/local/lib/libpopt.a /opt/local/lib/libpopt.la
New description: ld exits with message '`ld: library not found for -lpopt`' and a ls returns: {{{ steve-mini:~ root# ls /opt/local/lib/*popt* /opt/local/lib/libpopt.0.dylib /opt/local/lib/libpopt.dylib /opt/local/lib/libpopt.a /opt/local/lib/libpopt.la }}} -- Comment: The problem is: {{{ :info:install dyld: Library not loaded: /sw/lib/libbz2.1.dylib :info:install Referenced from: /sw/bin/bzip2 :info:install Reason: Incompatible library version: bzip2 requires version 1.0.1 or later, but libbz2.1.dylib provides version 1.0.0 }}} You have Fink installed. (Specifically, you have Fink's bzip2 program, but not Fink's bzip2 library, therefore Fink's bzip2 program doesn't work.) It is not supported to have another package manager or files installed by it installed while using MacPorts. Please decide whether you would like to use MacPorts or Fink, and uninstall the other and all software installed by it. -- Ticket URL: <https://trac.macports.org/ticket/32851#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32851: logrotate fails to build when broken bzip2 from Fink is installed -------------------------------+-------------------------------------------- Reporter: steve@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: logrotate | -------------------------------+-------------------------------------------- Changes (by steve@…): * status: closed => reopened * resolution: invalid => Comment: That build log was incorrect, that was the before I removed fink. Attached is the new one with the linker error. -- Ticket URL: <https://trac.macports.org/ticket/32851#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32851: logrotate fails to build when broken bzip2 from Fink is installed -------------------------------+-------------------------------------------- Reporter: steve@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: logrotate | -------------------------------+-------------------------------------------- Comment(by steve@…): The issue is apparent in line #119: {{{ :info:build /Developer/usr/bin/clang -arch x86_64 -g logrotate.o log.o config.o basenames.o -lpopt -L/opt/local/include -o logrotate }}} The flag should be -L/opt/local/lib instead of -L/opt/local/include. I am uncertain as to the best way to patch the makefile to address this. -- Ticket URL: <https://trac.macports.org/ticket/32851#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32851: logrotate fails to build with clang -------------------------------+-------------------------------------------- Reporter: steve@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: clang Port: logrotate | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (removed) * owner: macports-tickets@… => ryandesign@… * status: reopened => new * keywords: => clang Comment: Thanks. We didn't notice this problem until people started using Xcode 4.2, on which we default to the clang compiler, which [http://lists.macosforge.org/pipermail/macports- dev/2011-August/015543.html does not use the CPATH / LIBRARY_PATH variables] that would otherwise have told it where to find popt. -- Ticket URL: <https://trac.macports.org/ticket/32851#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32851: logrotate fails to build with clang -------------------------------+-------------------------------------------- Reporter: steve@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: clang Port: logrotate | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * cc: pixilla@… (added) -- Ticket URL: <https://trac.macports.org/ticket/32851#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32851: logrotate fails to build with clang -------------------------------+-------------------------------------------- Reporter: steve@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: clang Port: logrotate | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r88778 -- Ticket URL: <https://trac.macports.org/ticket/32851#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts