Summary: | sci-libs/gdal-1.6.3-r1: Failed Running aclocal | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Kahle (RETIRED) <tomka> |
Component: | Current packages | Assignee: | Steve Arnold <nerdboy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ap, gottlieb, JakesAddress, jer, john_r_graham, maverick6664, petr.pisar, rdalek1967, ruby, sci-geosciences |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Thomas Kahle (RETIRED)
![]() Potentially a candadite for stabeling a newer version? 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". 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. 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 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... (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. (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. |