Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347249 - sci-libs/gdal-1.6.3-r1: Failed Running aclocal
Summary: sci-libs/gdal-1.6.3-r1: Failed Running aclocal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-30 08:01 UTC by Thomas Kahle (RETIRED)
Modified: 2010-12-01 08:13 UTC (History)
10 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kahle (RETIRED) gentoo-dev 2010-11-30 08:01:50 UTC
Hi, current x86 - stable of sci-libs/gdal-1.6.3-r1 fails to build. 

>>> Preparing source in /var/tmp/portage/sci-libs/gdal-1.6.3-r1/work ...
 * eaclocal: '/var/tmp/portage/sci-libs/gdal-1.6.3-r1/work/gdal-1.6.3/m4' does not exist
 * Running aclocal -I /var/tmp/portage/sci-libs/gdal-1.6.3-r1/work/gdal-1.6.3/m4 ...                                        [ !! ]

 * Failed Running aclocal !


Reproducible: Always




$ emerge --info
Portage 2.1.9.25 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r12 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r12-i686-Intel-R-_Core-TM-2_Duo_CPU_L7500_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 30 Nov 2010 06:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
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="x86"
ACCEPT_LICENSE="* -@EULA nauty PUEL googleearth AdobeFlash-10.1 dlj-1.1 skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms sign splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en en_US de ja es fr it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180"
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="/var/lib/layman/java-overlay /var/lib/layman/x11 /var/lib/layman/lisp /var/lib/layman/emacs /var/lib/layman/sunrise /home/tom/tom-overlay /home/tom/gentoo/sci"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa anthy apache2 avahi bash-completion berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr cjk cli consolekit cracklib crypt ctype cups curl cxx daap dbus djvu dri dts dvd dvdr emacs encode exif expat fam fbcon ffmpeg firefox flac fortran ftp gd gdbm gif gimp glut gmp gnome gnome-keyring gnutls gpm graphviz gstreamer gtk guile hal hdaps iconv ieee1394 imagemagick imap imlib ipod ipv6 java javascript jpeg kde latex lcms ldap leim libnotify lm_sensors lzma m17n-lib mad migemo mikmod mime mmx mng modules mp3 mp4 mpeg mplayer mudflap mule musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin obex ocaml ogg oggvorbis openal opengl openmp pam pango pcmcia pcre pdf perl php plasma plotutils png policykit ppds pppd python qt3support qt4 readline samba sasl sdl semantic-desktop session slang smartcard spell sqlite sqlite3 sse ssl startup-notification svg sysfs tcpd texlive theora threads tiff tk truetype uim unicode usb v4l v4l2 visualization vorbis wicd wifi win32codecs wxwindows x264 x86 xcb xcomposite xft xine xinerama xml xorg xulrunner xv xvid zeroconf zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-dib0700" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US de ja es fr it" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2010-11-30 08:02:46 UTC
Potentially a candadite for stabeling a newer version?
Comment 2 Daniel Bausch 2010-11-30 08:38:22 UTC
This seems to be a bug in the ebuild, rather than the package: The path "/var/tmp/portage/sci-libs/gdal-1.6.3-r1/work/gdal-1.6.3/m4" does not exist because it should read "/var/tmp/portage/sci-libs/gdal-1.6.3-r1/work/all/gdal-1.6.3/m4".
Comment 3 Alex Buell 2010-11-30 10:21:07 UTC
I am experiencing the same problem, it's complaining about not finding m4 subdirectory, methinks the ebuild itself is broken, 

Please fix asap, this is supposed to be a stable ebuild. Thanks.
Comment 4 Dale 2010-11-30 12:41:36 UTC
Same error here as well.  Here is emerge --info in case it is needed:

root@smoker / # emerge --info
Portage 2.1.9.25 (default/linux/x86/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r3, 2.6.35-gentoo-r12 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r12-i686-AMD_Athlon-tm-_XP_2500+-with-gentoo-1.12.14
Timestamp of tree: Tue, 30 Nov 2010 11:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.3
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.8.5-r4, 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.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=30"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LANG="en_US"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600"
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://rsync21.us.gentoo.org/gentoo-portage"
USE="3dnow X aac acpi alsa auto-hinter automount avahi berkdb bzip2 cairo cddb cdr chroot cleartype cli clucene consolekit corefonts cracklib cups curl cxx dbus dri dvd dvdr emboss encode escreen esd exif fam fdftk flac fortran gdbm gif gimp gkrellm gnutls gphoto2 gpm gtk hal hbci hddtemp iconv ipv6 java javascript jbig jpeg jpeg2k justify kde lcms ldap libnotify libwww logrotate loop-aes mad mdnsresponder-compat mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin offensive ofx ogg opengl openmp pam pango parport pcre pdf perl png ppds ppp pppd python qt3support qt4 readline sasl sdl seamonkey semantic-desktop session spell sse ssl startup-notification svg sysfs syslog tcl tcpd tiff tk truetype type1 unicode usb vorbis webkit win32codecs wma wmf x264 x86 xcb xml xorg xv xvid yahoo zeroconf zlib" ALSA_CARDS="emu10k1" 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" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en_US en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 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, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2010-11-30 18:01:01 UTC
This is because gdal-1.6.3-r1 now uses ruby-ng_src_unpack() instead of the default src_unpack():

ruby-ng_src_unpack() {
    mkdir "${WORKDIR}"/all
    pushd "${WORKDIR}"/all &>/dev/null

We could fix the ebuild:

Index: gdal-1.6.3-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/gdal/gdal-1.6.3-r1.ebuild,v
retrieving revision 1.14
diff -u -B -r1.14 gdal-1.6.3-r1.ebuild
--- gdal-1.6.3-r1.ebuild        30 Nov 2010 03:04:15 -0000      1.14
+++ gdal-1.6.3-r1.ebuild        30 Nov 2010 18:00:27 -0000
@@ -59,6 +59,7 @@
        ruby? ( >=dev-lang/swig-1.3.32 )
        doc? ( app-doc/doxygen )"
 
+S="${WORKDIR}/all/${P}"
 AT_M4DIR="${S}/m4"
 
 pkg_setup() {

or better, fix its use of ruby-ng.eclass...
Comment 6 Hans de Graaff gentoo-dev Security 2010-11-30 19:38:13 UTC
(In reply to comment #5)

> We could fix the ebuild:

> +S="${WORKDIR}/all/${P}"

Yes, but not like this.

> or better, fix its use of ruby-ng.eclass...

Right. If you include ruby-ng.eclass you are expected to potentially support multiple ruby implementations. We deal with $S to support this. Use the all_ruby_<phase> phases for stuff that needs to happen outside of ruby versions, and each_ruby_<phase> for stuff related to ruby that should be carried out for each ruby version.

Or just remove ruby-ng.eclass, depend on dev-lang/ruby-1.8, and carry on. Given that the ebuild hardcodes ruby18 and that none of the ruby-ng.eclass functionality is actuall used this is probably your best bet now.

Comment 7 Thomas Kahle (RETIRED) gentoo-dev 2010-12-01 08:13:30 UTC
(In reply to comment #6)
> > or better, fix its use of ruby-ng.eclass...

I have reverted the respective commit since this is a stable ebuild.  So we are back to using the old "ruby" eclass, resulting in a repoman warning.  
Please *never* do such things to a stable ebuild. Also the ChangeLog does not include that you made any changes to the 1.6.3 ebuild. I think -r2 bump and dropping to ~arch would be appropriate, eclass migration is non-trivial.

Closing.