New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #29891 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

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@…, ryandesign@…, rwilcox@…
Port: zlib

Description (last modified by jmr@…) (diff)

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

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

Change History

comment:1 Changed 2 years ago by jmr@…

  • Status changed from new to closed
  • Description modified (diff)
  • Cc landonf@…, ryandesign@…, rwilcox@… added
  • Summary changed from py-mysql Failed to zlib Failed when installing py-mysql
  • Resolution set to invalid
  • Port set to zlib

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 2 years ago by jlawrence6067@…

Log file for zlib

comment:2 Changed 2 years ago by jlawrence6067@…

  • Status changed from closed to reopened
  • Resolution invalid deleted

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 2 years ago by ryandesign@…

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 2 years ago by jlawrence6067@…

resolved, please close

comment:5 Changed 2 years ago by ryandesign@…

  • Status changed from reopened to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.