Opened 10 years ago

Closed 9 years ago

#44981 closed defect (invalid)

dbus fails to build

Reported by: lagrave+bugs+macosforge.org@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: dbus

Description

--->  Computing dependencies for dbus.
--->  Building dbus
--->  Building dbus for architecture x86_64
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64'
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64'
Making all in dbus
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/dbus'
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/dbus'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/dbus'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/dbus'
Making all in bus
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/bus'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/bus'
Making all in tools
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/tools'
Making all in test
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/test'
Making all in .
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/test'
  CCLD     libdbus-testutils.la
-- No need to copy test data as srcdir = builddir
/opt/local/bin/grep: /opt/local/lib/libgio-2.0.la: No such file or directory
/opt/local/bin/gsed: can't read /opt/local/lib/libgio-2.0.la: No such file or directory
libtool: link: `/opt/local/lib/libgio-2.0.la' is not a valid libtool archive
make[3]: *** [libdbus-testutils.la] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/test'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64" && /usr/bin/make -j2 -w all 
Exit code: 2
Error: org.macports.build for port dbus returned: command execution failed
Warning: targets not executed for dbus: org.macports.install org.macports.build org.macports.destroot
Please see the log file for port dbus for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/main.log
Error: Unable to upgrade port: 1
Error rebuilding gnome-keyring
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 395)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"action_revupgrade $action $portlist $opts"
    (procedure "action_target" line 96)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 93)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 5254)

Change History (4)

comment:1 in reply to:  description Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to lagrave+bugs+macosforge.org@…:

/opt/local/bin/grep: /opt/local/lib/libgio-2.0.la: No such file or directory
/opt/local/bin/gsed: can't read /opt/local/lib/libgio-2.0.la: No such file or directory
libtool: link: `/opt/local/lib/libgio-2.0.la' is not a valid libtool archive

What version of OS X are you using? If 10.9 or later, it is normal for there not to be any .la files, and this error message would indicate that another port—either the one you're trying to build now, or perhaps one of its dependencies—was built on 10.8 or earlier where .la files were still used. The first thing I'd try is to clean dbus and try again.

comment:2 Changed 10 years ago by lagrave+bugs+macosforge.org@…

10.9.

Weird, I reinstalled all ports after I upgraded from 10.8. There shouldn't be any cruft left. It is llvm-3.6 I try to install, beacuse

% sudo port -v upgrade outdated
--->  Computing dependencies for llvm-3.2.
--->  Fetching distfiles for llvm-3.2
Error: llvm-3.2 is not supported on Mavericks or later.
Error: org.macports.fetch for port llvm-3.2 returned: unsupported platform
Warning: targets not executed for llvm-3.2: org.macports.install org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot
Please see the log file for port llvm-3.2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.2/llvm-3.2/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

and

% sudo port -v install llvm-3.6
--->  Computing dependencies for llvm-3.6.
--->  Cleaning llvm-3.6
--->  Removing work directory for llvm-3.6
--->  Scanning binaries for linking errors
Could not open /opt/local/lib/libpng15.15.dylib: Error opening or reading file (referenced from /opt/local/Library/Frameworks/QtGui.framework/Versions/4/QtGui)
Could not open /opt/local/lib/libicudata.51.dylib: Error opening or reading file (referenced from /opt/local/lib/libharfbuzz-icu.0.dylib)
Could not open /opt/local/lib/libicuuc.51.dylib: Error opening or reading file (referenced from /opt/local/lib/libharfbuzz-icu.0.dylib)
Could not open /opt/local/lib/perl5/5.12.4/darwin-thread-multi-2level/CORE/libperl.dylib: Error opening or reading file (referenced from /opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level/auto/Net/Libproxy/Libproxy.dylib)
Could not open /opt/local/lib/libicui18n.51.dylib: Error opening or reading file (referenced from /opt/local/bin/jsc-1)
Could not open /opt/local/lib/libsasl2.2.dylib: Error opening or reading file (referenced from /opt/local/bin/svn)
--->  Found 88 broken file(s), matching files to ports   
Warning: No port py25-pygtk found in the index; can't rebuild
--->  Found 27 broken port(s), determining rebuild order
--->  Rebuilding in order
     gnome-keyring @2.32.1 
     libgsf @1.14.26 
     openjpeg15 @1.5.0 
     libnotify @0.5.2 
     netpbm @10.62.02 
     subversion @1.7.10 
     gtk-engines2 @2.20.2 
     libsdl_image @1.2.12 
     ghostscript @9.06 
     harfbuzz-icu @0.9.18 
     libunique @1.1.6 +x11
     php5-gd @5.3.26 
     gconf @2.32.4 +x11
     libgnomekbd @2.32.0 +x11
     librsvg @2.36.4 
     gnome-desktop @2.32.1 +python27
     gnome-settings-daemon @2.32.1 
     libproxy @0.4.11 +python27
     openldap @2.4.31 
     qt4-mac @4.8.4 
     avahi @0.6.31 +gtk+python27+qt4+x11
     VLC @2.0.7 +mod+mpc+osd+qtkit+quartz
     libcanberra @0.30 +x11
     webp @0.3.1 
     webkit-gtk @2.0.3 +video
     yelp @2.31.6 
     epiphany @2.30.6 
--->  Computing dependencies for dbus.
--->  Building dbus
--->  Building dbus for architecture x86_64
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64'
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64'
Making all in dbus
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/dbus'
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/dbus'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/dbus'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/dbus'
Making all in bus
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/bus'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/bus'
Making all in tools
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/tools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/tools'
Making all in test
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/test'
Making all in .
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/test'
  CCLD     libdbus-testutils.la
-- No need to copy test data as srcdir = builddir
/opt/local/bin/grep: /opt/local/lib/libgio-2.0.la: No such file or directory
/opt/local/bin/gsed: can't read /opt/local/lib/libgio-2.0.la: No such file or directory
libtool: link: `/opt/local/lib/libgio-2.0.la' is not a valid libtool archive
make[3]: *** [libdbus-testutils.la] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/test'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64/test'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/work/dbus-1.8.6-x86_64" && /usr/bin/make -j2 -w all 
Exit code: 2
Error: org.macports.build for port dbus returned: command execution failed
Warning: targets not executed for dbus: org.macports.install org.macports.build org.macports.destroot
Please see the log file for port dbus for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/main.log
Error: Unable to upgrade port: 1
Error rebuilding gnome-keyring
    while executing
"error "Error rebuilding $portname""
    (procedure "revupgrade_scanandrebuild" line 395)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"action_revupgrade $action $portlist $opts"
    (procedure "action_target" line 96)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 93)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 5254)

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

You still need to run "sudo port clean dbus" before trying again; the log you showed above is still not from a clean attempt.

Can you explain why you have so many broken ports? For example, why is your qt4-mac port still linked with version 1.5.x of libpng? libpng was updated to version 1.6.x in December 2013, so assuming you've updated your ports since then, qt4-mac should not be broken. Is it possible you installed some third-party program that overwrote some of your MacPorts files?

comment:4 in reply to:  3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mcalhoun@… added
Resolution: invalid
Status: newclosed

Replying to ryandesign@…:

Is it possible you installed some third-party program that overwrote some of your MacPorts files?

I'll assume that was the case (or that you had not actually performed the wiki:Migration steps). In either case, the solution is to uninstall all ports, then reinstall the desired ports.

Note: See TracTickets for help on using tickets.