[MacPorts] #49327: glib2 @2.46.1: universal build fails: '/opt/local/lib/libbz2.1.0.dylib', file was built for x86_64 which is not the architecture being linked (i386) (was: getting '/opt/local/lib/libbz2.1.0.dylib', file was built for x86_64 which is not the architecture being linked (i386))
MacPorts
noreply at macports.org
Sun Oct 18 02:03:27 PDT 2015
#49327: glib2 @2.46.1: universal build fails: '/opt/local/lib/libbz2.1.0.dylib',
file was built for x86_64 which is not the architecture being linked (i386)
---------------------------------+--------------------------
Reporter: srvanukuri@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: glib2, glib2-devel |
---------------------------------+--------------------------
Changes (by ryandesign@…):
* status: new => assigned
* port: => glib2, glib2-devel
Comment:
Has duplicate #49340 .
I see the problem. glib2 is using bzip2 but doesn't declare a dependency
on it. Either this is a new feature of glib2 2.46.x that I didn't notice,
or else it is happening because of one of glib2's dependencies...
The workaround is to install bzip2 with the universal variant prior to
attempting to install glib2 with the universal variant.
{{{
sudo port install bzip2 +universal
}}}
--
Ticket URL: <https://trac.macports.org/ticket/49327#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list