Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#36934 closed defect (invalid)

'md5sha1sum' fails to install — at Version 4

Reported by: sonicmdc@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: landonf@…
Port: zlib

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am trying to install 'md5sha1sum' but I am encountering two main errors as follows:

Error: Problem while installing zlib
Error: Unable to execute port: upgrade openssl failed

I am running Mountain Lion
I have XCode v. 4.5.2 running
XQuartz 2.7.4 is installed Using MacPorts v. 2.1.2

I've tried everything I can find on the internet, from using 'sudo port uninstall zlib', 'sudo port uninstall md5sha1sum', and the sudo port clean commands. Nothing is helping.

I'm attaching the latest log file. Please advise!?

Change History (6)

Changed 12 years ago by sonicmdc@…

Attachment: main.log added

Error log: zlib failed to install

comment:1 Changed 12 years ago by neverpanic (Clemens Lang)

Cc: landonf@… added
Keywords: md5sha1sum zlib openssl removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: zlib added; md5sha1sum removed

Please remember to Cc the maintainers of the failing port.

Your main.log is not from a clean attempt. Please run port clean zlib, re-try and attach the new log.

You say you're on ML, but your log shows you're building for i386 and ppc. Is there any specific reason why you're doing this? Did you modify universal_archs in macports.conf to read i386 ppc?

Changed 12 years ago by sonicmdc@…

Attachment: main.2.log added

log for sudo port install md5sha1sum

comment:2 Changed 12 years ago by sonicmdc@…

Thank you for your reply.

So I ran sudo port clean zlib and sudo port clean md5sha1sum. Then I tried to install using sudo port install md5sha1sum. I've attached the resulting log.

Issue #2: I don't know why my log shows that I'm building for i386 and ppc. This sounds like it could be a problem. How do I fix this?

Thank you again for your help.

comment:3 Changed 12 years ago by neverpanic (Clemens Lang)

The fresh log clearly shows it's MacPorts that tells the zlib build process to build for i386 and ppc: zlib-1.2.7_0+universal.darwin_12.i386-ppc.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified, CFLAGS='-pipe -O2 -arch i386 -arch ppc'.

Have a look at your $prefix/etc/macports/macports.conf. It should have a line reading "universal_archs i386 ppc". You should change it to the default for ML, which is "universal_archs x86_64 i386".

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Resolution: invalid
Status: newclosed

If you did not set universal_archs to i386 ppc manually in macports.conf, then I suspect you upgraded this machine to Mountain Lion from Leopard or earlier, or migrated from such a machine (because universal_archs used to be i386 ppc in Tiger and Leopard). MacPorts does not automatically update macports.conf for you when you upgrade the OS or migrate to a new computer; you must do so manually. See wiki:Migration#Updatemacports.conf

Note: See TracTickets for help on using tickets.