Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#43947 closed defect (worksforme)

dbus-glib: dyld: Symbol not found: __cg_jpeg_resync_to_restart

Reported by: xman00@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: Cc:
Port: dbus-glib

Description (last modified by ryandesign (Ryan Schmidt))

I've upgraded my OS X from ML to Mavericks. For MacPorts I followed these: wiki:Migration instructions .

Everything works fine, except dbus-glib. Building stops with:

/opt/local/include/glib-2.0/gobject/gtype.h:667:23: note: 'g_type_init' declared here
void                  g_type_init                    (void);
                      ^
1 warning generated.
1 warning generated.
  CCLD     libdbus-glib-1.la
  CCLD     libdbus-gtool.la
  CCLD     dbus-binding-tool
  CCLD     dbus-bash-completion-helper
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus'
Making all in examples
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus/examples'
/bin/sh ../../libtool --mode=execute ../../dbus/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h ./example-service.xml
/bin/sh ../../libtool --mode=execute ../../dbus/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h ./example-signal-emitter.xml
dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /opt/local/lib/libJPEG.dylib
 in /System/Library/Frameworks/ImageIO.framewdyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /opt/local/lib/libJPEG.dylib
 in /System/Lork/Versions/A/ImageIO
ibrary/Frameworks/ImageIO.framework/Versions/A/ImageIO
make[3]: *** [example-service-glue.h] Trace/BPT trap: 5
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [example-signal-emitter-glue.h] Trace/BPT trap: 5

Any Idea?

# port version
Version: 2.3.0

(This is kinda weird, because I installed "MacPorts-2.2.1-10.9-Mavericks.pkg" after upgrading to Mavericks und xcode --install . Why is it 2.3.0 and not 2.2.1 ??)

Attachments (3)

main.log (166.2 KB) - added by xman00@… 7 years ago.
dbus-glib main.log
libtool (287.0 KB) - added by xman00@… 7 years ago.
dbus-glib libtool file
dbus-binding-tool (6.6 KB) - added by xman00@… 7 years ago.
dbus-glib-binding-tool

Download all attachments as: .zip

Change History (27)

comment:1 Changed 7 years ago by xman00@…

Cc: xman00@… added

Cc Me!

comment:2 Changed 7 years ago by xman00@…

dbus-glib-0.102_0+universal.darwin_13.i386-x86_64.tbz2 package throws this error (is needed for wine installation)

dbus-glib-0.102_0.darwin_13.x86_64.tbz2 installs fine. Seems to be a binary pkg...

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

Cc: xman00@… removed
Description: modified (diff)
Keywords: dbus-glib removed
Port: dbus-glib added
Summary: building dbus-glib on mavericks failsdbus-glib: dyld: Symbol not found: __cg_jpeg_resync_to_restart

A common reason for this error is setting the DYLD_LIBRARY_PATH environment variable in your shell. Use the "env" command to check what variables you've set. If you set that variable, please unset it. However, I'm surprised it would affect a build, since MacPorts should be sanitizing your environment before it runs, so if you've done something unusual to MacPorts (such as edited the macports.conf file to tell it to retain the DYLD_LIBRARY_PATH variable), you should let us know.

comment:4 Changed 7 years ago by xman00@…

~ $ grep -v '#' /opt/local/etc/macports/macports.conf

prefix			/opt/local
portdbpath		/opt/local/var/macports
applications_dir	/Applications/MacPorts
frameworks_dir		/opt/local/Library/Frameworks
sources_conf		/opt/local/etc/macports/sources.conf
variants_conf		/opt/local/etc/macports/variants.conf
universal_archs		x86_64 i386
~ $ env
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/bash
TERM=xterm-256color
TMPDIR=/var/folders/0b/51_x3w_10cnf352lg8hmkjtc0000gn/T/
Apple_PubSub_Socket_Render=/tmp/launch-Fb0luh/Render
TERM_PROGRAM_VERSION=326
TERM_SESSION_ID=92C5B701-30C2-4B66-8CF0-93E14F9045E0
USER=ix
SSH_AUTH_SOCK=/tmp/launch-9zpYkF/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:3
PATH=/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin
__CHECKFIX1436934=1
PWD=/Users/ix
DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/launch-LEJspf/unix_domain_listener
LANG=de_DE.UTF-8
SHLVL=1
HOME=/Users/ix
LOGNAME=ix
DISPLAY=/tmp/launch-GFNHF1/org.macosforge.xquartz:0
_=/usr/bin/env

So, I've never set that and it is obviously not. I didn't change anything.

comment:5 Changed 7 years ago by neverpanic (Clemens Lang)

So it seems dbus-binding-tool or dbus' build system are mis-using DYLD_LIBRARY_PATH, causing this issue.

About getting 2.3.0 installed after installing from the 2.2.1 pkg: The installer packages come with a postflight script that runs selfupdate – in your case that updated your MacPorts installation to 2.3.0 right after installing it.

comment:6 Changed 7 years ago by xman00@…

Ok, thank you for your help. But what should I do now? I need WINE to work... ;(

comment:7 Changed 7 years ago by neverpanic (Clemens Lang)

Have you tried cleaning and re-trying? If not, please do.

Also, please attach the main.log of the failed build.

comment:8 in reply to:  7 Changed 7 years ago by xman00@…

Replying to cal@…:

Have you tried cleaning and re-trying? If not, please do.

Yes, I did. Problem persists.

Also, please attach the main.log of the failed build.

I'll do that.

Changed 7 years ago by xman00@…

Attachment: main.log added

dbus-glib main.log

comment:9 Changed 7 years ago by neverpanic (Clemens Lang)

OK, since I can't reproduce the issue when building -universal (and I'd rather not try +universal due to the number of dependencies), please try the following, in order:

  • sudo port clean dbus-glib; sudo port -t install --unrequested dbus-glib
  • Provide the output of otool -L /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO.
  • Attach the libtool file in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102.

comment:10 in reply to:  9 ; Changed 7 years ago by xman00@…

Replying to cal@…:

OK, since I can't reproduce the issue when building -universal (and I'd rather not try +universal due to the number of dependencies), please try the following, in order:

  • sudo port clean dbus-glib; sudo port -t install --unrequested dbus-glib
~ $ sudo port clean dbus-glib; sudo port -t install --unrequested dbus-glib
--->  Cleaning dbus-glib
--->  Computing dependencies for dbus-glib
--->  Cleaning dbus-glib
--->  Scanning binaries for linking errors
--->  No broken files found.
  • Provide the output of otool -L /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO.
~ $ otool -L /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO:
	/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate (compatibility version 1.0.0, current version 4.0.0)
	/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 600.0.0)
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 48.0.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.14.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 59.0.0)
	/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
	/System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
  • Attach the libtool file in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102.

The folder /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/ does not exist.

comment:11 in reply to:  10 Changed 7 years ago by neverpanic (Clemens Lang)

Replying to xman00@…:

~ $ sudo port clean dbus-glib; sudo port -t install --unrequested dbus-glib
--->  Cleaning dbus-glib
--->  Computing dependencies for dbus-glib
--->  Cleaning dbus-glib
--->  Scanning binaries for linking errors
--->  No broken files found.

This output suggests dbus-glib is already installed. What's the output of port -v installed dbus-glib? If it has the +universal variant it seems the issue is solved. If it doesn't please try sudo port -t upgrade --enforce-variants dbus-glib +universal.

To make matters worse, dbus-glib +universal builds just fine on my system.

comment:12 Changed 7 years ago by xman00@…

~ $ port -v installed dbus-glib
The following ports are currently installed:
  dbus-glib @0.102_0 (active) platform='darwin 13' archs='x86_64'
~ $ sudo port -t upgrade --enforce-variants dbus-glib +universal
Password:
--->  Computing dependencies for dbus-glib
--->  Fetching archive for dbus-glib
--->  Attempting to fetch dbus-glib-0.102_0+universal.darwin_13.i386-x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/dbus-glib
--->  Attempting to fetch dbus-glib-0.102_0+universal.darwin_13.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/dbus-glib
--->  Attempting to fetch dbus-glib-0.102_0+universal.darwin_13.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/dbus-glib
--->  Fetching distfiles for dbus-glib
--->  Verifying checksums for dbus-glib
--->  Extracting dbus-glib
--->  Configuring dbus-glib
Warning: An activity was attempted outside sandbox: /.attbin/uname
Warning: An activity was attempted outside sandbox: /AppleInternal
Warning: An activity was attempted outside sandbox: /AppleInternal/Developer/Toolchains
Warning: An activity was attempted outside sandbox: /Developer
Warning: An activity was attempted outside sandbox: /Info.plist
Warning: An activity was attempted outside sandbox: /bin;/bin/sh
Warning: An activity was attempted outside sandbox: /opt/local/bin/gawk
Warning: An activity was attempted outside sandbox: /opt/sfw/bin/gmkdir
Warning: An activity was attempted outside sandbox: /opt/sfw/bin/mkdir
Warning: An activity was attempted outside sandbox: /var/mail/macports
--->  Building dbus-glib
Warning: An activity was attempted outside sandbox: /opt/local/lib/libdbus-1.la
Error: org.macports.build for port dbus-glib returned: command execution failed
Please see the log file for port dbus-glib for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Changed 7 years ago by xman00@…

Attachment: libtool added

dbus-glib libtool file

comment:13 Changed 7 years ago by neverpanic (Clemens Lang)

Please further attach /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus/dbus-binding-tool and the output of

ls -lash /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus/.libs
otool -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus/.libs/dbus-binding-tool
otool -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus/.libs/libdbus-glib-1.2.dylib

Also please check whether your /opt/local/etc/macports/macports.conf contains anything that matches DYLD.

Changed 7 years ago by xman00@…

Attachment: dbus-binding-tool added

dbus-glib-binding-tool

comment:14 Changed 7 years ago by xman00@…

~ $ ls -lash /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus/.libs
total 3600
  0 drwxr-xr-x  29 macports  admin   986B  9 Jun 09:16 .
  0 drwxr-xr-x  85 macports  admin   2,8K  9 Jun 09:16 ..
192 -rwxr-xr-x   1 macports  admin    89K  9 Jun 09:16 dbus-bash-completion-helper
384 -rwxr-xr-x   1 macports  admin   191K  9 Jun 09:16 dbus-binding-tool
 64 -rw-r--r--   1 macports  admin    28K  9 Jun 09:16 dbus-gidl.o
 32 -rw-r--r--   1 macports  admin    16K  9 Jun 09:16 dbus-glib.o
 32 -rw-r--r--   1 macports  admin    16K  9 Jun 09:16 dbus-gloader-expat.o
 64 -rw-r--r--   1 macports  admin    28K  9 Jun 09:16 dbus-gmain.o
 32 -rw-r--r--   1 macports  admin   8,7K  9 Jun 09:16 dbus-gmarshal.o
192 -rw-r--r--   1 macports  admin    96K  9 Jun 09:16 dbus-gobject.o
 64 -rw-r--r--   1 macports  admin    25K  9 Jun 09:16 dbus-gparser.o
208 -rw-r--r--   1 macports  admin   102K  9 Jun 09:16 dbus-gproxy.o
 32 -rw-r--r--   1 macports  admin    10K  9 Jun 09:16 dbus-gsignature.o
 32 -rw-r--r--   1 macports  admin   8,5K  9 Jun 09:16 dbus-gtest.o
 32 -rw-r--r--   1 macports  admin   8,3K  9 Jun 09:16 dbus-gthread.o
112 -rw-r--r--   1 macports  admin    55K  9 Jun 09:16 dbus-gtype-specialized.o
 32 -rw-r--r--   1 macports  admin   9,1K  9 Jun 09:16 dbus-gutils.o
 48 -rw-r--r--   1 macports  admin    24K  9 Jun 09:16 dbus-gvalue-parse-variant.o
 96 -rw-r--r--   1 macports  admin    43K  9 Jun 09:16 dbus-gvalue-utils.o
128 -rw-r--r--   1 macports  admin    60K  9 Jun 09:16 dbus-gvalue.o
 16 -rw-r--r--   1 macports  admin   2,8K  9 Jun 09:16 libdbus-glib-1-symbols.expsym
608 -rwxr-xr-x   1 macports  admin   302K  9 Jun 09:16 libdbus-glib-1.2.dylib
800 -rw-r--r--   1 macports  admin   394K  9 Jun 09:16 libdbus-glib-1.a
 16 lrwxr-xr-x   1 macports  admin    22B  9 Jun 09:16 libdbus-glib-1.dylib -> libdbus-glib-1.2.dylib
 16 -rw-r--r--   1 macports  admin   2,7K  9 Jun 09:16 libdbus-glib-1.exp
 16 lrwxr-xr-x   1 macports  admin    20B  9 Jun 09:16 libdbus-glib-1.la -> ../libdbus-glib-1.la
 16 -rw-r--r--   1 macports  admin   1,0K  9 Jun 09:16 libdbus-glib-1.lai
320 -rw-r--r--   1 macports  admin   157K  9 Jun 09:16 libdbus-gtool.a
 16 lrwxr-xr-x   1 macports  admin    19B  9 Jun 09:16 libdbus-gtool.la -> ../libdbus-gtool.la
~ $ otool -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus/.libs/dbus-binding-tool
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus/.libs/dbus-binding-tool:
	/opt/local/lib/libdbus-glib-1.2.dylib (compatibility version 5.0.0, current version 5.2.0)
	/opt/local/lib/libdbus-1.3.dylib (compatibility version 12.0.0, current version 12.4.0)
	/opt/local/lib/libgio-2.0.0.dylib (compatibility version 4001.0.0, current version 4001.0.0)
	/opt/local/lib/libgobject-2.0.0.dylib (compatibility version 4001.0.0, current version 4001.0.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 4001.0.0, current version 4001.0.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.2.0)
	/opt/local/lib/libexpat.1.dylib (compatibility version 8.0.0, current version 8.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
~ $ otool -L /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus/.libs/libdbus-glib-1.2.dylib
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus/.libs/libdbus-glib-1.2.dylib:
	/opt/local/lib/libdbus-glib-1.2.dylib (compatibility version 5.0.0, current version 5.2.0)
	/opt/local/lib/libdbus-1.3.dylib (compatibility version 12.0.0, current version 12.4.0)
	/opt/local/lib/libgio-2.0.0.dylib (compatibility version 4001.0.0, current version 4001.0.0)
	/opt/local/lib/libgobject-2.0.0.dylib (compatibility version 4001.0.0, current version 4001.0.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 4001.0.0, current version 4001.0.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.2.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

My /opt/local/etc/macports/macports.conf does not contain anything that matches DYLD as I posted on comment 4 .

~ $ grep -i dyld /opt/local/etc/macports/macports.conf
~ $

comment:15 Changed 7 years ago by neverpanic (Clemens Lang)

OK, finally a step closer to the problem!

Your dbus-binding-tool contains

DYLD_LIBRARY_PATH="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus-glib/dbus-glib/work/dbus-glib-0.102/dbus/.libs:/opt/local/lib:$DYLD_LIBRARY_PATH"

The added /opt/local/lib in there causes this problem and isn't in my copy of the build. Let me check where it is generated.

comment:16 Changed 7 years ago by neverpanic (Clemens Lang)

I think this might be yet another problem caused by libtool .la files. Did you uninstall and re-install all ports, or did you use sudo port upgrade outdated to upgrade the all ports to darwin 13?

What does the following command print?

sqlite3 /opt/local/var/macports/registry/registry.db 'SELECT name, path FROM files JOIN ports USING(id) WHERE path LIKE "%.la" AND active = 1;'

comment:17 in reply to:  16 Changed 7 years ago by xman00@…

Replying to cal@…:

I think this might be yet another problem caused by libtool .la files. Did you uninstall and re-install all ports, or did you use sudo port upgrade outdated to upgrade the all ports to darwin 13?

Ok, here is what I did after upgrading to Mavericks. I tried the following to prevent the manual reinstallation of all ports on my system:

  • latest DMG package of MacPorts installed
  • sudo xcode-select --install (did nothing, because I already did this under ML)
  • sudo port selfupdate
  • sudo upgrade outdated

The last step didn't work, because dbus wasn't able to compile. I think it was some la file error. I tried to copy that missing la file stuff from the building directory to the path where the building system wanted it. So after some fiddling around other probs with this, I was finally able to move forward with compiling. But at some point, dbus-glib showed up for dependency installation and failed with the exact error, which I am suffering now again. So, at that point I throwed over and followed the official migration path:

  • port -qv installed > myports.txt
  • sudo port -f uninstall installed
  • sudo port clean all
  • sudo port install portname +variant1 +variant2 …

For the last step I did not port install for every single package, I tried it with: sudo port install package1 package2 package3 and so on.

What does the following command print?

sqlite3 /opt/local/var/macports/registry/registry.db 'SELECT name, path FROM files JOIN ports USING(id) WHERE path LIKE "%.la" AND active = 1;'
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/aai.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/art.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/avs.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/bgr.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/bmp.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/braille.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/cals.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/caption.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/cin.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/cip.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/clip.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/cmyk.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/cut.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/dcm.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/dds.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/debug.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/dib.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/djvu.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/dng.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/dot.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/dpx.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/ept.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/fax.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/fd.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/fits.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/gif.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/gradient.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/gray.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/hald.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/hdr.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/histogram.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/hrz.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/html.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/icon.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/info.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/inline.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/ipl.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/jnx.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/jpeg.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/json.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/label.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/mac.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/magick.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/map.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/mask.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/mat.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/matte.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/meta.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/miff.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/mono.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/mpc.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/mpeg.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/mpr.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/msl.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/mtv.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/mvg.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/null.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/otb.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/palm.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/pango.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/pattern.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/pcd.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/pcl.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/pcx.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/pdb.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/pdf.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/pes.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/pict.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/pix.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/plasma.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/png.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/pnm.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/preview.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/ps.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/ps2.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/ps3.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/psd.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/pwp.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/raw.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/rgb.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/rgf.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/rla.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/rle.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/scr.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/sct.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/sfw.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/sgi.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/stegano.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/sun.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/svg.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/tga.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/thumbnail.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/tiff.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/tile.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/tim.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/ttf.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/txt.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/uil.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/url.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/uyvy.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/vicar.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/vid.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/viff.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/vips.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/wbmp.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/webp.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/wpg.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/x.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/xbm.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/xc.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/xcf.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/xpm.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/xps.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/xwd.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/ycbcr.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/coders/yuv.la
ImageMagick|/opt/local/lib/ImageMagick-6.8.9/modules-Q16/filters/analyze.la
ImageMagick|/opt/local/lib/libMagick++-6.Q16.la
ImageMagick|/opt/local/lib/libMagickCore-6.Q16.la
ImageMagick|/opt/local/lib/libMagickWand-6.Q16.la
libpng|/opt/local/lib/libpng.la

comment:18 Changed 7 years ago by neverpanic (Clemens Lang)

Your set of .la files looks fine (the libpng.la one is a red herring because it is a broken symlink).

I don't know enough about libtool to debug this any further – you could try reading the libtool file in the dbus-glib source tree that is used to generate the offending dbus-binding-tool wrapper script.

Alternatively, you could build until the failure, edit the dbus-binding-tool script, remove /opt/local/lib, and re-start the build, which should allow your build to finish.

comment:19 in reply to:  18 Changed 7 years ago by xman00@…

Replying to cal@…:

Alternatively, you could build until the failure, edit the dbus-binding-tool script, remove /opt/local/lib, and re-start the build, which should allow your build to finish.

Hmm, that worked. This is strange, it even didn't rebuild anything after I commented that line with /opt/local/lib DYLD out. It just installed it with +universal. Whatever, thank you! :-)

comment:20 Changed 7 years ago by xman00@…

Nope, gconf get stuck with the same error. I'll try to reinstall everything now and move /opt/local away - a real fresh install of MacPorts...

comment:21 Changed 7 years ago by xman00@…

With the fresh installation everything is working now... finally. Sorry for your extra work for nothing. Must been my fault, kind of :(

comment:22 Changed 7 years ago by neverpanic (Clemens Lang)

Resolution: worksforme
Status: newclosed

No problem, you're welcome. These libtool-related problems can be a real pain to debug, and there might still be a bug in there we didn't notice. That's exactly why MacPorts chose to sanitize the .la files are outright delete them starting with Mavericks – they were causing more problems than they solved for us.

comment:23 Changed 7 years ago by hifreeblues@…

Thanks!

mv /opt/local ~/macports

I solved the very similar problem!

:error:build org.macports.build for port dbus returned: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
    while executing
"proc-org.macports.build-build-0 org.macports.build"
    ("eval" body line 1)

comment:24 Changed 7 years ago by neverpanic (Clemens Lang)

That isn't a similar problem. If you need assistance, please open a new ticket and attach the main.log of the failed build.

Btw, moving the macports installation from /opt/local to ~/macports without following https://guide.macports.org/#installing.macports.source.multiple will not work correctly.

Note: See TracTickets for help on using tickets.