Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317685 - luatex-0.60.0 fails to build with declaration problems.
Summary: luatex-0.60.0 fails to build with declaration problems.
Status: RESOLVED DUPLICATE of bug 316855
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-28 23:36 UTC by Chuck Wegrzyn
Modified: 2010-04-29 00:41 UTC (History)
0 users

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


Attachments
Build log... (build.log,172.47 KB, text/plain)
2010-04-28 23:37 UTC, Chuck Wegrzyn
Details
environment file (environment,101.12 KB, text/plain)
2010-04-28 23:38 UTC, Chuck Wegrzyn
Details
build log (build.log,22.78 KB, text/plain)
2010-04-28 23:47 UTC, Benjamin Schulz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chuck Wegrzyn 2010-04-28 23:36:15 UTC
Tried to build luatex-0.60.0 and it failed with compile time problems.


Reproducible: Always

Steps to Reproduce:
1.emerge luatex
2.
3.

Actual Results:  
mv -f .deps/libluatex_a-lfontlib.Tpo .deps/libluatex_a-lfontlib.Po
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./..  -I./..   -DPOPPLER_VERSION=\"0.12.4\" -I/usr/include/poppler   -I/var/tmp/portage/dev-tex/luatex-0.60.0/work/luatex-beta-0.60.0/source/libs/obsdcompat -I/var/tmp/portage/dev-tex/luatex-0.60.0/work/luatex-beta-0.60.0/source/libs/obsdcompat -I./libmd5 -Iluatexdir -I./luatexdir -I./luatexdir/lua51 -DpdfTeX   -O2 -march=i686 -pipe -MT libluatex_a-lepdflib.o -MD -MP -MF .deps/libluatex_a-lepdflib.Tpo -c -o libluatex_a-lepdflib.o `test -f 'luatexdir/lua/lepdflib.cc' || echo './'`luatexdir/lua/lepdflib.cc
In file included from /usr/include/png.h:512,
                 from luatexdir/image/image.h:27,
                 from luatexdir/image/epdf.h:82,
                 from luatexdir/image/pdftoepdf.cc:26:
/usr/include/zlib.h:1583: error: declaration of C function 'off_t gzseek64(void*, off_t, int)' conflicts with
/usr/include/zlib.h:1567: error: previous declaration 'off64_t gzseek64(void*, off64_t, int)' here
/usr/include/zlib.h:1584: error: declaration of C function 'off_t gztell64(void*)' conflicts with
/usr/include/zlib.h:1568: error: previous declaration 'off64_t gztell64(void*)' here
/usr/include/zlib.h:1585: error: declaration of C function 'off_t gzoffset64(void*)' conflicts with
/usr/include/zlib.h:1569: error: previous declaration 'off64_t gzoffset64(void*)' here
/usr/include/zlib.h:1586: error: declaration of C function 'uLong adler32_combine64(uLong, uLong, off_t)' conflicts with
/usr/include/zlib.h:1570: error: previous declaration 'uLong adler32_combine64(uLong, uLong, off64_t)' here
/usr/include/zlib.h:1587: error: declaration of C function 'uLong crc32_combine64(uLong, uLong, off_t)' conflicts with
/usr/include/zlib.h:1571: error: previous declaration 'uLong crc32_combine64(uLong, uLong, off64_t)' here
luatexdir/image/pdftoepdf.cc: In function 'void write_epdf1(pdf_output_file*, image_dict*)':
luatexdir/image/pdftoepdf.cc:606: warning: deprecated conversion from string constant to 'char*'
luatexdir/image/pdftoepdf.cc:606: warning: deprecated conversion from string constant to 'char*'
luatexdir/image/pdftoepdf.cc:606: warning: deprecated conversion from string constant to 'char*'
luatexdir/image/pdftoepdf.cc:606: warning: deprecated conversion from string constant to 'char*'
luatexdir/image/pdftoepdf.cc:606: warning: deprecated conversion from string constant to 'char*'
luatexdir/image/pdftoepdf.cc:606: warning: deprecated conversion from string constant to 'char*'
luatexdir/image/pdftoepdf.cc:663: warning: deprecated conversion from string constant to 'char*'
luatexdir/image/pdftoepdf.cc:673: warning: deprecated conversion from string constant to 'char*'
make[2]: *** [libluatex_a-pdftoepdf.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/libluatex_a-limglib.Tpo .deps/libluatex_a-limglib.Po
In file included from /usr/include/png.h:512,
                 from luatexdir/image/image.h:27,
                 from luatexdir/image/epdf.h:82,
                 from luatexdir/lua/lepdflib.cc:25:
/usr/include/zlib.h:1583: error: declaration of C function 'off_t gzseek64(void*, off_t, int)' conflicts with
/usr/include/zlib.h:1567: error: previous declaration 'off64_t gzseek64(void*, off64_t, int)' here
/usr/include/zlib.h:1584: error: declaration of C function 'off_t gztell64(void*)' conflicts with
/usr/include/zlib.h:1568: error: previous declaration 'off64_t gztell64(void*)' here
/usr/include/zlib.h:1585: error: declaration of C function 'off_t gzoffset64(void*)' conflicts with
/usr/include/zlib.h:1569: error: previous declaration 'off64_t gzoffset64(void*)' here
/usr/include/zlib.h:1586: error: declaration of C function 'uLong adler32_combine64(uLong, uLong, off_t)' conflicts with
/usr/include/zlib.h:1570: error: previous declaration 'uLong adler32_combine64(uLong, uLong, off64_t)' here
/usr/include/zlib.h:1587: error: declaration of C function 'uLong crc32_combine64(uLong, uLong, off_t)' conflicts with
/usr/include/zlib.h:1571: error: previous declaration 'uLong crc32_combine64(uLong, uLong, off64_t)' here
make[2]: *** [libluatex_a-lepdflib.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-tex/luatex-0.60.0/work/luatex-beta-0.60.0/source/texk/web2c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-tex/luatex-0.60.0/work/luatex-beta-0.60.0/source/texk/web2c'
make: *** [all] Error 2
 * ERROR: dev-tex/luatex-0.60.0 failed:


Expected Results:  
For it to compile and install correctly.

Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.33-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 28 Apr 2010 22:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 1.3.7-r1, 2.1.11
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.5-r1, 3.1.2-r2
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       3.3.6-r1, 4.1.2, 4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl additions alsa aspell assistant asyncns bash-completion berkdb bidi bluetooth bzip2 cairo caps cdaudio cdda cddb cdio cdparanoia cli connectionstatus consolekit contactnotes cracklib crypt cups cxx dbus dga divx dmx doc dri dvd dvdread embedded encode examples expat extras firefox3 flac fortran gdbm gif glib gnome gnutls gpm gtk hal htmlhandbook iconv inquisitio ipv6 jabber jadetex java java6 javacomm javamail javascript jce jde jdepend jpeg jpeg2k kde kde4 kdepim kdm lastfm lzo md5sum mdnsresponder-compat mecab mng modules mp3 mp4 mpeg mpeg2 mplayer msn mudflap mysql ncurses nls nowlistening nptl nptlonly nsplugin ntfs ogg opengl openmp oscar otr pam parted pcre pda pdf perl pink pipes plasma png postgres ppds pppd pulseaudio python qt3 qt3support qt4 qtdesigner quicktime readline realmedia redland reflection reiserfs rss samba scanner sdk secure-delete semantic-desktop session shout skype slp smbclient sms soundex spl sql sqlite3 ssl subversion svg sysfs tcl tcpd texteffect threads threadsafe thumbnail thunderbird tiff tk tools truetype unicode usb v4l v4l2 valgrind vboxwebsrv virtualbox vorbis webinterface webkit webpresence wifi win32codecs wireshark wmf wmp wxwidgets wxwindows x86 xine xinerama xml xorg xrandr yahoo zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse virtualbox" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev radeonhd vesa vga radeon virtualbox" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Chuck Wegrzyn 2010-04-28 23:37:34 UTC
Created attachment 229601 [details]
Build log...
Comment 2 Chuck Wegrzyn 2010-04-28 23:38:00 UTC
Created attachment 229603 [details]
environment file
Comment 3 Benjamin Schulz 2010-04-28 23:47:22 UTC
Created attachment 229605 [details]
build log

another build log with different errors during compile time
Comment 4 Benjamin Schulz 2010-04-28 23:47:57 UTC
 emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 28 Apr 2010 21:00:01 +0000
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r1, 3.1.2-r2
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 ut2003 sun-bcla-java-vm"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/layman/layman/xwing /usr/layman/layman/wschlich-testing /usr/layman/layman/kde /usr/layman/layman/sunrise /usr/layman/layman/qting-edge /usr/layman/layman/science /usr/layman/ownebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit X Xaw3d a52 aac abiword abyss ace acl acpi activefilter addns addressbook admin adns adplug aften afterimage aim aio akonadi alsa amd64 amr amrnb analogtv animgif archive aspell assistant audacious audio audiofile audioscrobbler auth auto-completion automount autoreplace autotrace bash-completion battery bcmath berkdb binary-drivers bittorrent blender blender-game bluetooth bonjour boost browser bugzilla bzip2 cairo calendar caps cardbus ccache cdb cddax cddb cdio cdparanoia cdr cdrom cg cgi chroot cli clipboard cluster cmake compat compress connection-sharing consolekit context contrast contrast-control contrib corefonts cpudetection cpulimit cracklib crypt ctype ctypes-python cuda cue cups cvs cxx cyrillic dbus dc1394 dcc dchroot deflate detex devfs-compat device-mapper dga dia dirac disk-partition diskio dmraid dmx docbook dolby-record-switch dolbyinrec dot dpms drawing dri dts dv dvb dvbplayer dvbsetup dvd dvdarchive dvdchapjump dvdnav dvdr dvi dvi2tty dvipdfm dx dxr3 dynamicplugin ebook eclipse emacs emovix enca enchant encode ethernet ewf excel exif extensions extra extra-algorithms extras faad facebook fame fasttrack fat ffmpeg fftw filter firefox firefox3 fits flac flash flatfile fluidsynth flv fontconfig foomaticdb fortran fortran95 fpx freemail ftp fts3 gadu gallium games gd gdbm gfortran ggi gif git github glib glibc-compat20 glibc-omitfp glsl glut glviewer gmm gmp gmtfull gmthigh gmtsuppl gnome-print gnomecanvas gnuplot gnutella gnutls google google-gadgets gphoto2 gpm grace grammar graph graphics graphite graphviz grass groupwise grub gs gsf gsl gsm gstreamer gtk gtk2-perl gtkhotkey gtkspell gzip gzip-el h224 h281 h323 hal hash hdaps hddtemp hdf hdri hepmc hfs highlight highvolume history hotpixels hpn html http httpd httppower humanities hunspell hyphenation i18n ibmvio icc iconv icq icu id3 id3tag idb ieee1394 ifc ilbc image image-cache imagemagick imaging imap imlib indi infowidget inherit-graph inifile inkjar inotify int64 ioctl ipp iproute2 ipsec iptc iptv ipv6 irda iso14755 jabber jack jadetex java java5 java6 javacomm javamail javascript jbig jce jfs joystick jpeg jpeg2k json kate kdcraw kde kde-qt kdevplatform kerberos keyboard kino kipi kmail kolab konqueror kontact kpathsea krb4 l7filter ladspa lame lapack laptop largefile lastfm lastfmradio latex latex3 lcms ldb lensfun libass libcaca libgig libmms libnl libnotify libproxy libssh2 libsysfs libtiger libv4l libv4l2 libwww lightning live lm_sensors logitech-mouse logrotate logviewer lqr lyx lzma lzo m17n-lib mad mail mailbox maildir maildrop maps math mathml matplotlib matroska max-idx-128 mcve md5sum mdb meanwhile mfd-rewrites mjpeg mkl mmx mmxext mng modplug modules mono motif mp2 mp3 mp3tunes mp4 mpeg mpi mplayer mppe-mppc mpqc msn mssql mtp mudflap multilib multimedia musepack music mysql nas nautilus ncurses neXt network networkmanager nfs nfsv3 nfsv4 nis nls nova nptl nptlonly nsplugin ntfs ntp numeric numpy nut nuv nvidia nvram nvtv octave odbc ogg ogg123 ogm omega openal opencore-amr openct openexr opengl openmp openssl optimization optimized-qmake oscar otr pam parse-clocks pcmcia pcntl pcre pcsc-lite pdf pdo perl pg-intdatetime phonon php pkcs11 plasma player plotutils pm-utils png pnm policykit portaudio posix postgres postproc postscript ppds pppd preview-latex print ps pstoedit pstricks publishers pulseaudio pvr python qmake qt3support qt4 quicktime quota quotas radio ramfs rar raw rcs readline recording redeyes reflection reiserfs remote remoteosd replytolist resolvconf rle rpc rpm rss rtf rtsp ruby run-as-root samba sasl scanner schroedinger science sdl sdl-image secure-delete semantic-desktop sendmail sensord session sha1 shaders sharedext shine shout simplexml skey skins skype smartcard smbsharemodes smp sms smtp smux sndfile snmp sockets socks socks5 sound soundex sourceview spamassassin spamfilter speex spell spl sql sqlite sqlite3 sse sse2 sse3 sse4 sse4a sse5 ssh ssl ssse3 stream subversion suhosin suid svg swat sysfs syslog sysvipc szip t1lib taglib tcl tcpd tex tex4ht texmacs theora thinkpad threads thumbnail thumbnails thunderbird tidy tiff timezone tk tokenizer toolbar toolkit-scroll-bars totem transcode truetype tta tts tv tv_check tv_combiner tv_pick_cgi tvflash tvtime type3 udev udev-acl umfpack unicode unzip upnp usb utils v4l v4l2 vcd vcdinfo vcdx vdpau vga video vlm vorbis wav wavpack wcwidth wddx webcam webdav webdav-neon webdav-serf webinterface webkit webpresence websockets wicd wifi winbind winpopup wma wma-fixed wmf wordperfect wpd wpg wps wv2 wxwidgets x264 x264-static xanim xcomposite xemacs xetex xext xfs xft xhtml xim xine xinerama xinetd xml xmlpatterns xmlreader xmlrpc xmlwriter xmp xorg xpm xrender xsl xterm xterm-color xulrunner xv xvid xvmc yaz youtube yv12 zip zippy zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia svga vesa v4l fbdev vmware virtualbox" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Rafał Mużyło 2010-04-29 00:41:27 UTC

*** This bug has been marked as a duplicate of bug 316855 ***