Opened 20 years ago

Closed 19 years ago

#2923 closed defect (fixed)

BUG: gtk-engines2 build fails

Reported by: tph@… Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Attempting to install gtk-engines2 leads to the following:

---> Building gtk-engines2 with target all Making all in engines Making all in crux Making all in pixmaps make[3]: Nothing to be done for `all'. /bin/sh ../../libtool --tag=CC --mode=link gcc -I/opt/local/include -L/opt/local/lib -o libcrux- engine.la -rpath /opt/local/lib/gtk-2.0/2.4.0/engines -module -avoid-version -no-undefined crux- draw.lo crux-main.lo crux-pixmaps.lo crux-rc-parser.lo crux-rc-style.lo crux-style.lo debug.lo crux- gradient.lo eazel-theme-hacks.lo -L/opt/local/lib -lgtk-x11-2.0 gcc -o .libs/libcrux-engine.so -bundle .libs/crux-draw.o .libs/crux-main.o .libs/crux-pixmaps.o .libs/crux-rc-parser.o .libs/crux-rc-style.o .libs/crux-style.o .libs/debug.o .libs/crux-gradient.o .libs/ eazel-theme-hacks.o -L/opt/local/lib /opt/local/lib/libgtk-x11-2.0.dylib ld: warning -prebind has no effect with -bundle ld: .libs/crux-draw.o illegal reference to symbol: _g_assert_warning defined in indirectly referenced dynamic library /opt/local/lib/libglib-2.0.0.dylib ld: .libs/crux-draw.o illegal reference to symbol: _g_signal_connect_data defined in indirectly referenced dynamic library /opt/local/lib/libgobject-2.0.0.dylib ld: .libs/crux-draw.o illegal reference to symbol: _gdk_colormap_get_system defined in indirectly referenced dynamic library /opt/local/lib/libgdk-x11-2.0.0.dylib ld: .libs/crux-pixmaps.o illegal reference to symbol: _gdk_pixbuf_add_alpha defined in indirectly referenced dynamic library /opt/local/lib/libgdk_pixbuf-2.0.0.dylib make[3]: * [libcrux-engine.la] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/source/darwinports/dports/ x11/gtk-engines2/work/gtk-engines-2.6.2" && make all" returned error 2 Command output: Making all in engines Making all in crux Making all in pixmaps make[3]: Nothing to be done for `all'. /bin/sh ../../libtool --tag=CC --mode=link gcc -I/opt/local/include -L/opt/local/lib -o libcrux- engine.la -rpath /opt/local/lib/gtk-2.0/2.4.0/engines -module -avoid-version -no-undefined crux- draw.lo crux-main.lo crux-pixmaps.lo crux-rc-parser.lo crux-rc-style.lo crux-style.lo debug.lo crux- gradient.lo eazel-theme-hacks.lo -L/opt/local/lib -lgtk-x11-2.0 gcc -o .libs/libcrux-engine.so -bundle .libs/crux-draw.o .libs/crux-main.o .libs/crux-pixmaps.o .libs/crux-rc-parser.o .libs/crux-rc-style.o .libs/crux-style.o .libs/debug.o .libs/crux-gradient.o .libs/ eazel-theme-hacks.o -L/opt/local/lib /opt/local/lib/libgtk-x11-2.0.dylib ld: warning -prebind has no effect with -bundle ld: .libs/crux-draw.o illegal reference to symbol: _g_assert_warning defined in indirectly referenced dynamic library /opt/local/lib/libglib-2.0.0.dylib ld: .libs/crux-draw.o illegal reference to symbol: _g_signal_connect_data defined in indirectly referenced dynamic library /opt/local/lib/libgobject-2.0.0.dylib ld: .libs/crux-draw.o illegal reference to symbol: _gdk_colormap_get_system defined in indirectly referenced dynamic library /opt/local/lib/libgdk-x11-2.0.0.dylib ld: .libs/crux-pixmaps.o illegal reference to symbol: _gdk_pixbuf_add_alpha defined in indirectly referenced dynamic library /opt/local/lib/libgdk_pixbuf-2.0.0.dylib make[3]: * [libcrux-engine.la] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1

Warning: the following items did not execute (for gtk-engines2): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install

Change History (5)

comment:1 Changed 20 years ago by jmpp@…

Owner: changed from darwinports-bugs@… to mij@…

Assigning bug to maintainer of port

comment:2 Changed 20 years ago by snu@…

Summary: gtk-engines2 build failsBUG: gtk-engines2 build fails

comment:3 Changed 20 years ago by tph@…

There's something very odd about this. I'm working with Darwin port simultaneously on two Macs, one running 10.3.8 and one running 10.4. I reported this bug based on results with 10.3.8. However the port builds normally, as far as I can tell, on the Mac running 10.4.

It's not a gcc 3.3 vs. 4.0 issue; I tried uninstalling on 10.4, cleaning all, and then installing with CC=gcc-3.3. It worked.

Comparing the results of "port -v install gtk-engines2" between the two systems, I notice the following differences. First, when configuring:

In the successful build (10.4), there's this line: checking GTK_LIBS... -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lpng12 -lz -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib -2.0 -lintl -liconv

But in the failed build (10.3.8), it looks like this: checking GTK_LIBS... -L/opt/local/lib -lgtk-x11-2.0

I don't know why the extra libs aren't found-- they're all installed on the 10.3.8 system.

Building then proceeds in parallel for a while until these libs come into play. On the successful build, I get this line at one point:

/bin/sh ../../libtool --tag=CC --mode=link gcc-3.3 -I/opt/local/include -L/opt/local/lib -o libcrux- engine.la -rpath /opt/local/lib/gtk-2.0/2.4.0/engines -module -avoid-version -no-undefined crux- draw.lo crux-main.lo crux-pixmaps.lo crux-rc-parser.lo crux-rc-style.lo crux-style.lo debug.lo crux- gradient.lo eazel-theme-hacks.lo -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lpng12 -lz -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject -2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv

But on the failed build, those libs are missing:

/bin/sh ../../libtool --tag=CC --mode=link gcc -I/opt/local/include -L/opt/local/lib -o libcrux- engine.la -rpath /opt/local/lib/gtk-2.0/2.4.0/engines -module -avoid-version -no-undefined crux- draw.lo crux-main.lo crux-pixmaps.lo crux-rc-parser.lo crux-rc-style.lo crux-style.lo debug.lo crux- gradient.lo eazel-theme-hacks.lo -L/opt/local/lib -lgtk-x11-2.0

It's immediately after this that the failed build starts failing.

comment:4 Changed 19 years ago by mij@…

This should've been fixed with the pkgconfig changes made a little while ago.

comment:5 Changed 19 years ago by mij@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.