Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129806 - emerge lcms fails with undeclared symbols in tifficc.c
Summary: emerge lcms fails with undeclared symbols in tifficc.c
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-13 06:30 UTC by Ethan Burns
Modified: 2006-04-13 12:51 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 Ethan Burns 2006-04-13 06:30:00 UTC
Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo "
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cli crypt ctype cups dba dri eds emboss encode expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gif glut gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg lzw lzw-tiff memlimit mp3 mpeg ncurses nls nptl opengl pam pcre pdflib perl png posix pppd python qt quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev usb xml xpm xsl xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

--------------------------------------------------------------------------------

make[1]: Entering directory `/var/tmp/portage/lcms-1.14-r1/work/lcms-1.14/tifficc'
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"lcms\" -DPACKAGE_TARNAME=\"lcms\" -DPACKAGE_VERSION=\"1.14\" -DPACKAGE_STRING=\"lcms\ 1.14\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_INT=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_LONG=8 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_LONG_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DHasJPEG=1 -DHasZLIB=1 -DHasTIFF=1 -DHAVE_TIFFCONF_H=1  -I. -I.  -I../include -I../include   -march=k8 -O2 -pipe -c tifficc.c
tifficc.c: In function `GetInputPixelType':
tifficc.c:264: error: `PHOTOMETRIC_LOGL' undeclared (first use in this function)
tifficc.c:264: error: (Each undeclared identifier is reported only once
tifficc.c:264: error: for each function it appears in.)
tifficc.c:267: error: `PHOTOMETRIC_LOGLUV' undeclared (first use in this function)
tifficc.c:269: error: `TIFFTAG_SGILOGDATAFMT' undeclared (first use in this function)
tifficc.c:269: error: `SGILOGDATAFMT_16BIT' undeclared (first use in this function)
tifficc.c: In function `DoEmbedProfile':
tifficc.c:791: error: `TIFFTAG_ICCPROFILE' undeclared (first use in this function)
tifficc.c: In function `GetTIFFProfile':
tifficc.c:829: error: `TIFFTAG_ICCPROFILE' undeclared (first use in this function)
make[1]: *** [tifficc.o] Error 1
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/lcms-1.14-r1 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-04-13 09:34:51 UTC
# grep PHOTOMETRIC_LOGLUV /usr/include/tiff*
/usr/include/tiff.h:#define     PHOTOMETRIC_LOGLUV              32845   /* CIE Log2(L) (u',v') */


Do you have that?

# emerge -vp tiff
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R   ] media-libs/tiff-3.7.4  USE="jpeg zlib -nocxx" 0 kB

Can you please also post this output?
Comment 2 Ethan Burns 2006-04-13 10:13:26 UTC
eaburns@bender ~ $ emerge -vp tiff

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-libs/tiff-3.7.3  0 kB 

Total size of downloads: 0 kB
Comment 3 Ethan Burns 2006-04-13 10:14:33 UTC
eaburns@bender ~ $ grep PHOTOMETRIC_LOGLUV /usr/include/tiff*
/usr/include/tiff.h:#define     PHOTOMETRIC_LOGLUV              32845   /* CIE Log2(L) (u',v') */
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-04-13 10:56:37 UTC
Can you please try to update both tiff and lcms to the latest ~arch version?
Comment 5 Ethan Burns 2006-04-13 12:51:28 UTC
lost interest :)