First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 60578
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marcos González <mgtroyas@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2004-08-16 12:05 0000
>>> md5 src_uri ;-) duke3d-20030817.tbz2
>>> Unpacking source...
>>> Unpacking duke3d-20030817.tbz2 to /var/tmp/portage/duke3d-20030817-r1/work
x86
* Applying 20030817-buildengine-makefile-cflags.patch...                 [ ok ]        * Applying 20030817-credits.patch...                                     [ ok ]   * Applying 20030817-duke3d-makefile-opts.patch...                        [ ok ]
x86
opengl
>>> Source unpacked.

[...]

gcc -c -o buildperl.o buildperl.c -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -funsigned-char -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT -fno-omit-frame-pointer  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/5.8.4/i686-linux-thread-multi/CORE
buildperl.c: En la funci

------- Comment #1 From Marcos González 2004-08-16 12:05:29 0000 -------
>>> md5 src_uri ;-) duke3d-20030817.tbz2
>>> Unpacking source...
>>> Unpacking duke3d-20030817.tbz2 to /var/tmp/portage/duke3d-20030817-r1/work
x86
* Applying 20030817-buildengine-makefile-cflags.patch...                 [ ok ]        * Applying 20030817-credits.patch...                                     [ ok ]   * Applying 20030817-duke3d-makefile-opts.patch...                        [ ok ]
x86
opengl
>>> Source unpacked.

[...]

gcc -c -o buildperl.o buildperl.c -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM -O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -pipe -funsigned-char -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT -fno-omit-frame-pointer  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/5.8.4/i686-linux-thread-multi/CORE
buildperl.c: En la función `buildperl_init':
buildperl.c:52: error: `my_perl' undeclared (first use in this function)
buildperl.c:52: error: (Each undeclared identifier is reported only once
buildperl.c:52: error: for each function it appears in.)
buildperl.c: En la función `buildperl_frame':
buildperl.c:77: error: `my_perl' undeclared (first use in this function)
make: *** [buildperl.o] Error 1
make: *** Se espera a que terminen otras tareas....

!!! ERROR: games-fps/duke3d-20030817-r1 failed.
!!! Function src_compile, Line 82, Exitcode 2
!!! buildengine failed


My system:

sys-libs/glibc-2.3.3.20040420-r1
sys-kernel/gentoo-dev-sources-2.6.8
media-video/ati-drivers-3.9.0-r1 

AthlonXP 2800 / ATI Radeon 9600Pro / Gigabyte KT600


I'm using 2.6 headers (installed before stage1) to get NPTL support, but when I had 2.4 headers before reinstalling, the problem was the same. Don't know if the NPTL is the problem. Anyway the cvs snapshot is one year old, could be updated.

------- Comment #2 From Marcos González 2004-08-16 13:29:07 0000 -------
Confirmed: I just downloaded the latest CVS and compiled ok. It's working
perfectly. CVS snapshot should be updated to fix it.

------- Comment #3 From SpanKY 2004-08-17 17:53:45 0000 -------
cvs duke3d also seems to have fixes for mouse aiming ... i'll update it shortly

------- Comment #4 From SpanKY 2004-08-17 21:08:38 0000 -------
version bumped in cvs

------- Comment #5 From Marcos González 2004-08-20 02:58:34 0000 -------
errrr... I don't know if I'm doing something wrong. Finally the file
duke3d-20040817.tar.bz2 appeared in the FTPservers and I could compile it.
But...

max root # emerge duke3d
Calculating dependencies ...done!
>>> emerge (1 of 1) games-fps/duke3d-20040817 to /
>>> md5 src_uri ;-) duke3d-20040817.tar.bz2
>>> Unpacking source...
>>> Unpacking duke3d-20040817.tar.bz2 to /var/tmp/portage/duke3d-20040817/work
* Applying 20040817-credits.patch...                                     [ ok ]
* Applying 20040817-duke3d-makefile-opts.patch...                        [ ok ]
x86
>>> Source unpacked.

[...]


gcc -o build -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread build.o bstub.o
engine.o cache1d.o sdl_driver.o unix_compat.o a_nasm.o pragmas.o a_gnu.o 
buildgl.o
buildperl.c: En la funci

------- Comment #6 From Marcos González 2004-08-20 02:58:34 0000 -------
errrr... I don't know if I'm doing something wrong. Finally the file
duke3d-20040817.tar.bz2 appeared in the FTPservers and I could compile it.
But...

max root # emerge duke3d
Calculating dependencies ...done!
>>> emerge (1 of 1) games-fps/duke3d-20040817 to /
>>> md5 src_uri ;-) duke3d-20040817.tar.bz2
>>> Unpacking source...
>>> Unpacking duke3d-20040817.tar.bz2 to /var/tmp/portage/duke3d-20040817/work
* Applying 20040817-credits.patch...                                     [ ok ]
* Applying 20040817-duke3d-makefile-opts.patch...                        [ ok ]
x86
>>> Source unpacked.

[...]


gcc -o build -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread build.o bstub.o
engine.o cache1d.o sdl_driver.o unix_compat.o a_nasm.o pragmas.o a_gnu.o 
buildgl.o
buildperl.c: En la función `buildperl_init':
buildperl.c:52: error: `my_perl' undeclared (first use in this function)
buildperl.c:52: error: (Each undeclared identifier is reported only once
buildperl.c:52: error: for each function it appears in.)
buildperl.c: En la función `buildperl_frame':
buildperl.c:77: error: `my_perl' undeclared (first use in this function)
make: *** [buildperl.o] Error 1
make: *** Se espera a que terminen otras tareas....

!!! ERROR: games-fps/duke3d-20040817 failed.
!!! Function src_compile, Line 79, Exitcode 2
!!! buildengine failed

As I said, I compiled from CVS that same day, and everything worked. My guess
was: could be the two patches that are applied at the beginning not necessary
anymore? So I commented out those 2 lines in the ebuild, but the ebuild failed
again.

Really don't know what's the problem, but as the code compiles by hand. I think
the problem must be the ebuild. 

------- Comment #7 From Marcos González 2004-09-12 05:33:51 0000 -------
I did:

USE="-perl" emerge duke3d

and now compiled without problems. Don't know whats wrong with the ebuild.

First Last Prev Next    No search results available      Search page      Enter new bug