Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEEDS INFO] build games-fps/xonotic-9999 - redeclaration of enumerator, xf86dga.h is obsolete...

#1
Blubb

compiling on gentoo failed - here is the build.log:

* Package: games-fps/xonotic-9999
* Repository: alexxy
* Maintainer: games@gentoo.org
* USE: alsa elibc_glibc kernel_linux opengl sdl userland_GNU x86 zip
* You need 1,5 Gb diskspace for distfiles.
* Checking for at least 2650MBytes disk space at /var/tmp/portage/games-fps/xonotic-9999/temp ... [ ok ]
* Checking for at least 910MBytes disk space at //usr ... [ ok ]
>>> Unpacking source...
* GIT update -->
* repository: git://git.xonotic.org/xonotic/xonotic.git
* at the commit: 262e724c13a5abf95a51b3bd031ba8f19218a774
* branch: master
* storage directory: "/usr/portage/distfiles/git-src/xonotic"
Cloning into /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999...
done.
>>> Unpacked to /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999
* GIT update -->
* repository: git://git.xonotic.org/xonotic/darkplaces.git
* at the commit: 49c1abd374824b3c6265769ff2336feca39d53b7
* commit: master
* branch: div0-stable
* storage directory: "/usr/portage/distfiles/git-src/darkplaces"
Cloning into /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/darkplaces...
done.
>>> Unpacked to /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/darkplaces
* GIT update -->
* repository: git://github.com/Blub/qclib.git
* at the commit: 9c5d3e1a0a8be1896dfd7ab3378312f32f544c30
* branch: master
* storage directory: "/usr/portage/distfiles/git-src/qclib"
Cloning into /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/fteqcc...
done.
>>> Unpacked to /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/fteqcc
* GIT update -->
* repository: git://git.xonotic.org/xonotic/xonotic-data.pk3dir.git
* at the commit: c445450d257558c3426fc87a1d95fab4d03ce0a9
* branch: master
* storage directory: "/usr/portage/distfiles/git-src/xonotic-data.pk3dir"
Cloning into /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/data/xonotic-data.pk3dir...
done.
>>> Unpacked to /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/data/xonotic-data.pk3dir
* GIT update -->
* repository: git://git.xonotic.org/xonotic/xonotic-maps.pk3dir.git
* at the commit: 10a36a89cd83dc04237e00d5b048bb1ecb0205bd
* branch: master
* storage directory: "/usr/portage/distfiles/git-src/xonotic-maps.pk3dir"
Cloning into /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/data/xonotic-maps.pk3dir...
done.
>>> Unpacked to /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/data/xonotic-maps.pk3dir
* GIT update -->
* repository: git://git.xonotic.org/xonotic/xonotic-music.pk3dir.git
* at the commit: 0ac08d818f3bd49f04ab5b36c18d615b978fceba
* branch: master
* storage directory: "/usr/portage/distfiles/git-src/xonotic-music.pk3dir"
Cloning into /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/data/xonotic-music.pk3dir...
done.
>>> Unpacked to /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/data/xonotic-music.pk3dir
* GIT update -->
* repository: git://git.xonotic.org/xonotic/xonotic-nexcompat.pk3dir.git
* at the commit: 65f20d1c7cc56b0dd15a7b630b495956d51941c5
* branch: master
* storage directory: "/usr/portage/distfiles/git-src/xonotic-nexcompat.pk3dir"
Cloning into /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/data/xonotic-nexcompat.pk3dir...
done.
>>> Unpacked to /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/data/xonotic-nexcompat.pk3dir
>>> Source unpacked in /var/tmp/portage/games-fps/xonotic-9999/work
>>> Preparing source in /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999 ...
/var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/darkplaces /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999
`nexuiz.ico' -> `xonotic.ico'
`nexuiz.rc' -> `xonotic.rc'
`nexuiz.xpm' -> `xonotic.xpm'
/var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999
/var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/fteqcc /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999
/var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999 ...
/var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/darkplaces /var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999
make -j3 cl-release DP_LINK_TO_LIBJPEG=1 DP_FS_BASEDIR=/usr/share/games/xonotic
make bin-release \
DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
EXE="xonotic-glx" LDFLAGS_COMMON="-lm `[ -n "" ] && "/../bin/ode-config" --libs` `[ -n "" ] && echo -lstdc++` `[ -n "" ] && echo \ -lCg\ -lCgGL -lGL` -ljpeg `[ -n "" ] && echo \ /libd0_blind_id.a\ /libgmp.a` `[ -n "" ] && echo \ /libd0_rijndael.a` -Wl,-O1 -Wl,--as-needed -lrt -ldl -L/usr/X11R6/lib -lX11 -lXpm -lXext -lXxf86dga -lXxf86vm -lasound `[ -n "" ] && echo \ /libmodplug.a\ -lstdc++`" LEVEL=1
make[1]: Entering directory `/var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/darkplaces'

========== xonotic-glx (release) ==========
make xonotic-glx \
DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
CFLAGS="-MMD -DDP_FS_BASEDIR='\"/usr/share/games/xonotic\"' `[ -n "" ] && echo \ -DSUPPORTCG` -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -DLINK_TO_LIBJPEG -march=prescott -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math"\
LDFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -DSVNREVISION=`test -d .svn && svnversion || echo -` -DBUILDTYPE=release -lm -ljpeg -Wl,-O1 -Wl,--as-needed -lrt -ldl -L/usr/X11R6/lib -lX11 -lXpm -lXext -lXxf86dga -lXxf86vm -lasound " LEVEL=2
make[2]: Entering directory `/var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/darkplaces'
i686-pc-linux-gnu-gcc -MMD -DDP_FS_BASEDIR='"/usr/share/games/xonotic"' -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -DLINK_TO_LIBJPEG -march=prescott -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c sys_linux.c -o sys_linux.o
i686-pc-linux-gnu-gcc -MMD -DDP_FS_BASEDIR='"/usr/share/games/xonotic"' -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -DLINK_TO_LIBJPEG -march=prescott -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c vid_glx.c -o vid_glx.o -I/usr/X11R6/include
i686-pc-linux-gnu-gcc -MMD -DDP_FS_BASEDIR='"/usr/share/games/xonotic"' -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -DLINK_TO_LIBJPEG -march=prescott -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c keysym2ucs.c -o keysym2ucs.o -I/usr/X11R6/include
ICECC[21379] 02:05:51: no response from local daemon within timeout.
ICECC[21378] 02:05:51: no response from local daemon within timeout.
i686-pc-linux-gnu-gcc -MMD -DDP_FS_BASEDIR='"/usr/share/games/xonotic"' -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -DLINK_TO_LIBJPEG -march=prescott -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c snd_main.c -o snd_main.o
In file included from quakedef.h:370,
from sys_linux.c:15:
common.h:255: error: redeclaration of enumerator ‘GAME_XONOTIC’
common.h:254: error: previous definition of ‘GAME_XONOTIC’ was here
make[2]: *** [sys_linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from quakedef.h:370,
from snd_main.c:22:
common.h:255: error: redeclaration of enumerator ‘GAME_XONOTIC’
common.h:254: error: previous definition of ‘GAME_XONOTIC’ was here
make[2]: *** [snd_main.o] Error 1
In file included from quakedef.h:370,
from vid_glx.c:30:
common.h:255: error: redeclaration of enumerator ‘GAME_XONOTIC’
common.h:254: error: previous definition of ‘GAME_XONOTIC’ was here
In file included from vid_glx.c:38:
/usr/include/X11/extensions/xf86dga.h:9:2: warning: #warning "xf86dga.h is obsolete and may be removed in the future."
/usr/include/X11/extensions/xf86dga.h:10:2: warning: #warning "include <X11/extensions/Xxf86dga.h> instead."
make[2]: *** [vid_glx.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/darkplaces'
make[1]: *** [bin-release] Error 2
make[1]: Leaving directory `/var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999/darkplaces'
make: *** [cl-release] Error 2
emake failed
* ERROR: games-fps/xonotic-9999 failed:
* emake cl-release DP_LINK_TO_LIBJPEG=1 DP_FS_BASEDIR=/usr/share/games/xonotic failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 3052: Called die
* The specific snippet of code:
* emake cl-${ENGINEOPTS} || die "emake cl-${ENGINEOPTS} failed";
*
* If you need support, post the output of 'emerge --info =games-fps/xonotic-9999',
* the complete build log and the output of 'emerge -pqv =games-fps/xonotic-9999'.
* This ebuild is from an overlay named 'alexxy': '/var/lib/layman/alexxy/'
* The complete build log is located at '/var/tmp/portage/games-fps/xonotic-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/games-fps/xonotic-9999/temp/environment'.
* S: '/var/tmp/portage/games-fps/xonotic-9999/work/xonotic-9999'

wrong day? major changes?

my fault?

...

any idea?
Reply

#2
Likely a bug in the ebuild, as GAME_XONOTIC is only defined once in the file on div0-stable. Does the ebuild apply any patches?

In my copy of the code, line 254 declares GAME_NEXUIZ, not GAME_XONOTIC.
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud
Reply

#3
Quote:Likely a bug in the ebuild, as GAME_XONOTIC is only defined once in the file on div0-stable. Does the ebuild apply any patches?

nope...

I am using the ebuild from the alexxy overlay.....

[...snap...]

http://gentoo-overlays.zugaina.org/alexx...999.ebuild
Reply

#4
*bump*

Quote:In my copy of the code, line 254 declares GAME_NEXUIZ, not GAME_XONOTIC.
got the lates checkout from the git-repository - rev is: 262e724c13a5abf95a51b3bd031ba8f19218a774

does anybody compiled xonotic on gentoo successfully?
Reply

#5
The problem was solved 2011-01-02, now d0_blind_id, fteqcc-xonotic and xonotic build and run fine on stable amd64 with gcc 4.4.4.
Also they build fine with llvm-2.8-r2 + clang-2.8-r3, but I did not test client.

https://bugs.gentoo.org/324159 is for reporting problems with xonotic ebuilds, only packages from gamerlay are supported.
Reply

#6
http://forums.xonotic.org/showthread.php?tid=1540
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  [NEED HELP] NetRadiant crashes on Build - Mac (10.12.6) Space Ace 0 324 04-24-2019, 10:41 PM
Last Post: Space Ace
  [SOLVED] Cant build bsp? Brot 1 1,358 08-23-2015, 08:04 PM
Last Post: end user
  [BUG] Unknown games on XonStats SpiKe 10 4,786 08-07-2014, 05:09 PM
Last Post: SpiKe
  [NEEDS INFO] Possible audio bug on Windows 8 Preview build Lee_Stricklin 2 3,485 09-21-2011, 01:03 PM
Last Post: Lee_Stricklin
  [BUG] My Build System Obsolete? slowtwitch 1 1,951 05-26-2011, 02:44 AM
Last Post: clanclanclan
  [NEEDS INFO] OS X application build problem nowego4 9 12,413 01-29-2011, 04:45 PM
Last Post: nowego4

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-