Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61226 closed defect (fixed)

gconf: dyld: Library not loaded: /opt/local/lib/libffi.6.dylib

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: gconf

Description

https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/26185/steps/install-dependencies/logs/stdio

dyld: Library not loaded: /opt/local/lib/libffi.6.dylib
  Referenced from: /opt/local/bin/gconftool-2
  Reason: image not found

I can't tell why gconftool-2 is linked with libffi at all.

Change History (5)

comment:1 Changed 4 years ago by dbevans (David B. Evans)

Owner: set to dbevans
Resolution: fixed
Status: newclosed

In 733655616f60a20a0a1f6994d8d53479b1035b1b/macports-ports (master):

gconf: rebuild with latest libffi

This is probably fixing the symptom rather than the
actual cause but, as per the attached ticket, it's not clear
at all why gconftool-2 wants to link with libffi.

Closes #61226.

comment:2 Changed 4 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: closedreopened

Well, after this attempt, the problem seems to be restricted to the 10.8 buildbot and coming from /opt/local/bin/orbit-idl-2 provided by orbit2.

Making all in gconf
make[2]: Entering directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_gnome_gconf/gconf/work/GConf-3.2.6/gconf'
/opt/local/bin/glib-genmarshal gconfmarshal.list --header --prefix=gconf_marshal > gconfmarshal.h
echo "#include \"gconfmarshal.h\"" > gconfmarshal.c && \
	/opt/local/bin/glib-genmarshal gconfmarshal.list --body --prefix=gconf_marshal >> gconfmarshal.c
/opt/local/bin/orbit-idl-2 ./GConfX.idl
/opt/local/bin/orbit-idl-2 ./GConfX.idl
dyld: Library not loaded: /opt/local/lib/libffi.6.dylib
  Referenced from: /opt/local/bin/orbit-idl-2
  Reason: image not found
/opt/local/bin/orbit-idl-2 ./GConfX.idl
dyld: Library not loaded: /opt/local/lib/libffi.6.dylib
  Referenced from: /opt/local/bin/orbit-idl-2
  Reason: image not found
/opt/local/bin/orbit-idl-2 ./GConfX.idl
dyld: Library not loaded: /opt/local/lib/libffi.6.dylib
  Referenced from: /opt/local/bin/orbit-idl-2
  Reason: image not found
dyld: Library not loaded: /opt/local/lib/libffi.6.dylib
  Referenced from: /opt/local/bin/orbit-idl-2
  Reason: image not found
make[2]: *** [GConfX-common.c] Trace/BPT trap: 5

If I had to guess, perhaps orbit2 was infected by an earlier version of glib2 via /opt/local/bin/glib-genmarshal. If that's the case then orbit2 has the old libffi reference baked in and needs a revbump to rebuild with the lastest version of glib2 which is built with libffi 3.3. All the other buildbot rebuilt gconf correctly and without reference to libffi.

As I say, this is a guess, so I'm open to any other interpretation of the data so far.

Version 0, edited 4 years ago by dbevans (David B. Evans) (next)

comment:3 Changed 4 years ago by kencu (Ken)

LUCKILY we only update things like libffi once or twice a decade...

comment:4 Changed 4 years ago by dbevans (David B. Evans)

In 4dd76169981b5494abdd15560558edba8bcee034/macports-ports (master):

orbit2: rebuild with latest glib2

Possibly gratuitous, but may contribute to fixing
broken libffi linking issues wrt gconf on ports-10.8_x86_64-builder.

Appears to not have been rebuilt since we first moved to GitHub.

See #61226

comment:5 Changed 4 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: reopenedclosed

After a successful rebuild of orbit2, gconf built without problems on ports-10.8_x86_64-builder.

Last edited 4 years ago by dbevans (David B. Evans) (previous) (diff)
Note: See TracTickets for help on using tickets.