[MacPorts] #42159: libbiosig links with both MacPorts zlib and OS X zlib
#42159: libbiosig links with both MacPorts zlib and OS X zlib --------------------------+------------------------ Reporter: ryandesign@… | Owner: christsc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: libbiosig --------------------------+------------------------ Should link only with OS X zlib. {{{ $ port -v installed libbiosig The following ports are currently installed: libbiosig @1.5.10_0-universal (active) platform='darwin 13' archs='x86_64' $ otool -L /opt/local/lib/libbiosig.dylib /opt/local/lib/libbiosig.dylib: /opt/local/lib/libbiosig.dylib (compatibility version 0.0.0, current version 0.0.0) /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1) }}} -- Ticket URL: <https://trac.macports.org/ticket/42159> MacPorts <http://www.macports.org/> Ports system for OS X
#42159: libbiosig links with both MacPorts zlib and OS X zlib ---------------------------+------------------------ Reporter: ryandesign@… | Owner: christsc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libbiosig | ---------------------------+------------------------ Comment (by christsc@…): Just to be sure: `/usr/lib/libz.1.dylib` is preferred over `/opt/local/lib/libz.1.dylib`? -- Ticket URL: <https://trac.macports.org/ticket/42159#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42159: libbiosig links with both MacPorts zlib and OS X zlib ---------------------------+------------------------ Reporter: ryandesign@… | Owner: christsc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libbiosig | ---------------------------+------------------------ Comment (by christsc@…): The attached Portfile patch (`Portfile-libbiosig.diff`) links only with system zlib (`/usr/lib/libz.1.dylib`). The attached source patch is from ticket #42152 - this would be a good opportunity to update the source patch as well. -- Ticket URL: <https://trac.macports.org/ticket/42159#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42159: libbiosig links with both MacPorts zlib and OS X zlib ---------------------------+------------------------ Reporter: ryandesign@… | Owner: christsc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libbiosig | ---------------------------+------------------------ Comment (by mojca@…): A question for Ryan: does MacPorts really prefer linking with OS libraries like zlib? I knew that's the case in Homebrew, but I didn't know that MacPorts ports should also try to depend on `/usr/lib` in these cases. (I understand that the port shouldn't link against both though.) -- Ticket URL: <https://trac.macports.org/ticket/42159#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42159: libbiosig links with both MacPorts zlib and OS X zlib ---------------------------+------------------------ Reporter: ryandesign@… | Owner: christsc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libbiosig | ---------------------------+------------------------ Comment (by egall@…): Replying to [comment:4 mojca@…]:
A question for Ryan: does MacPorts really prefer linking with OS libraries like zlib?
wiki:FAQ#ownlibs suggests otherwise... -- Ticket URL: <https://trac.macports.org/ticket/42159#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42159: libbiosig links with both MacPorts zlib and OS X zlib ---------------------------+------------------------ Reporter: ryandesign@… | Owner: christsc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: libbiosig | ---------------------------+------------------------ Comment (by ryandesign@…): Replying to [ticket:42159 ryandesign@…]:
Should link only with OS X zlib.
Sorry, typo. Meant to say "should link only with MacPorts zlib". -- Ticket URL: <https://trac.macports.org/ticket/42159#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42159: libbiosig links with both MacPorts zlib and OS X zlib ---------------------------+------------------------ Reporter: ryandesign@… | Owner: christsc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: libbiosig | ---------------------------+------------------------ Changes (by mojca@…): * status: new => closed * version: 2.2.1 => * resolution: => fixed Comment: Committed in r116171. -- Ticket URL: <https://trac.macports.org/ticket/42159#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts