Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35684 - cannot compile app-admin/analog-5.32 on x86
Summary: cannot compile app-admin/analog-5.32 on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-12 14:43 UTC by John Barton
Modified: 2004-02-06 02:57 UTC (History)
2 users (show)

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 John Barton 2003-12-12 14:43:20 UTC
Attempting to compile app-admin/analog-5.32 on gentoo 1.4, compile fails each time . running apache 1.3.29, libgd version 1.8.4-r2, libpcre version 4.2-r1

Reproducible: Always
Steps to Reproduce:
1. emerge app-admin/analog

Actual Results:  
gcc            -march=i686 -O3 -pipe -DHAVE_GD -DHAVE_PCRE -DHAVE_ZLIB -DUNIX  
       -c gzio.c
gcc            -march=i686 -O3 -pipe -DHAVE_GD -DHAVE_PCRE -DHAVE_ZLIB -DUNIX  
       -c infblock.c
gcc            -march=i686 -O3 -pipe -DHAVE_GD -DHAVE_PCRE -DHAVE_ZLIB -DUNIX  
       -c infcodes.c
gcc            -march=i686 -O3 -pipe -DHAVE_GD -DHAVE_PCRE -DHAVE_ZLIB -DUNIX  
       -c inffast.c
gcc            -march=i686 -O3 -pipe -DHAVE_GD -DHAVE_PCRE -DHAVE_ZLIB -DUNIX  
       -c inflate.c
gcc            -march=i686 -O3 -pipe -DHAVE_GD -DHAVE_PCRE -DHAVE_ZLIB -DUNIX  
       -c inftrees.c
gcc            -march=i686 -O3 -pipe -DHAVE_GD -DHAVE_PCRE -DHAVE_ZLIB -DUNIX  
       -c infutil.c
gcc            -march=i686 -O3 -pipe -DHAVE_GD -DHAVE_PCRE -DHAVE_ZLIB -DUNIX  
       -c trees.c
gcc            -march=i686 -O3 -pipe -DHAVE_GD -DHAVE_PCRE -DHAVE_ZLIB -DUNIX  
       -c uncompr.c
gcc            -march=i686 -O3 -pipe -DHAVE_GD -DHAVE_PCRE -DHAVE_ZLIB -DUNIX  
       -c zutil.c
make[1]: Leaving directory `/var/tmp/portage/analog-5.32/work/analog-5.32/src/zlib'
gcc            -march=i686 -O3 -pipe -o ../analog alias.o analog.o cache.o
dates.o globals.o hash.o init.o init2.o input.o macinput.o macstuff.o output.o
output2.o process.o settings.o sort.o tree.o utils.o win32.o libgd/gd.o 
libgd/gd_io.o libgd/gd_io_file.o libgd/gd_png.o libgd/gdfontf.o libgd/gdfonts.o
libgd/gdtables.o libpng/png.o libpng/pngerror.o libpng/pngmem.o libpng/pngset.o
libpng/pngtrans.o libpng/pngwio.o libpng/pngwrite.o libpng/pngwtran.o
libpng/pngwutil.o pcre/pcre.o zlib/adler32.o zlib/compress.o zlib/crc32.o
zlib/deflate.o zlib/gzio.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o
zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/trees.o zlib/uncompr.o
zlib/zutil.o -lgd -lz -lpcre -lm -lpng -ljpeg
output2.o(.text+0x8c5e): In function `piechart':
: undefined reference to `gdImageJpeg'
output2.o(.text+0xa59e): In function `piechart_write':
: undefined reference to `gdImageJpeg'
collect2: ld returned 1 exit status
make: *** [analog] Error 1
make: Leaving directory `/var/tmp/portage/analog-5.32/work/analog-5.32/src'

!!! ERROR: app-admin/analog-5.32 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)


Expected Results:  
should compile and install

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.23-1.9.13)
=================================================================
System uname: 2.4.23-1.9.13 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://admin.brick.net/gentoo-portage"
USE="x86 apm crypt foomaticdb gtk2 libg++ mad ncurses spell xml2 zlib gdbm
berkdb slang readline gpm tcpd pam libwww ssl perl python -oss -arts -avi -cups
-encode -gif -gtk -imlib -java -jpeg -kde -gnome -mikmod -motif -mpeg -nls
-oggvorbis -opengl -pdflib -png -qt -quicktime sasl -sdl -svga -truetype -X
-xmms -xv"
Comment 1 Josh Grebe (RETIRED) gentoo-dev 2003-12-12 15:41:15 UTC
analog required jpeg support in libgd, which is disabled by the -jpeg USE flag. Try this:
USE="jpeg" emerge media-libs/libgd app-admin/analog
Comment 2 Josh Grebe (RETIRED) gentoo-dev 2003-12-12 15:53:13 UTC
Maybe the analog ebuild should check for -jpeg and spit out an error, or at least a warning? It would also be possible to check /var/db/pkg/media-libs/libgd-whateverversion/USE for the -jpeg flag, which would work even better.
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2004-02-06 02:57:44 UTC
Fixed in CVS, thanks!