<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>17326</bug_id>
          
          <creation_ts>2003-03-11 16:55 0000</creation_ts>
          <short_desc>easytag 0.27 doesn&apos;t compile - errno fix doesn&apos;t work</short_desc>
          <delta_ts>2003-03-11 21:01:21 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>T.Henderson@cs.ucl.ac.uk</reporter>
          <assigned_to>seemant@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2003-03-11 16:55:02 0000</bug_when>
            <thetext>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&apos;t compile:

make[3]: Entering directory `/var/tmp/portage/easytag-0.27/work/easytag-0.27/src&apos;
source=&apos;about.c&apos; object=&apos;about.o&apos; libtool=no \
depfile=&apos;.deps/about.Po&apos; tmpdepfile=&apos;.deps/about.TPo&apos; \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\&quot;/usr/share/locale\&quot; -DPACKAGE_DATA_DIR=\&quot;/usr/share/easytag\&quot;    -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 &apos;about.c&apos; || echo &apos;./&apos;`about.c
source=&apos;bar.c&apos; object=&apos;bar.o&apos; libtool=no \
depfile=&apos;.deps/bar.Po&apos; tmpdepfile=&apos;.deps/bar.TPo&apos; \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALE=\&quot;/usr/share/locale\&quot; -DPACKAGE_DATA_DIR=\&quot;/usr/share/easytag\&quot;    -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 &apos;bar.c&apos; || echo &apos;./&apos;`bar.c
In file included from bar.c:25:
easytag.h:101: `#include&apos; expects &quot;FILENAME&quot; or &lt;FILENAME&gt;
In file included from about.c:29:
easytag.h:101: `#include&apos; expects &quot;FILENAME&quot; or &lt;FILENAME&gt;
about.c: In function `Show_About_Window&apos;:
about.c:323: `errno&apos; 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&apos; 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&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/easytag-0.27/work/easytag-0.27/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/easytag-0.27/work/easytag-0.27&apos;
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&apos;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=&quot;http://gentoo.oregonstate.edu http://distro.ibiblio.org/gentoo&quot;
CONFIG_PROTECT=&quot;/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/&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
USE=&quot;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&quot;
COMPILER=&quot;&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-mcpu=i686 -march=i686 -O3 -pipe&quot;
CXXFLAGS=&quot;-mcpu=i686 -march=i686 -O3 -pipe&quot;
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
MAKEOPTS=&quot;-j2&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://rsync.us.gentoo.org/gentoo-portage&quot;
FEATURES=&quot;sandbox ccache digest&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2003-03-11 16:55:41 0000</bug_when>
            <thetext>Created an attachment (id=9266)
easytag ebuild with corrected sed expression
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2003-03-11 21:01:21 0000</bug_when>
            <thetext>thanks for that tristan :)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>9266</attachid>
            <date>2003-03-11 16:55 0000</date>
            <desc>easytag ebuild with corrected sed expression</desc>
            <filename>easytag-0.27.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAzIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogL2hvbWUvY3Zzcm9vdC9nZW50b28teDg2L21lZGlhLXNvdW5kL2Vhc3l0YWcv
ZWFzeXRhZy0wLjI3LmVidWlsZCx2IDEuMiAyMDAzLzAzLzA1IDE0OjA1OjU5IHNlZW1hbnQgRXhw
ICQKCklVU0U9Im5scyBvZ2d2b3JiaXMiCgpTPSR7V09SS0RJUn0vJHtQfQpERVNDUklQVElPTj0i
RWFzeVRBRyBtcDMvb2dnIElEMyB0YWcgZWRpdG9yIgpTUkNfVVJJPSJtaXJyb3I6Ly9zb3VyY2Vm
b3JnZS9lYXN5dGFnLyR7UH0udGFyLmJ6MiIKSE9NRVBBR0U9Imh0dHA6Ly9lYXN5dGFnLnNvdXJj
ZWZvcmdlLm5ldC8iCgpSREVQRU5EPSI9eDExLWxpYnMvZ3RrKy0xLjIqCgk+PW1lZGlhLWxpYnMv
aWQzbGliLTMuOC4yCgltZWRpYS1saWJzL2ZsYWMKCW9nZ3ZvcmJpcz8gKCA+PW1lZGlhLWxpYnMv
bGlidm9yYmlzLTEuMF9iZXRhNCApIgoJCkRFU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