dev-tcltk/tkimg-1.3.20100510 won't compille Reproducible: Always Steps to Reproduce: 1. nice -n 19 emerge -avD dev-tcltk/tkimg 2.[ebuild U ] dev-tcltk/tkimg-1.3.20100510 [1.3.20081202-r1] USE="-doc" 0 kB 3. Actual Results: make[1]: Entering directory `/var/tmp/portage/dev-tcltk/tkimg-1.3.20100510/work/tkimg-1.3.20100510/libpng' i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"pngtcl\" -DPACKAGE_TARNAME=\"pngtcl\" -DPACKAGE_VERSION=\"1.4.1\" -DPACKAGE_STRING=\"pngtcl\ 1.4.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -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_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -DUSE_ZLIBTCL_STUBS=1 -DZLIBTCL_VERSION=\"1.2.5\" -I"/var/tmp/portage/dev-tcltk/tkimg-1.3.20100510/work/tkimg-1.3.20100510/zlib/." -I"/var/tmp/portage/dev-tcltk/tkimg-1.3.20100510/work/tkimg-1.3.20100510/zlib" -I"." -I"/usr/include" -march=pentium-m -O2 -pipe -pipe -O2 -fomit-frame-pointer -Wall -Wwrite-strings -fPIC -DBUILD_pngtcl -c `echo pngtcl.c` -o pngtcl.o In file included from pngtcl.h:93, from pngtcl.c:22: pngtclDecls.h:45: error: conflicting types for ‘png_get_compression_buffer_size’ /usr/include/png.h:1590: error: previous declaration of ‘png_get_compression_buffer_size’ was here pngtclDecls.h:47: error: conflicting types for ‘png_set_compression_buffer_size’ /usr/include/png.h:1595: error: previous declaration of ‘png_set_compression_buffer_size’ was here pngtclDecls.h:299: error: expected declaration specifiers or ‘...’ before ‘png_alloc_size_t’ pngtclDecls.h:298: error: conflicting types for ‘png_malloc’ /usr/include/png.h:2130: error: previous declaration of ‘png_malloc’ was here pngtclDecls.h:312: error: expected declaration specifiers or ‘...’ before ‘png_alloc_size_t’ pngtclDecls.h:311: error: conflicting types for ‘png_malloc_default’ /usr/include/png.h:2183: error: previous declaration of ‘png_malloc_default’ was here pngtclDecls.h:335: error: conflicting types for ‘png_get_rowbytes’ /usr/include/png.h:2242: error: previous declaration of ‘png_get_rowbytes’ was here pngtclDecls.h:1102: error: expected declaration specifiers or ‘...’ before ‘png_alloc_size_t’ make[1]: *** [pngtcl.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-tcltk/tkimg-1.3.20100510/work/tkimg-1.3.20100510/libpng' make: *** [all] Error 2 Expected Results: compilation emerge --info =dev-tcltk/tkimg-1.3.20100510 Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r1 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-gentoo-r1-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-gentoo-1.12.13 Timestamp of tree: Thu, 13 May 2010 07:00:01 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -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/fonts/fonts.conf /etc/gconf /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=pentium-m -O2 -pipe" DISTDIR="/mnt/nfs_portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="rsync://192.168.1.1/gentoo-portage/distfiles rsync://192.168.1.1/gentoo-portage/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo" LANG="cs_CZ.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="cs us" PKGDIR="/mnt/nfs_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="/mnt/nfs_portage" PORTDIR_OVERLAY="/mnt/nfs_portage/distfiles/layman/overlay-watzke-cz /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread emboss encode exif faad fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 jack java java6 jpeg kde laptop lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt qt3support qt4 readline reflection sdl session slang spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xinerama xml xorg xulrunner xv xvid 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs us" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i810" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
`emerge -pv libpng`, please. it emerged fine here with libpng-1.4.2.
http://bugs.gentoo.org/show_bug.cgi?id=312695#c1 seems the proper dep would be >=media-libs/libpng-1.4:0
emerge -pv libpng These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/libpng-1.2.43-r2 0 kB witch is the latest stable version.
Confirmed with media-libs/libpng-1.4.2 it emerged fine. So there is need for new dependency settings.
(In reply to comment #4) > Confirmed with media-libs/libpng-1.4.2 it emerged fine. So there is need for > new dependency settings. > Okay fix will be there in 2 hours
+ 14 May 2010; Justin Lecher <jlec@gentoo.org> tkimg-1.3.20081202.ebuild, + tkimg-1.3.20081202-r1.ebuild, tkimg-1.3.20100510.ebuild: + Fixed libpng version in deps, #319495 +
*** Bug 322887 has been marked as a duplicate of this bug. ***