public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] gnome installation problem: unreslved references in the gst libraries
@ 2007-10-09  6:55 Nadav Horesh
  2007-10-09 10:05 ` [gentoo-amd64] " Duncan
  0 siblings, 1 reply; 2+ messages in thread
From: Nadav Horesh @ 2007-10-09  6:55 UTC (permalink / raw
  To: gentoo-amd64


I have an ongoing problem with gnome installation started somewhere in one of the gnome-2.14.x upgrades, and it became worse on every upgrade till it prevented the upgrade to the recent gnome version (with a serious side effect of preventing upgrade to python 2.5.1).

 The problem is that in some stage of the build it stops because of an unresolved reference to some routine in the gstreamer&friends libraries. It is not a problem of a specific function/library because:

 1. At different versions of gnome I got different unresolved link.
 2. At the last upgrade, I added a (gstxxx) library that contained the missing link, what led to error of another missing link in a gstxxx library.

I tried "revdep-rebuild" at several stages but it did not help.
My questions are:

1. Is there something wrong in my configuration files that might couse the problem?
2. Is there a way to rebuild the whole gnome package from scratch?

  Nadav.


--------------------------------
make.conf

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
ALSA_CARDS="intel8x0"
#CFLAGS="-O2 -ftracer -march=k8 -fomit-frame-pointer -ffast-math -pipe -fweb -falign-functions=64 -mfpmath=sse -ftree-vectorize -msse3"
#CXXFLAGS="${CFLAGS}"
CFLAGS="-march=k8 -O2 -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -mfpmath=sse -msse3 -m3dnow -ftree-vectorize -falign-functions=64 -fomit-frame-pointer"
CXXFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -combine -mfpmath=sse -msse3 -ftree-vectorize"
FEATUES="parallel-fetch"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://mirror.ovh.net/gentoo-distfiles/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="-altivec hal apm acpi ansi nforce2 lm_sensors pmu cairo sensord howl atlas nvidia sse3 3dnow mmx mmxext 3dnowext gimp gtk gtk2 gnome alsa nls unicode xft xprint qt cdr X xine xvid mpeg Xaw3d avi emacs cups opengl readline python bzlib fftw mozilla tcltk ucs2 gstreamer truetype svg sse sse2 ppd pdf samba smp alsa usb motif dbus ffmpeg ieee1394 mng multilib tk nptl nptlonly mono a52 threads aac win32codecs wmf x264 theora imagemagick quicktime beagle tiff"
#PORTDIR_OVERLAY="/usr/local/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/sci"
INPUT_DEVICES="mouse keyboard"
#VIDEO_CARDS="nvidia"
VIDEO_CARDS="nvidia nv vesa"
#-apm -ark -chips -cirrus -cyrix -dummy -fbdev -fglrx -glint -i128 -i810 -mach64 -mga -neomagic -nv -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vesa -vga -via -vmware -voodoo"
#USE='nptl nptlonly' to make.conf
PORTAGE_NICENESS=3



-------------
envionment variables

MANPATH=/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.17/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man:/opt/opera/share/man
SHELL=/bin/bash
TERM=xterm
QTDIR=/usr/qt/3
ANT_HOME=/usr/share/ant-core
SGML_CATALOG_FILES=/etc/sgml/sgml-docbook.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/xml-docbook-4.4.cat:/etc/sgml/xml-simple-docbook-1.0.cat:/etc/sgml/xml-simple-docbook-4.1.2.4.cat:/etc/sgml/xml-docbook-4.1.2.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-4.0.cat:/etc/sgml/sgml-docbook-4.1.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/dsssl-docbook-stylesheets.cat
USER=root
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
PRELINK_PATH_MASK=/usr/lib/gstreamer-0.10:/usr/lib/gstreamer-0.8
GUILE_LOAD_PATH=/usr/share/guile/1.6
GDK_USE_XFT=1
PYTHONDOCS=/usr/share/doc/python-docs-2.4.4/html/lib
VMHANDLE=blackdown-jdk-1.4.2
PAGER=/usr/bin/less
CONFIG_PROTECT_MASK=/etc/env.d/java/ /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/revdep-rebuild
FLTK_DOCDIR=/usr/share/doc/fltk-1.1.7-r2/html
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin
DISTCC_LOG=
PWD=/root
JAVA_HOME=/etc/java-config-2/current-system-vm
GENERATION=2
EDITOR=/bin/nano
JAVAC=/etc/java-config-2/current-system-vm/bin/javac
QMAKESPEC=linux-g++
KDEDIRS=/usr/kde/3.5:/usr:/usr/local
DISTCC_VERBOSE=0
DCCC_PATH=/usr/lib/distcc/bin
JDK_HOME=/etc/java-config-2/current-system-vm
SHLVL=1
HOME=/root
GCC_PATH=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
PYTHONPATH=/usr/lib64/portage/pym:/home/nadav/pyscripts
LESS=-R -M --shift 5
G_FILENAME_ENCODING=UTF-8
LOGNAME=root
GCC_SPECS=
CVS_RSH=ssh
CLASSPATH=.
PKG_CONFIG_PATH=/usr/qt/3/lib64/pkgconfig:/usr/qt/3/lib32/pkgconfig
LESSOPEN=|lesspipe.sh %s
INFOPATH=/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.17/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info:/usr/share/info/emacs-22
DISPLAY=:0.0
OPENGL_PROFILE=nvidia
G_BROKEN_FILENAMES=1
CONFIG_PROTECT=/usr/share/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config
XAUTHORITY=/root/.xauthH7D1HX
_=/usr/bin/env
---------------------------------------------------

Build log error:

make[3]: Entering directory `/var/tmp/portage/gnome-extra/gnome-media-2.18.0-r1/work/gnome-media-2.18.0/gst-mixer/src'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/gstreamer-0.10   -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATA_DIR=\""/usr/share/gnome-media"\" -DPIX_DIR=\""/usr/share/gnome-media/pixmaps"\"    -march=k8 -O2 -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -mfpmath=sse -msse3 -m3dnow -ftree-vectorize -falign-functions=64 -fomit-frame-pointer -MT button.o -MD -MP -MF ".deps/button.Tpo" -c -o button.o button.c; \
	then mv -f ".deps/button.Tpo" ".deps/button.Po"; else rm -f ".deps/button.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/gstreamer-0.10   -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATA_DIR=\""/usr/share/gnome-media"\" -DPIX_DIR=\""/usr/share/gnome-media/pixmaps"\"    -march=k8 -O2 -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -mfpmath=sse -msse3 -m3dnow -ftree-vectorize -falign-functions=64 -fomit-frame-pointer -MT element.o -MD -MP -MF ".deps/element.Tpo" -c -o element.o element.c; \
	then mv -f ".deps/element.Tpo" ".deps/element.Po"; else rm -f ".deps/element.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/gstreamer-0.10   -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATA_DIR=\""/usr/share/gnome-media"\" -DPIX_DIR=\""/usr/share/gnome-media/pixmaps"\"    -march=k8 -O2 -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -mfpmath=sse -msse3 -m3dnow -ftree-vectorize -falign-functions=64 -fomit-frame-pointer -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
	then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/gstreamer-0.10   -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATA_DIR=\""/usr/share/gnome-media"\" -DPIX_DIR=\""/usr/share/gnome-media/pixmaps"\"    -march=k8 -O2 -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -mfpmath=sse -msse3 -m3dnow -ftree-vectorize -falign-functions=64 -fomit-frame-pointer -MT preferences.o -MD -MP -MF ".deps/preferences.Tpo" -c -o preferences.o preferences.c; \
	then mv -f ".deps/preferences.Tpo" ".deps/preferences.Po"; else rm -f ".deps/preferences.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/gstreamer-0.10   -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATA_DIR=\""/usr/share/gnome-media"\" -DPIX_DIR=\""/usr/share/gnome-media/pixmaps"\"    -march=k8 -O2 -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -mfpmath=sse -msse3 -m3dnow -ftree-vectorize -falign-functions=64 -fomit-frame-pointer -MT track.o -MD -MP -MF ".deps/track.Tpo" -c -o track.o track.c; \
	then mv -f ".deps/track.Tpo" ".deps/track.Po"; else rm -f ".deps/track.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/gstreamer-0.10   -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATA_DIR=\""/usr/share/gnome-media"\" -DPIX_DIR=\""/usr/share/gnome-media/pixmaps"\"    -march=k8 -O2 -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -mfpmath=sse -msse3 -m3dnow -ftree-vectorize -falign-functions=64 -fomit-frame-pointer -MT volume.o -MD -MP -MF ".deps/volume.Tpo" -c -o volume.o volume.c; \
	then mv -f ".deps/volume.Tpo" ".deps/volume.Po"; else rm -f ".deps/volume.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/gstreamer-0.10   -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATA_DIR=\""/usr/share/gnome-media"\" -DPIX_DIR=\""/usr/share/gnome-media/pixmaps"\"    -march=k8 -O2 -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -mfpmath=sse -msse3 -m3dnow -ftree-vectorize -falign-functions=64 -fomit-frame-pointer -MT window.o -MD -MP -MF ".deps/window.Tpo" -c -o window.o window.c; \
	then mv -f ".deps/window.Tpo" ".deps/window.Po"; else rm -f ".deps/window.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DORBIT2=1 -pthread -DPNG_NO_MMX_CODE -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/gstreamer-0.10   -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATA_DIR=\""/usr/share/gnome-media"\" -DPIX_DIR=\""/usr/share/gnome-media/pixmaps"\"    -march=k8 -O2 -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -mfpmath=sse -msse3 -m3dnow -ftree-vectorize -falign-functions=64 -fomit-frame-pointer -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c; \
	then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi
misc.c: In function 'get_page_description':
misc.c:38: warning: incompatible implicit declaration of built-in function 'gettext'
/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=k8 -O2 -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -mfpmath=sse -msse3 -m3dnow -ftree-vectorize -falign-functions=64 -fomit-frame-pointer   -o gnome-volume-control -Wl,--export-dynamic -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnome-keyring -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lbonobo-2 -lbonobo-activation -lgconf-2 -lORBit-2 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lxml2 -lglib-2.0   -lgstinterfaces-0.10 -lgstaudio-0.10 button.o element.o main.o preferences.o track.o volume.o window.o misc.o  
mkdir .libs
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -mfpmath=sse -msse3 -m3dnow -ftree-vectorize -falign-functions=64 -fomit-frame-pointer -o gnome-volume-control -Wl,--export-dynamic -pthread button.o element.o main.o preferences.o track.o volume.o window.o misc.o  /usr/lib64/libgnomeui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libbonoboui-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libgnome-keyring.so /usr/lib64/libgnomecanvas-2.so /usr/lib64/libgnome-2.so /usr/lib64/libpopt.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so -lm /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libbonobo-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgstreamer-0.10.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libxml2.so /usr/lib64/libglib-2.0.so /usr/lib64/libgstinterfaces-0.10.so /usr/lib64/libgstaudio-0.10.so
/usr/lib64/libgstaudio-0.10.so: undefined reference to `gst_base_src_wait_playing'
/usr/lib64/libgstaudio-0.10.so: undefined reference to `gst_base_sink_wait_preroll'
/usr/lib64/libgstaudio-0.10.so: undefined reference to `gst_base_sink_query_latency'
/usr/lib64/libgstaudio-0.10.so: undefined reference to `gst_base_sink_get_latency'
collect2: ld returned 1 exit status
make[3]: *** [gnome-volume-control] Error 1
----------------------------------------------------------------------
--
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-amd64]  Re: gnome installation problem: unreslved references in the gst libraries
  2007-10-09  6:55 [gentoo-amd64] gnome installation problem: unreslved references in the gst libraries Nadav Horesh
@ 2007-10-09 10:05 ` Duncan
  0 siblings, 0 replies; 2+ messages in thread
From: Duncan @ 2007-10-09 10:05 UTC (permalink / raw
  To: gentoo-amd64

"Nadav Horesh" <nadavh@visionsense.com> posted
710F2847B0018641891D9A21602763600B6DEB@ex3.envision.co.il, excerpted
below, on  Tue, 09 Oct 2007 08:55:16 +0200:

> I have an ongoing problem with gnome installation started somewhere in
> one of the gnome-2.14.x upgrades, and it became worse on every upgrade
> till it prevented the upgrade to the recent gnome version (with a
> serious side effect of preventing upgrade to python 2.5.1).
> 
>  The problem is that in some stage of the build it stops because of an
>  unresolved reference to some routine in the gstreamer&friends
>  libraries. It is not a problem of a specific function/library because:
> 
>  1. At different versions of gnome I got different unresolved link. 
>  2. At the last upgrade, I added a (gstxxx) library that contained the
>  missing link, what led to error of another missing link in a gstxxx
>  library.
> 
> I tried "revdep-rebuild" at several stages but it did not help. My
> questions are:
> 
> 1. Is there something wrong in my configuration files that might couse
> the problem? 
> 2. Is there a way to rebuild the whole gnome package from scratch?

> CFLAGS="-march=k8 -O2 -pipe -frename-registers -fweb -freorder-blocks
> -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload
> -fmerge-all-constants -mfpmath=sse -msse3 -m3dnow -ftree-vectorize
> -falign-functions=64 -fomit-frame-pointer"

> CXXFLAGS="-march=k8 -Os -pipe -frename-registers -fweb -freorder-blocks
> -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload 
> -fmerge-all-constants -combine -mfpmath=sse -msse3 -ftree-vectorize" 

> MAKEOPTS="-j2"

> USE=[snip] gstreamer [snip]

Revdep-rebuild can help so trying it was a good idea, but doesn't always 
help if there's something else wrong.

FWIW, personally, as an admitted control freak when it comes to the 
desktop I choose to run, I prefer KDE's exposure of options, and despise 
GNOME's lack of them, so you won't find GNOME on my system and I'm not 
familiar with it, so there's little I can help if the problem turns out 
to be GNOME specific.  However, it's quite possible the problem is 
generic enough that the following general hints and techniques may be of 
help.

CFLAGS/CXXFLAGS:  Some (but not all) of those C(XX)FLAGS look pretty 
close to mine.  There's nothing wrong with running a big string like 
that, as long as you understand it may cause problems with some ebuilds, 
and are willing to try recompiling with something simpler if you do run 
into issues.

In particular -combine doesn't work well at all with CXXFLAGS, and still 
occasionally (altho much less frequently) causes issues with CFLAGS as 
well.  As I mentioned, some of your flags look like mine, and you may 
have taken that flag from a discussion here some months ago.  Only 
however it happened, it appears you have -combine in your CXXFLAGS 
instead of your CFLAGS.  I'd reverse that.

The problem I've run into is that while -combine is in theory safe for 
both CFLAGS and CXXFLAGS, because gcc knows when it can't be used (with 
exceptions for one thing, and they are pretty common in C++/CXX code, 
thus it's generally not worth even trying there), when gcc removes it, it 
spits a warning about it.  Some of the configure scripts are setup to 
interpret any warning as an error, and thus decide that whatever they 
were testing for with that test-compile doesn't work on the system in 
question.  At least in some cases, that causes them to turn OFF something 
that turns out to be needed later on, thus causing the problem to show up 
NOT by stopping the configure, but later in the process, during the 
compile or linking steps.

So... try removing -combine from your CXXFLAGS (where as I said gcc 
normally turns it off anyway), and if you want to continue to use it (I 
use it), put it in CFLAGS instead.

However, the bigger picture message is that sometimes, you may need to 
try compiling without some of the stuff in your C(XX)FLAGS.  You can try 
one of two things.  If you just want to get it to work, or want to see if 
it's ANYTHING in the C(XX)FLAGS, try setting something really simple, 
like "-march=k8 -O2 -pipe".  If that works, you can try adding a few 
flags at a time back in and recompiling, until you figure out what's 
breaking things.  Alternatively, if you have some idea what's breaking 
it, you can try just removing that.  If you are wrong and it's the C(XX)
FLAGS but a different one, you won't as quickly pin it down the ANY of 
the C(XX)FLAGS, but if you are right, you'll have eliminated the problem C
(XX)FLAG without eliminating any other optimization, and without having 
to either settle for the generic settings or go thru several tries to get 
it.  So basically, it depends on how sure you are that you know which 
CFLAG is the issue, before you try again.  If you are quite sure, just 
removing it should be the most efficient way to success.  If you aren't 
even really sure it's the CFLAGS, and are just trying things, you may 
want to just try the simple thing first, to quickly find out whether it's 
a CFLAG problem at all.

FWIW, -ftree-vectorize is another possible problem CFLAG.  The others 
only seem to cause problems rarely, tho I do remove them when I'm trying 
for the "simple" CFLAGS option, just to see if the problem is my CFLAGS 
or not.

I also note with interest that you have CXXFLAGS set to -Os, while CFLAGS 
is set to -O2, plus that specific -falign-functions=64.  I just find it 
strange that someone would have them set differently, is all, tho I /can/ 
see why someone might choose to do so, given that CXX programs are 
sometimes bigger programs, and I don't believe it's common to set any of 
the -falign-X flags, at least in global/system scope context (tho for 
individual packages may be useful).

One more thing with C(XX)FLAGS.  Not that this will fix your current 
problem, but it's useful info... on amd64, the frame pointer isn't needed 
for debugging, so gcc automatically turns it off at -O1 (-O) and above.  
The gcc manpage does mention this under the notes for -O1, but says it 
only applies to some archs, and doesn't say which ones.  Apparently, 
amd64/x86_64 is one such arch where it can and does turn it off, while 
x86 (32-bit) is not.  Thus, the flag makes sense for x86 but not as much 
for amd64, and that one's pretty much just cluttering up your C(XX)FLAGS 
lines.  I know I had it in my flags too, until someone pointed this out 
to me, and I ultimately removed it.

The same applies to -funit-at-a-time, tho the status here is newer.  Unit-
at-a-time was introduced with gcc-3.3 IIRC, where it was most definitely 
NOT default except for -Os, as it still caused a lot of problems.  That 
in fact was the reason -Os was recommended against back at that time -- 
the unit-at-a-time it enabled just didn't work with a lot of apps back 
then.  Since then, however, the flag has gradually been promoted, until 
now (gcc 4.2), it's the default with -O1 (IIRC it was the -O2 default 
with 4.1, and maybe with 4.0).  At present, there's still a way to 
disable it, but the manpage specifically warns that the disabling flag is 
likely to disappear after a time, so don't use it unless absolutely 
necessary, and then, plan on fixing the problem before too many more gcc 
upgrades.  So therefore... unless you routinely compile stuff with gcc 
3.x still, and want -funit-at-a-time for that, it's probably pretty safe 
to eliminate that from your C(XX)FLAGS as well.  Both your C/CXXFLAGS and 
mine are long enough as it is; no reason to have them any longer than 
necessary! =8^)

Moving on...  MAKEOPTS=-j2.  While that's recommended and thus relatively 
common, occasionally individual packages will have problems with it.  I 
actually run -j (no number, thus unlimited jobs) by default, so I 
probably see issues more often than most, since with that setting it'll 
try to massively parallelize things if it can, thus being much more apt 
to actually find any problems that exist.  The usual problem here is that 
an emerge will die when it can't find a file that is created by the same 
package... only the dependency tree isn't quite complete and under 
certain circumstances it'll try to create the later file depending on the 
former, before the former file is itself created!  A prime example, fixed 
quickly once I found and reported the bug, is 

http://bugs.gentoo.org/show_bug.cgi?id=194720

If you suspect that might be the issue, you can test with MAKEOPTS=-j1 
and see.  If that fixes it, please file a bug, as I did with the one 
above.

OK, now USE flags. I'm not familiar enough with GNOME to know if 
gstreamer is a hard dependency or not, but since it's gstreamer causing 
the problem, if gstreamer isn't a hard dependency, USE=-gstreamer might 
be enough to avoid the problem.

Talking about USE flags...  You mention running revdep-rebuild but if you 
mentioned the -N parameter to emerge, I missed it.  -N (--newuse) causes 
portage to remerge anything where your (or the package's) USE flags have 
changed since you last merged it.  Any time you are having issues such as 
this, it's a good idea to try running that.  As with the -D (--deep) 
parameter, I prefer to use it routinely, every time I --update world.  So 
I have a little emerge -NuD world script that I run, and don't have to 
worry about it.  Be warned, however; if you've not run an emerge -N world 
in awhile, you may have quite a list of packages to remerge the first 
time you try it.

Perhaps that'll help with the current problem, perhaps not, but at least 
some of it should be useful in any case. =8^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-09 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-09  6:55 [gentoo-amd64] gnome installation problem: unreslved references in the gst libraries Nadav Horesh
2007-10-09 10:05 ` [gentoo-amd64] " Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox