Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465442 - games-fps/eduke32-20130317.3572-r1 fail to build (because of nasm?)
Summary: games-fps/eduke32-20130317.3572-r1 fail to build (because of nasm?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-10 21:27 UTC by No Name
Modified: 2013-04-11 00:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description No Name 2013-04-10 21:27:09 UTC
I dont know why it fails. I have tested an older version of nasm but that dont change anything. I never had this error before. Maybe anyone should add nasm USE again than it could be unset. What is wrong? I am using the most recent ebuild here.

[32;01m * [39;49;00mPackage:    games-fps/eduke32-20130317.3572-r1
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: hasufell@gentoo.org games@gentoo.org
[32;01m * [39;49;00mUSE:        elibc_glibc gtk kernel_linux offensive opengl png sc55-musicpack server textures userland_GNU vpx x86
[32;01m * [39;49;00mFEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking eduke32_src_20130317-3572.tar.bz2 to /var/tmp/portage/games-fps/eduke32-20130317.3572-r1/work
>>> Unpacking eduke32-icons.tar to /var/tmp/portage/games-fps/eduke32-20130317.3572-r1/work
>>> Source unpacked in /var/tmp/portage/games-fps/eduke32-20130317.3572-r1/work
>>> Preparing source in /var/tmp/portage/games-fps/eduke32-20130317.3572-r1/work/eduke32_20130317-3572 ...
 [32;01m*[0m Applying eduke32-20130317.3572-QA.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-fps/eduke32-20130317.3572-r1/work/eduke32_20130317-3572 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/games-fps/eduke32-20130317.3572-r1/work/eduke32_20130317-3572 ...

..........................................................................

make -C build/ "OBJ=../source/eobj" enginelib LUNATIC=0
make[1]: Entering directory `/var/tmp/portage/games-fps/eduke32-20130317.3572-r1/work/eduke32_20130317-3572/build'
if as  -f elf src/a.nasm -o ../source/eobj/a.o; then true; else false; exit 1; fi
Assembler messages:
Error: can't open elf for reading: No such file or directory
src/a.nasm:1: Error: junk at end of line, first unrecognized character is `"'
src/a.nasm:2: Error: no such instruction: `ken Silverman's official web site: "http://www.advsys.net/ken"'
src/a.nasm:3: Error: no such instruction: `see the included license file "BUILDLIC.TXT" for license info.'
src/a.nasm:5: Error: no such instruction: `this file has been modified from Ken Silverman's original release'
src/a.nasm:6: Error: no such instruction: `by Jonathon Fowler (jf@jonof.id.au)'
src/a.nasm:8: Error: no such instruction: `cpu 586'
src/a.nasm:10: Error: no such instruction: `section .text'
src/a.nasm:12: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:13: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:14: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:15: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:16: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:17: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:18: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:19: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:20: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:21: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:22: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:23: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:24: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:25: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:26: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:27: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:28: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:29: Error: junk at end of line, first unrecognized character is `%'
src/a.nasm:30: Error: junk at end of line, first unrecognized character is `%'

..............................................................

src/a.nasm:2523: Error: too many memory references for `mov'
src/a.nasm:2524: Error: too many memory references for `shr'
src/a.nasm:2525: Error: too many memory references for `add'
src/a.nasm:2526: Error: no instruction mnemonic suffix given and no register operands; can't size instruction
src/a.nasm:2527: Error: too many memory references for `mov'
src/a.nasm:2528: Error: too many memory references for `mov'
src/a.nasm:2529: Error: junk `[edi]' after expression
src/a.nasm:2529: Error: too many memory references for `mov'
src/a.nasm:2530: Error: invalid char '[' beginning operand 2 `[edi+88888888h]'
src/a.nasm:2531: Error: junk `voxbegdraw1' after expression
src/a.nasm:2534: Error: no such instruction: `cdeclendset 6'
src/a.nasm:2538: Error: too many memory references for `mov'
src/a.nasm:2539: Error: too many memory references for `shr'
src/a.nasm:2540: Error: too many memory references for `add'
src/a.nasm:2541: Error: too many memory references for `xor'
src/a.nasm:2542: Error: no instruction mnemonic suffix given and no register operands; can't size instruction
src/a.nasm:2543: Error: too many memory references for `mov'
src/a.nasm:2544: Error: too many memory references for `mov'

..............................................................

src/a.nasm:2884: Error: too many memory references for `mov'
src/a.nasm:2886: Error: invalid character (0x9) in operand 1
src/a.nasm:2886: Error: no such instruction: `jbf'
src/a.nasm:2887: Error: invalid character (0x9) in operand 1
src/a.nasm:2887: Error: no such instruction: `jbf'
src/a.nasm:2888: Error: invalid character (0x9) in operand 1
src/a.nasm:2888: Error: no such instruction: `jbf'
make[1]: *** [../source/eobj/a.o] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/games-fps/eduke32-20130317.3572-r1/work/eduke32_20130317-3572/build'
make: *** [enginelib] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
make[1]: Entering directory `/var/tmp/portage/games-fps/eduke32-20130317.3572-r1/work/eduke32_20130317-3572/source/jaudiolib'
mkdir -p obj
mkdir -p obj
if i686-pc-linux-gnu-gcc -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer -std=gnu89 -Wimplicit -Wdeclaration-after-statement -funswitch-loops -fomit-frame-pointer -DNDEBUG -fno-stack-protector -march=pentium3 -mtune=generic -mmmx -W -Wall -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result  -Wno-char-subscripts -DUSE_LIBPNG -DUSE_LIBVPX  -DHAVE_INTTYPES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DLINKED_GTK -DPOLYMER -Iinclude -Isrc -DHAVE_VORBIS -DHAVE_FLAC -DHAVE_SDL `pkg-config --cflags vorbis`  -Wno-attributes -c src/drivers.c -o obj/drivers.o; then true; else false; exit 1; fi
if i686-pc-linux-gnu-gcc -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer -std=gnu89 -Wimplicit -Wdeclaration-after-statement -funswitch-loops -fomit-frame-pointer -DNDEBUG -fno-stack-protector -march=pentium3 -mtune=generic -mmmx -W -Wall -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result  -Wno-char-subscripts -DUSE_LIBPNG -DUSE_LIBVPX  -DHAVE_INTTYPES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DLINKED_GTK -DPOLYMER -Iinclude -Isrc -DHAVE_VORBIS -DHAVE_FLAC -DHAVE_SDL `pkg-config --cflags vorbis`  -Wno-attributes -c src/fx_man.c -o obj/fx_man.o; then true; else false; exit 1; fi
mkdir -p obj
if i686-pc-linux-gnu-gcc -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer -std=gnu89 -Wimplicit -Wdeclaration-after-statement -funswitch-loops -fomit-frame-pointer -DNDEBUG -fno-stack-protector -march=pentium3 -mtune=generic -mmmx -W -Wall -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result  -Wno-char-subscripts -DUSE_LIBPNG -DUSE_LIBVPX  -DHAVE_INTTYPES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DLINKED_GTK -DPOLYMER -Iinclude -Isrc -DHAVE_VORBIS -DHAVE_FLAC -DHAVE_SDL `pkg-config --cflags vorbis`  -Wno-attributes -c src/multivoc.c -o obj/multivoc.o; then true; else false; exit 1; fi
mkdir -p obj
if i686-pc-linux-gnu-gcc -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer -std=gnu89 -Wimplicit -Wdeclaration-after-statement -funswitch-loops -fomit-frame-pointer -DNDEBUG -fno-stack-protector -march=pentium3 -mtune=generic -mmmx -W -Wall -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result  -Wno-char-subscripts -DUSE_LIBPNG -DUSE_LIBVPX  -DHAVE_INTTYPES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DLINKED_GTK -DPOLYMER -Iinclude -Isrc -DHAVE_VORBIS -DHAVE_FLAC -DHAVE_SDL `pkg-config --cflags vorbis`  -Wno-attributes -c src/mix.c -o obj/mix.o; then true; else false; exit 1; fi
mkdir -p obj
if i686-pc-linux-gnu-gcc -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer -std=gnu89 -Wimplicit -Wdeclaration-after-statement -funswitch-loops -fomit-frame-pointer -DNDEBUG -fno-stack-protector -march=pentium3 -mtune=generic -mmmx -W -Wall -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result  -Wno-char-subscripts -DUSE_LIBPNG -DUSE_LIBVPX  -DHAVE_INTTYPES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DLINKED_GTK -DPOLYMER -Iinclude -Isrc -DHAVE_VORBIS -DHAVE_FLAC -DHAVE_SDL `pkg-config --cflags vorbis`  -Wno-attributes -c src/mixst.c -o obj/mixst.o; then true; else false; exit 1; fi
mkdir -p obj
if i686-pc-linux-gnu-gcc -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer -std=gnu89 -Wimplicit -Wdeclaration-after-statement -funswitch-loops -fomit-frame-pointer -DNDEBUG -fno-stack-protector -march=pentium3 -mtune=generic -mmmx -W -Wall -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result  -Wno-char-subscripts -DUSE_LIBPNG -DUSE_LIBVPX  -DHAVE_INTTYPES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DLINKED_GTK -DPOLYMER -Iinclude -Isrc -DHAVE_VORBIS -DHAVE_FLAC -DHAVE_SDL `pkg-config --cflags vorbis`  -Wno-attributes -c src/pitch.c -o obj/pitch.o; then true; else false; exit 1; fi
mkdir -p obj
mkdir -p obj
if i686-pc-linux-gnu-gcc -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer -std=gnu89 -Wimplicit -Wdeclaration-after-statement -funswitch-loops -fomit-frame-pointer -DNDEBUG -fno-stack-protector -march=pentium3 -mtune=generic -mmmx -W -Wall -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result  -Wno-char-subscripts -DUSE_LIBPNG -DUSE_LIBVPX  -DHAVE_INTTYPES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DLINKED_GTK -DPOLYMER -Iinclude -Isrc -DHAVE_VORBIS -DHAVE_FLAC -DHAVE_SDL `pkg-config --cflags vorbis`  -Wno-attributes -c src/formats.c -o obj/formats.o; then true; else false; exit 1; fi
if i686-pc-linux-gnu-gcc -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer -std=gnu89 -Wimplicit -Wdeclaration-after-statement -funswitch-loops -fomit-frame-pointer -DNDEBUG -fno-stack-protector -march=pentium3 -mtune=generic -mmmx -W -Wall -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result  -Wno-char-subscripts -DUSE_LIBPNG -DUSE_LIBVPX  -DHAVE_INTTYPES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DLINKED_GTK -DPOLYMER -Iinclude -Isrc -DHAVE_VORBIS -DHAVE_FLAC -DHAVE_SDL `pkg-config --cflags vorbis`  -Wno-attributes -c src/vorbis.c -o obj/vorbis.o; then true; else false; exit 1; fi
mkdir -p obj
if i686-pc-linux-gnu-gcc -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer -std=gnu89 -Wimplicit -Wdeclaration-after-statement -funswitch-loops -fomit-frame-pointer -DNDEBUG -fno-stack-protector -march=pentium3 -mtune=generic -mmmx -W -Wall -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result  -Wno-char-subscripts -DUSE_LIBPNG -DUSE_LIBVPX  -DHAVE_INTTYPES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DLINKED_GTK -DPOLYMER -Iinclude -Isrc -DHAVE_VORBIS -DHAVE_FLAC -DHAVE_SDL `pkg-config --cflags vorbis`  -Wno-attributes -c src/flac.c -o obj/flac.o; then true; else false; exit 1; fi
mkdir -p obj
if i686-pc-linux-gnu-gcc -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer -std=gnu89 -Wimplicit -Wdeclaration-after-statement -funswitch-loops -fomit-frame-pointer -DNDEBUG -fno-stack-protector -march=pentium3 -mtune=generic -mmmx -W -Wall -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result  -Wno-char-subscripts -DUSE_LIBPNG -DUSE_LIBVPX  -DHAVE_INTTYPES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DLINKED_GTK -DPOLYMER -Iinclude -Isrc -DHAVE_VORBIS -DHAVE_FLAC -DHAVE_SDL `pkg-config --cflags vorbis`  -Wno-attributes -c src/driver_nosound.c -o obj/driver_nosound.o; then true; else false; exit 1; fi
mkdir -p obj
if i686-pc-linux-gnu-gcc -O2 -march=opteron -msse3 -pipe -fomit-frame-pointer -std=gnu89 -Wimplicit -Wdeclaration-after-statement -funswitch-loops -fomit-frame-pointer -DNDEBUG -fno-stack-protector -march=pentium3 -mtune=generic -mmmx -W -Wall -Werror-implicit-function-declaration -Wpointer-arith -Wextra  -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result  -Wno-char-subscripts -DUSE_LIBPNG -DUSE_LIBVPX  -DHAVE_INTTYPES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DLINKED_GTK -DPOLYMER -Iinclude -Isrc -DHAVE_VORBIS -DHAVE_FLAC -DHAVE_SDL `pkg-config --cflags vorbis`  -Wno-attributes -c src/driver_sdl.c -o obj/driver_sdl.o; then true; else false; exit 1; fi
if i686-pc-linux-gnu-ar cr libjfaudiolib.a obj/drivers.o obj/fx_man.o obj/multivoc.o obj/mix.o obj/mixst.o obj/pitch.o obj/formats.o obj/vorbis.o obj/flac.o obj/driver_nosound.o obj/driver_sdl.o; then true; else false; exit 1; fi
make[1]: Leaving directory `/var/tmp/portage/games-fps/eduke32-20130317.3572-r1/work/eduke32_20130317-3572/source/jaudiolib'
 [31;01m*[0m ERROR: games-fps/eduke32-20130317.3572-r1 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=games-fps/eduke32-20130317.3572-r1'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=games-fps/eduke32-20130317.3572-r1'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/games-fps/eduke32-20130317.3572-r1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/games-fps/eduke32-20130317.3572-r1/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/games-fps/eduke32-20130317.3572-r1/work/eduke32_20130317-3572'
 [31;01m*[0m S: '/var/tmp/portage/games-fps/eduke32-20130317.3572-r1/work/eduke32_20130317-3572'
Comment 1 Julian Ospald 2013-04-10 23:18:53 UTC
The problem is here:

 [31;01m*[0m If you need support, post the output of `emerge --info '=games-fps/eduke32-20130317.3572-r1'`
Comment 2 Julian Ospald 2013-04-11 00:24:07 UTC
+  11 Apr 2013; Julian Ospald <hasufell@gentoo.org>
+  eduke32-20130317.3572-r1.ebuild:
+  fix x86 build wrt #465442
+