Trying to build quake2-icculus-0.16.1-r1 fails at installing with an error: >>> Install quake2-icculus-0.16.1-r1 into /var/tmp/portage/games-fps/quake2-icculus-0.16.1-r1/image/ category games-fps cp: cannot stat `my-rel-NO/*': No such file or directory !!! dobin: /var/tmp/portage/games-fps/quake2-icculus-0.16.1-r1/image///usr/games/lib64/quake2-icculus/quake2 does not exist rm: cannot remove `/var/tmp/portage/games-fps/quake2-icculus-0.16.1-r1/image///usr/games/lib64/quake2-icculus/quake2': No such file or directory !!! dobin: /var/tmp/portage/games-fps/quake2-icculus-0.16.1-r1/image///usr/games/lib64/quake2-icculus/sdlquake2 does not exist cp: cannot stat `/var/tmp/portage/games-fps/quake2-icculus-0.16.1-r1/image///usr/games/lib64/quake2-icculus-qmax/q2ded': No such file or directory * * ERROR: games-fps/quake2-icculus-0.16.1-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2400: Called die * The specific snippet of code: * newgamesbin "${D}/${q2maxdir}"/q2ded q2ded-qmax || die; * The die message: * (no error message) * Reproducible: Always Steps to Reproduce: 1. emerge quake2-icculus Actual Results: Building seems to work fine, but emerge fails at the install stage. Expected Results: Installation should work. My emerge --info: Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64) ================================================================= System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) X2 Dual Core Processor BE-2300 Timestamp of tree: Wed, 30 Apr 2008 20:45:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.tiscali.nl/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="en_US.UTF8" LC_ALL="en_US.UTF-8" LINGUAS="en de es" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa amd64 apache2 bash-completion berkdb cairo calendar caps cddb cdr cli cracklib crypt cups dbus dga directfb dri dvd dvdr dvdread eds emacs emboss encode esd evo exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv icq imagemagick isdnlog java javascript jikes joystick jpeg jpeg2k kde kdexdeltas kerberos lcms ldap leim libcaca libwww lm_sensors mad maildir mbox mcal memlimit midi mikmod mime mmx mng mp3 mpeg msn mudflap ncurses neXt networking nls nocd nptl nptlonly nsplugin offensive ogg opengl openmp oscar oss pam pcre pdf perl plotutils png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sndfile sockets sox speex spell spl sse sse2 ssl svg tcpd tetex theora threads tiff timidity truetype unicode usb v4l vcd videos vorbis wmf xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse aiptek" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de es" USERLAND="GNU" VIDEO_CARDS="vesa vga fbdev nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
what use do you have for it?
(In reply to comment #1) > what use do you have for it? > emerge -pv quake2-icculus: These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild N ] games-fps/quake2-icculus-0.16.1-r1 USE="X alsa joystick opengl qmax sdl -aalib -arts -cdinstall -dedicated -demo -ipv6 -rogue (-svga) -xatrix" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB
Yeah, that ebuild is pretty busted. I'll look into it as soon as I get a chance.
I just tried to install this ebuild and faced the same error. The problem lies in the src_install function, from the environment file. It tries to install the q2ded executable without checking if it was actually compiled or not. BTW, my arch is x86 but architecture has little to do here since the problem lies in the installation script, not the application itself. Quick Workaround: enable the "dedicated" use flag to build the dedicated server, then the game will install everything without complaints. Still, the installation script should be redone because it looks pretty messy.
Same here when compiling with qmax enabled
Created attachment 215401 [details] fixed ebuild
Created attachment 215408 [details] fixed ebuild + quake2 -> sdlquake2 I also suggest to change quake2* menu-entry to sdlquake2* when building with "sdl" use flag: sdl version is a bit faster and there are no problems with sound (for me). Just reasonable default for people compiling with sdl.
post a diff rather than an entire ebuild
escott -O2 -pipe -fomit-frame-pointer -DLINUX_VERSION=\"3.21+r0.16\" -shared -o releasei386/ref_softx.so releasei386/ref_soft/r_aclip.o releasei386/ref_soft/r_alias.o releasei386/ref_soft/r_bsp.o releasei386/ref_soft/r_draw.o releasei386/ref_soft/r_edge.o releasei386/ref_soft/r_image.o releasei386/ref_soft/r_light.o releasei386/ref_soft/r_main.o releasei386/ref_soft/r_misc.o releasei386/ref_soft/r_model.o releasei386/ref_soft/r_part.o releasei386/ref_soft/r_poly.o releasei386/ref_soft/r_polyse.o releasei386/ref_soft/r_rast.o releasei386/ref_soft/r_scan.o releasei386/ref_soft/r_sprite.o releasei386/ref_soft/r_surf.o releasei386/ref_soft/q_shared.o releasei386/ref_soft/q_shlinux.o releasei386/ref_soft/glob.o releasei386/ref_soft/r_aclipa.o releasei386/ref_soft/r_draw16.o releasei386/ref_soft/r_drawa.o releasei386/ref_soft/r_edgea.o releasei386/ref_soft/r_scana.o releasei386/ref_soft/r_spr8.o releasei386/ref_soft/r_surf8.o releasei386/ref_soft/math.o releasei386/ref_soft/d_polysa.o releasei386/ref_soft/r_varsa.o releasei386/ref_soft/sys_dosa.o \ releasei386/ref_soft/rw_linux.o releasei386/ref_soft/rw_x11.o -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. i686-pc-linux-gnu-gcc -Wall -pipe -Dstricmp=strcasecmp -DDEFAULT_BASEDIR=\"/usr/share/games/quake2\" -DDEFAULT_LIBDIR=\"/usr/games/lib/quake2-icculus-qmax\" -DQMAX -march=prescott -O2 -pipe -fomit-frame-pointer -DLINUX_VERSION=\"3.21+r0.16\" -fPIC -o releasei386/ref_gl/gl_draw.o -c src/ref_candygl/gl_draw.c i686-pc-linux-gnu-gcc -Wall -pipe -Dstricmp=strcasecmp -DDEFAULT_BASEDIR=\"/usr/share/games/quake2\" -DDEFAULT_LIBDIR=\"/usr/games/lib/quake2-icculus-qmax\" -DQMAX -march=prescott -O2 -pipe -fomit-frame-pointer -DLINUX_VERSION=\"3.21+r0.16\" -fPIC -o releasei386/ref_gl/gl_image.o -c src/ref_candygl/gl_image.c src/ref_candygl/gl_image.c: In function 'LoadTGA': src/ref_candygl/gl_image.c:585: warning: dereferencing type-punned pointer will break strict-aliasing rules src/ref_candygl/gl_image.c:589: warning: dereferencing type-punned pointer will break strict-aliasing rules src/ref_candygl/gl_image.c: At top level: src/ref_candygl/gl_image.c:779: error: conflicting types for 'jpeg_mem_src' /usr/include/jpeglib.h:959: note: previous declaration of 'jpeg_mem_src' was here src/ref_candygl/gl_image.c: In function 'jpeg_mem_src': src/ref_candygl/gl_image.c:783: warning: assignment from incompatible pointer type src/ref_candygl/gl_image.c: In function 'GL_FreeUnusedImages': src/ref_candygl/gl_image.c:1789: warning: pointer targets in passing argument 2 of 'qglDeleteTextures' differ in signedness src/ref_candygl/gl_image.c:1789: note: expected 'const GLuint *' but argument is of type 'int *' src/ref_candygl/gl_image.c: In function 'GL_ShutdownImages': src/ref_candygl/gl_image.c:1944: warning: pointer targets in passing argument 2 of 'qglDeleteTextures' differ in signedness src/ref_candygl/gl_image.c:1944: note: expected 'const GLuint *' but argument is of type 'int *' make[1]: *** [releasei386/ref_gl/gl_image.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-fps/quake2-icculus-0.16.1-r1/work/quake2-r0.16.1' make: *** [build_release] Error 2 * ERROR: games-fps/quake2-icculus-0.16.1-r1 failed: * make failed * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2637: Called die * The specific snippet of code: * emake -j1 build_release BUILD_SDLQUAKE2=$(yesno sdl) BUILD_SVGA=$(yesno svga) BUILD_X11=$(yesno X) BUILD_GLX=$(yesno opengl) BUILD_SDL=$(yesno sdl) BUILD_SDLGL=$(yesno sdl ope
Should be fixed. Thanks for report.