Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 801220

Summary: games-fps/xonotic-0.8.2 - ../.../world.c: fatal error: ode/ode.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
games-fps:xonotic-0.8.2:20210708-133333.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-07-08 16:22:47 UTC
/bin/sh: line 1: ode-config: command not found
x86_64-pc-linux-gnu-gcc -MMD  -DDP_FS_BASEDIR=\"/usr/share/xonotic\" -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG    -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../    -pipe -march=native -fno-diagnostics-color -O2  -fno-strict-aliasing -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../zone.c -o zone.o
../../../world.c:369:10: fatal error: ode/ode.h: No such file or directory
  369 | #include "ode/ode.h"
      |          ^~~~~~~~~~~
compilation terminated.
make[2]: *** [makefile.inc:484: world.o] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j3-20210706-200009

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems) *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 6b149668e42ab9273b0a6ff0a4342a30ae3a8491
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jul 8 06:51:24 2021 +0000

    2021-07-08 06:51:23 UTC

emerge -qpvO games-fps/xonotic
[ebuild  N    ] games-fps/xonotic-0.8.2  USE="dedicated ode -alsa -debug -doc -sdl"
Comment 1 Toralf Förster gentoo-dev 2021-07-08 16:22:48 UTC
Created attachment 722740 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-08 16:22:50 UTC
Created attachment 722743 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-07-08 16:22:52 UTC
Created attachment 722746 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-07-08 16:22:53 UTC
Created attachment 722749 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-07-08 16:22:54 UTC
Created attachment 722752 [details]
games-fps:xonotic-0.8.2:20210708-133333.log
Comment 6 Toralf Förster gentoo-dev 2021-07-08 16:22:55 UTC
Created attachment 722755 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-07-04 15:56:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0879cdd7c0900fd821a40296e7f362ff43079b92

commit 0879cdd7c0900fd821a40296e7f362ff43079b92
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-07-04 15:38:27 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-07-04 15:56:02 +0000

    games-fps/xonotic: add 0.8.5
    
    - add USE=X to make GLX variant optional (can build without X libs)
    - enable sdl by default as it should make more sense than GLX nowadays,
      and seems to be preferred upstream wrt xonotic.desktop
    - drop USE=dedicated, disable X and sdl to get server-only
    - drop USE=debug, all this does I can see is add -g -ggdb to CFLAGS
    - drop USE=doc, upstream has deprecated the AFT docs in favor
      of the markdown ones (install unconditionally)
    - bump checkreqs
    - install more icons and use upstream's .desktop files
    - reduce reliance on the sed a bit and pass make args instead
    - depend on dev-games/ode even if server-only wrt bug #801220
    - bug #830499 and bug #830500 would only trigger when setting up
      a clang toolchain for some reason, but is fixed with current layout
    
    This could likely use more work (darkplaces does all sort of stuff
    that could use more attention), but should work as expected albeit
    not tested much (hopefully not missing anything).
    
    Closes: https://bugs.gentoo.org/801220
    Closes: https://bugs.gentoo.org/830499
    Closes: https://bugs.gentoo.org/830500
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-fps/xonotic/Manifest             |   1 +
 games-fps/xonotic/xonotic-0.8.5.ebuild | 105 +++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)