<?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>39177</bug_id>
          
          <creation_ts>2004-01-23 10:27 0000</creation_ts>
          <short_desc>app-pda/gtkpod-0.72 doesn&apos;t build with gcc-2.95</short_desc>
          <delta_ts>2004-02-06 05:27:59 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>Applications</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>T.Henderson@cs.ucl.ac.uk</reporter>
          <assigned_to>pda@gentoo.org</assigned_to>
          <cc>tester@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2004-01-23 10:27:17 0000</bug_when>
            <thetext>gtkpod-0.72 doesn&apos;t build on my (admittedly old) gentoo-1.2 box. Here&apos;s a patch to fix this.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\&quot;&quot;/usr/share&quot;\&quot; -DPACKAGE_LOCALE_DIR=\&quot;&quot;/usr/share/locale&quot;\&quot;    -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -mcpu=i686 -O3 -pipe -Wall -c `test -f &apos;mp4file.c&apos; || echo &apos;./&apos;`mp4file.c
source=&apos;normalize.c&apos; object=&apos;normalize.o&apos; libtool=no \
depfile=&apos;.deps/normalize.Po&apos; tmpdepfile=&apos;.deps/normalize.TPo&apos; \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\&quot;&quot;/usr/share&quot;\&quot; -DPACKAGE_LOCALE_DIR=\&quot;&quot;/usr/share/locale&quot;\&quot;    -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -mcpu=i686 -O3 -pipe -Wall -c `test -f &apos;normalize.c&apos; || echo &apos;./&apos;`normalize.c
mp3file.c: In function `file_get_mp3_info&apos;:
mp3file.c:1373: parse error before `*&apos;
mp3file.c:1374: parse error before `mp3info&apos;
mp3file.c:1377: parse error before `-&gt;&apos;
mp3file.c:1378: parse error before `mp3info&apos;
mp3file.c:1379: warning: control reaches end of non-void function
mp3file.c: At top level:
mp3file.c:1393: warning: type defaults to `int&apos; in declaration of `free_track&apos;
mp3file.c:1393: warning: parameter names (without types) in function declaration
mp3file.c:1393: conflicting types for `free_track&apos;
song.h:114: previous declaration of `free_track&apos;
mp3file.c:1393: warning: data definition has no type or storage class
mp3file.c:1394: warning: type defaults to `int&apos; in declaration of `track&apos;
mp3file.c:1394: warning: initialization makes integer from pointer without a cast
mp3file.c:1394: warning: data definition has no type or storage class
mp3file.c:1395: parse error before `}&apos;
make[2]: *** [mp3file.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gtkpod-0.72/work/gtkpod-0.72/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkpod-0.72/work/gtkpod-0.72&apos;
make: *** [all] Error 2

!!! ERROR: app-pda/gtkpod-0.72 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50_pre19 (default-1.0, gcc-2.95.3, glibc-2.2.5-r9, 2.4.24)
==============================================================
===
System uname: 2.4.24 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
Gentoo Base System version 1.4.3.12
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-mcpu=i686 -O3 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config 
/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-mcpu=i686 -O3 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache digest sandbox strict&quot;
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu http://distro.ibiblio.
org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.namerica.gentoo.org/gentoo-portage&quot;
USE=&quot;X X509 aalib alsa apache2 apm avi berkdb bonobo cdr crypt cups curses dga dvd emacs 
encode esd ethereal evo fbcon foomaticdb gdbm gif gnome-libs gpm gtk gtk2 gtkhtml guile imap 
imlib java jpeg lcms ldap libg++ libwww mmx motif mpeg mysql nas ncurses odbc oggvorbis oss 
pam pcmcia pda pdflib perl pic plotutils png pnp python quicktime readline samba sdl skey slang 
smooth snmp spell ssl stroke svga tcltk tcpd tetex tiff truetype trusted usb vim-with-x x86 xml xml2 
xmms xv zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2004-01-23 10:27:50 0000</bug_when>
            <thetext>Created an attachment (id=24300)
patch to fix compilation with gcc-2.95
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2004-01-23 10:28:12 0000</bug_when>
            <thetext>Created an attachment (id=24301)
ebuild using above patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tester@gentoo.org</who>
            <bug_when>2004-02-05 06:23:55 0000</bug_when>
            <thetext>ok, this is in... but if gtkpod adds more C99 stuff.. I dont know for how long I&apos;ll keep patching to support older compilers... Btw, did you send this to the gtkpod author?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2004-02-05 06:51:22 0000</bug_when>
            <thetext>OK, thanks. I wasn&apos;t sure whether to send this to the gtkpod author - I&apos;ve seen in the past that sometimes authors like to receive &quot;official&quot; patches from the distribution. But I&apos;ll send this one ASAP.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>T.Henderson@cs.ucl.ac.uk</who>
            <bug_when>2004-02-06 05:27:59 0000</bug_when>
            <thetext>I have submitted the patch to the gtkpod author and he has committed it to CVS.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>24300</attachid>
            <date>2004-01-23 10:27 0000</date>
            <desc>patch to fix compilation with gcc-2.95</desc>
            <filename>gtkpod-0.72-gcc2_fix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXIgZ3RrcG9kLTAuNzIub3JpZy9zcmMvbXAzZmlsZS5jIGd0a3BvZC0wLjcyL3NyYy9t
cDNmaWxlLmMKLS0tIGd0a3BvZC0wLjcyLm9yaWcvc3JjL21wM2ZpbGUuYwkyMDA0LTAxLTE3IDA0
OjM3OjQ4LjAwMDAwMDAwMCAtMDUwMAorKysgZ3RrcG9kLTAuNzIvc3JjL21wM2ZpbGUuYwkyMDA0
LTAxLTIzIDEzOjE3OjM5LjAwMDAwMDAwMCAtMDUwMApAQCAtMTI5Niw2ICsxMjk2LDcgQEAKIHsK
ICAgICBUcmFjayAqdHJhY2sgPSBOVUxMOwogICAgIEZpbGVfVGFnIGZpbGV0YWc7CisgICAgbXAz
aW5mbyAqbXAzaW5mbzsKIAogICAgIHRyYWNrID0gZ19tYWxsb2MwIChzaXplb2YgKFRyYWNrKSk7
CiAKQEAgLTEzNzAsNyArMTM3MSw3IEBACiAgICAgfQogCiAgICAgLyogR2V0IGFkZGl0aW9uYWwg
aW5mbyAocGxheSB0aW1lIGFuZCBiaXRyYXRlICovCi0gICAgbXAzaW5mbyAqbXAzaW5mbyA9IG1w
M2ZpbGVfZ2V0X2luZm8gKG5hbWUpOworICAgIG1wM2luZm8gPSBtcDNmaWxlX2dldF9pbmZvIChu
YW1lKTsKICAgICBpZiAobXAzaW5mbykKICAgICB7CiAJdHJhY2stPnRyYWNrbGVuID0gbXAzaW5m
by0+bWlsbGlzZWNvbmRzOwo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>24301</attachid>
            <date>2004-01-23 10:28 0000</date>
            <desc>ebuild using above patch</desc>
            <filename>gtkpod-0.72.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA0IEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1Ym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