Opened 9 years ago

Last modified 9 years ago

#49339 closed defect

glib2 universal fails to build — at Initial Version

Reported by: rtharston (Reed Harston) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: glib2

Description

I am running OS X 10.11 and have Xcode Version 7.0 (7A218) installed.

I am actually trying to install wine-devel and it isn't building because glib2 fails. I already have glib2 installed but wine-devel wants glib2 +universal. The normal variant builds just find but glib2 +universal gives this error on the command line:

---> Building glib2 Error: org.macports.build for port glib2 returned: command execution failed Please see the log file for port glib2 for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log

Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade gnutls failed

And this in the main.log:

:info:build ld: in '/opt/local/lib/libbz2.1.0.dylib', file was built for x86_64 which is not the architecture being linked (i386): /opt/local/lib/libbz2.1.0.dylib for architecture i386

There is more error message after that but that is the first one, and seems to be the most important since the normal version works fine, but the universal doesn't. The main.log is attached.

I'd really appreciate it if this worked... MacPorts is great, but it always seems to have issues with the ports I actually need for something. All the other random ones work fine. Go figure! hehe

Change History (0)

Note: See TracTickets for help on using tickets.