Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339066 - sci-libs/gdal-1.6.3-r1 fails to build on hardened profile
Summary: sci-libs/gdal-1.6.3-r1 fails to build on hardened profile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on: 329499
Blocks:
  Show dependency tree
 
Reported: 2010-09-28 22:40 UTC by Agostino Sarubbo
Modified: 2012-05-24 19:04 UTC (History)
3 users (show)

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


Attachments
Build log (gdal-1.6.3-r1,380.97 KB, text/plain)
2010-09-28 22:51 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2010-09-28 22:40:44 UTC
gdal fails to build on amd64-nomultilib.

Reproducible: Always
Comment 1 Agostino Sarubbo gentoo-dev 2010-09-28 22:51:19 UTC
Created attachment 248934 [details]
Build log

i try to set GDAL_CONFIGURE_OPTS= but the result is same
Comment 2 Agostino Sarubbo gentoo-dev 2010-09-28 22:51:47 UTC
Portage 2.1.9.12 (hardened/linux/amd64/10.0/no-multilib, gcc-4.3.4, glibc-2.11.2-r0, 2.6.34-hardened-r6 x86_64)
=================================================================
System uname: Linux-2.6.34-hardened-r6-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2160_@_1.80GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 28 Sep 2010 11:00:21 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.5-r1, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4
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="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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="-O2 -march=core2 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="it"
MAKEOPTS="-j3"
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="/usr/local/portage"
SYNC="rsync://134.68.240.40/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cairo cdr cli consolekit cracklib crypt custom-cflags custom-optimization cxx dbus dri dvd dvdr ffmpeg gdbm gif gpm gstreamer gtk hal hardened iconv java jpeg jpeg2k justify kde lame mms mmx modules mp3 mpeg mudflap ncurses networkmanager nls nptl nptlonly nsplugin opengl openmp pam pcre perl pic png pppd python qt3support qt4 readline reflection session sse sse2 ssl svg symlink sysfs tcpd test threads tiff unicode urandom x264 xcb xorg zlib" ALSA_CARDS="hda-intel" 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" 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2010-10-04 14:54:42 UTC
Does 1.7.2-r1 fail too?
Comment 4 Magnus Granberg gentoo-dev 2010-10-11 17:33:52 UTC
make[1]: Leaving directory `/var/tmp/portage/sci-libs/gdal-1.7.2-r1/work/gdal-1.7.2/apps'
(cd swig; make build)
make[1]: Entering directory `/var/tmp/portage/sci-libs/gdal-1.7.2-r1/work/gdal-1.7.2/swig'
for dir in python perl ; do (cd $dir; make build) || exit; done
make[2]: Entering directory `/var/tmp/portage/sci-libs/gdal-1.7.2-r1/work/gdal-1.7.2/swig/python'
python setup.py build
Traceback (most recent call last):
  File "setup.py", line 51, in <module>
    import numpy
  File "/usr/lib64/python2.6/site-packages/numpy/__init__.py", line 154, in <module>
    import ctypeslib
  File "/usr/lib64/python2.6/site-packages/numpy/ctypeslib.py", line 60, in <module>
    import ctypes
  File "/usr/lib64/python2.6/ctypes/__init__.py", line 546, in <module>
    CFUNCTYPE(c_int)(lambda: None)
MemoryError
Comment 5 Agostino Sarubbo gentoo-dev 2010-10-11 18:50:22 UTC
now i have not this installation...in the future i'll search to reproduce this bug
Comment 6 Magnus Granberg gentoo-dev 2010-10-12 21:42:41 UTC
python-2.6.6-r1 should fix the error.
Comment 7 Vincent de Phily 2010-10-27 17:32:46 UTC
I had the same problem with gdal, and the upgrade to python-2.6.6-r1 fixed it.

Note that unstable python-2.6.6-r1 and >=portage-2.1.9 are therefore necessary to build stable gdal.
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2011-06-17 09:48:49 UTC
Is this still an issue? Also try gdal-1.8.0 if so
Comment 9 Agostino Sarubbo gentoo-dev 2011-06-17 12:41:29 UTC
(In reply to comment #8)
> Is this still an issue? Also try gdal-1.8.0 if so

same as comment #5

Anyone can check?
Comment 10 Magnus Granberg gentoo-dev 2011-10-18 18:05:32 UTC
sci-libs/gdal-1.8.1-r1 USE aux_xml jpeg png python   build and install fine for me with python 2.7.2 installed
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2012-05-24 19:04:54 UTC
I tested on 1.8.1-r1, works fine. Closing as fixed.