[MacPorts] #52749: transmission fails to link with newer versions of openssl's libcrypto
#52749: transmission fails to link with newer versions of openssl's libcrypto ---------------------+-------------------------------- Reporter: karypid | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: transmission ---------------------+-------------------------------- So I was using ElCapitan and upgraded to Sierra just now. Had to reinstall ports and all. When running port install transmission +daemon I go: ---> Building transmission Error: org.macports.build for port transmission returned: command execution failed Please see the log file for port transmission for details: Looking at the log: :info:build ld: library not found for -lcrypto.0.9.8 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) I checked my openssl and it has: $ port contents openssl | grep libcrypto /opt/local/lib/libcrypto.1.0.0.dylib So this appears to need a version number change for the more recent openssl package. Prior to upgrading to Sierra I had (this had the 0.9.8 I guess): openssl @1.0.2d_0 (active) platform='darwin 14' archs='x86_64' Now I have: openssl @1.0.2j_0 (active) Not sure at which point 0.9.8 became 1.0.0... -- Ticket URL: <https://trac.macports.org/ticket/52749> MacPorts <https://www.macports.org/> Ports system for OS X
#52749: transmission fails to link with newer versions of openssl's libcrypto ---------------------------+-------------------------------- Reporter: karypid | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: transmission | ---------------------------+-------------------------------- Comment (by karypid): I downloaded revision 121619 and installed it successfuly with openssl 1.0.2j_0 @121619 2 years khindenburg transmission: update to 2.84 - closes #44089 (may have to rethink the … This ssems to be something intoduced with: @146739 8 months easieste net/transmission: update to transmission-2.92 -- Ticket URL: <https://trac.macports.org/ticket/52749#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#52749: transmission fails to link with newer versions of openssl's libcrypto ---------------------------+---------------------------- Reporter: karypid | Owner: kurthindenburg Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: transmission | ---------------------------+---------------------------- Changes (by neverpanic): * status: new => assigned * cc: karypid (removed) * owner: macports-tickets@… => kurthindenburg Old description:
So I was using ElCapitan and upgraded to Sierra just now. Had to reinstall ports and all.
When running port install transmission +daemon I go:
---> Building transmission Error: org.macports.build for port transmission returned: command execution failed Please see the log file for port transmission for details:
Looking at the log:
:info:build ld: library not found for -lcrypto.0.9.8 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
I checked my openssl and it has:
$ port contents openssl | grep libcrypto /opt/local/lib/libcrypto.1.0.0.dylib
So this appears to need a version number change for the more recent openssl package.
Prior to upgrading to Sierra I had (this had the 0.9.8 I guess): openssl @1.0.2d_0 (active) platform='darwin 14' archs='x86_64' Now I have: openssl @1.0.2j_0 (active)
Not sure at which point 0.9.8 became 1.0.0...
New description: So I was using ElCapitan and upgraded to Sierra just now. Had to reinstall ports and all. When running port install transmission +daemon I go: {{{ ---> Building transmission Error: org.macports.build for port transmission returned: command execution failed Please see the log file for port transmission for details: }}} Looking at the log: {{{ :info:build ld: library not found for -lcrypto.0.9.8 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) }}} I checked my openssl and it has: {{{ $ port contents openssl | grep libcrypto /opt/local/lib/libcrypto.1.0.0.dylib }}} So this appears to need a version number change for the more recent openssl package. Prior to upgrading to Sierra I had (this had the 0.9.8 I guess): openssl @1.0.2d_0 (active) platform='darwin 14' archs='x86_64' Now I have: openssl @1.0.2j_0 (active) Not sure at which point 0.9.8 became 1.0.0... -- Comment: If you are the reporter, you don't need to Cc yourself. When reporting tickets against ports, please cc the maintainer (`port info --maintainer transmission`), if any. `libcrypto.0.9.8.dylib` was installed by OpenSSL 0.9.8, which was provided by Apple until Sierra. While I would argue it was a bad idea to use such an old version of OpenSSL, it seems the developers of transmission probably made this choice deliberately. I can reproduce the problem. Did you report this to the developers of transmission already? -- Ticket URL: <https://trac.macports.org/ticket/52749#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#52749: transmission fails to link with newer versions of openssl's libcrypto ---------------------------+---------------------------- Reporter: karypid | Owner: kurthindenburg Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: transmission | ---------------------------+---------------------------- Comment (by neverpanic): Upstream commits introducing this are: - https://github.com/transmission/transmission/commit/1fd7c46bfacd7e61c7959876... - https://github.com/transmission/transmission/commit/2bab67cb0680364f77642830... which were not in until 2.90, so that explains why you did not see it for 2.84. -- Ticket URL: <https://trac.macports.org/ticket/52749#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#52749: transmission fails to link with newer versions of openssl's libcrypto ---------------------------+---------------------------- Reporter: karypid | Owner: kurthindenburg Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: transmission | ---------------------------+---------------------------- Comment (by karypid): I was still documenting info; have not reported upstream yet. I though it was a macports problem initially so opened a ticket here. I am not an expert, but looking at this diff: svn diff -r 121619:146739 https://svn.macports.org/repository/macports/trunk/dports/net/transmission ...it seems to me there is nothing changed in the port other than the version change in upstream code that could introduce this. -- Ticket URL: <https://trac.macports.org/ticket/52749#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#52749: transmission fails to link with newer versions of openssl's libcrypto ---------------------------+---------------------------- Reporter: karypid | Owner: kurthindenburg Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: transmission | ---------------------------+---------------------------- Comment (by karypid): I will try to get access to upstream bug tracker and report this, referencing your finding in comment 4. Will leave it up to the maintainer to decide what to do with this ticket. Maybe he wants to patch it, maybe not... Thanks for your help. -- Ticket URL: <https://trac.macports.org/ticket/52749#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#52749: transmission fails to link with newer versions of openssl's libcrypto ---------------------------+---------------------------- Reporter: karypid | Owner: kurthindenburg Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: transmission | ---------------------------+---------------------------- Comment (by karypid): Reported to Mac support forum upstream: https://forum.transmissionbt.com/viewtopic.php?f=4&t=18178 -- Ticket URL: <https://trac.macports.org/ticket/52749#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts