Working perfectly for me, should be put into portage: http://mattst88.no-ip.com:8181/quake2forge-0.3.ebuild Reproducible: Always Steps to Reproduce:
Can this be added to portage already?
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect10
Created attachment 64754 [details] quake2forge-0.3.ebuild Here is the ebuild using the games eclass.
ATM it will fail with alsa use flag enabled. I do not understand it because building it manually work without problems. Any ideas? ---------<-------- ../libtool: line 1660: cd: yes/lib: No such file or directory libtool: link: cannot determine absolute directory name of `yes/lib' make[3]: *** [snd_alsa.la] Fout 1 make[3]: *** Wachten op onafgeronde taken... --------->--------
Created attachment 64757 [details] quake2forge-0.3.ebuild Sorry but atatched the wrong ebuild. Should not be doing this at 2:45 am....
This one fails for me while doing ebuild quake2forge-0.3.ebuild digest I get: !!! aux_get(): ebuild path for 'games-fps/quake2forge-0.3' not specified: !!! None !!! aux_get(): ebuild path for 'games-fps/quake2forge-0.3' not specified: !!! None doebuild(): aux_get() error reading games-fps/quake2forge-0.3; aborting.
You have named the directory quake2forge-0.3? Rename it to quake2forge...
I get this: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -Werror -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fPIC -Iyes/include -O2 -march=pentium4 -MT snd_alsa_la-snd_alsa.lo -MD -MP -MF .deps/snd_alsa_la-snd_alsa.Tpo -c snd_alsa.c -o snd_alsa_la-snd_alsa.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -march=pentium4 -o snd_alsa.la -module -avoid-version -rpath /usr/games/lib/quake2 snd_alsa_la-snd_alsa.lo -Lyes/lib -lasound ../libtool: line 1659: cd: yes/lib: No such file or directory libtool: link: cannot determine absolute directory name of `yes/lib' make[3]: *** [snd_alsa.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/quake2forge-0.3/work/quake2-0.3/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/quake2forge-0.3/work/quake2-0.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/quake2forge-0.3/work/quake2-0.3' make: *** [all] Error 2 Portage info: Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo i686) ================================================================= System uname: 2.6.13-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.dtiltas.lt/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/ " PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dba eds emboss encode esd exif fam flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod mmx motif mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner sdl spell sqlite sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev vorbis xine xml2 xmms xpm xv zip zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
(In reply to comment #8) > ../libtool: line 1659: cd: yes/lib: No such file or directory > libtool: link: cannot determine absolute directory name of `yes/lib' > make[3]: *** [snd_alsa.la] Error 1 > make[3]: Leaving directory `/var/tmp/portage/quake2forge-0.3/work/quake2-0.3/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/var/tmp/portage/quake2forge-0.3/work/quake2-0.3/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/var/tmp/portage/quake2forge-0.3/work/quake2-0.3' > make: *** [all] Error 2 Disable alsa for this ebuild for now as it failes the build.
Instead of the pkg_postinst() manifesto, is not better to put the quake2-data dependency?
quake2forge is long unmaintained, so we don't really want it in Portage. Closing as WONTFIX.