# emerge -va freelords These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] games-strategy/freelords-0.3.7 -editor +nls 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] y >>> emerge (1 of 1) games-strategy/freelords-0.3.7 to / >>> md5 files ;-) freelords-0.3.7.ebuild >>> md5 files ;-) freelords-0.3.4.ebuild >>> md5 files ;-) freelords-0.3.6.ebuild >>> md5 files ;-) files/digest-freelords-0.3.4 >>> md5 files ;-) files/digest-freelords-0.3.6 >>> md5 files ;-) files/digest-freelords-0.3.7 >>> md5 files ;-) files/freelordsrc >>> md5 src_uri ;-) freelords-0.3.7.tar.bz2 >>> Unpacking source... >>> Unpacking freelords-0.3.7.tar.bz2 to /var/tmp/portage/freelords-0.3.7/work >>> Source unpacked. * Using GNU config files from /usr/share/libtool * Updating config.sub [ ok ] * Updating config.guess [ ok ] ./configure --prefix=/usr/games --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games --disable-dependency-tracking --disable-paraguitest --disable-editor --enable-nls checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-g++... none checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking dependency style of i686-pc-linux-gnu-gcc... none checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for IMG_Load in -lSDL_image... yes checking for SDL_image.h... no configure: WARNING: Skipping SDL_Mixer Run. We are cross-compiling for windows! checking for paragui-config... /usr/bin/paragui-config checking for PARAGUI - version >= 1.1.8... yes configure: WARNING: ParaGUI seems to be compiled without unicode support. This can lead to problems with languages that use non-ASCII characters. If this is a problem, recompile paragui with the --enable-unicode option. checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for egrep... grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for XML_ParserCreate in -lexpat... no configure: error: *** Expat not found! !!! ERROR: games-strategy/freelords-0.3.7 failed. !!! Function egamesconf, Line 64, Exitcode 1 !!! egamesconf failed !!! If you need support, post the topmost build error, NOT this status message. # emerge info Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.16 i686) ================================================================= System uname: 2.6.16 i686 Mobile Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 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.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" 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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://pandemonium.tiscali.de/pub/gentoo/ http://213.186.33.38/gentoo-distfiles/ http://213.186.33.37/gentoo-distfiles/ ftp://213.186.33.37/gentoo-distfiles/" LINGUAS="en es" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /home/karl/Work/CC/cc_svn_src/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi adns aim alsa apache2 apm arts async audiofile automount avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cdr cpdflib cpudetection cpulimit crypt css cups curl dri dts dv dvb dvd dvdr dvdread dvi eds emboss encode esd ethereal exif expat fam fame ffmpeg firefox flac foomaticdb fortran gatos gcj gd gdbm gif gimp gimpprint glut gmp gphoto2 gpm gstreamer gtk gtk2 guile hal idn imagemagick imap imlib imlib2 ipv6 jabber java jp2 jpeg jpeg2k justify kcal kde kdepim lcms ldap libg++ libwww lm_sensors logrotate logwatch lzo lzw mad madwifi mhash mikmod mjpeg mmx mng mod_python motif mozcalendar mozilla mozsvg mp3 mp4live mpeg mpeg2 mpeg4 mplayer musepack musicbrainz mysql mythtv ncurses net network nls nsplugin objc ogg oggvorbis opengl oss pam pci pcmcia pcre pdf pdfkit pdflib perl php plugin pmu png pnp postgres python qt quicktime radius rar razor readline reiserfs ruby samba sdk sdl sftp slang slp sms sndfile snmp speech speex spell sql sqlite sqlite3 sse sse2 ssl subversion svga tcpd theora tiff transcode truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vorbis wifi win32codecs xanim xine xml2 xmms xprint xscreensaver xv xvid xvmc yahoo zlib video_cards_ati input_devices_keyboard input_devices_mouse linguas_en linguas_es userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
FYI. I have expat installed already # emerge -pv expat These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-libs/expat-1.95.8 -test 0 kB # ls -la /usr/lib/libexpat.* -rw-r--r-- 1 root root 246856 Mar 29 19:01 /usr/lib/libexpat.a -rwxr-xr-x 1 root root 706 Mar 29 19:01 /usr/lib/libexpat.la lrwxrwxrwx 1 root root 17 Mar 29 19:01 /usr/lib/libexpat.so -> libexpat.so.0.5.0 lrwxrwxrwx 1 root root 17 Mar 29 19:01 /usr/lib/libexpat.so.0 -> libexpat.so.0.5.0 -rwxr-xr-x 1 root root 175772 Mar 29 19:01 /usr/lib/libexpat.so.0.5.0
probably you need to run revdep-rebuild attach the config.log from the build directory as text/plain please.
Created attachment 83382 [details] config.log Looks like SDL_mixer is missing: /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lSDL_mixer And i don't have it installed: # emerge -av sdl-mixer These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-libs/smpeg-0.4.4-r7 +X -debug +gtk +mmx +opengl 307 kB [ebuild N ] media-libs/sdl-mixer-1.2.6-r1 +mikmod +mp3 -timidity +vorbis 1,120 kB Total size of downloads: 1,428 kB Perhaps sdl-mixer should be in the RDEPEND of the ebuild..
Created attachment 83383 [details] freelords-0.3.7-r1.ebuild ebuild with media-libs/sdl-mixer in RDEPEND
Success. Compiles cleanly and runs with new ebuild.
No, you need to remerge some packages. run emerge --newuse -vuD world and revdep-rebuild. your libraries are inconsistent.
The first thing i did when i got the error was rm -rf /root/.revdep*; revdep-rebuild and it came up empty. emerge -uDav --newuse too. Why dose it require media-libs/sdl-mixer to compile but it does not show in the dependency tree???? # emerge -etpv freelords These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [ebuild N ] games-strategy/freelords-0.3.7 -editor +nls 0 kB [ebuild N ] media-libs/paragui-1.1.8 0 kB [ebuild N ] dev-games/physfs-1.0.1 527 kB [ebuild N ] media-libs/sdl-image-1.2.3-r1 +gif +jpeg +png +tiff 621 kB [ebuild N ] media-libs/libsdl-1.2.8-r1 +X +aalib +alsa +arts -dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo +opengl +oss -pic -svga -xinerama +xv 2,541 kB [ebuild N ] kde-base/arts-3.4.3 +alsa +arts +artswrappersuid -debug -esd -hardened -jack +kdeenablefinal +mp3 -nas +vorbis -xinerama 0 kB [ebuild N ] media-libs/libvorbis-1.1.0 -aotuv 0 kB [ebuild N ] kde-base/kde-env-3-r4 0 kB [ebuild N ] media-libs/libogg-1.1.2 410 kB [ebuild N ] dev-db/qt-unixODBC-3.3.4-r1 0 kB [ebuild N ] dev-db/unixODBC-2.2.11-r1 -gnome +qt 0 kB [ebuild N ] x11-libs/qt-3.3.4-r8 +cups +debug* +doc* +examples* +firebird +gif -immqt -immqt-bc -ipv6 +mysql -nas +odbc +opengl -postgres +sqlite* -xinerama 0 kB [ebuild N ] dev-db/firebird-1.5.3 +xinetd 0 kB [ebuild N ] sys-apps/xinetd-2.3.13 -tcpd 0 kB [ebuild N ] dev-perl/DBD-mysql-2.9007 -minimal 0 kB [ebuild N ] dev-perl/DBI-1.50 -minimal 0 kB [ebuild N ] dev-perl/PlRPC-0.2018 -minimal 0 kB [ebuild N ] virtual/perl-Storable-2.15 0 kB [ebuild N ] perl-core/Storable-2.15 -minimal 0 kB [ebuild N ] dev-perl/Net-Daemon-0.38 -minimal 0 kB [ebuild N ] net-fs/samba-3.0.21b +acl -async -automount +cups -doc -examples -kerberos -ldap -ldapsam -libclamav +mysql -oav +pam -postgres +python -quotas +readline (-selinux) -swat -syslog -winbind +xml +xml2 0 kB [ebuild N ] dev-db/mysql-4.1.14 +berkdb -big-tables -cluster -debug +doc -extraengine -geometry -minimal +perl +readline (-selinux) +ssl -static -tcpd +utf8 0 kB [ebuild N ] sys-apps/ed-0.2-r6 181 kB [ebuild N ] sys-process/procps-3.2.6 (-n32) 0 kB [ebuild N ] dev-libs/popt-1.7-r1 +nls 561 kB [ebuild N ] net-print/cups-1.1.23-r7 -gnutls +nls +pam +samba -slp +ssl 0 kB [ebuild N ] app-text/poppler-0.5.0-r5 -cairo +jpeg 0 kB [ebuild N ] app-text/ghostscript-esp-7.07.1-r8 +X -cjk +cups +emacs +gtk 5,276 kB [ebuild N ] media-fonts/gnu-gs-fonts-std-8.11 3,664 kB [ebuild N ] x11-libs/gtk+-2.8.12 -debug -doc +jpeg +tiff -xinerama 0 kB [ebuild N ] x11-misc/shared-mime-info-0.16 735 kB [ebuild N ] dev-libs/libxml2-2.6.23 -debug -doc -ipv6 +python +readline 0 kB [ebuild N ] dev-util/intltool-0.34.1 127 kB [ebuild N ] dev-perl/XML-Parser-2.34 -minimal 0 kB [ebuild N ] dev-libs/atk-1.10.3 -debug -doc -static 0 kB [ebuild N ] x11-libs/pango-1.10.3 -debug -doc 0 kB [ebuild N ] dev-libs/glib-2.8.6 -debug -doc -hardened 0 kB [ebuild N ] x11-libs/cairo-1.0.2 +X -doc -glitz +png 0 kB [ebuild N ] media-libs/libmng-1.0.8-r1 497 kB [ebuild N ] media-libs/lcms-1.14-r1 +jpeg +python +tiff +zlib 0 kB [ebuild N ] media-libs/tiff-3.7.3 0 kB [ebuild N ] media-libs/jpeg-6b-r5 0 kB [ebuild N ] media-libs/libmad-0.15.1b -debug 490 kB [ebuild N ] media-libs/audiofile-0.2.6-r1 365 kB [ebuild N ] dev-lang/nasm-0.98.39-r1 -build -doc 531 kB [ebuild N ] media-libs/aalib-1.4_rc4-r2 +X -gpm +slang -static 0 kB [ebuild N ] sys-libs/slang-1.4.9-r2 -cjk +unicode 0 kB [ebuild N ] x11-terms/xterm-207 -Xaw3d -doc -toolbar +truetype +unicode 0 kB [ebuild N ] sys-apps/utempter-0.5.5.6 20 kB [ebuild N ] app-arch/rpm2targz-9.0-r3 2 kB [ebuild N ] app-arch/cpio-2.6-r5 +nls 0 kB [ebuild N ] sys-apps/which-2.16 122 kB [ebuild N ] sys-apps/file-4.13 -build +python 410 kB [ebuild N ] x11-base/xorg-x11-6.8.2-r6 -3dfx +3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc +font-server -insecure-drivers -ipv6 -minimal +mmx +nls -nocxx +opengl +pam -sdk +sse -static -truetype-fonts -type1-fonts (-uclibc) +xprint +xv 0 kB [ebuild N ] media-libs/fontconfig-2.2.3 732 kB [ebuild N ] x11-apps/ttmkfdir-3.0.9-r3 0 kB [ebuild N ] x11-base/opengl-update-3.0.0 0 kB [ebuild N ] app-admin/eselect-opengl-1.0.3 0 kB [ebuild N ] app-admin/eselect-1.0 +bash-completion -doc 0 kB [ebuild N ] app-arch/bzip2-1.0.3-r6 -build -static 0 kB [ebuild N ] media-libs/libpng-1.2.8-r1 -doc 0 kB [ebuild N ] sys-apps/util-linux-2.12r-r2 +crypt +nls -old-crypt +pam +perl (-selinux) -static 0 kB [ebuild N ] app-crypt/hashalot-0.3-r2 0 kB [ebuild N ] sys-fs/e2fsprogs-1.38-r1 +nls -static 0 kB [ebuild N ] sys-libs/ss-1.38 +nls 0 kB [ebuild N ] sys-libs/com_err-1.38 +nls 0 kB [ebuild N ] sys-apps/pam-login-4.0.14 -livecd +nls (-selinux) -skey 0 kB [ebuild N ] sys-apps/shadow-4.0.14-r1 +nls -nousuid +pam (-selinux) -skey 0 kB [ebuild N ] sys-libs/pam-0.78-r3 +berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb (-selinux) 0 kB [ebuild N ] dev-util/pkgconfig-0.20 -hardened 0 kB [ebuild N ] sys-devel/flex-2.5.33-r1 +nls -static 0 kB [ebuild N ] sys-libs/cracklib-2.8.5-r1 +nls +python 0 kB [ebuild N ] sys-devel/automake-1.9.6-r1 0 kB [ebuild N ] sys-apps/help2man-1.33.1 +nls 0 kB [ebuild N ] dev-perl/Locale-gettext-1.05 -minimal 0 kB [ebuild N ] virtual/perl-Test-Simple-0.62 0 kB [ebuild N ] perl-core/Test-Simple-0.62 -minimal 0 kB [ebuild N ] app-admin/perl-cleaner-1.01 3 kB [ebuild N ] sys-apps/man-1.6-r1 +nls 228 kB [ebuild N ] dev-lang/perl-5.8.7-r3 +berkdb -build -debug -doc +gdbm -ithreads -minimal -perlsuid 0 kB [ebuild N ] sys-devel/libperl-5.8.7 +berkdb -debug +gdbm -ithreads 0 kB [ebuild N ] sys-apps/groff-1.19.1-r2 +X 0 kB [ebuild N ] sys-libs/db-4.2.52_p2-r1 -bootstrap -doc +java -nocxx +tcltk 0 kB [ebuild N ] dev-java/blackdown-jdk-1.4.2.03 +X +alsa -browserplugin -doc +mozilla +nsplugin 0 kB [ebuild N ] dev-java/java-config-1.2.11-r1 15 kB [ebuild N ] media-libs/alsa-lib-1.0.10 -doc -jack 0 kB [ebuild N ] sys-kernel/gentoo-sources-2.6.15-r1 -build -doc -symlink (-ultra1) 0 kB [ebuild N ] sys-fs/udev-079-r1 (-selinux) 0 kB [ebuild N ] sys-apps/hotplug-base-20040401 40 kB [ebuild N ] sys-apps/baselayout-1.11.14-r6 -bootstrap -build -static +unicode 0 kB [ebuild N ] sys-apps/sysvinit-2.86-r3 -bootstrap -build -ibm (-selinux) -static 0 kB [ebuild N ] sys-apps/coreutils-5.2.1-r7 +acl -build +nls (-selinux) -static 0 kB [ebuild N ] sys-devel/automake-1.8.5-r3 0 kB [ebuild N ] sys-devel/automake-wrapper-1-r1 0 kB [ebuild N ] sys-devel/automake-1.4_p6 0 kB [ebuild N ] sys-devel/automake-1.7.9-r1 0 kB [ebuild N ] sys-devel/automake-1.6.3 0 kB [ebuild N ] sys-devel/automake-1.5 0 kB [ebuild N ] sys-apps/acl-2.2.32 -debug +nls 0 kB [ebuild N ] sys-apps/attr-2.4.24 -debug +nls 0 kB [ebuild N ] sys-apps/portage-2.0.54 -build -doc (-selinux) 0 kB [ebuild N ] sys-apps/debianutils-2.14.1-r1 -build -static 0 kB [ebuild N ] app-misc/pax-utils-0.1.10 -caps 0 kB [ebuild N ] sys-apps/sandbox-1.2.12 0 kB [ebuild N ] dev-python/python-fchksum-1.7.1 0 kB [ebuild N ] dev-lang/python-2.4.2 +X +berkdb -bootstrap -build -doc +gdbm -ipv6 +ncurses -nocxx +readline +ssl +tcltk -ucs2 7 kB [ebuild N ] dev-libs/expat-1.95.8 -test 310 kB [ebuild N ] sys-libs/gdbm-1.8.3-r2 +berkdb 223 kB [ebuild N ] dev-lang/tk-8.4.9 +threads 3,189 kB [ebuild N ] app-misc/ca-certificates-20050804 0 kB [ebuild N ] dev-libs/openssl-0.9.7i -bindist +emacs -test +zlib 0 kB [ebuild N ] sys-apps/diffutils-2.8.7-r1 +nls -static 0 kB [ebuild N ] sys-libs/readline-5.1_p2 0 kB [ebuild N ] app-shells/bash-3.0-r12 -bashlogger -build +nls 0 kB [ebuild N ] sys-devel/make-3.80-r4 -build +nls -static 0 kB [ebuild N ] sys-devel/libtool-1.5.22 0 kB [ebuild N ] sys-devel/autoconf-2.59-r7 +emacs 0 kB [ebuild N ] sys-devel/autoconf-wrapper-3-r1 0 kB [ebuild N ] sys-devel/autoconf-2.13 0 kB [ebuild N ] media-sound/alsa-headers-1.0.10 0 kB [ebuild N ] sys-apps/findutils-4.1.20-r2 -build +nls (-selinux) -static 0 kB [ebuild N ] dev-lang/tcl-8.4.9 +threads 0 kB [ebuild N ] dev-libs/libsigc++-1.2.5 -debug 0 kB [ebuild N ] media-libs/freetype-2.1.10 -bindist -doc +zlib 0 kB [ebuild N ] sys-libs/glibc-2.3.5-r2 -build -erandom -glibc-compat20 -glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls +nptl -nptlonly -pic -profile (-selinux) -userlocales 0 kB [ebuild N ] sys-kernel/linux-headers-2.6.11-r2 231 kB [ebuild N ] sys-libs/libstdc++-v3-3.3.4 -build (-multilib) +nls +nptl 0 kB [ebuild N ] sys-devel/gcc-3.4.5 (-altivec) -bootstrap -boundschecking -build -doc +fortran -gcj +gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -vanilla 0 kB [ebuild N ] sys-devel/gcc-config-1.3.13-r1 0 kB [ebuild N ] sys-apps/texinfo-4.8-r2 -build +nls -static 0 kB [ebuild N ] sys-apps/sed-4.1.4-r1 -bootstrap -build +nls -static 0 kB [ebuild N ] virtual/libintl-0 0 kB [ebuild N ] sys-devel/bison-2.1 +nls -static 0 kB [ebuild N ] sys-devel/m4-1.4.4 +nls 0 kB [ebuild N ] sys-libs/ncurses-5.4-r6 -bootstrap -build -debug -doc -gpm -minimal -nocxx +unicode 0 kB [ebuild N ] sys-devel/binutils-2.16.1 -multislot -multitarget +nls -test -vanilla 0 kB [ebuild N ] sys-devel/gettext-0.14.4 -doc +emacs +nls 0 kB [ebuild N ] sys-devel/gnuconfig-20060227 0 kB [ebuild N ] sys-devel/binutils-config-1.8-r6 0 kB [ebuild N ] sys-libs/zlib-1.2.3 -build 0 kB [ebuild N ] sys-devel/patch-2.5.9 -build -static 0 kB
Well, it needs sdl-mixer too, but that's a separate issue.
fixed in CVS. thanks for the bug report.