There is a sed expression in media-sound/easytag-0.27.ebuild which is supposed
to fix an errno compilation problem. The expression leaves a dangling
semi-colon which means that easytag doesn't compile:
make[3]: Entering directory
`/var/tmp/portage/easytag-0.27/work/easytag-0.27/src'
source='about.c' object='about.o' libtool=no \
depfile='.deps/about.Po' tmpdepfile='.deps/about.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\"/usr/share/locale\"
-DPACKAGE_DATA_DIR=\"/usr/share/easytag\" -mcpu=i686 -march=i686 -O3 -pipe
-Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/include -c `test -f 'about.c' || echo './'`about.c
source='bar.c' object='bar.o' libtool=no \
depfile='.deps/bar.Po' tmpdepfile='.deps/bar.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\"/usr/share/locale\"
-DPACKAGE_DATA_DIR=\"/usr/share/easytag\" -mcpu=i686 -march=i686 -O3 -pipe
-Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/include -c `test -f 'bar.c' || echo './'`bar.c
In file included from bar.c:25:
easytag.h:101: `#include' expects "FILENAME" or <FILENAME>
In file included from about.c:29:
easytag.h:101: `#include' expects "FILENAME" or <FILENAME>
about.c: In function `Show_About_Window':
about.c:323: `errno' undeclared (first use in this function)
about.c:323: (Each undeclared identifier is reported only once
about.c:323: for each function it appears in.)
make[3]: *** [about.o] Error 1
make[3]: *** Waiting for unfinished jobs....
et_core.h:181: warning: `ETFileDescription' defined but not used
make[3]: *** [bar.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/easytag-0.27/work/easytag-0.27/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/easytag-0.27/work/easytag-0.27/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/easytag-0.27/work/easytag-0.27'
make: *** [all] Error 2
!!! ERROR: media-sound/easytag-0.27 failed.
!!! Function src_compile, Line -209, Exitcode 2
!!! (no error message)
The solution is to include the semi-colon in the sed expression (see attached
ebuild)
Reproducible: Always
Steps to Reproduce:
1. emerge easytag
2.
3.
Actual Results:
easytag doesn't build
Expected Results:
easytag should have been built and installed
Portage 2.0.47-r8 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7)
=================================================================
System uname: 2.4.20-ck4 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss apm avi crypt cups encode jpeg libg++ mmx mpeg ncurses pdflib
quicktime spell truetype xml2 xmms xv berkdb cdr esd gdbm gif gnome-libs gpm
gtk imlib java libwww motif nls oggvorbis opengl pam png python readline sdl
snmp ssl svga tcpd X -3dnow apache2 -arts bonobo dga dvd ethereal fbcon gnome
gtk2 gtkhtml guile -kde lcms -mikmod mozilla moznoirc moznomail moznocompose
mysql nas odbc pcmcia pda perl pic plotutils pnp -qt -qtmt samba -slang smooth
tcltk tetex tiff trusted usb xml"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe"
CXXFLAGS="-mcpu=i686 -march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache digest"