[MacPorts] #30088: dbus links with dbus-glib, fails to build when it has different archs
MacPorts
noreply at macports.org
Wed Jul 13 01:20:16 PDT 2011
#30088: dbus links with dbus-glib, fails to build when it has different archs
--------------------------+-------------------------------------------------
Reporter: soehn@… | Owner: mcalhoun@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: dbus
--------------------------+-------------------------------------------------
Comment(by psenough@…):
stumbled upon similar problem when doing sudo upgrade outdated
then tried to upgrade it individually, failed
tried to upgrade it forcing +universal
{{{
sudo port upgrade dbus +universal
---> Computing dependencies for dbus
---> Building dbus
Error: Target org.macports.build returned: shell command failed (see log
for details)
Log for dbus is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
tried the suggested -universal
{{{
sudo port upgrade dbus -universal
Warning: Skipping upgrade since pkgconfig 0.26_0 >= pkgconfig 0.26_0, even
though installed variants "+universal" do not match "". Use 'upgrade
--enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since glib2 2.28.8_0 >= glib2 2.28.8_0, even
though installed variants "+universal" do not match "". Use 'upgrade
--enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since gettext 0.18.1.1_2 >= gettext 0.18.1.1_2,
even though installed variants "+universal" do not match "". Use 'upgrade
--enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since libiconv 1.13.1_0 >= libiconv 1.13.1_0,
even though installed variants "+universal" do not match "". Use 'upgrade
--enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since ncurses 5.9_0 >= ncurses 5.9_0, even
though installed variants "+universal" do not match "". Use 'upgrade
--enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since expat 2.0.1_1 >= expat 2.0.1_1, even
though installed variants "+universal" do not match "". Use 'upgrade
--enforce-variants' to switch to the requested variants.
Warning: Skipping upgrade since zlib 1.2.5_0 >= zlib 1.2.5_0, even though
installed variants "+universal" do not match "". Use 'upgrade --enforce-
variants' to switch to the requested variants.
Warning: Skipping upgrade since perl5.12 5.12.3_1 >= perl5.12 5.12.3_1,
even though installed variants "+universal" do not match "". Use 'upgrade
--enforce-variants' to switch to the requested variants.
Error: Requested variants "" do not match original selection "+universal".
Please use the same variants again, perform 'port clean dbus' or specify
the force option (-f).
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}
dont want to enforce -universal couz i believe i need +universal for some
other dependencies.
did try to enforce +universal, had it compile a new version of perl15.12
and then gave the same dbus error.
main.log of +universal attempt:
{{{
version:1
:msg:main ---> Computing dependencies for dbus:info:main .:debug:main
Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Searching for dependency: expat
:debug:main Found Dependency: receipt exists for expat
:msg:main
:debug:main Executing org.macports.main (dbus):debug:main Skipping
completed org.macports.fetch (dbus)
:debug:main Skipping completed org.macports.checksum (dbus)
:debug:main Skipping completed org.macports.extract (dbus)
:debug:main Skipping completed org.macports.patch (dbus)
:debug:main Skipping completed org.macports.configure (dbus)
:msg:main ---> Building dbus
:debug:build build phase started at Wed Jul 13 11:12:17 EEST 2011
:debug:build Executing org.macports.build (dbus)
:info:build ---> Building dbus for architecture x86_64
:debug:build Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_va\
r_macports_sources_rsync.macports.org_release_ports_devel_dbus/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC\_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_r\
elease_ports_devel_dbus/work/dbus-1.4.12-x86_64" && /usr/bin/make -j2 all'
:info:build /usr/bin/make all-recursive:info:build Making all in dbus
:info:build /usr/bin/make all-am
:info:build make[3]: Nothing to be done for `all-am'.
:info:build Making all in bus
:info:build make[2]: Nothing to be done for `all'.
:info:build Making all in doc
:info:build make[2]: Nothing to be done for `all'.
:info:build Making all in tools
:info:build make[2]: Nothing to be done for `all'.:info:build Making all
in test
:info:build Making all in .
:info:build -- No need to copy test data as srcdir = builddir
:info:build -- Copying ../bus/session.conf ../bus/system.conf to test
directory
:info:build Making all in name-test
:info:build make[3]: Nothing to be done for `all'.
:info:build make[2]: Nothing to be done for `all-am'.
:info:build ---> Building dbus for architecture i386
:debug:build Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_va\
r_macports_sources_rsync.macports.org_release_ports_devel_dbus/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC\
_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_r\
elease_ports_devel_dbus/work/dbus-1.4.12-i386" && /usr/bin/make -j2 all'
:info:build /usr/bin/make all-recursive
:info:build Making all in dbus
:info:build /usr/bin/make all-am
:info:build make[3]: Nothing to be done for `all-am'.
:info:build Making all in bus
:info:build make[2]: Nothing to be done for `all'.
:info:build Making all in doc
:info:build make[2]: Nothing to be done for `all'.
:info:build Making all in tools
:info:build make[2]: Nothing to be done for `all'.
:info:build Making all in test
:info:build Making all in .
:info:build CCLD test-corrupt
:info:build CCLD test-dbus-daemon
:info:build ld: warning: in /opt/local/lib/libdbus-glib-1.dylib, file was
built for unsupported file format which is no\
t the architecture being linked (i386)
:info:build Undefined symbols:
:info:build "_dbus_connection_setup_with_g_main", referenced from:
:info:build _connect_to_bus in test_dbus_daemon-dbus-daemon.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[3]: *** [test-dbus-daemon] Error 1
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_releas\
e_ports_devel_dbus/work/dbus-1.4.12-i386" && /usr/bin/make -j2 all "
returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"$procedure $targetname"
:info:build Warning: the following items did not execute (for dbus):
org.macports.destroot org.macports.build
:notice:build Log for dbus is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_relea\
se_ports_devel_dbus/main.log
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30088#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list