First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 100103
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Steve Arnold <nerdboy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gabriel Ebner <ge@gabrielebner.at>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gdal-1.2.6.ebuild a proposal for sci-libs/gdal-1.2.6-r1 text/plain Gabriel Ebner 2005-07-24 03:42 0000 3.94 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 100103 depends on: Show dependency tree
Show dependency graph
Bug 100103 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-24 03:40 0000
The ebuild calls ./configure with --prefix=${D}usr in order to work around the 
broken build system.  However this causes configure to write #define 
GDAL_PREFIX "${D}usr" to port/cpl_config.h.  GDAL uses this define to 
determine the search path for data files (such as gcs.csv). 
 
So if you want to set a srs with an EPSG code, as the following code does, 
GDAL will fail: 
 
import osr 
srs = osr.SpatialReference() 
srs.ImportFromEPSG(32633) 
 
A simple work-around for this bug would be to append the correct GDAL_PREFIX 
to port/cpl_config.h before calling make: 
 
    echo '#undef GDAL_PREFIX' >>port/cpl_config.h 
    echo '#define GDAL_PREFIX "/usr"' >>port/cpl_config.h 
 
With this inserted just before the line calling make, the ebuild installs fine 
and the code snippet works here. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 
2.6.12.1 x86_64) 
================================================================= 
System uname: 2.6.12.1 x86_64 AMD Opteron(tm) Processor 244 
Gentoo Base System version 1.6.13 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O3 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict unsermake" 
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub  http://gentoo.blueyonder.co.uk 
http://ftp.ntua.gr/pub/linux/gentoo/" 
LANG="de_AT.utf8" 
LINGUAS="de" 
MAKEOPTS="-j4" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="amd64 16bit X a52 aac aalib accessibility acl acpi ada aim aio alsa 
apache2 applet ared aredmem arts async atlas auctex audiofile avi 
ba-completion bash-completion bcmath bdf beep berkdb bidi bitmap-fonts blas 
bluetooth bonobo boo bzip2 bzlib c++ cairo calendar camaelon cap caps cdda 
cddb cdf cdio cdparanoia cdr cdrom cgi chroot cjk client clisp cln crypt 
cscope css csv ctype cups curl curlwrappers dba dbase dbi dbm dbus dbx dga 
dillo dio directfb djbfft dlopen dnd dnsdb doc dpms droproot dts dv dvd dvdr 
dvdread edl eds emacs emul-linux emul-linux-x86 encode enscript erandom 
escreen estraier ethereal etwin exif f77 faac faad fam fame fastcgi fb fbcon 
fbdev festival ffmpeg fftw finger fits fla flac flatfile flexresp flood 
fluidsynth fmod font-server foomaticdb fortran fpx freetts freetype 
frlargefiles ftp gb gcj gd gdbm geoip geos gif gimp gimpprint ginac gkrellm 
glade glep glgd glitz glut gmp gmtfull gmthigh gmtsuppl gmttria gnokii gnuplot 
gpgme gphoto2 gps graphviz grass gs gsl gstreamer gtk gtk2 gtkhtml guile hal 
haskell hdf hdf5 hlapi howl html http httpd icecast icon iconv icq icu ide idn 
ieee1394 image imagemagick imlib imlib2 inifile intl ipv6 irda ithreads jabber 
javascript jbig jikes jp2 jpeg jpeg2k junit kde kdeenablefinal kdepim 
kig-scripting kipi koffice-plugin ladcca ladspa lame lapack largeterminal 
latex layout-osx-like lcms ldb lesstif libcaca libdsk libsamplerate live 
logitech-mouse logrotate lua lzo lzw lzw-tiff mad mailbox maildir maildrop 
mailwrapper makecheck mapeditor maps math matroska mbox mbrola mcal md5sum mdb 
mha mhash mime mimencode ming mixer mjpeg mmap mng motif mozdevelop 
moznocompose moznoirc moznomail mozsvg mozxmlterm mp4live mpeg mpeg2 mpeg4 
mplayer msn multi-tty mythtv ncurses netcdf network nls nntp no-old-linux 
no_wxgtk1 nodrm nomotif nptl nptlonly nsplugin ntlm numarray numeric nviz objc 
ocaml ogg oggvorbis on-the-fly-crypt opengl openssl opie oscar pam pango 
pascal pcap pcntl pcre pda pdf pdflib perl pheaders php pic pie plotutils 
plugin png pnp posix povray ppds print priority private proj pthreads python 
qhull qt quicktime readline real recode reiserfs rtc ruby samba scanner sdl 
sendfile serial session slang smime smp sms sndfile snmp soap sockets softmmu 
sox speex spell spl sql sqlite ssl startup-notification stats stream stroke 
subp subtitles subversion svg svgz sysfs syslog sysvipc szip t1lib tabs tcltk 
tcpmd5 tcsim tetex tga theora threads thumbnail tidy tiff tokenizer tpctlir 
transcode translator truetype truetype-fonts type1-fonts uml unicode usb 
userlocales utf8 v4l v4l2 vcd vcdimager vim visualization vlm vnc vorbis wifi 
wmf wxwin wxwindows xanim xattr xchatdccserver xface xine xinerama xml xml2 
xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo yaz yv12 
zeroconf zlib zvbi linguas_de userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS

------- Comment #1 From Gabriel Ebner 2005-07-24 03:42:21 0000 -------
Created an attachment (id=64191) [edit]
a proposal for sci-libs/gdal-1.2.6-r1

------- Comment #2 From Jakub Moc 2005-07-24 03:45:14 0000 -------
@nerdboy: Please, also replace dependency on libungif with giflib - Bug
85720...

------- Comment #3 From Steve Arnold 2005-07-24 18:48:13 0000 -------
Fixed and updated...

First Last Prev Next    No search results available      Search page      Enter new bug