Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353785 - sci-physics/lightspeed-1.2a-r1 fails to emerge "Failed Running autoconf"
Summary: sci-physics/lightspeed-1.2a-r1 fails to emerge "Failed Running autoconf"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-05 23:32 UTC by Kashif
Modified: 2011-04-24 18:10 UTC (History)
2 users (show)

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


Attachments
Ebuild environment file as mentioned in the build log (environment,105.75 KB, text/plain)
2011-02-06 09:10 UTC, Kashif
Details
autoconf.out (autoconf.out,356 bytes, text/plain)
2011-02-06 17:14 UTC, Kashif
Details
fixed lightspeed-1.2a-r1.ebuild (lightspeed-1.2a-r1.ebuild,1.74 KB, text/plain)
2011-04-01 23:52 UTC, Alex Belykh
Details
lightspeed-1.2a-r1.patch to use with the fixed ebuild (lightspeed-1.2a-r1.patch,592 bytes, patch)
2011-04-01 23:54 UTC, Alex Belykh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kashif 2011-02-05 23:32:56 UTC
Emerge fails. See build log.

Reproducible: Always

Steps to Reproduce:
1.emerge lightspeed
2.
3.

Actual Results:  
Emerge fails.

Expected Results:  
Emerge succeeds.

Build log:


 * Package:    sci-physics/lightspeed-1.2a-r1
 * Repository: gentoo
 * Maintainer: sci-physics@gentoo.org
 * USE:  amd64 elibc_glibc kernel_linux multilib nls truetype userland_GNU
>>> Unpacking source...
>>> Unpacking lightspeed-1.2a.tar.gz to /var/tmp/portage/sci-physics/lightspeed-
1.2a-r1/work
>>> Unpacking objects-1.tar.gz to /var/tmp/portage/sci-physics/lightspeed-1.2a-r
1/work
>>> Unpacking lightspeed_1.2a-7.diff.gz to /var/tmp/portage/sci-physics/lightspe
ed-1.2a-r1/work
>>> Source unpacked in /var/tmp/portage/sci-physics/lightspeed-1.2a-r1/work
>>> Preparing source in /var/tmp/portage/sci-physics/lightspeed-1.2a-r1/work/lig
htspeed-1.2a ...
 * Applying lightspeed_1.2a-7.diff ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/sci-physics/lightspeed-1.2a-r1/work/
lightspeed-1.2a' ...
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf ...
 [ !! ]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sci-physics/lightspeed-1.2a-r1/temp/autoconf.out

 * ERROR: sci-physics/lightspeed-1.2a-r1 failed:
 *   Failed Running autoconf !
 * 
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 2923:  Called eautoreconf
 *   environment, line  928:  Called eautoconf
 *   environment, line  864:  Called autotools_run_tool 'autoconf'
 *   environment, line  405:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * 
 * If you need support, post the output of 'emerge --info =sci-physics/lightspeed-1.2a-r1',
 * the complete build log and the output of 'emerge -pqv =sci-physics/lightspeed-1.2a-r1'.
 * The complete build log is located at '/var/tmp/portage/sci-physics/lightspeed-1.2a-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-physics/lightspeed-1.2a-r1/temp/environment'.
 * S: '/var/tmp/portage/sci-physics/lightspeed-1.2a-r1/work/lightspeed-1.2a'

##########################

emerge --info =sci-physics/lightspeed-1.2a-r1
Portage 2.1.9.25 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 05 Feb 2011 16:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.5.4-r4, 2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersync"
GENTOO_MIRRORS="ftp://ftp.ds.karen.hj.se/gentoo/ http://ftp.ds.karen.hj.se/gentoo/ ftp://ftp.ing.umu.se/linux/gentoo/ http://ftp.ing.umu.se/linux/gentoo/ http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ ftp://ftp.df.lth.se/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="   "
SYNC="rsync://rsync.se.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amd64 aoss asf bash-completion berkdb bluetooth branding bzip2 cairo cli consolekit cracklib crypt cups cxx dbus dri dts dvd emboss encode exif fam flac fortran gdbm gdu gif glitz gnome gpm gstreamer gtk iconv ipv6 java jpeg lcms ldap libnotify lm_sensors lzma mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses new-login nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session sound spell sqlite sse sse2 sse3 sse4 ssl ssse3 startup-notification svg symlink sysfs tcpd threads tiff tk truetype udev unicode usb vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver 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 mmap_emul 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 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" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

#####################################3

emerge -pqv =sci-physics/lightspeed-1.2a-r1
[ebuild  N    ] sci-physics/lightspeed-1.2a-r1  USE="nls truetype" LINGUAS="-es"
Comment 1 Rafał Mużyło 2011-02-05 23:45:59 UTC
And the file, this log mentions ?
Comment 2 Kashif 2011-02-06 09:10:30 UTC
Created attachment 261636 [details]
Ebuild environment file as mentioned in the build log
Comment 3 Rafał Mużyło 2011-02-06 16:52:29 UTC
Not quite, I was talking about /var/tmp/portage/sci-physics/lightspeed-1.2a-r1/temp/autoconf.out.
Comment 4 Kashif 2011-02-06 17:14:34 UTC
Created attachment 261657 [details]
autoconf.out
Comment 5 Alex Belykh 2011-04-01 23:52:57 UTC
Created attachment 268161 [details]
fixed lightspeed-1.2a-r1.ebuild

The problem was due to implicit dependency on gtk+-1.2 lib. More specifically, on "/usr/share/aclocal/gtk.m4" aclocal package, that comes with it and defines AM_PATH_GTK macro.

There are two ways to solve the problem.
a) add build-time dependency on "x11-libs/gtk+:1" to ebuild.
b) remove offending code branch from "configure.in", which refers to AM_PATH_GTK macro, using a patch.

I have chosen the patch way, because, despite the app supporting both gtk-1.2 and gtk-2.0, the current ebuild explicitly forces it to build using gtk-2.0.
Comment 6 Alex Belykh 2011-04-01 23:54:09 UTC
Created attachment 268163 [details, diff]
lightspeed-1.2a-r1.patch to use with the fixed ebuild
Comment 7 Sébastien Fabbro (RETIRED) gentoo-dev 2011-04-07 18:37:28 UTC
fixed. thanks Alex!
Comment 8 Kashif 2011-04-24 18:10:49 UTC
Great job! It works perfect.