Opened 11 years ago

Closed 10 years ago

#23560 closed defect (worksforme)

lablgtk2 doesn't build on Leopard, references non-existant libjpeg6

Reported by: bugs1309@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: lablgtk2

Description

I've tried to update my ports tree, but it failed during the build of lablgtk2. The error message is posted below. I tried deinstalling and rebuilding to no avail. The build error is posted below.

My configuration:

  • Leopard 10.5.8
  • MacPorts 1.8.2
  • command: sudo port upgrade --enforce-variants -d outdated

Interestingly enough, it builds fine on Snow Leopard.

Error message:

Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_lablgtk2/work/lablgtk-2.14.0"
&& /usr/bin/make world " returned error 2
Command output: /usr/bin/make -C src world
ocamlmklib -verbose -ocamlc "ocamlc.opt" -ocamlopt "ocamlopt.opt" -o lablgnomeui ml_gnomedruid.o gnomeDruid.cmo gnoDruid.cmo 
-Wl,-framework,CoreAudio -L/opt/local/lib -lgnomeui-2 -lSM -lICE -lgnome-keyring -lbonoboui-2 -lxml2 -lgnomecanvas-2 
-lgnome-2 -lpopt -lgnomevfs-2 -lesd -lbonobo-2 -laudiofile -lbonobo-activation -lgailutil -lart_lgpl_2 -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage 
-lpangoft2-1.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lXau -lXdmcp -lpango-1.0 -lfontconfig -lexpat 
-lfreetype -lz -lgconf-2 -lORBit-2 -lm -ldbus-1 -lpthread -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv
Unknown option -Wl,-framework,CoreAudio
+ /usr/bin/gcc-4.0 -bundle -flat_namespace -undefined suppress -read_only_relocs suppress -o ./dlllablgnomeui.so ml_gnomedruid.o 
-L/opt/local/lib   -lgnomeui-2 -lSM -lICE -lgnome-keyring -lbonoboui-2 -lxml2 -lgnomecanvas-2 -lgnome-2 -lpopt -lgnomevfs-2 
-lesd -lbonobo-2 -laudiofile -lbonobo-activation -lgailutil -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 
-lpangocairo-1.0 -lgio-2.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lXext -lXfixes -lcairo 
-lpixman-1 -lpng12 -lXrender -lX11 -lXau -lXdmcp -lpango-1.0 -lfontconfig -lexpat -lfreetype -lz -lgconf-2 -lORBit-2 -lm 
-ldbus-1 -lpthread -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl -liconv
ld: file not found: /opt/local/lib/libjpeg.62.dylib
collect2: ld returned 1 exit status
make[1]: *** [lablgnomeui.cma] Error 2
make: *** [world] Error 2

Change History (3)

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Probably it's getting the reference to jpeg 6 from one of its dependencies which needs to be rebuilt against jpeg 7 (and thus needs a rev bump).

comment:2 in reply to:  1 Changed 11 years ago by bugs1309@…

Replying to jmr@…:

Probably it's getting the reference to jpeg 6 from one of its dependencies which needs to be rebuilt against jpeg 7 (and thus needs a rev bump).

Thanks for the tip. I tried upgrading all of its dependencies and after recompiling libgnomeui (and its dependencies), I was able to install lablgtk2.

I tried to figure out what package exactly needs recompiling but wasn't lucky. The error persisted after recompiling libgnomecanvas and was gone after recompiling libgnomeui, so I created a list of dependencies for libgnomeui that aren't dependencies for libgnomecanvas. The list is posted below. None of the ports lists jpeg as a dependency though.

audiofile
bison
dbus
dbus-glib
desktop-file-utils
esound
gconf
gnome-icon-theme
gnome-keyring
gnome-mime-data
gnome-vfs
hicolor-icon-theme
icon-naming-utils
libbonobo
libbonoboui
libgcrypt
libgnome
libgnomeui
libgpg-error
libidl
libtasn1
orbit2
p5-xml-namespacesupport
p5-xml-sax
p5-xml-simple
policykit
popt

comment:3 Changed 10 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Everything involved has probably been updated by now.

Note: See TracTickets for help on using tickets.