<?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>104735</bug_id>
          
          <creation_ts>2005-09-03 11:25 0000</creation_ts>
          <short_desc>paragui-1.1.8 (and 1.0.4) fail to build</short_desc>
          <delta_ts>2006-03-26 19:39:56 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>2005.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InCVS</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>fox2mike@gentoo.org</reporter>
          <assigned_to>maintainer-needed@gentoo.org</assigned_to>
          <cc>chriswhite@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>fox2mike@gentoo.org</who>
            <bug_when>2005-09-03 11:25:04 0000</bug_when>
            <thetext>Fails with the following error(s)

Here is 1.1.8

In file included from pgfilearchive.cpp:29:
 /usr/include/physfs.h:1866: error: expected `;&apos; before &apos;(&apos; token
 /usr/include/physfs.h:1867: error: `size_t&apos; has not been declared
 make[2]: *** [pgfilearchive.lo] Error 1
 make[2]: *** Waiting for unfinished jobs....
  i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include
-I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/SDL
-D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall
-I/usr/include/freetype2 -fno-exceptions -MT pgcolors.lo -MD -MP -MF
.deps/pgcolors.Tpo -c pgcolors.cpp -o pgcolors.o &gt;/dev/null 2&gt;&amp;1
  make[2]: Leaving directory
`/var/tmp/portage/paragui-1.1.8/work/paragui-1.1.8/src/core&apos;
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/var/tmp/portage/paragui-1.1.8/work/paragui-1.1.8/src&apos;
  make: *** [all-recursive] Error 1

  !!! ERROR: media-libs/paragui-1.1.8 failed.
  !!! Function src_compile, Line 556, Exitcode 2
  !!! emake failed
  !!! If you need support, post the topmost build error, NOT this status message


AND 1.0.4

mv -f .libs/pgapplication.lo pgapplication.lo
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include
-I/usr/include/SDL -D_REENTRANT                -I../../include    -O3
-march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2   -fno-exceptions -c
pgeventobject.cpp
rm -f .libs/pgeventobject.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT
-I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2
-fno-exceptions -c pgeventobject.cpp  -fPIC -DPIC -o .libs/pgeventobject.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT
-I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2
-fno-exceptions -c pgeventobject.cpp -o pgeventobject.o &gt;/dev/null 2&gt;&amp;1
mv -f .libs/pgeventobject.lo pgeventobject.lo
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include
-I/usr/include/SDL -D_REENTRANT                -I../../include    -O3
-march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2   -fno-exceptions -c
pgfilearchive.cpp rm -f .libs/pgfilearchive.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT
-I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2
-fno-exceptions -c pgfilearchive.cpp  -fPIC -DPIC -o .libs/pgfilearchive.loc++
-DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT
-I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2
-fno-exceptions -c pgcolors.cpp -o pgcolors.o &gt;/dev/null 2&gt;&amp;1
In file included from pgfilearchive.cpp:29:
/usr/include/physfs.h:1866: error: expected `;&apos; before &apos;(&apos; token
/usr/include/physfs.h:1867: error: `size_t&apos; has not been declared
make[2]: *** [pgfilearchive.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .libs/pgcolors.lo pgcolors.lo
make[2]: Leaving directory
`/var/tmp/portage/paragui-1.0.4/work/paragui-1.0.4/src/core&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/paragui-1.0.4/work/paragui-1.0.4/src&apos;

And /usr/include/physfs.h (Lines that cause the bail out)

typedef struct
{
    int (*Init)(void);
    void (*Deinit)(void);
    void *(*Malloc)(size_t);
    void *(*Realloc)(void *, size_t);
    void (*Free)(void *);
} PHYSFS_Allocator;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fox2mike@gentoo.org</who>
            <bug_when>2005-09-03 11:25:42 0000</bug_when>
            <thetext># emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13 i686)
=================================================================
System uname: 2.6.13 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.4.19-r1, 2.4.22, 2.6.11-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O3 -march=pentium3 -mmmx -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=pentium3 -mmmx -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache cvs distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
LC_ALL=&quot;en_GB.utf8&quot;
LINGUAS=&quot;en&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.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X a52 aac aalib acpi alsa apache2 apm avi bash-completion berkdb
bitmap-fonts bluetooth bonobo bzlib cdr crypt cscope ctype cups curl directfb
divx4linux eds emboss encode esd ethereal examples exif fam fbcon foomaticdb
fortran ftp gd gdbm geoip gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2
gtkhtml guile hal imagemagick imlib imlib2 innodb ipv6 javascript jpeg ldap
libg++ libwww mad mbox md5sum mikmod mmx motif mozilla mp3 mpeg mpeg4 mysql
ncurses nls nvidia odbc offensive ogg oggvorbis opengl oss pam pdflib perl php
png python qt quicktime readline ruby sdl slang spell sse ssl svga tcltk tcpd
tiff truetype truetype-fonts type1-fonts unicode usb vanilla vorbis win32codecs
xml xml2 xmms xosd xv xvid zlib linguas_en userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chriswhite@gentoo.org</who>
            <bug_when>2005-09-03 13:02:56 0000</bug_when>
            <thetext>Yah, I like fixed this in cvs. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fox2mike@gentoo.org</who>
            <bug_when>2005-09-25 06:53:59 0000</bug_when>
            <thetext>Same error, now with 1.0.4

Fix it PUNK ;)

c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT
-I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2
-fno-exceptions -c pgeventobject.cpp  -fPIC -DPIC -o .libs/pgeventobject.lo
mv -f .libs/pgcolors.lo pgcolors.lo
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include
-I/usr/include/SDL -D_REENTRANT                -I../../include    -O3
-march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2   -fno-exceptions -c
pgfilearchive.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT
-I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2
-fno-exceptions -c pgeventobject.cpp -o pgeventobject.o &gt;/dev/null 2&gt;&amp;1
mv -f .libs/pgeventobject.lo pgeventobject.lo
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include
-I/usr/include/SDL -D_REENTRANT                -I../../include    -O3
-march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2   -fno-exceptions -c
pgfile.cpp
rm -f .libs/pgfilearchive.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT
-I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2
-fno-exceptions -c pgfilearchive.cpp  -fPIC -DPIC -o .libs/pgfilearchive.lo
rm -f .libs/pgfile.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT
-I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2
-fno-exceptions -c pgfile.cpp  -fPIC -DPIC -o .libs/pgfile.lo
In file included from pgfilearchive.cpp:29:
/usr/include/physfs.h:1866: error: expected `;&apos; before &apos;(&apos; token
/usr/include/physfs.h:1867: error: `size_t&apos; has not been declared
make[2]: *** [pgfilearchive.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT
-I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2
-fno-exceptions -c pgfile.cpp -o pgfile.o &gt;/dev/null 2&gt;&amp;1
mv -f .libs/pgfile.lo pgfile.lo
make[2]: Leaving directory
`/var/tmp/portage/paragui-1.0.4/work/paragui-1.0.4/src/core&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/paragui-1.0.4/work/paragui-1.0.4/src&apos;
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/paragui-1.0.4 failed.
!!! Function src_compile, Line 567, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fox2mike@gentoo.org</who>
            <bug_when>2006-03-24 23:20:38 0000</bug_when>
            <thetext>Hey Chris, any luck? :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chriswhite@gentoo.org</who>
            <bug_when>2006-03-26 19:39:56 0000</bug_when>
            <thetext>Ok, I backported the fix to all versions. Should be ok now.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>