[MacPorts] #32260: libpixman: libpng14.dylib, file was built for unsupported file format which is not the architecture being linked (was: libpixman-0.24.0_0+universal.darwin_10.i386-x86_64 - shell command failed)
MacPorts
noreply at macports.org
Fri Nov 25 13:57:55 PST 2011
#32260: libpixman: libpng14.dylib, file was built for unsupported file format which
is not the architecture being linked
---------------------------------+------------------------------------------
Reporter: brian@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Resolution: invalid | Keywords:
Port: libpixman |
---------------------------------+------------------------------------------
Changes (by ryandesign@…):
* status: new => closed
* cc: brian@… (removed)
* cc: ryandesign@… (added)
* resolution: => invalid
* port: => libpixman
Old description:
> 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}}}
New description:
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
}}}
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/32260#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list