Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#32260 closed defect (fixed)

libpixman: libpng14.dylib, file was built for unsupported file format which is not the architecture being linked — at Version 2

Reported by: brian@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign@…
Port: libpixman

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

I'm upgrading ports (port upgrade --enforce-variants gtk2 +universal) and I get the following error when it attempts to build libpixman.

--->  Building libpixman
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for libpixman is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libpixman/libpixman/main.log
Error: Unable to upgrade port: 1

Change History (3)

Changed 12 years ago by brian@…

Attachment: main.log added

comment:1 Changed 12 years ago by brian@…

Cc: brian@… added

Cc Me!

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

Cc: ryandesign@… added; brian@… removed
Description: modified (diff)
Port: libpixman added
Resolution: invalid
Status: newclosed
Summary: libpixman-0.24.0_0+universal.darwin_10.i386-x86_64 - shell command failedlibpixman: libpng14.dylib, file was built for unsupported file format which is not the architecture being linked

Please remember to preview before submitting so you can ensure you got the WikiFormatting right, to fill in the Port field, and to Cc the maintainer of that port.

The log says:

:info:build ld: warning: in /opt/local/lib/libpng14.dylib, file was built for unsupported file format which is not the architecture being linked (i386)

This means your libpng is not installed universal; reinstall it universal.

sudo port -n upgrade --force libpng +universal

If you need further help, write to the macports-users mailing list; there is no bug here.

Note: See TracTickets for help on using tickets.