|Summary:||kobodeluxe ebuild broken|
|Product:||Gentoo Linux||Reporter:||Phil Bordelon (sunflare) <phil>|
|Component:||[OLD] Games||Assignee:||Wout Mertens (RETIRED) <wmertens>|
|Package list:||Runtime testing required:||---|
Description Phil Bordelon (sunflare) 2002-05-19 11:11:58 UTC
The app-games/kobodeluxe ebuild is broken. For one, it always wants me to re-emerge the nVidia GLX stuff, even though it's up to date: -- Calculating dependencies ...done! [ebuild R ] media-video/nvidia-glx-1.0.2880 to / [ebuild N ] app-games/kobodeluxe-0.3 to / -- and secondly, the build itself dies. It looks like it can't find autoconf, and it gets confused about my build settings: -- cd . && \ /bin/sh /var/tmp/portage/kobodeluxe-0.3/work/kobodeluxe-0.3/missing --run automake --foreign Makefile cd . && /bin/sh /var/tmp/portage/kobodeluxe-0.3/work/kobodeluxe-0.3/missing --run autoconf autoconf: Undefined macros: configure.in:217:AC_FUNC_MALLOC configure.in:218:AC_FUNC_STAT configure.in:260:AC_CONFIG_FILES([Makefile configure.in:9:AC_CONFIG_SRCDIR([Makefile.am]) WARNING: `autoconf' is missing on your system. You should only need it if you modified `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. /bin/sh ./config.status --recheck running /bin/sh ./configure --enable-opengl --host=i686-pc-linux-gnu --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man CFLAGS=-march=i686 -O3 -pipe CXXFLAGS=-march=i686 -O3 -pipe host_alias=i686-pc-linux-gnu --no-create --no-recursion configure: warning: CFLAGS=-march=i686 -O3 -pipe: invalid host type configure: warning: CXXFLAGS=-march=i686 -O3 -pipe: invalid host type configure: error: can only configure for one host and one target at a time make: *** [config.status] Error 1 /bin/sh ./config.status --recheck running /bin/sh ./configure --enable-opengl --host=i686-pc-linux-gnu --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man CFLAGS=-march=i686 -O3 -pipe CXXFLAGS=-march=i686 -O3 -pipe host_alias=i686-pc-linux-gnu --no-create --no-recursion configure: warning: CFLAGS=-march=i686 -O3 -pipe: invalid host type configure: warning: CXXFLAGS=-march=i686 -O3 -pipe: invalid host type configure: error: can only configure for one host and one target at a time make: *** [config.status] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 39, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/app-games/kobodeluxe/kobodeluxe-0.3.ebuild --. I have no idea what's going on here, but the end result is that it won't compile, no matter how many times it reemerges the nVidia GLX stuff.
Comment 1 Wout Mertens (RETIRED) 2002-05-25 19:58:09 UTC
Ok, the problem here is that I patch the configure.in file so that it does things the gentoo way. As a workaround, you can emerge autoconf, while I figure out if I should make it a dependency or instead find another way to patch it. As for the glx stuff, I have no idea :( I don't explicitly depend on it, so it must be from sdl or somewhere else.
Comment 2 Phil Bordelon (sunflare) 2002-05-26 03:57:14 UTC
autoconf is emerged on my system: -- newt root # emerge --pretend autoconf These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild R ] sys-devel/autoconf-2.53a to / -- Strange stuff here. I've never had that problem before [the GLX stuff]. I think the virtual/opengl is getting confuddled.
Comment 3 Phil Bordelon (sunflare) 2002-05-29 19:15:00 UTC
I've done more research on this bug. The problem with GLX being pulled in every time is easy to fix: take out the space between 'opengl' and '?' in both the DEPEND and RDEPEND blocks; i.e. -- opengl? ( virtual/opengl ) -- As for the automake problem, I'm still lost. I can do it by hand, following the commands in the ebuild one-by-one, and it works great. Run the ebuild, and it doesn't. I suggest masking this ebuild out until the problem can be ascertained.
Comment 4 Wout Mertens (RETIRED) 2002-06-01 06:46:58 UTC
*** Bug 3071 has been marked as a duplicate of this bug. ***
Comment 5 Wout Mertens (RETIRED) 2002-06-01 08:14:53 UTC
Thanks for the research. I made a new ebuild, this one should work. At least, it does on my system. Could you check?
Comment 6 Phil Bordelon (sunflare) 2002-06-01 15:58:02 UTC
It works. I recommend upgrading the ebuild to 0.4-pre6, which is available for download from the same site. The game runs considerably smoother, is more feature complete, and the OpenGL support actually works (and works well). Glad we got it working right. :)
Comment 7 Wout Mertens (RETIRED) 2002-06-01 18:18:56 UTC
I made an ebuild for v0.4pre6. Problem is that it doesn't compile when I add --enable-oss or --enable-alsa. Sound does work though (SDL?). Could you verify?
Comment 8 Phil Bordelon (sunflare) 2002-06-01 18:48:40 UTC
The new ebuild works fine. And, as you said, enabling ALSA doesn't work, but sound works 'hot out of the box.' Eh. I say leave your ebuild as-is. :)
Comment 9 david mattatall 2002-06-01 19:02:14 UTC
Kobo still does not build for me *SNIP* checking for a BSD compatible install... /bin/install -c checking for mawk... (cached) gawk checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for IMG_Load in -lSDL_image... no configure: error: You need the SDL_image library to compile this software. Get it at http://www.devolution.com/~slouken/SDL/ !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 44, Exitcode 1 !!! ./configure failed !!! emerge aborting on /usr/portage/app-games/kobodeluxe/kobodeluxe-0.3-r1.ebuild . *SNIP* This is fairly off considering I have sdl_image installed. I tried using -oss and -alsa in my make.conf with no positive result.
Comment 10 Phil Bordelon (sunflare) 2002-06-01 20:49:34 UTC
Looks like sdl_image needs to be added as a dependency.
Comment 11 Wout Mertens (RETIRED) 2002-06-02 17:11:31 UTC
David, what version of sdl_image are you using? I have media-libs/sdl-image-1.2.2
Comment 12 Wout Mertens (RETIRED) 2002-06-18 15:54:16 UTC
Closing since there seem to be no more problems?