Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511904 - games-strategy/freeciv-2.4.2 does not compile
Summary: games-strategy/freeciv-2.4.2 does not compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-30 22:09 UTC by bm-w
Modified: 2014-05-31 21:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (20140530-213022.log,860.71 KB, application/octet-stream)
2014-05-31 00:59 UTC, bm-w
Details
build log with makeopts "-j1" (20140531-081140.log,860.71 KB, application/octet-stream)
2014-05-31 08:42 UTC, bm-w
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bm-w 2014-05-30 22:09:44 UTC
I was asked to file a bug in http://forums.gentoo.org/viewtopic-t-992190.html
As this is my first bug report, I hope I added all the relevant information. Thanks for fixing.


emerging of freeciv-2.4.2 ends with this:

end of emerge log (complete log in attachment)

libtool: link: rm -fr .libs/libfcgui-qt.lax
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libfcgui-sdl.a
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libfcgui-gtk2.a
libtool: link: ( cd ".libs" && rm -f "libfcgui-qt.la" && ln -s "../libfcgui-qt.la" "libfcgui-qt.la" )
libtool: link: rm -fr .libs/libfcgui-sdl.lax
libtool: link: rm -fr .libs/libfcgui-gtk2.lax
/bin/sh ../libtool --preserve-dup-deps  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -Wall -Wpointer-arith -Wcast-align -O2 -march=native -pipe -fomit-frame-pointer -fsigned-char   -Wl,-O1 -Wl,--as-needed -o freeciv-qt dummycxx.o libfcgui-qt.la ../common/libfreeciv.la  -lm     -llua -lm  ../dependencies/tolua-5.1/src/lib/libtolua.la ../dependencies/luasql-2.1.1/src/libluasql_mysql.la  -L/usr/lib/qt4 -lQtGui -lQtCore -lcurl -pthread
libtool: link: ( cd ".libs" && rm -f "libfcgui-sdl.la" && ln -s "../libfcgui-sdl.la" "libfcgui-sdl.la" )
libtool: link: ( cd ".libs" && rm -f "libfcgui-gtk2.la" && ln -s "../libfcgui-gtk2.la" "libfcgui-gtk2.la" )
/bin/sh ../libtool --preserve-dup-deps  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -Wall -Wpointer-arith -Wcast-align -O2 -march=native -pipe -fomit-frame-pointer -fsigned-char   -Wl,-O1 -Wl,--as-needed -o freeciv-sdl dummy.o -lSDL_image -lSDL -lpthread -lfreetype -lz -lbz2 libfcgui-sdl.la ../common/libfreeciv.la  -lm     -llua -lm  ../dependencies/tolua-5.1/src/lib/libtolua.la ../dependencies/luasql-2.1.1/src/libluasql_mysql.la  -lSDL_image -lSDL -lpthread -lfreetype -lz -lbz2 -lcurl -pthread
/bin/sh ../libtool --preserve-dup-deps  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -Wall -Wpointer-arith -Wcast-align -O2 -march=native -pipe -fomit-frame-pointer -fsigned-char   -Wl,-O1 -Wl,--as-needed -o freeciv-gtk2 dummy.o  libfcgui-gtk2.la ../common/libfreeciv.la  -lm     -llua -lm  ../dependencies/tolua-5.1/src/lib/libtolua.la ../dependencies/luasql-2.1.1/src/libluasql_mysql.la  -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfreetype -lfontconfig   -lcurl -pthread
libtool: link: x86_64-pc-linux-gnu-g++ -Wall -Wpointer-arith -Wcast-align -O2 -march=native -pipe -fomit-frame-pointer -fsigned-char -Wl,-O1 -o .libs/freeciv-qt dummycxx.o -pthread  -Wl,--as-needed ./.libs/libfcgui-qt.a ../common/.libs/libfreeciv.so -lm -lbz2 -llzma -lm -lz -lm /usr/lib64//liblua.so -lm -lm -ldl -lm ../dependencies/tolua-5.1/src/lib/.libs/libtolua.a ../dependencies/luasql-2.1.1/src/.libs/libluasql_mysql.a -L/usr/lib/qt4 -lQtGui -lQtCore -lcurl -pthread -Wl,-rpath -Wl,/usr/lib64/
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wpointer-arith -Wcast-align -O2 -march=native -pipe -fomit-frame-pointer -fsigned-char -Wl,-O1 -o .libs/freeciv-sdl dummy.o -pthread  -Wl,--as-needed -lSDL_image -lSDL -lpthread -lfreetype -lz -lbz2 ./.libs/libfcgui-sdl.a ../common/.libs/libfreeciv.so -lbz2 -lm -lz -lbz2 -llzma -lm -lz -lm /usr/lib64//liblua.so -lm -lm -ldl -lm ../dependencies/tolua-5.1/src/lib/.libs/libtolua.a ../dependencies/luasql-2.1.1/src/.libs/libluasql_mysql.a -lSDL_image -lSDL -lpthread -lfreetype -lz -lbz2 -lcurl -pthread -Wl,-rpath -Wl,/usr/lib64/
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wpointer-arith -Wcast-align -O2 -march=native -pipe -fomit-frame-pointer -fsigned-char -Wl,-O1 -o .libs/freeciv-gtk2 dummy.o -pthread  -Wl,--as-needed ./.libs/libfcgui-gtk2.a -lm ../common/.libs/libfreeciv.so -lm -lbz2 -llzma -lm -lz -lm /usr/lib64//liblua.so -lm -lm -ldl -lm ../dependencies/tolua-5.1/src/lib/.libs/libtolua.a ../dependencies/luasql-2.1.1/src/.libs/libluasql_mysql.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfreetype -lfontconfig -lcurl -pthread -Wl,-rpath -Wl,/usr/lib64/
make[3]: Leaving directory `/var/tmp/portage/games-strategy/freeciv-2.4.2/work/freeciv-2.4.2/client'
make[2]: Leaving directory `/var/tmp/portage/games-strategy/freeciv-2.4.2/work/freeciv-2.4.2/client'
Making all in po
make[2]: Entering directory `/var/tmp/portage/games-strategy/freeciv-2.4.2/work/freeciv-2.4.2/po'
Makefile:60: *** missing separator.  Stop.
make[2]: Leaving directory `/var/tmp/portage/games-strategy/freeciv-2.4.2/work/freeciv-2.4.2/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-strategy/freeciv-2.4.2/work/freeciv-2.4.2'
make: *** [all] Error 2
 * ERROR: games-strategy/freeciv-2.4.2::gentoo failed (compile phase):
 *   emake failed

-------------------------------------------------------------------------------

emerge --info

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.10.25-gentoo x86_64)
=================================================================
System uname: Linux-3.10.25-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.2
KiB Mem:     3085260 total,   1218896 free
KiB Swap:    1023996 total,   1023996 free
Timestamp of tree: Thu, 29 May 2014 19:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"                                                                                                                                      
FFLAGS="-O2 -pipe"                                                                                                                     
GENTOO_MIRRORS="http://distfiles.gentoo.org"                                                                                           
LANG="de_DE.utf8"                                                                                                                      
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                      
MAKEOPTS="-j3"                                                                                                                         
PKGDIR="/usr/portage/packages"                                                                                                         
PORTAGE_CONFIGROOT="/"                                                                                                                 
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                              
PORTAGE_TMPDIR="/var/tmp"                                                                                                              
PORTDIR="/usr/portage"                                                                                                                 
PORTDIR_OVERLAY=""                                                                                                                     
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gphoto2 gpm iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de ca" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

Adding the emerge log did not work - I couldn't submit the bug.
Comment 1 Julian Ospald 2014-05-31 00:19:12 UTC
I don't see the complete build log anywhere.
Comment 2 bm-w 2014-05-31 00:59:38 UTC
Created attachment 377892 [details]
build log
Comment 3 Julian Ospald 2014-05-31 01:18:47 UTC
well, this is for sure another autotools crap failure

autotools sucks and randomly breaks if we run autoreconf in the ebuild, try with MAKEOPTS="-j1"
Comment 4 bm-w 2014-05-31 08:42:07 UTC
Created attachment 377918 [details]
build log with makeopts "-j1"

makeopts "-j1" does not work either. same result.
Comment 5 Julian Ospald 2014-05-31 12:04:50 UTC
+  31 May 2014; Julian Ospald <hasufell@gentoo.org> freeciv-2.4.2.ebuild,
+  files/freeciv-2.4.2-as-needed.patch:
+  don't rely on broken autoreconf wrt #511904

wait 30min, resync your tree and try again
Comment 6 bm-w 2014-05-31 21:22:41 UTC
emerges now. great job. thanks!