Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82969 - emerge gimp-2.2.3 failing with unresolved symbol
Summary: emerge gimp-2.2.3 failing with unresolved symbol
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-22 09:11 UTC by Michael Hill
Modified: 2005-05-09 16:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hill 2005-02-22 09:11:51 UTC
emerge gimp-2.2.3 keeps failing at the same point:

*** Building XML ***
cd . && \
gtkdoc-mkdb --module=libgimpthumb --source-dir=../../libgimpthumb --output-format=xml --sgml-mode --output-format=xml
100% symbol docs coverage (41 symbols documented, 0 not documented)
See libgimpthumb-undocumented.txt for a list of missing docs.
The doc coverage percentage doesn't include intro sections.
touch sgml-build.stamp
*** Building HTML ***
rm -rf ./html 
mkdir ./html
cd ./html && gtkdoc-mkhtml libgimpthumb ../libgimpthumb-docs.sgml
Computing chunks...
Writing GimpThumbnail.html for refentry(GimpThumbnail)
Writing libgimpthumb-gimpthumb-utils.html for refentry(libgimpthumb-gimpthumb-utils)
Writing libgimpthumb-gimpthumb-enums.html for refentry(libgimpthumb-gimpthumb-enums)
Writing libgimpthumb-gimpthumb-error.html for refentry(libgimpthumb-gimpthumb-error)
Writing libgimpthumb.html for part(libgimpthumb)
Writing index.html for book(index)
Writing index.sgml for book(index)
Writing libgimpthumb.devhelp for book(index)
test "x" = "x" || ( cd . && cp  html )
-- Fixing Crossreferences
cd . && gtkdoc-fixxref --module-dir=html --html-dir=/usr/share/gtk-doc/html --extra-dir=../libgimpmath/html
touch html-build.stamp
make[3]: Leaving directory `/var/tmp/portage/gimp-2.2.3/work/gimp-2.2.3/devel-docs/libgimpthumb'
Making all in libgimpwidgets
make[3]: Entering directory `/var/tmp/portage/gimp-2.2.3/work/gimp-2.2.3/devel-docs/libgimpwidgets'
*** Scanning header files ***
if grep -l '^..*$' ./libgimpwidgets.types > /dev/null ; then \
    CC="/bin/sh ../../libtool --mode=compile gcc   -Wall" LD="/bin/sh ../../libtool --mode=link gcc  -Wall " CFLAGS="-Wall -I../.. -I../.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION" LDFLAGS="../../libgimpbase/libgimpbase-2.0.la ../../libgimpcolor/libgimpcolor-2.0.la ../../libgimpmath/libgimpmath-2.0.la ../../libgimpwidgets/libgimpwidgets-2.0.la -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  " gtkdoc-scangobj  --module=libgimpwidgets --output-dir=. ; \
else \
    cd . ; \
    for i in libgimpwidgets.args libgimpwidgets.hierarchy libgimpwidgets.interfaces libgimpwidgets.prerequisites libgimpwidgets.signals ; do \
               test -f $i || touch $i ; \
    done \
fi
mkdir .libs
 gcc -Wall -Wall -I../.. -I../.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION -c libgimpwidgets-scan.c  -fPIC -DPIC -o .libs/libgimpwidgets-scan.o
gcc -Wall -o .libs/libgimpwidgets-scan .libs/libgimpwidgets-scan.o -Wl,--export-dynamic  ../../libgimpbase/.libs/libgimpbase-2.0.so ../../libgimpcolor/.libs/libgimpcolor-2.0.so ../../libgimpmath/.libs/libgimpmath-2.0.so ../../libgimpwidgets/.libs/libgimpwidgets-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
creating libgimpwidgets-scan
/var/tmp/portage/gimp-2.2.3/work/gimp-2.2.3/devel-docs/libgimpwidgets/.libs/lt-libgimpwidgets-scan: symbol lookup error: /var/tmp/portage/gimp-2.2.3/work/gimp-2.2.3/devel-docs/libgimpwidgets/.libs/lt-libgimpwidgets-scan: undefined symbol: gimp_cell_renderer_toggle_get_type
Scan failed
make[3]: *** [scan-build.stamp] Error 127
make[3]: Leaving directory `/var/tmp/portage/gimp-2.2.3/work/gimp-2.2.3/devel-docs/libgimpwidgets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-2.2.3/work/gimp-2.2.3/devel-docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-2.2.3/work/gimp-2.2.3'
make: *** [all] Error 2

!!! ERROR: media-gfx/gimp-2.2.3 failed.
!!! Function src_compile, Line 125, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

I have tried it with substituting -mcpu for -march (see CFLAGS below), and with CFLAGS="" to eliminate optimization, but nothing works.  The above error output is from running with CFLAGS="" .

# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 20 2005, 01:14:36)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.5, 1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache digest distlocks sandbox sfperms"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/ http://www.gtlib.cc.gatech.edu/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d acpi alsa apache2 apm audiofile avi bcmath berkdb bitmap-fonts bonobo bzlib calendar caps cdb cdr crypt cscope ctype cups curl dba dbase dbx dedicated dga doc dvd dvdr emboss encode esd exif f77 fbcon fftw flac flatfile font-server foomaticdb freetds ftp gd gif ginac gmp gnome gnutls gpm gtk gtk2 hardened hardenedphp imagemagick imlib inifile jack jpeg kde libwww mad mbox memlimit mhash mikmod milter mime mmap mmx mng motif mozilla mpeg mpi mysql ncurses nocardbus nocd odbc oggvorbis opengl oss pam pcntl pcre pda pdflib perl php pic pie plotutils png posix ppds python qt quicktime readline samba sdl shared sharedmem simplexml sndfile sockets speex spell spl sse ssl svg sysvipc tcltk tcpd tidy tiff tokenizer truetype truetype-fonts type1-fonts usb vhosts videos wmf xine xml xml2 xmlrpc xmms xpm xsl xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

I am rebuilding a few of the packages that supply libs that the failing command depends on, but the missing symbol really looks like a gimp symbol name.
Comment 1 quazgar 2005-04-13 15:16:42 UTC
Is this still a problem? Or does 2.2.6 solve this?
Comment 2 Michael Hill 2005-04-14 12:17:13 UTC
I don't know; the workaround (I don't remember how/where I found it) was to set the -doc flag for gimp (package.use), at least on my home machine.  So 2.2.6 got built with that flag.

On my work machine (which has different build flags), 2.2.6 it also got built with -doc, although that's not currently in package.use .  I don't think I supplied it on the command line that way, because usually I do that just to build a single package, but the build occurred as #6 of 7 packages being emerged.

I can try building 2.2.6 with +doc at home when I get time (in the next day or two).
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2005-05-09 14:09:01 UTC
any update on this?
Comment 4 Michael Hill 2005-05-09 16:02:17 UTC
I do apologize; that quite slipped my mind.  I just rebuilt gimp-2.2.6 with +doc, and it built just fine.  So I'd say the problem is resolved in 2.2.6.
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2005-05-09 16:16:13 UTC
great, thanks for responding.