[MacPorts] #32260: libpixman: libpng14.dylib, file was built for unsupported file format which is not the architecture being linked
MacPorts
noreply at macports.org
Wed Mar 7 09:36:25 PST 2012
#32260: libpixman: libpng14.dylib, file was built for unsupported file format which
is not the architecture being linked
---------------------------------+------------------------------------------
Reporter: brian@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Resolution: | Keywords:
Port: libpixman |
---------------------------------+------------------------------------------
Changes (by ryandesign@…):
* cc: jeremyhu@… (added)
Comment:
Replying to [comment:4 schwern@…]:
> Upon further investigation it appears that libpng is an optional
dependency of libpixman. libpixman itself will try to use it if it is
installed, detected by autoconf. This is a problem as Macports doesn't
appear to have a way to declare an optional dependency. This bug breaks
automated +universal installs of any of libpixman's dependents
Only if you don't already have libpng installed universal.
libpixman appears to use libpng to do some tests at build time, but does
not need libpng at runtime time. A developer of libpixman confirmed
libpixman will not behave any better at runtime if libpng is there:
{{{
On Feb 13, 2012, at 14:36, Søren Sandmann wrote:
> libpng is only used in the test and demo
> programs and doesn't improve pixman itself.
}}}
So I would prefer not to add a libpng dependency.
> Finally, the libpixman portfile could pass in an option to configure to
disable PNG support if it detects an unsuitable libpng install. This
would probably require patching configure. Again, I must wave my hands.
Jeremy Huddleston implemented such a configure option, and sent a patch to
me and the aforementioned libpixman developer by private email. The
developer requested that the discussion be moved to the pixman mailing
list, but I don't think that happened; I cannot find a discussion about
this in the [http://lists.freedesktop.org/archives/pixman/ pixman mailing
list archives] in February or March.
--
Ticket URL: <https://trac.macports.org/ticket/32260#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list