Opened 21 years ago

Closed 20 years ago

Last modified 20 years ago

#1308 closed defect (fixed)

xchat2 build fails

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

Description

---> Building xchat2 with target all Error: Target com.apple.build returned: shell command "cd "/usr/local/ports/irc/ xchat2/ work/xchat-2.0.6" && make all" returned error 2 Command output: else rm -f ".deps/maingui.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include/gtk-2.0 -I/usr/local /lib/gtk -2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/ include -I\ /usr/local/include/freetype2 -I/usr/X11R6/include -I/usr /local/include/glib-2.0 -I/usr/ local/lib/glib-2.0/include -DG_DISABLE_CAST_CHE CKS -DLOCALEDIR=\"/usr/local/ share/locale\" -I/\ usr/local/include -I/usr/X11R6/i nclude -no-cpp-precomp -I/usr/local/include -Wall -g -I/usr/local/include -I/us r/X11R6/include -no-cpp-precomp -MT notifygui.o -MD -MP -MF ".deps/notif\ ygui.Tpo " \

-c -o notifygui.o test -f 'notifygui.c' || echo './'notifygui.c; \

then mv -f ".deps/notifygui.Tpo" ".deps/notifygui.Po"; \ else rm -f ".deps/notifygui.Tpo"; exit 1; \ fi notifygui.c: In function `notify_add_clicked': notifygui.c:280: warning: implicit declaration of function `fe_get_str' if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include/gtk-2.0 -I/usr/local /lib/gtk -2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I/usr/local/ include -I\ /usr/local/include/freetype2 -I/usr/X11R6/include -I/usr /local/include/glib-2.0 -I/usr/ local/lib/glib-2.0/include -DG_DISABLE_CAST_CHE CKS -DLOCALEDIR=\"/usr/local/ share/locale\" -I/\ usr/local/include -I/usr/X11R6/i nclude -no-cpp-precomp -I/usr/local/include -Wall -g -I/usr/local/include -I/us r/X11R6/include -no-cpp-precomp -MT palette.o -MD -MP -MF ".deps/palette\ .Tpo" \

-c -o palette.o test -f 'palette.c' || echo './'palette.c; \

then mv -f ".deps/palette.Tpo" ".deps/palette.Po"; \ else rm -f ".deps/palette.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include/gtk-2.0 -I/usr/local/li b/gtk-2.0/ include -I/usr/local/include/atk-1.0 -I/usr/local/include/pango-1.0 -I /usr/local/include -I/us\ r/local/include/freetype2 -I/usr/X11R6/include -I/usr/lo cal/include/glib-2.0 -I/usr/local/ lib/glib-2.0/include -DG_DISABLE_CAST_CHECKS -DLOCALEDIR=\"/usr/local/share/ locale\" -I/usr\ /local/include -I/usr/X11R6/incl ude -no-cpp-precomp -I/usr/local/include -Wall -g -I/ usr/local/include -I/usr/X 11R6/include -no-cpp-precomp -DXCHATSHAREDIR=\"/usr/ local/share/xchat\" \ -c ./pix maps.c pixmaps.c: In function `pixmaps_init': pixmaps.c:82: error: `aboutpng' undeclared (first use in this function) pixmaps.c:82: error: (Each undeclared identifier is reported only once pixmaps.c:82: error: for each function it appears in.) pixmaps.c:83: error: `bookpng' undeclared (first use in this function) pixmaps.c:84: error: `xchatpng' undeclared (first use in this function) pixmaps.c:88: error: `purplepng' undeclared (first use in this function) pixmaps.c:92: error: `redpng' undeclared (first use in this function) pixmaps.c:96: error: `oppng' undeclared (first use in this function) pixmaps.c:100: error: `hoppng' undeclared (first use in this function) pixmaps.c:104: error: `voicepng' undeclared (first use in this function) make[3]: * [pixmaps.o] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Change History (3)

comment:1 Changed 21 years ago by eric.stokes@…

This failure was caused by a misconfiguration in gtk2. One of the gtk2 patches assumes that you will install darwinports in the default location, and sets up the pixbuf loaders to look there. My darwin ports root is /usr/local.

The offending patch is Ryoko:eric:/usr/local/ports/x11/gtk2/files $ grep /opt/local * grep: CVS: Operation not permitted gdk-pixbuf.loaders:# LoaderDir = /opt/local/lib/gtk-2.0/2.2.0/loaders gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-ani.so" gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-bmp.so" gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-gif.so" gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-ico.so" gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-jpeg.so" gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-png.so" gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-pnm.so" gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-ras.so" gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-tga.so" gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-tiff.so" gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-wbmp.so" gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-xbm.so" gdk-pixbuf.loaders:"/opt/local/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-xpm.so"

comment:2 Changed 21 years ago by eric.stokes@…

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

comment:3 Changed 20 years ago by mij@…

Resolution: fixed
Status: newclosed

This was fixed quite a while ago, I just never closed the bug.

  • jim
Note: See TracTickets for help on using tickets.