[MacPorts] #46719: Error Upgrade for port openssl
#46719: Error Upgrade for port openssl --------------------------+-------------------------------- Reporter: smastracci@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: openssl --------------------------+-------------------------------- Hi Team, Today running port upgrade outdated for my system, and openssl display error. Attach log debug. Error Display from command line : bash-3.2# port upgrade outdated ---> Computing dependencies for openssl ---> Building openssl Error: org.macports.build for port openssl returned: command execution failed Please see the log file for port openssl for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/main.log Error: Unable to upgrade port: 1 Thank. -- Ticket URL: <https://trac.macports.org/ticket/46719> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: Error Upgrade for port openssl ---------------------------+------------------- Reporter: smastracci@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+------------------- Changes (by cal@…): * owner: macports-tickets@… => mww@… * cc: cal@… (added) Old description:
Hi Team,
Today running port upgrade outdated for my system, and openssl display error. Attach log debug.
Error Display from command line : bash-3.2# port upgrade outdated ---> Computing dependencies for openssl ---> Building openssl Error: org.macports.build for port openssl returned: command execution failed Please see the log file for port openssl for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/main.log Error: Unable to upgrade port: 1
Thank.
New description: Hi Team, Today running port upgrade outdated for my system, and openssl display error. Attach log debug. Error Display from command line : {{{ bash-3.2# port upgrade outdated ---> Computing dependencies for openssl ---> Building openssl Error: org.macports.build for port openssl returned: command execution failed Please see the log file for port openssl for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/main.log Error: Unable to upgrade port: 1 }}} Thank. -- Comment: Please use WikiFormatting and preview your post when using Trac. When reporting bugs against ports, please Cc the maintainer, if any. -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: Error Upgrade for port openssl ---------------------------+------------------- Reporter: smastracci@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+------------------- Changes (by cal@…): * type: update => defect -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: Error Upgrade for port openssl ---------------------------+------------------- Reporter: smastracci@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+------------------- Comment (by cal@…): The log is not from a clean attempt. Please run `sudo port clean openssl` and try again. If that fails again, please attach the `main.log` again. You can also try `sudo port clean openssl; sudo port -t upgrade openssl`. -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: Error Upgrade for port openssl ---------------------------+------------------- Reporter: smastracci@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+------------------- Comment (by smastracci@…): Hi, I'm try sudo port clean openssl and sudo port -t upgrade openssl, the same error. Attach new main.log. Thank. -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: Error Upgrade for port openssl +universal ---------------------------+------------------- Reporter: smastracci@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+------------------- -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: Error Upgrade for port openssl +universal ---------------------------+------------------- Reporter: smastracci@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+------------------- Comment (by cal@…): I tried to reproduce your problem but couldn't. The only difference between your log and mine is that I have `-arch x86_64` in OBJCXXFLAGS. I believe this is because I use a development version of MacPorts and unrelated to the problem at hand. Can you attach the output of `nm $(port work openssl)/openssl-1.0.1k- x86_64/libcrypto.a`? What does `port file openssl` print on your system? Do you have anything in `/usr/local`? -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Changes (by cal@…): * owner: mww@… => larryv@… Comment: Has duplicate #46782, which is not `+universal`, so I'm assuming that doesn't matter in this case. -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Changes (by cal@…): * cc: benshimo@… (added) -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Comment (by turk@…): i am bitten by this bug too. I still have some old x86 stuff, so I compile with +universal. -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Comment (by dwhs@…): After trouble upgrading openssl, I ended up here. I had +universal because I installed wine ''last'' in a recent macports reinstall, and therefore ended up with lots of packages in both +universal and not, and hadn’t gotten around to cleaning that up yet. When nothing I saw here helped the +universal version, I decided to see if I could upgrade the non-universal version. The following managed to work for me: 1. `sudo port clean openssl` 2. `sudo port activate openssl @1.0.1k` (i.e., the non-universal variant) 3. `sudo port upgrade openssl` It pulled openssl as a binary, then when checking for broken ports, found 2 (python27 @2.7.9 +universal, gnome-vfs @2.24.4 +universal). It rebuilt those (including bringing in the outdated ports that were requirements, and, in the process, `openssl @1.0.2 +universal`). Completed without error. I finished my `sudo port upgrade outdated` with no problems. -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Comment (by cal@…): #46782 suggests this can be fixed by opening and closing Xcode, did you all try that? If that works, it sounds like this is a misconfiguration and not a problem with the Portfile. -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Comment (by MichaelThomasSullivan@…): I encountered a somewhat similar failure while trying to upgrade to openssl-1.0.2, although the specific undefined symbols were different, starting with _CRYPTO_THREADID_cmp, although I don't think the precise list is pertinent (I can provide the full log if anyone cares). This was actually on the second build attempt; the first time failed with: {{{ :info:build ar: creating archive ../libcrypto.a :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../libcrypto.a(ebcdic.o) has no symbols :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../libcrypto.a(fips_ers.o) has no symbols :info:build error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../libcrypto.a is not an archive :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: internal ranlib command failed }}} Since after the first failure I tried {{{sudo port clean openssl; sudo port upgrade openssl}}} and got quite different errors, I suspected a race condition, so I appended {{{use_parallel_build no}}} to the Portfile, repeated the same commands, and this time it built and installed cleanly. I didn't try to fully analyze the root cause of the failure with a parallel make, but it seems to be due to simultaneously running the ar command on same libcrypto.a from both the Makefile in the crypto directory and the Makefile of one of its many subdirectories, which is likely to lead to non-deterministic behavior. -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Comment (by cal@…): That sounds reasonable. Can everybody who experiences this problem please try again using `sudo port clean openssl; sudo port upgrade openssl -- build.jobs=1` and report back if that worked? -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Changes (by cal@…): * cc: jeremyhu@… (added) Comment: Cc'ing jeremyhu, who re-enabled parallel building in r130893. Jeremy, does this sound plausible? -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Comment (by jeremyhu@…): Given the info in comment 12, it certainly sounds plausible that there are more parallel races than the ones that I uncovered in r130893. I built parallel successfully on multiple machines, but that certainly can't be a thorough confirmation that all the dependencies were added to eliminate the race. I suggest we re-add the 'use_parallel_build no' and keep this ticket open to figure out what's remaining (or upstream it if you prefer). -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Comment (by cal@…): Disabled parallel builds in r133158. Please report back whether this fixes the problem for you. -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:18> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Comment (by macports@…): Fixed for me.... thanks! (10.8.5 with Xcode 5.1.1) -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:19> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Comment (by jeremyhu@…): Let's leave this open (feel free to assign to me). I want to track down what was really causing this. I loathe slow -j1 builds ;) -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:20> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings in parallel builds ---------------------------+------------------------ Reporter: smastracci@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+------------------------ Changes (by cal@…): * owner: larryv@… => jeremyhu@… * cc: larryv@… (added) Comment: Reassigning, thanks for offering to work on this, because I wouldn't have the time to do it. Larry, if you want the ticket back, feel free to reclaim it :) -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:21> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings in parallel builds ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: openssl | ---------------------------+---------------------- Changes (by jeremyhu@…): * cc: larryv@… (removed) * owner: jeremyhu@… => larryv@… Comment: I've moved over to using libressl, so I'm not planning on addressing this. Larry, do you want to keep it or call this wontfix? -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:22> MacPorts <https://www.macports.org/> Ports system for OS X
#46719: openssl: Undefined symbols for architecture x86_64: _ERR_load_OBJ_strings in parallel builds ---------------------------+---------------------- Reporter: smastracci@… | Owner: larryv@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: wontfix | Keywords: Port: openssl | ---------------------------+---------------------- Changes (by cal@…): * status: new => closed * resolution: => wontfix Comment: I'm calling this wontfix until upstream openssl gets their act together for proper parallel builds. -- Ticket URL: <https://trac.macports.org/ticket/46719#comment:23> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts