Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 27349
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andreas Simon <andreas.w.simon@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
clanlib-0.7.2-gcc3.3.patch Patch to make clanlib compile with gcc-3.3 patch Andreas Simon 2003-08-26 04:52 0000 422 bytes Details | Diff
clanlib-0.7.2-r1.ebuild.patch Patch for clanlib ebuild patch Andreas Simon 2003-08-26 04:54 0000 349 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 27349 depends on: Show dependency tree
Bug 27349 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-08-26 04:51 0000
clanlib fails to compile with gcc-3.3.1.
Cause for this failure is a missing include of assert.h.

# emerge clanlib
...
...
if /bin/sh ../../libtool --mode=compile g++ -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ClanLib\" -DVERSION=\"0.7.0\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FSTAB_H=1
-DHAVE_LIBZ=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_KD_H=1
-DHAVE_SYS_VT_H=1 -DUSE_X11=1 -DUSE_OPENGL=1 -DUSE_VIDMODE=1 -DUSE_CLANSOUND=1
-DUSE_NETWORK=1 -DUSE_I386_ASSEMBLER=1 -DUSE_DYN=1 -DUSE_GUI=1 -DUSE_MIKMOD=1
-DUSE_PNG=1 -DUSE_JPEG=1 -DUSE_SMALLJPEG=1 -DUSE_GETADDR=1 -DUSE_VOICE=1
-DUSE_VORBIS=1  -I. -I.   -I/usr/X11R6/include  -march=athlon-xp -O2    -pipe
-I../../Sources/ -DDEBUG=1 -g3 -ggdb3 -MT IOData/outputsource_memory.lo -MD -MP
-MF "IOData/.deps/outputsource_memory.Tpo" \
  -c -o IOData/outputsource_memory.lo `test -f 'IOData/outputsource_memory.cpp'
|| echo './'`IOData/outputsource_memory.cpp; \
then mv -f "IOData/.deps/outputsource_memory.Tpo"
"IOData/.deps/outputsource_memory.Plo"; \
else rm -f "IOData/.deps/outputsource_memory.Tpo"; exit 1; \
fi
IOData/Unix/directory_scanner_unix.cpp: In member function `virtual bool
   CL_DirectoryScanner_Unix::next()':
IOData/Unix/directory_scanner_unix.cpp:111: error: `assert' undeclared (first
   use this function)
IOData/Unix/directory_scanner_unix.cpp:111: error: (Each undeclared identifier
   is reported only once for each function it appears in.)
make[2]: *** [IOData/Unix/directory_scanner_unix.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ClanLib\"
-DVERSION=\"0.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DHAVE_FSTAB_H=1 -DHAVE_LIBZ=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1
-DHAVE_SYS_KD_H=1 -DHAVE_SYS_VT_H=1 -DUSE_X11=1 -DUSE_OPENGL=1 -DUSE_VIDMODE=1
-DUSE_CLANSOUND=1 -DUSE_NETWORK=1 -DUSE_I386_ASSEMBLER=1 -DUSE_DYN=1 -DUSE_GUI=1
-DUSE_MIKMOD=1 -DUSE_PNG=1 -DUSE_JPEG=1 -DUSE_SMALLJPEG=1 -DUSE_GETADDR=1
-DUSE_VOICE=1 -DUSE_VORBIS=1 -I. -I. -I/usr/X11R6/include -march=athlon-xp -O2
-pipe -I../../Sources/ -DDEBUG=1 -g3 -ggdb3 -MT IOData/outputsource_memory.lo
-MD -MP -MF IOData/.deps/outputsource_memory.Tpo -c
IOData/outputsource_memory.cpp  -fPIC -DPIC
mv -f outputsource_memory.o IOData/outputsource_memory.lo
make[2]: Leaving directory
`/var/tmp/portage/clanlib-0.7.2-r1/work/ClanLib-0.7.2/Sources/Core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/clanlib-0.7.2-r1/work/ClanLib-0.7.2/Sources'
make: *** [all-recursive] Error 1

!!! ERROR: dev-games/clanlib-0.7.2-r1 failed.
!!! Function src_compile, Line 53, Exitcode 2
!!! (no error message)

------- Comment #1 From Andreas Simon 2003-08-26 04:52:51 0000 -------
Created an attachment (id=16629) [details]
Patch to make clanlib compile with gcc-3.3

Here is a patch to make clanlib compile with gcc-3.3.1.

------- Comment #2 From Andreas Simon 2003-08-26 04:54:00 0000 -------
Created an attachment (id=16630) [details]
Patch for clanlib ebuild

Here is the diff for the ebuild to apply the patch from the ebuild.

------- Comment #3 From SpanKY 2003-09-02 09:05:39 0000 -------
added your patch to all the ebuilds

thanks :)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug