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

Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Question [NEED HELP] After a successful build & compile (0.8.5): This script is not properly set up yet. John 1 973 01-27-2024, 12:07 AM
Last Post: John
  [BUG] Dropping mouse input FPS Null 1 791 04-29-2023, 08:06 AM
Last Post: bones_was_here
  [SOLVED] FPS capped at 30 Ashurion-Neonix 0 721 10-25-2022, 09:19 PM
Last Post: Ashurion-Neonix
  [SOLVED] FPS Stuck at 60? Eile 3 3,086 07-27-2022, 04:11 PM
Last Post: FAF
  [NEED HELP] low fps on 2080 super lellopisello 4 2,935 08-30-2020, 03:54 PM
Last Post: LegendGuard
Question [NEED HELP] can't build netradiant (SOLVED) bananovenc 7 5,703 12-25-2019, 03:34 PM
Last Post: illwieckz
  [NEED HELP] NetRadiant crashes on Build - Mac (10.12.6) Space Ace 0 1,797 04-24-2019, 10:41 PM
Last Post: Space Ace
  [SOLVED] gamepad 'saitek fps' chocard 4 4,325 05-08-2017, 02:10 PM
Last Post: chocard
  [NEEDS INFO] low fps with 0.8.2? BuddyFriendGuy 2 3,419 04-10-2017, 04:37 PM
Last Post: BuddyFriendGuy
  [NEED HELP] Low FPS when using FullScreen mode TheLastCrawler 0 2,633 09-06-2015, 10:02 AM
Last Post: TheLastCrawler

Forum Jump:


Users browsing this thread:
1 Guest(s)

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