[MacPorts] #36934: 'md5sha1sum' fails to install
#36934: 'md5sha1sum' fails to install ---------------------------------------+-------------------------------- Reporter: sonicmdc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: md5sha1sum, zlib, openssl | Port: md5sha1sum ---------------------------------------+-------------------------------- 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!? -- Ticket URL: <https://trac.macports.org/ticket/36934> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36934: 'md5sha1sum' fails to install -------------------------+-------------------------- Reporter: sonicmdc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: zlib | -------------------------+-------------------------- Changes (by cal@…): * keywords: md5sha1sum, zlib, openssl => * cc: landonf@… (added) * port: md5sha1sum => zlib * owner: macports-tickets@… => ryandesign@… Comment: 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`? -- Ticket URL: <https://trac.macports.org/ticket/36934#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36934: 'md5sha1sum' fails to install -------------------------+-------------------------- Reporter: sonicmdc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: zlib | -------------------------+-------------------------- Comment (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. -- Ticket URL: <https://trac.macports.org/ticket/36934#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36934: 'md5sha1sum' fails to install -------------------------+-------------------------- Reporter: sonicmdc@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: zlib | -------------------------+-------------------------- Comment (by cal@…): 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". -- Ticket URL: <https://trac.macports.org/ticket/36934#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36934: 'md5sha1sum' fails to install -------------------------+-------------------------- Reporter: sonicmdc@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: zlib | -------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Old description:
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!?
New description: 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 [[br]] I have XCode v. 4.5.2 running [[br]] 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!? -- Comment: 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 -- Ticket URL: <https://trac.macports.org/ticket/36934#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36934: 'md5sha1sum' fails to install -------------------------+-------------------------- Reporter: sonicmdc@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: zlib | -------------------------+-------------------------- Comment (by sonicmdc@…): Thank you again for this information. I looked at the wiki, it said the following: "Take a moment to compare each line of your macports.conf with the corresponding line in macports.conf.default in the same directory. Unless you know a reason why a line your settings file should be different from the defaults, adopt the line from the defaults file." How do I edit this macports.conf file? Is there a specific editor I use? Do I first have to unarchive the file? I reinstalled macports, per the wiki. However, I have not uninstalled and then reinstalled my ports. I tried again to install md5sha1sum with the same result, and the log still shows i386 (attached for reference... -- Ticket URL: <https://trac.macports.org/ticket/36934#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36934: 'md5sha1sum' fails to install -------------------------+-------------------------- Reporter: sonicmdc@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: zlib | -------------------------+-------------------------- Comment (by cal@…): Replying to [comment:5 sonicmdc@…]:
How do I edit this macports.conf file? Is there a specific editor I use? Do I first have to unarchive the file?
It's a plain text file, use whatever text editor you like. Text Edit, TextMate, vim, nano or any other plain text editor should be fine.
I reinstalled macports, per the wiki. However, I have not uninstalled and then reinstalled my ports. I tried again to install md5sha1sum with the same result, and the log still shows i386 (attached for reference...
And it will keep doing so until you change the universal_archs line in your macports.conf. -- Ticket URL: <https://trac.macports.org/ticket/36934#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts