[MacPorts] #48951: Failed to verify signature for MacPorts source!
#48951: Failed to verify signature for MacPorts source! -------------------------------------+-------------------------------- Reporter: matthew.s.whalley.civ@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: -------------------------------------+-------------------------------- I've read through the past tickets trying to solve this problem without any luck. Any help would be appreciated. af-arp-mac:~ arp$ sudo port -df selfupdate DEBUG: Copying /Users/arp/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 70.00 bytes/sec total size is 27013120 speedup is 257267.81 receiving file list ... done sent 36 bytes received 76 bytes 44.80 bytes/sec total size is 512 speedup is 4.57 DEBUG: failed verification with key /opt/local/share/macports/macports- pubkey.pem DEBUG: openssl output: child killed: segmentation violation DEBUG: Failed to verify signature for MacPorts source! while executing "macports::selfupdate [array get global_options] base_updated" Error: Failed to verify signature for MacPorts source! To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: /opt/local/bin/port: port selfupdate failed: Failed to verify signature for MacPorts source! -- Ticket URL: <https://trac.macports.org/ticket/48951> MacPorts <https://www.macports.org/> Ports system for OS X
#48951: Failed to verify signature for MacPorts source! --------------------------------------+-------------------------------- Reporter: matthew.s.whalley.civ@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.3 Resolution: | Keywords: Port: | --------------------------------------+-------------------------------- Changes (by ryandesign@…): * component: ports => base Old description:
I've read through the past tickets trying to solve this problem without any luck. Any help would be appreciated.
af-arp-mac:~ arp$ sudo port -df selfupdate DEBUG: Copying /Users/arp/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs ---> Updating MacPorts base sources using rsync receiving file list ... done
sent 36 bytes received 69 bytes 70.00 bytes/sec total size is 27013120 speedup is 257267.81 receiving file list ... done
sent 36 bytes received 76 bytes 44.80 bytes/sec total size is 512 speedup is 4.57 DEBUG: failed verification with key /opt/local/share/macports/macports- pubkey.pem DEBUG: openssl output: child killed: segmentation violation DEBUG: Failed to verify signature for MacPorts source! while executing "macports::selfupdate [array get global_options] base_updated" Error: Failed to verify signature for MacPorts source! To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: /opt/local/bin/port: port selfupdate failed: Failed to verify signature for MacPorts source!
New description: I've read through the past tickets trying to solve this problem without any luck. Any help would be appreciated. {{{ af-arp-mac:~ arp$ sudo port -df selfupdate DEBUG: Copying /Users/arp/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 70.00 bytes/sec total size is 27013120 speedup is 257267.81 receiving file list ... done sent 36 bytes received 76 bytes 44.80 bytes/sec total size is 512 speedup is 4.57 DEBUG: failed verification with key /opt/local/share/macports/macports- pubkey.pem DEBUG: openssl output: child killed: segmentation violation DEBUG: Failed to verify signature for MacPorts source! while executing "macports::selfupdate [array get global_options] base_updated" Error: Failed to verify signature for MacPorts source! To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: /opt/local/bin/port: port selfupdate failed: Failed to verify signature for MacPorts source! }}} -- Comment: "segmentation violation" sounds like another word for "segmentation fault", in other words it sounds like openssl crashed. Any idea why? Did a crash log get written to ~/Library/Logs/DiagnosticReports? Does openssl work if you try to use it on the command line? -- Ticket URL: <https://trac.macports.org/ticket/48951#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48951: Failed to verify signature for MacPorts source! --------------------------------------+-------------------------------- Reporter: matthew.s.whalley.civ@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.3 Resolution: | Keywords: Port: | --------------------------------------+-------------------------------- Comment (by matthew.s.whalley.civ@…): I didn't get a crash log. OpenSSL seems to run OK from the command line. The reported version is 1.0.2c -- af-arp-mac:~ arp$ openssl version OpenSSL 1.0.2c 12 Jun 2015 af-arp-mac:~ arp$ which openssl /opt/local/bin/openssl -- Ticket URL: <https://trac.macports.org/ticket/48951#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48951: Failed to verify signature for MacPorts source! --------------------------------------+-------------------------------- Reporter: matthew.s.whalley.civ@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.3 Resolution: | Keywords: Port: | --------------------------------------+-------------------------------- Comment (by ryandesign@…): I'm not sure whether MacPorts would use the openssl you installed with MacPorts. Usually, it would use the one included with OS X. Can you test that one by running "/usr/bin/openssl version"? -- Ticket URL: <https://trac.macports.org/ticket/48951#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48951: Failed to verify signature for MacPorts source! --------------------------------------+-------------------------------- Reporter: matthew.s.whalley.civ@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.3 Resolution: | Keywords: Port: | --------------------------------------+-------------------------------- Comment (by matthew.s.whalley.civ@…): I get -- af-arp-mac:~ arp$ /usr/bin/openssl version Illegal instruction: 4 -- Ticket URL: <https://trac.macports.org/ticket/48951#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48951: Failed to verify signature for MacPorts source! --------------------------------------+-------------------------------- Reporter: matthew.s.whalley.civ@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.3 Resolution: | Keywords: Port: | --------------------------------------+-------------------------------- Comment (by ryandesign@…): Ok, then that's what you'll have to fix. You could check again if a crash report was created this time. If so, it might shed light on what specifically the problem is. If not, I could take some guesses: /usr/bin/openssl might have been corrupted somehow, or might have been replaced with something else by some third-party installer you ran. Or maybe it wasn't /usr/bin/openssl but rather one of the libraries it uses, /usr/lib/libcrypto.0.9.8.dylib or /usr/lib/libssl.0.9.8.dylib. Try restoring any or all of those files from your backups, or reinstalling OS X. -- Ticket URL: <https://trac.macports.org/ticket/48951#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48951: Failed to verify signature for MacPorts source! --------------------------------------+-------------------------------- Reporter: matthew.s.whalley.civ@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.3 Resolution: | Keywords: Port: | --------------------------------------+-------------------------------- Comment (by matthew.s.whalley.civ@…): Restoring openssl from backup worked. Thanks for the help! -- Ticket URL: <https://trac.macports.org/ticket/48951#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#48951: Failed to verify signature for MacPorts source! --------------------------------------+-------------------------------- Reporter: matthew.s.whalley.civ@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.3.3 Resolution: invalid | Keywords: Port: | --------------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Great, glad you got it working. Hopefully none of your other system libraries were overwritten by something... -- Ticket URL: <https://trac.macports.org/ticket/48951#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts