[MacPorts] #43947: dbus-glib: dyld: Symbol not found: __cg_jpeg_resync_to_restart (was: building dbus-glib on mavericks fails)

MacPorts noreply at macports.org
Sat Jun 7 09:45:22 PDT 2014


#43947: dbus-glib: dyld: Symbol not found: __cg_jpeg_resync_to_restart
------------------------+--------------------------------
  Reporter:  xman00@…   |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.0
Resolution:             |   Keywords:
      Port:  dbus-glib  |
------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: xman00@… (removed)
 * keywords:  dbus-glib =>
 * port:   => dbus-glib


Old description:

> I've upgraded my OS X from ML to Mavericks. For MacPorts I followed
> these: https://trac.macports.org/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 ??)

New description:

 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 ??)

--

Comment:

 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.

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


More information about the macports-tickets mailing list