Installing gdal for the first time, it fails Aborting due to QA concerns: 24 files installed in /var/tmp/portage/sci-libs/gdal-1.7.2-r2/image///var/tmp/portage/sci-libs/gdal-1.7.2-r2/image/ build.log shows it trying to install into //usr/lib/python2.7/site-packages/osgeo (which is where python modules go!). I don't understand why QA complains Reproducible: Always Steps to Reproduce: 1.emerge gdal 2. 3. Actual Results: Aborting due to QA concerns: 24 files installed in /var/tmp/portage/sci-libs/gdal-1.7.2-r2/image///var/tmp/portage/sci-libs/gdal-1.7.2-r2/image/ Expected Results: Install gdal After the >>> Completed installing gdal-1.7.2-r2 into /var/tmp/portage/sci-libs/gdal-1.7.2-r2/image/ line in build.log, strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment var/tmp/portage/sci-libs/gdal-1.7.2-r2/image/usr/lib/python2.7/site-packages/osgeo/_ogr.so var/tmp/portage/sci-libs/gdal-1.7.2-r2/image/usr/lib/python2.7/site-packages/osgeo/_gdalconst.so var/tmp/portage/sci-libs/gdal-1.7.2-r2/image/usr/lib/python2.7/site-packages/osgeo/_osr.so var/tmp/portage/sci-libs/gdal-1.7.2-r2/image/usr/lib/python2.7/site-packages/osgeo/_gdal.so var/tmp/portage/sci-libs/gdal-1.7.2-r2/image/usr/lib/python2.7/site-packages/osgeo/_gdal_array.so usr/bin/ogrtindex usr/bin/gdal_translate usr/bin/gdal_contour usr/bin/gdaladdo usr/bin/gdalinfo usr/bin/gdalwarp usr/bin/gdal_grid usr/bin/gdaltransform usr/bin/gdalmanage usr/bin/testepsg usr/bin/gdal_rasterize usr/bin/gdaltindex usr/bin/gdaldem usr/bin/gdalbuildvrt usr/bin/gdalenhance usr/bin/ogr2ogr usr/bin/ogrinfo usr/bin/nearblack usr/lib/perl5/vendor_perl/5.12.2/i686-linux/auto/Geo/OGR/OGR.so usr/lib/perl5/vendor_perl/5.12.2/i686-linux/auto/Geo/OSR/OSR.so usr/lib/perl5/vendor_perl/5.12.2/i686-linux/auto/Geo/GDAL/Const/Const.so usr/lib/perl5/vendor_perl/5.12.2/i686-linux/auto/Geo/GDAL/GDAL.so usr/lib/libgdal.so.1.7.2 [33;01m*[0m QA Notice: // installed in ${D}/${D} [33;01m*[0m QA Notice: //usr installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7 installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo/gdalconst.py installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo/gdal_array.py installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo/_ogr.so installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo/_gdalconst.so installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo/_osr.so installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo/gdal.py installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo/ogr.py installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo/osr.py installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo/_gdal.so installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo/_gdal_array.so installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo/__init__.py installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osgeo/gdalnumeric.py installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/GDAL-1.7.2-py2.7.egg-info installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/gdalconst.py installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/gdal.py installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/ogr.py installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/osr.py installed in ${D}/${D} [33;01m*[0m QA Notice: //usr/lib/python2.7/site-packages/gdalnumeric.py installed in ${D}/${D} [31;01m*[0m ERROR: sci-libs/gdal-1.7.2-r2 failed: [31;01m*[0m Aborting due to QA concerns: 24 files installed in /var/tmp/portage/sci-libs/gdal-1.7.2-r2/image///var/tmp/portage/sci-libs/gdal-1.7.2-r2/image/ ------ emerge --info Portage 2.2_rc88 (default/linux/x86/10.0, gcc-4.5.2, glibc-2.12.1-r3, 2.6.36-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.36-gentoo-r5-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 08 Jan 2011 08:45:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r1, 2.7.1, 3.1.3 dev-util/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.8 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.3.5, 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -g -pipe" CHOST="i686-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/gentoo-release /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=native -O2 -g -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="-aut" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news noclean parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ http://212.219.56.133/sites/www.ibiblio.org/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://212.219.56.135/sites/www.ibiblio.org/gentoo/" LANG="en_GB.utf8" LC_ALL="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="EN en en_GB" MAKEOPTS="-j5" PKGDIR="/mnt/binpkg" 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="/var/lib/layman/kde-sunset /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amrnb amrwb ao apache2 audiofile automount bash-completion berkdb blas bluetooth bzip2 cairo caps cdb cddax cddb cdparanoia chroot cli consolekit cracklib crypt css cups curl cxx dbm dbus device-mapper djbfft dri dts dv dvd dvdr dvi emacs encode enscript epydoc examples exif fftw firefox fits fltk fluidsynth fontconfig fortran ftp gdbm gdu gif gimp glib gnuplot gnutls gphoto2 gpm gtk html iconv jack jack-tmpfs jpeg kqemu kvm lapack libsamplerate libv4l2 lm_sensors logrotate mbrola midi mmx mmxext modplug modules mp3 mplayer mtp mudflap mysql ncurses netjack network nls nptl nptlonly nsplugin nss ntp numeric nut offensive opengl openmp pam pango parport parse-clocks pcap pcre pdf perl png policykit portaudio pppd python python3 qt3support qt4 readline reiserfs rtc samba scanner serial session sharedmem sndfile sse sse2 ssl ssse3 stream subversion suid svg swat sysfs syslog tcpd templates theora threads tiff tk truetype udev unicode usb v4l v4l2 vnc x264 x86 xext xft xinetd xml xorg xprint xv zlib zvbi" ALSA_CARDS="cmipci ice1712 hda-intel bt878" 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 keyboard mouse " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="EN en en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga nv nouveau" 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, PORTAGE_RSYNC_EXTRA_OPTS
This is very similar to bug 206608 - but that concerned gdal 1.5.0 Sorry if I should have reopened that bug instead
Could you please post the output of # emerge -pv gdal
emerge -pv gdal These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] sci-libs/gdal-1.7.2-r2 USE="aux_xml curl fits gif jpeg mysql perl png python threads -debug -doc -ecwj2k -geos -gml -hdf5 -jpeg2k -netcdf -odbc -ogdi -postgres -ruby -sqlite" RUBY_TARGETS="ruby18" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB
I can't reproduce this. Could you please attach the build.log?
Created attachment 259307 [details] build.log As requested - build.log
From build.log: """ [...] checking for python setuptools... not found [...] """ From ${WORKDIR}/swig/python/GNUmakefile: """ [...] install: ifeq ($(PY_HAVE_SETUPTOOLS),1) $(PYTHON) setup.py install --root=$(DESTDIR) else $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(DESTDIR)$(INST_PREFIX) endif [...] """ So either DEPEND on dev-python/setuptools or patch GNUmakefile not prefix twice via --root and --prefix. Assigning to maintainer.
OOOPS - my fault. I had setuptools installed, but I'd updated to python 2.7 from 2.6, and python-updater had crashed (on exo needing pygobject re-emerged). I failed to check all the modules that it had missed, so it's possible the ebuild got confused... Setuptools would fail, since it was installed in the 2.6 python library (not 2.7) I re-emerged setuptools (emerge -e -O setuptools), and exo now builds fine. Sorry to waste your time
Closing...