smclone doesn't emerge Reproducible: Always Steps to Reproduce: 1. emerge smclone 2. 3. Actual Results: Calculating dependencies ...done! >>> emerge (1 of 1) games-arcade/smclone-0.94.1 to / >>> md5 src_uri ;-) SMC_0.94.1_source.zip >>> md5 src_uri ;-) smc_0.94.1_linux_x86.tar.gz >>> md5 src_uri ;-) SMC_93_music.zip >>> Unpacking source... >>> Unpacking SMC_0.94.1_source.zip to /var/tmp/portage/smclone-0.94.1/work >>> Unpacking smc_0.94.1_linux_x86.tar.gz to /var/tmp/portage/smclone-0.94.1/work >>> Unpacking SMC_93_music.zip to /var/tmp/portage/smclone-0.94.1/work * Applying 0.94.1-gentoo-paths.patch ... [ ok ] Generating build files using aclocal, automake and autoconf: configure.ac:8: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst aclocal.m4:546: AM_CONFIG_HEADER is expanded from... configure.ac:8: the top level configure.ac:90: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:559: _AM_DIRNAME is expanded from... configure.ac:90: the top level automake-1.5: configure.ac: installing `./install-sh' automake-1.5: configure.ac: installing `./mkinstalldirs' automake-1.5: configure.ac: installing `./missing' configure.ac:8: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst aclocal.m4:546: AM_CONFIG_HEADER is expanded from... configure.ac:8: the top level configure.ac:90: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:559: _AM_DIRNAME is expanded from... configure.ac:90: the top level done. Now please run './configure' * Applying 0.94.1-use-HOME.patch ... [ ok ] >>> Source unpacked. ./configure --prefix=/usr/games --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: error: cannot run /bin/sh ./config.sub !!! ERROR: games-arcade/smclone-0.94.1 failed. !!! Function egamesconf, Line 58, Exitcode 1 !!! egamesconf failed !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync1.ro.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X aalib alsa apache apm avi bitmap-fonts cdr crypt cups curl encode f77 faac faad fam flac foomaticdb fortran gd geoip gif gphoto2 gpm gtk2 guile imagemagick imlib imlib2 jikes jpeg lcms libcaca libwww lzo mad matroska mikmod mmx motif mpeg mysql ncurses network nls no_wxgtk1 oggvorbis opengl pam png python quicktime readline rtc ruby sdl slang spell sse ssl tcpd tga theora tiff truetype x86 xchatdccserver xml2 xmms xv xvid zlib"
if you do `WANT_AUTOCONF=2.5 WANT_AUTOMAKE=1.8 emerge smclone` does it work ?
Yep, that works. The game installs and works fine but I get these strange errors while emerging: Calculating dependencies ...done! >>> emerge (1 of 1) games-arcade/smclone-0.94.1 to / >>> md5 src_uri ;-) SMC_0.94.1_source.zip >>> md5 src_uri ;-) smc_0.94.1_linux_x86.tar.gz >>> md5 src_uri ;-) SMC_93_music.zip >>> Unpacking source... >>> Unpacking SMC_0.94.1_source.zip to /var/tmp/portage/smclone-0.94.1/work >>> Unpacking smc_0.94.1_linux_x86.tar.gz to /var/tmp/portage/smclone-0.94.1/work >>> Unpacking SMC_93_music.zip to /var/tmp/portage/smclone-0.94.1/work * Applying 0.94.1-gentoo-paths.patch ... [ ok ] Generating build files using aclocal, automake and autoconf: /usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS /usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG /usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG /usr/share/aclocal/unshield.m4:4: warning: underquoted definition of AM_PATH_LIBUNSHIELD /usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of AC_PATH_DPS_GUESS_GNUSTEP /usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of AC_PATH_DPS_GUESS /usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of AC_PATH_DPS_CHECK_LIB /usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of AC_PATH_DPS_CHECK_HEADER /usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of AC_PATH_DPS_CHECK /usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of AC_PATH_DPS /usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of AC_CHECK_DPS_NXAGENT /usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of AC_PATH_DPSET /usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of AC_PROG_PSWRAP /usr/share/aclocal/paragui.m4:12: warning: underquoted definition of AM_PATH_PARAGUI /usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD /usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT /usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC /usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP /usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL /usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC /usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gtkglext-1.0.m4:11: warning: underquoted definition of AM_PATH_GTKGLEXT_1_0 /usr/share/aclocal/gtkglext-1.0.m4:218: warning: underquoted definition of AC_GTKGLEXT_SUPPORTS_MULTIHEAD /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB /usr/share/aclocal/gimp.m4:8: warning: underquoted definition of AM_PATH_GIMP /usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2 /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO /usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB /usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT configure.ac: installing `./install-sh' configure.ac: installing `./missing' configure.ac:6: installing `./config.guess' configure.ac:6: installing `./config.sub' Makefile.am: installing `./depcomp' done. Now please run './configure' ........... Why do I get them? Also, you forgot to patch the path for the Preferences.ini file, making it impossible to save preferences. It currently installs in /usr/share/games/smclone/Preferences.ini. The path should be something like ~/.smclone/Preferences.ini (I noticed you used ~/.smclone in your patches).
Just WANT_AUTOMAKE=1.8 makes it work for me.
Indeed... just WANT_AUTOMAKE=1.8 is enough, but I still get those errors.
added WANT_AUTOMAKE to the ebuild