When i try to emerge XV, I get errors stating "conflicting types for `sys_errlist'" This error was first reported on bug 3370 and was fixed. Reproducible: Always Steps to Reproduce: 1. emerge media-gfx/xv Actual Results: make[1]: Leaving directory `/var/tmp/portage/xv-3.10a-r3/work/xv-3.10a/tiff' cc -march=pentium2 -O3 -pipe -DDOJPEG -Ijpeg -DDOTIFF -Itiff -DDOPDS -c xv.c In file included from xv.c:11: xv.h:119: conflicting types for `sys_errlist' /usr/include/bits/sys_errlist.h:28: previous declaration of `sys_errlist' make: *** [xv.o] Error 1 !!! ERROR: media-gfx/xv-3.10a-r3 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message) Expected Results: xv to have compiled successfully. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo- r6) ================================================================= System uname: 2.4.20-gentoo-r6 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium2 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.noved.org/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 crypt aavm tcpd pam ncurses"
seems to be a gcc3 bug
This error occurs when 'png' is not set in USE flags. Without png in USE flags the xv-3.10a-naz-gentoo patch is not applied. One of the purposes of this patch is to set up a nice gcc environment for xv.
Created attachment 19962 [details, diff] proposed xv-3.10a-no_png patch This patch only needs to be applied when png is not in USE flags.
Is this bug still valid? Does it occur with gcc-3.3.4 or later as well?
we use a new patchset now, this is no longer the case. marking as fixed.