building easytag fails with "conflicting types for 'ET_File_Name_Format_Extension'" error Reproducible: Always Steps to Reproduce: 1.emerge easytag-0.31-r6 2. 3. Actual Results: compile failed with conflicting types for 'ET_File_Name_Format_Extension' error Expected Results: successful emerge of easytag Portage 2.0.51_rc6 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4 i686) ================================================================= System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(tm) processor Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg distcc distlocks" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/" MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X X509 aalib alsa apm arts avi berkdb bitmap-fonts bonobo cdr compose crypt cups dga directfb doc dvd encode esd evo fbcon foomaticdb footmaticdb gdbm gif gimpprint gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile idea imap imlib ipv6 java javascript joystick jpeg libg++ libgda libwww live mad matroska mikmod mmx motif mozilla moznocompose moznoirc moznomail mozxmlterm mpeg ncurses nls oav objc oggvorbis opengl oss pam pdflib perl pic png ppds pwdb python quicktime readline rplay samba sasl sdl skey slang spell sse ssl stroke svg svga tcpd tetex theora threads tiff truetype v4l v4l2 wmf wsconvert x86 xinerama xml xml2 xmms xprint xv xvid zlib"
Same problem here. Portage 2.0.51_rc6 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8.1-ck1-bas1 i686) ================================================================= System uname: 2.6.8.1-ck1-bas1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -mmmx -m3dnow -msse -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acl alsa apm arts avi berkdb bitmap-fonts bonobo cdr composite crypt cups dga directfb dvd dvdr encode esd fam fbcon foomaticdb gd gdbm ggi gif gimpprint gnome gnomedb gnutls gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib imlib2 jabber jack java jpeg kde ladcca lcms libg++ libwww mad maildir mbox mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl pic png ppds pythonqt quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb videos x86 xml2 xmms xprint xv zlib"
please give more of the error output
Created attachment 40750 [details, diff] patch to et_core.h in the src directory of the package This is my first bug fix... I hope it works. I love Gentoo :-) I looked at the code and a prototype was missing in the header. I added it and it seemed to compile fine.
Same problem here (have not yet tried the fix). Since Comment #2 asked for more of the error output, here it is: make[3]: Leaving directory `/var/tmp/portage/easytag-0.31-r6/work/easytag-0.31_gtk2.4_pre3/src/libapetag' make[3]: Entering directory `/var/tmp/portage/easytag-0.31-r6/work/easytag-0.31_gtk2.4_pre3/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/easytag\" -Os -march=athlon-xp -fomit-frame-pointer -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT about.o -MD -MP -MF ".deps/about.Tpo" -c -o about.o about.c; \ then mv -f ".deps/about.Tpo" ".deps/about.Po"; else rm -f ".deps/about.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/easytag\" -Os -march=athlon-xp -fomit-frame-pointer -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT ape_tag.o -MD -MP -MF ".deps/ape_tag.Tpo" -c -o ape_tag.o ape_tag.c; \ then mv -f ".deps/ape_tag.Tpo" ".deps/ape_tag.Po"; else rm -f ".deps/ape_tag.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/easytag\" -Os -march=athlon-xp -fomit-frame-pointer -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT bar.o -MD -MP -MF ".deps/bar.Tpo" -c -o bar.o bar.c; \ then mv -f ".deps/bar.Tpo" ".deps/bar.Po"; else rm -f ".deps/bar.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/easytag\" -Os -march=athlon-xp -fomit-frame-pointer -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT browser.o -MD -MP -MF ".deps/browser.Tpo" -c -o browser.o browser.c; \ then mv -f ".deps/browser.Tpo" ".deps/browser.Po"; else rm -f ".deps/browser.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/easytag\" -Os -march=athlon-xp -fomit-frame-pointer -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT cddb.o -MD -MP -MF ".deps/cddb.Tpo" -c -o cddb.o cddb.c; \ then mv -f ".deps/cddb.Tpo" ".deps/cddb.Po"; else rm -f ".deps/cddb.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/easytag\" -Os -march=athlon-xp -fomit-frame-pointer -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT charset.o -MD -MP -MF ".deps/charset.Tpo" -c -o charset.o charset.c; \ then mv -f ".deps/charset.Tpo" ".deps/charset.Po"; else rm -f ".deps/charset.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/easytag\" -Os -march=athlon-xp -fomit-frame-pointer -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT crc32.o -MD -MP -MF ".deps/crc32.Tpo" -c -o crc32.o crc32.c; \ then mv -f ".deps/crc32.Tpo" ".deps/crc32.Po"; else rm -f ".deps/crc32.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/easytag\" -Os -march=athlon-xp -fomit-frame-pointer -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT dlm.o -MD -MP -MF ".deps/dlm.Tpo" -c -o dlm.o dlm.c; \ then mv -f ".deps/dlm.Tpo" ".deps/dlm.Po"; else rm -f ".deps/dlm.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/easytag\" -Os -march=athlon-xp -fomit-frame-pointer -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT easytag.o -MD -MP -MF ".deps/easytag.Tpo" -c -o easytag.o easytag.c; \ then mv -f ".deps/easytag.Tpo" ".deps/easytag.Po"; else rm -f ".deps/easytag.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\"/usr/share/locale\" -DPACKAGE_DATA_DIR=\"/usr/share/easytag\" -Os -march=athlon-xp -fomit-frame-pointer -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT et_core.o -MD -MP -MF ".deps/et_core.Tpo" -c -o et_core.o et_core.c; \ then mv -f ".deps/et_core.Tpo" ".deps/et_core.Po"; else rm -f ".deps/et_core.Tpo"; exit 1; fi et_core.c: In function `ET_Save_File_Name_From_UI': et_core.c:2428: warning: implicit declaration of function `ET_File_Name_Format_Extension' et_core.c:2428: warning: assignment makes pointer from integer without a cast et_core.c: In function `ET_Save_File_Name_Internal': et_core.c:2488: warning: assignment makes pointer from integer without a cast et_core.c: In function `ET_File_Name_Generate': et_core.c:3453: warning: assignment makes pointer from integer without a cast et_core.c: At top level: et_core.c:3471: error: conflicting types for 'ET_File_Name_Format_Extension' et_core.c:2428: error: previous implicit declaration of 'ET_File_Name_Format_Extension' was here make[3]: *** [et_core.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/easytag-0.31-r6/work/easytag-0.31_gtk2.4_pre3/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/easytag-0.31-r6/work/easytag-0.31_gtk2.4_pre3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/easytag-0.31-r6/work/easytag-0.31_gtk2.4_pre3' make: *** [all] Error 2 !!! ERROR: media-sound/easytag-0.31-r6 failed. Hope that is sufficient. Here's my info (probably not much different from the other posters', but one should have good habits): Portage 2.0.51_rc7 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-ck8 i686) ================================================================= System uname: 2.6.8-ck8 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks fixpackages prelink sandbox" GENTOO_MIRRORS="ftp://ftp.tiscali.nl/pub/mirror/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.mirror.ac.uk/mirror/www.ibiblio.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d aalib aim alsa apm audiofile avi berkdb bidi bindist bitmap-fonts bonobo bzlib cdb cdparanoia cdr crypt cups curl curlwrappers dedicated dga dio directfb divx4linux dv dvb dvd dvdr dvdread edl emacs emacs-w3 encode esd fam fbcon flac flash foomaticdb gb gd gdbm ggi gif gimpprint gmail gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal i8x0 icc iconv icq imagemagick imap imlib immqt immqt-bc inifile ithreads jabber jack java jbig jikes joystick jpeg lcms ldap le libcaca libedit libg++ libgda libwww lzo lzw-tiff mad mikmod mime ming mmap mmx mmx2 mmxext mng motif mozilla moznoirc moznomail mozsvg mpeg mpi msn mule mythtv nas ncurses network nls nocd nomac nptl nvidia offensive oggvorbis ooo-kde openal opengl oscar oss pam pcntl pcre pdflib perl pic pie png python qt quicktime readline rtc ruby samba sasl scanner sdl session shared sharedmem simplexml slang slp snmp sockets socks5 spell sse sse2 ssl stroke svg svga tcltk tcpd tga theora threads tidy tiff tokenizer truetype unicode usb v4l v4l2 videos vim-with-x wmf x86 xml xml2 xmms xosd xprint xv xvid xvmc yahoo zlib linguas_en linguas_nl"
I got the same error, and the patch does work for me. Thanks!
Fixed in CVS - please resync in a few hours time and try again.