Opened 13 years ago

Closed 13 years ago

#29891 closed defect (invalid)

zlib Failed when installing py-mysql

Reported by: jlawrence6067@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: landonf (Landon Fuller), ryandesign (Ryan Carsten Schmidt), rwilcox (Ryan Wilcox)
Port: zlib

Description (last modified by jmroot (Joshua Root))

sudo port install py-mysql
--->  Computing dependencies for py-mysql
--->  Dependencies to be installed: mysql5 openssl zlib py-setuptools python24 gettext expat libiconv gperf python_select
Error: Requested variants "" do not match original selection "+universal".
Please use the same variants again, perform 'port clean zlib' or specify the force option (-f).
Error: Failed to install zlib
Log for zlib is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/main.log
Error: The following dependencies were not installed: mysql5 openssl zlib py-setuptools python24 python_select
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
jlawrence:djangotest jlawrence$ 

Attachments (1)

main.log (21.5 KB) - added by jlawrence6067@… 13 years ago.
Log file for zlib

Download all attachments as: .zip

Change History (6)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: landonf@… ryandesign@… rwilcox@… added
Description: modified (diff)
Port: zlib added
Resolution: invalid
Status: newclosed
Summary: py-mysql Failedzlib Failed when installing py-mysql

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainers.

Just do what the error message says, i.e. either use +universal or clean zlib.

Changed 13 years ago by jlawrence6067@…

Attachment: main.log added

Log file for zlib

comment:2 Changed 13 years ago by jlawrence6067@…

Resolution: invalid
Status: closedreopened

Attempted to instal just lib with +universal (see attached log) results below:

$ sudo port install zlib +universal
--->  Building zlib
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for zlib is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Please remember to preview and use WikiFormatting.

The log shows you are trying to do a 4-way universal build, and the error message is:

/usr/lib/crt1.10.5.o, missing required architecture ppc64 in file

Snow Leopard's system libraries don't contain ppc64, and though they do contain ppc, there's no reason to compile anything for ppc on Snow Leopard either, since Snow Leopard doesn't run on any PowerPC machines. Go edit macports.conf and set universal_archs back to i386 x86_64.

comment:4 Changed 13 years ago by jlawrence6067@…

resolved, please close

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.