Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91491 - emerge gimp-2.0.4 fails with "undefined reference to `pix_composite'"
Summary: emerge gimp-2.0.4 fails with "undefined reference to `pix_composite'"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-04 15:51 UTC by Paul Worrall
Modified: 2005-05-10 13:21 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 Paul Worrall 2005-05-04 15:51:21 UTC
i686-pc-linux-gnu-gcc -march=athlon-xp -pipe -Wall -o .libs/grid grid.o -Wl,--export-dynamic  ../../plug-ins/libgimpoldpreview/libgimpoldpreview.a ../../libgimp/.libs/libgimpui-2.0.so ../../libgimpwidgets/.libs/libgimpwidgets-2.0.so ../../libgimp/.libs/libgimp-2.0.so ../../libgimpcolor/.libs/libgimpcolor-2.0.so ../../libgimpbase/.libs/libgimpbase-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
grid.o(.text+0x9e3): In function `doit':
: undefined reference to `pix_composite'
grid.o(.text+0xaf8): In function `doit':
: undefined reference to `pix_composite'
grid.o(.text+0xbb4): In function `doit':
: undefined reference to `pix_composite'
grid.o(.text+0xc77): In function `doit':
: undefined reference to `pix_composite'
collect2: ld returned 1 exit status
make[3]: *** [grid] Error 1
make[3]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -march=athlon-xp -pipe -Wall -o .libs/gtm gtm.o -Wl,--export-dynamic  ../../libgimp/.libs/libgimpui-2.0.so ../../libgimpwidgets/.libs/libgimpwidgets-2.0.so ../../libgimp/.libs/libgimp-2.0.so ../../libgimpcolor/.libs/libgimpcolor-2.0.so ../../libgimpbase/.libs/libgimpbase-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 gtm
make[3]: Leaving directory `/var/tmp/portage/gimp-2.0.4/work/gimp-2.0.4/plug-ins/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-2.0.4/work/gimp-2.0.4/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-2.0.4/work/gimp-2.0.4'
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
1. emerge gimp
2.
3.

Actual Results:  
emerge fails with above messages  

Expected Results:  
emerge completes  

emerge info: 
 
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6-prw-r13 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r6-prw-r13 i686 AMD Athlon(TM) XP 2700+ 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 19:45:30)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r7 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict 
userpriv usersandbox" 
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://mirror.uni-c.dk/gentoo/ 
http://mirror.datapipe.net/gentoo ftp://mir.zyrianes.net/gentoo/" 
LANG="en_GB" 
LINGUAS="en_GB" 
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 alsa apm arts avi bash-completion berkdb bitmap-fonts 
cdparanoia cjk crypt cscope cups curl dvb emboss encode esd expat fam flac 
foomaticdb fortran gdbm gif gnome gphoto2 gpm gtk gtk2 imagemagick imlib ipv6 
java jpeg junit kde kdeenablefinal lcms ldap libg++ libwww live lm_sensors mad 
mikmod mmx mmx2 motif mozilla mp3 mpeg mysql ncurses nls nptl ogg oggvorbis 
opengl oss pam pdflib perl png python qt quicktime readline real samba sdl 
slang spell sse ssl svg svga tcltk tcpd theora tidy tiff truetype 
truetype-fonts type1-fonts unicode vorbis xine xml2 xmms xv xvid zlib 
video_cards_radeon linguas_en_GB userland_GNU kernel_linux libc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 foser (RETIRED) gentoo-dev 2005-05-07 03:44:57 UTC
pix_composite should be defined in grid.c itself, this error is odd. Maybe lowering your makejobs would fix it, or setting some optimization level (-O1).
Comment 2 Paul Worrall 2005-05-07 08:50:30 UTC
changing MAKEOPTS to "-j1" had no effect but doing:
CFLAGS="-O1" emerge gimp
ran to completion OK.
I had to set CFLAGS to -O1 for mplayer and avifile too, shouldn't ebuilds be designed to work with the default setting?
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2005-05-10 10:55:38 UTC
does this still happen with 2.2.6-r1 ?
Comment 4 Paul Worrall 2005-05-10 13:17:59 UTC
No, 2.2.6-r1 emerges fine without setting an optimisation level.
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2005-05-10 13:21:09 UTC
great, thanks for the quick response.