Subject: Re: meta-pkgs/gnome build problem
To: David H. Gutteridge <dhgutteridge@sympatico.ca>
From: Greg Evans <gevans@cpucafe.com>
List: tech-pkg
Date: 09/14/2005 11:10:47
Hi Dave,

I have been pretty good about keeping my pkgsrc tree up to date (at 
least I thought so).  Being suspicious though I did:

1) 'sup ~/sup/sup.pkgsrc' which is basically a copy of the 
/usr/share/examples/supfiles/sup.netbsd.org file with the src and xsrc 
taken out and it changed a few things...
2) make clean of the gnome2-media
3) removed allthe files in the distfiles directory

(This is NetBSD 2.0 if that makes any difference)

Here is the last little bit of what I saw on the console screen when 
building gnome2-media

if cc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I.. -I../cddb-slave2 
-DORBIT2=1 -pthread -DXTHREADS -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/libgnomeui-2.0 
-I/usr/pkg/include/libgnome-2.0 -I/usr/pkg/include/libgnomecanvas-2.0 
-I/usr/pkg/include/gtk-2.0 -I/usr/pkg/include/libart-2.0 
-I/usr/pkg/include/gconf/2 -I/usr/pkg/include/libbonoboui-2.0 
-I/usr/pkg/include/orbit-2.0 -I/usr/pkg/include/libbonobo-2.0 
-I/usr/pkg/include/gnome-vfs-2.0 -I/usr/pkg/lib/gnome-vfs-2.0/include 
-I/usr/pkg/include/bonobo-activation-2.0 -I/usr/pkg/include/pango-1.0 
-I/usr/pkg/include -I/usr/pkg/include/freetype2 
-I/usr/pkg/lib/gtk-2.0/include -I/usr/X11R6/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/libxml2   -DXTHREADS 
-I/usr/pkg/include/libnautilus-burn -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/gtk-2.0 
-I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include -I/usr/X11R6/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/pango-1.0 
-I/usr/pkg/include/freetype2   -DXTHREADS -I/usr/pkg/include/gail-1.0 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/gtk-2.0 
-I/usr/pkg/include/libgnomecanvas-2.0 -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/pango-1.0 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/libart-2.0   
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -DORBIT2=1 
-DXTHREADS -I/usr/pkg/include/gstreamer-0.8 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/include/libxml2 -I/usr/pkg/include/gconf/2 
-I/usr/pkg/include/orbit-2.0 -I/usr/pkg/include/libgnomeui-2.0 
-I/usr/pkg/include/libgnome-2.0 -I/usr/pkg/include/libgnomecanvas-2.0 
-I/usr/pkg/include/gtk-2.0 -I/usr/pkg/include/libart-2.0 
-I/usr/pkg/include/libbonoboui-2.0 -I/usr/pkg/include/libbonobo-2.0 
-I/usr/pkg/include/gnome-vfs-2.0 -I/usr/pkg/lib/gnome-vfs-2.0/include 
-I/usr/pkg/include/bonobo-activation-2.0 -I/usr/pkg/include/pango-1.0 
-I/usr/pkg/include -I/usr/pkg/include/freetype2 
-I/usr/pkg/lib/gtk-2.0/include -I/usr/X11R6/include 
-I/usr/pkg/include/atk-1.0   "-DHAVE_GST=1" 
-DGNOMELOCALEDIR=\""/usr/pkg/share/locale"\" 
-DDATADIR=\""/usr/pkg/share"\" 
-DGNOME_ICONDIR=\""/usr/pkg/share/pixmaps"\" 
-DTHEME_DIR=\""/usr/pkg/share/pixmaps/gnome-cd/themes"\"  
-I/usr/pkg/include -I/usr/include -I/usr/include/krb5 
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include  -O2 
-I/usr/pkg/include -I/usr/include -I/usr/include/krb5 
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include -MT theme.o -MD -MP 
-MF ".deps/theme.Tpo" \
  -c -o theme.o `test -f 'theme.c' || echo './'`theme.c; \
then mv -f ".deps/theme.Tpo" ".deps/theme.Po"; \
else rm -f ".deps/theme.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link cc  -O2 -I/usr/pkg/include -I/usr/include 
-I/usr/include/krb5 -I/usr/pkg/include/freetype2 -I/usr/X11R6/include  
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib 
-L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -o gnome-cd  eggtrayicon.o 
gnome-cd.o callbacks.o cddb.o cdrom.o display.o gst-cdparanoia-cdrom.o 
preferences.o cd-selection.o theme.o -Wl,-R/usr/pkg/lib 
-Wl,--export-dynamic -pthread -L/usr/pkg/lib -lgnomeui-2 -lbonoboui-2 
-lxml2 -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 
-lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgnomevfs-2 -lbonobo-2 
-lgconf-2 -lbonobo-activation -lORBit-2 -lgmodule-2.0 -lgthread-2.0 
-lglib-2.0 -lesd -laudiofile -lm   -Wl,-R/usr/pkg/lib -L/usr/pkg/lib 
-lnautilus-burn -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 
-lm -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 
-lgmodule-2.0 -lglib-2.0    -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgailutil 
-lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 
-lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   
../gnome-cd/access/libgnomecdaccess.la -Wl,-R/usr/pkg/lib 
-Wl,--export-dynamic -pthread -L/usr/pkg/lib -lgstgconf-0.8 
-lgstreamer-0.8 -lgnomeui-2 -lbonoboui-2 -lxml2 -lz -lgnomecanvas-2 
-lgnome-2 -lpopt -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 
-lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 
-lgobject-2.0 -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation 
-lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 -lglib-2.0   
../cddb-slave2/libcddb-slave2.la libgnomemedia-cddbslave2.la -lintl
cc -O2 -I/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/include 
-I/usr/include/krb5 
-I/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/include/freetype2 
-I/usr/pkgsrc/multimedia/gnome2-media/work/.x11-buildlink/include 
-Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o .libs/gnome-cd eggtrayicon.o 
gnome-cd.o callbacks.o cddb.o cdrom.o display.o gst-cdparanoia-cdrom.o 
preferences.o cd-selection.o theme.o -Wl,--export-dynamic -pthread 
-Wl,--export-dynamic -pthread  
-L/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib 
-L/usr/pkgsrc/multimedia/gnome2-media/work/.x11-buildlink/lib 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libnautilus-burn.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgailutil.so 
../gnome-cd/access/.libs/libgnomecdaccess.a 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgstgconf-0.8.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgstreamer-0.8.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgnomeui-2.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgnome-keyring.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libjpeg.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libbonoboui-2.so 
-lSM -lICE -lX11 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgnomecanvas-2.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgnome-2.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libesd.so 
-lossaudio 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libaudiofile.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libart_lgpl_2.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgtk-x11-2.0.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgdk-x11-2.0.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libatk-1.0.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgdk_pixbuf-2.0.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libpangoxft-1.0.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libpangox-1.0.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libpangoft2-1.0.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libpango-1.0.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgnomevfs-2.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libxml2.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgnutls.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libtasn1.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgcrypt.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgpg-error.so 
-lz -lrt 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgconf-2.so 
../cddb-slave2/.libs/libcddb-slave2.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libbonobo-2.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libbonobo-activation.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libORBitCosNaming-2.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libORBit-2.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libpopt.so -lm 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgmodule-2.0.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgthread-2.0.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libgobject-2.0.so 
/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib/libglib-2.0.so 
./.libs/libgnomemedia-cddbslave2.a -lintl -Wl,--rpath 
-Wl,/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib -Wl,--rpath 
-Wl,/usr/pkg/lib
gmake[3]: Leaving directory 
`/usr/pkgsrc/multimedia/gnome2-media/work/gnome-media-2.10.2/gnome-cd'
gmake[2]: Leaving directory 
`/usr/pkgsrc/multimedia/gnome2-media/work/gnome-media-2.10.2/gnome-cd'
gmake[1]: Leaving directory 
`/usr/pkgsrc/multimedia/gnome2-media/work/gnome-media-2.10.2'
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/multimedia/gnome2-media
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/multimedia/gnome2-media/work/.work.log
===>
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/multimedia/gnome2-media


Here is the last little bit from the .work.log file located in 
/usr/pkgsrc/multimedia/gnome2-media/work
dbserv# tail -20 .work.log
    (cmd-sink) pop: -lORBit-2
    (cmd-sink) pop: 
-L/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib
    (cmd-sink) pop: -lpopt
    (cmd-sink) pop: -lm
    (cmd-sink) pop: 
-L/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib
    (cmd-sink) pop: -lgmodule-2.0
    (cmd-sink) pop: 
-L/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib
    (cmd-sink) pop: -lgthread-2.0
    (cmd-sink) pop: 
-L/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib
    (cmd-sink) pop: -lgobject-2.0
    (cmd-sink) pop: 
-L/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib
    (cmd-sink) pop: -lglib-2.0
    (cmd-sink) pop: ./.libs/libgnomemedia-cddbslave2.a
    (cmd-sink) pop: -lintl
    (cmd-sink) pop: -Wl,--rpath,/usr/pkg/lib
    (cmd-sink) pop: -Wl,--rpath,/usr/pkg/lib
    (cmd-sink) pop: 
-I/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/include
    (cmd-sink) pop: 
-L/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib
==> Reordering libraries:  -lnautilus-burn -lgailutil -lgstgconf-0.8 
-lgstreamer-0.8 -lgnomeui-2 -lgnome-keyring -ljpeg -lbonoboui-2 -lSM 
-lICE -lX11 -lgnomecanvas-2 -lgnome-2 -lesd -lossaudio -laudiofile 
-lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 
-lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lgnomevfs-2 
-lxml2 -lgnutls -ltasn1 -lgcrypt -lgpg-error -lz -lrt -lgconf-2 
-lbonobo-2 -lbonobo-activation -lORBitCosNaming-2 -lORBit-2 -lpopt -lm 
-lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl
<.> /usr/pkgsrc/multimedia/gnome2-media/work/.gcc/bin/gcc -O2 
-I/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/include 
-I/usr/include/krb5 
-I/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/include/freetype2 
-I/usr/pkgsrc/multimedia/gnome2-media/work/.x11-buildlink/include 
-Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o .libs/gnome-cd eggtrayicon.o 
gnome-cd.o callbacks.o cddb.o cdrom.o display.o gst-cdparanoia-cdrom.o 
preferences.o cd-selection.o theme.o -Wl,--export-dynamic -pthread 
-Wl,--export-dynamic -pthread 
-L/usr/pkgsrc/multimedia/gnome2-media/work/.buildlink/lib 
-L/usr/pkgsrc/multimedia/gnome2-media/work/.x11-buildlink/lib 
../gnome-cd/access/.libs/libgnomecdaccess.a 
../cddb-slave2/.libs/libcddb-slave2.so 
./.libs/libgnomemedia-cddbslave2.a -Wl,--rpath,/usr/pkg/lib 
-lnautilus-burn -lgailutil -lgstgconf-0.8 -lgstreamer-0.8 -lgnomeui-2 
-lgnome-keyring -ljpeg -lbonoboui-2 -lSM -lICE -lX11 -lgnomecanvas-2 
-lgnome-2 -lesd -lossaudio -laudiofile -lart_lgpl_2 -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 
-lpangoft2-1.0 -lpango-1.0 -lgnomevfs-2 -lxml2 -lgnutls -ltasn1 -lgcrypt 
-lgpg-error -lz -lrt -lgconf-2 -lbonobo-2 -lbonobo-activation 
-lORBitCosNaming-2 -lORBit-2 -lpopt -lm -lgmodule-2.0 -lgthread-2.0 
-lgobject-2.0 -lglib-2.0 -lintl

Greg

David H. Gutteridge wrote:

>Hi Greg,
>
>Could you tell us the error message you're seeing?  I don't see any error
>messages in the work log you posted.  (But maybe someone else could make sense
>of it anyway, if they've duplicated this.)  What's the last output you see
>in your shell when the build breaks?
>
>I've successfully built the Gnome meta package under 2.1RC3/i386 about two
>weeks ago, I think I recall having to tinker with it to get some of the
>packages to compile, the error message might jog my memory.
>
>Regards,
>
>Dave
>
>  
>
>>I have been trying to build the meta-pkg gnome 
>>(/usr/pkgsrc/meta-pkgs/gnome) on my x86 machine and keep getting an 
>>error in gnome2-media. It tells me to check the 
>>/usr/pkgsrc/multimedia/gnome2-media/work/.work.log to see what is 
>>happening and unfortunately, though I have beenusing NetBSD for quite 
>>some time, I am not much of a programmer/debugger when the build process 
>>goes wrong.
>>
>>This is what I see at the end of the .work.log (last 50 lines):
>>    
>>
>
>  
>