First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 35684
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Ahlberg (RETIRED) <aliz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Barton <jbarton@technicalworks.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 35684 depends on: Show dependency tree
Show dependency graph
Bug 35684 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-12-12 14:43 0000
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 From Josh Grebe (RETIRED) 2003-12-12 15:41:15 0000 -------
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 From Josh Grebe (RETIRED) 2003-12-12 15:53:13 0000 -------
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 From Daniel Ahlberg (RETIRED) 2004-02-06 02:57:44 0000 -------
Fixed in CVS, thanks!

First Last Prev Next    No search results available      Search page      Enter new bug