[MacPorts] #49340: glib2 universal fails to build

MacPorts noreply at macports.org
Sun Oct 18 01:48:44 PDT 2015


#49340: glib2 universal fails to build
--------------------------+--------------------------------
  Reporter:  rtharston@…  |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.4
Resolution:  duplicate    |   Keywords:
      Port:  glib2        |
--------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * keywords:  build failure =>
 * resolution:   => duplicate


Old 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

New 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

--

Comment:

 Duplicate of #49327.

-- 
Ticket URL: <https://trac.macports.org/ticket/49340#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list