Subject: pkg/31904: gnome-control-center does not build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@aprisoft.de>
List: pkgsrc-bugs
Date: 10/24/2005 06:36:00
>Number:         31904
>Category:       pkg
>Synopsis:       gnome-control-center does not build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 24 06:36:00 +0000 2005
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.10
>Organization:
>Environment:
System: NetBSD nelly.aprisoft.de 3.99.10 NetBSD 3.99.10 (NELLY) #1: Mon Oct 17 09:42:00 CEST 2005 martin@nelly.aprisoft.de:/usr/src/sys/arch/sparc64/compile/NELLY sparc64
Architecture: sparc64
Machine: sparc64
>Description:

In my endless struggle to update all pkgs on this machine, gnome continues
to fail to build (I guess it tries to tell me something).

This time:

ld: cannot find -lgnome-window-settings
libtool: install: error: relink `libnautilus-themus.la' with the above command before installing it
gmake[3]: *** [install-nautilusLTLIBRARIES] Error 1

I have these traces of gnome-window-settings in my work/ directory:

[/usr/pkgobj/x11/gnome2-control-center/work] martin@nelly > find . -name \*gnome-window-set\*
./control-center-2.12.1/libwindow-settings/gnome-window-settings-2.0.pc.in
./control-center-2.12.1/libwindow-settings/gnome-window-settings-2.0.pc
./control-center-2.12.1/libwindow-settings/libgnome-window-settings.la
./control-center-2.12.1/libwindow-settings/.libs/libgnome-window-settings.so.1.0.0
./control-center-2.12.1/libwindow-settings/.libs/libgnome-window-settings.so.1
./control-center-2.12.1/libwindow-settings/.libs/libgnome-window-settings.so
./control-center-2.12.1/libwindow-settings/.libs/libgnome-window-settings.a
./control-center-2.12.1/libwindow-settings/.libs/libgnome-window-settings.lai
./control-center-2.12.1/libwindow-settings/.libs/libgnome-window-settings.la
./control-center-2.12.1/libwindow-settings/.libs/libgnome-window-settings.lai.blsav
./control-center-2.12.1/libwindow-settings/libgnome-window-settings.la.blsav

And this is (hopefully enough) of the build log:

gmake[3]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/keybindings'
test -z "/usr/pkg/bin" || /bin/sh ../../mkinstalldirs "/usr/pkg/bin"
  /bin/sh ../../libtool --mode=install /usr/bin/install -c -s -o root -g wheel -m 555 'gnome-keybinding-properties' '/usr/pkg/bin/gnome-keybinding-properties'
/usr/bin/install -c -o root -g wheel -m 555 -s .libs/gnome-keybinding-properties /usr/pkg/bin/gnome-keybinding-properties
test -z "/usr/pkg/share/control-center-2.0/interfaces" || /bin/sh ../../mkinstalldirs "/usr/pkg/share/control-center-2.0/interfaces"
 /usr/bin/install -c -o root -g wheel -m 444 'gnome-keybinding-properties.glade' '/usr/pkg/share/control-center-2.0/interfaces/gnome-keybinding-properties.glade'
test -z "/usr/pkg/share/applications" || /bin/sh ../../mkinstalldirs "/usr/pkg/share/applications"
 /usr/bin/install -c -o root -g wheel -m 444 'keybinding.desktop' '/usr/pkg/share/applications/keybinding.desktop'
gmake[3]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/keybindings'
gmake[2]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/keybindings'
Making install in network
gmake[2]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/network'
gmake[3]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/network'
test -z "/usr/pkg/bin" || /bin/sh ../../mkinstalldirs "/usr/pkg/bin"
  /bin/sh ../../libtool --mode=install /usr/bin/install -c -s -o root -g wheel -m 555 'gnome-network-preferences' '/usr/pkg/bin/gnome-network-preferences'
/usr/bin/install -c -o root -g wheel -m 555 -s .libs/gnome-network-preferences /usr/pkg/bin/gnome-network-preferences
test -z "/usr/pkg/share/applications" || /bin/sh ../../mkinstalldirs "/usr/pkg/share/applications"
 /usr/bin/install -c -o root -g wheel -m 444 'gnome-network-preferences.desktop' '/usr/pkg/share/applications/gnome-network-preferences.desktop'
test -z "/usr/pkg/share/control-center-2.0/interfaces" || /bin/sh ../../mkinstalldirs "/usr/pkg/share/control-center-2.0/interfaces"
 /usr/bin/install -c -o root -g wheel -m 444 'gnome-network-preferences.glade' '/usr/pkg/share/control-center-2.0/interfaces/gnome-network-preferences.glade'
gmake[3]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/network'
gmake[2]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/network'
Making install in windows
gmake[2]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/windows'
gmake[3]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/windows'
test -z "/usr/pkg/bin" || /bin/sh ../../mkinstalldirs "/usr/pkg/bin"
  /bin/sh ../../libtool --mode=install /usr/bin/install -c -s -o root -g wheel -m 555 'gnome-window-properties' '/usr/pkg/bin/gnome-window-properties'
/usr/bin/install -c -o root -g wheel -m 555 -s .libs/gnome-window-properties /usr/pkg/bin/gnome-window-properties
test -z "/usr/pkg/share/applications" || /bin/sh ../../mkinstalldirs "/usr/pkg/share/applications"
 /usr/bin/install -c -o root -g wheel -m 444 'window-properties.desktop' '/usr/pkg/share/applications/window-properties.desktop'
test -z "/usr/pkg/share/control-center-2.0/interfaces" || /bin/sh ../../mkinstalldirs "/usr/pkg/share/control-center-2.0/interfaces"
 /usr/bin/install -c -o root -g wheel -m 444 'gnome-window-properties.glade' '/usr/pkg/share/control-center-2.0/interfaces/gnome-window-properties.glade'
gmake[3]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/windows'
gmake[2]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/windows'
Making install in display
gmake[2]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/display'
gmake[3]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/display'
test -z "/usr/pkg/bin" || /bin/sh ../../mkinstalldirs "/usr/pkg/bin"
  /bin/sh ../../libtool --mode=install /usr/bin/install -c -s -o root -g wheel -m 555 'gnome-display-properties' '/usr/pkg/bin/gnome-display-properties'
/usr/bin/install -c -o root -g wheel -m 555 -s .libs/gnome-display-properties /usr/pkg/bin/gnome-display-properties
test -z "/usr/pkg/share/applications" || /bin/sh ../../mkinstalldirs "/usr/pkg/share/applications"
 /usr/bin/install -c -o root -g wheel -m 444 'display-properties.desktop' '/usr/pkg/share/applications/display-properties.desktop'
test -z "/usr/pkg/share/pixmaps" || /bin/sh ../../mkinstalldirs "/usr/pkg/share/pixmaps"
 /usr/bin/install -c -o root -g wheel -m 444 'display-capplet.png' '/usr/pkg/share/pixmaps/display-capplet.png'
test -z "/usr/pkg/share/control-center-2.0/icons" || /bin/sh ../../mkinstalldirs "/usr/pkg/share/control-center-2.0/icons"
 /usr/bin/install -c -o root -g wheel -m 444 'display-capplet.png' '/usr/pkg/share/control-center-2.0/icons/display-capplet.png'
gmake[3]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/display'
gmake[2]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/display'
gmake[2]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets'
gmake[3]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets'
gmake[3]: Nothing to be done for `install-exec-am'.
gmake[3]: Nothing to be done for `install-data-am'.
gmake[3]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets'
gmake[2]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets'
gmake[1]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets'
Making install in control-center
gmake[1]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/control-center'
/usr/pkg/bin/gmake  install-am
gmake[2]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/control-center'
gmake[3]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/control-center'
test -z "/usr/pkg/bin" || /bin/sh ../mkinstalldirs "/usr/pkg/bin"
  /bin/sh ../libtool --mode=install /usr/bin/install -c -s -o root -g wheel -m 555 'gnome-control-center' '/usr/pkg/bin/gnome-control-center'
/usr/bin/install -c -o root -g wheel -m 555 -s gnome-control-center /usr/pkg/bin/gnome-control-center
test -z "/usr/pkg/share/icons/hicolor/48x48/apps" || /bin/sh ../mkinstalldirs "/usr/pkg/share/icons/hicolor/48x48/apps"
 /usr/bin/install -c -o root -g wheel -m 444 'gnome-control-center.png' '/usr/pkg/share/icons/hicolor/48x48/apps/gnome-control-center.png'
test -z "/usr/pkg/share/applications" || /bin/sh ../mkinstalldirs "/usr/pkg/share/applications"
 /usr/bin/install -c -o root -g wheel -m 444 'gnomecc.desktop' '/usr/pkg/share/applications/gnomecc.desktop'
gmake[3]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/control-center'
gmake[2]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/control-center'
gmake[1]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/control-center'
Making install in help
gmake[1]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/help'
gmake[2]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/help'
gmake[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/pkg/share/gnome/help/control-center/C
/usr/bin/install -c -o root -g wheel -m 444 C/config-accessibility-keyboard.xml /usr/pkg/share/gnome/help/control-center/C/config-accessibility-keyboard.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-background.xml /usr/pkg/share/gnome/help/control-center/C/config-background.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-behavior.xml /usr/pkg/share/gnome/help/control-center/C/config-behavior.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-cds.xml /usr/pkg/share/gnome/help/control-center/C/config-cds.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-default-apps.xml /usr/pkg/share/gnome/help/control-center/C/config-default-apps.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-file-type.xml /usr/pkg/share/gnome/help/control-center/C/config-file-type.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-hints.xml /usr/pkg/share/gnome/help/control-center/C/config-hints.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-html.xml /usr/pkg/share/gnome/help/control-center/C/config-html.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-kbd.xml /usr/pkg/share/gnome/help/control-center/C/config-kbd.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-keybindings.xml /usr/pkg/share/gnome/help/control-center/C/config-keybindings.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-mouse.xml /usr/pkg/share/gnome/help/control-center/C/config-mouse.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-screensaver.xml /usr/pkg/share/gnome/help/control-center/C/config-screensaver.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-sound.xml /usr/pkg/share/gnome/help/control-center/C/config-sound.xml
/usr/bin/install -c -o root -g wheel -m 444 C/config-themes.xml /usr/pkg/share/gnome/help/control-center/C/config-themes.xml
/usr/bin/install -c -o root -g wheel -m 444 C/control-center.xml /usr/pkg/share/gnome/help/control-center/C/control-center.xml
/bin/sh ../mkinstalldirs /usr/pkg/share/omf/control-center
/usr/bin/install -c -o root -g wheel -m 444 control-center-C.omf /usr/pkg/share/omf/control-center/control-center-C.omf
scrollkeeper-update -p /usr/pkg/libdata/scrollkeeper/db -o /usr/pkg/share/omf/control-center
[pkgsrc] Doing nothing for scrollkeeper-update -p /usr/pkg/libdata/scrollkeeper/db -o /usr/pkg/share/omf/control-center
gmake[2]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/help'
gmake[1]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/help'
Making install in vfs-methods
gmake[1]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/vfs-methods'
Making install in themus
gmake[2]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/vfs-methods/themus'
gmake[3]: Entering directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/vfs-methods/themus'
test -z "/usr/pkg/bin" || /bin/sh ../../mkinstalldirs "/usr/pkg/bin"
  /bin/sh ../../libtool --mode=install /usr/bin/install -c -s -o root -g wheel -m 555 'gnome-theme-thumbnailer' '/usr/pkg/bin/gnome-theme-thumbnailer'
/usr/bin/install -c -o root -g wheel -m 555 -s .libs/gnome-theme-thumbnailer /usr/pkg/bin/gnome-theme-thumbnailer
  /bin/sh ../../libtool --mode=install /usr/bin/install -c -s -o root -g wheel -m 555 'themus-theme-applier' '/usr/pkg/bin/themus-theme-applier'
/usr/bin/install -c -o root -g wheel -m 555 -s .libs/themus-theme-applier /usr/pkg/bin/themus-theme-applier
test -z "/usr/pkg/share/control-center-2.0/interfaces" || /bin/sh ../../mkinstalldirs "/usr/pkg/share/control-center-2.0/interfaces"
 /usr/bin/install -c -o root -g wheel -m 444 'apply-font.glade' '/usr/pkg/share/control-center-2.0/interfaces/apply-font.glade'
test -z "/usr/pkg/share/applications" || /bin/sh ../../mkinstalldirs "/usr/pkg/share/applications"
 /usr/bin/install -c -o root -g wheel -m 444 'themus-theme-applier.desktop' '/usr/pkg/share/applications/themus-theme-applier.desktop'
update-desktop-database /usr/pkg/share/applications
[pkgsrc] Doing nothing for update-desktop-database /usr/pkg/share/applications
test -z "/usr/pkg/lib/nautilus/extensions-1.0" || /bin/sh ../../mkinstalldirs "/usr/pkg/lib/nautilus/extensions-1.0"
 /bin/sh ../../libtool --mode=install /usr/bin/install -c -o root -g wheel  'libnautilus-themus.la' '/usr/pkg/lib/nautilus/extensions-1.0/libnautilus-themus.la'
libtool: install: warning: relinking `libnautilus-themus.la'
 (cd /b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/vfs-methods/themus; /bin/sh /usr/pkg/bin/libtool --tag=CC --mode=relink cc -O2 -pipe -Wall -L/usr/pkgobj/x11/gnome2-control-center/work/.buildlink/lib -Wl,-R/usr/pkg/lib -L/usr/pkgobj/x11/gnome2-control-center/work/.x11-buildlink/lib -Wl,-R/usr/X11R6/lib -o libnautilus-themus.la -rpath /usr/pkg/lib/nautilus/extensions-1.0 -module -avoid-version -export-symbols-regex "nautilus_module_.*" themus-properties-view.lo themus-properties-main.lo -pthread -lnautilus-extension -lgtk-x11-2.0 -lgnomevfs-2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lbonobo-2 -lgconf-2 -lgobject-2.0 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -L../../capplets/common/.libs ../../capplets/common/libcommon.la -lintl )
generating symbol list for `libnautilus-themus.la'
nm  .libs/themus-properties-view.o .libs/themus-properties-main.o  ../../capplets/common/.libs/libcommon.a | sed -n -e 's/^.*[ 	]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ 	][ 	]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libnautilus-themus.exp
grep -E -e "nautilus_module_.*" ".libs/libnautilus-themus.exp" > ".libs/libnautilus-themus.expT"
mv -f ".libs/libnautilus-themus.expT" ".libs/libnautilus-themus.exp"
cc -shared  .libs/themus-properties-view.o .libs/themus-properties-main.o -Wl,--whole-archive ../../capplets/common/.libs/libcommon.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/usr/pkgobj/x11/gnome2-control-center/work/.buildlink/lib -Wl,--rpath -Wl,/usr/pkg/lib -L/usr/pkgobj/x11/gnome2-control-center/work/.buildlink/lib -L/usr/pkgobj/x11/gnome2-control-center/work/.x11-buildlink/lib -lnautilus-extension -L/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/capplets/common/.libs -L/usr/pkg/lib -lgnome-window-settings -lglade-2.0 -lgnome-menu -lfam -lstdc++ -lrpcsvc -lmetacity-private -lXrandr -lXext -lXinerama -lXcursor -lXfixes -lgnome-desktop-2 -lgnomeui-2 -ljpeg -lstartup-notification-1 -lbonoboui-2 -lSM -lICE -lgnome-keyring -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 -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lcairo -lXrender -lX11 -lpng -lglitz -lfontconfig -lexpat -lfreetype -lgno
 mevfs-2 -lxml2 -lgnutls -lz -ltasn1 -lgcrypt -lgpg-error -lrt -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBitCosNaming-2 -lORBit-2 -lpopt -lgobject-2.0 -lm -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl  -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -pthread -Wl,-soname -Wl,libnautilus-themus.so -Wl,-retain-symbols-file -Wl,.libs/libnautilus-themus.exp -o .libs/libnautilus-themus.so
ld: cannot find -lgnome-window-settings
libtool: install: error: relink `libnautilus-themus.la' with the above command before installing it
gmake[3]: *** [install-nautilusLTLIBRARIES] Error 1
gmake[3]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/vfs-methods/themus'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/vfs-methods/themus'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/b/pkgobj/x11/gnome2-control-center/work/control-center-2.12.1/vfs-methods'
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/gnome2-control-center
*** Error code 1


>How-To-Repeat:
No idea what is special in my environment this time - just try "make build" in
x11/gnome-control-center with pkgsrc-current?

>Fix:
please!