Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540132 - sci-libs/gdal-1.11.1-r3 stabilization
Summary: sci-libs/gdal-1.11.1-r3 stabilization
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Sci-geo Project
URL:
Whiteboard: was: sci-libs/gdal-1.11.1-r1 with app...
Keywords: STABLEREQ
: 490064 531008 540242 541306 (view as bug list)
Depends on: 413635
Blocks: python-3.4-stable 531008 541304 544034
  Show dependency tree
 
Reported: 2015-02-15 11:08 UTC by Mark Nowiasz
Modified: 2015-04-26 17:19 UTC (History)
24 users (show)

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


Attachments
build.log (build.log,363.87 KB, text/plain)
2015-02-15 11:09 UTC, Mark Nowiasz
Details
gdal-1.11.1-poppler-0.31.0-support.patch (gdal-1.11.1-poppler-0.31.0-support.patch,4.85 KB, patch)
2015-02-19 22:17 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Nowiasz 2015-02-15 11:08:26 UTC
When trying to upgrade poppler, sci-libs/gdal-1.11.1-r1 fails to compile:

pdfdataset.cpp: In constructor ‘GDALPDFOutputDev::GDALPDFOutputDev(SplashColorMode, int, GBool, SplashColorPtr, GBool, GBool)’:
pdfdataset.cpp:119:35: error: no matching function for call to ‘SplashOutputDev::SplashOutputDev(SplashColorMode&, int&, GBool&, Guchar*&, GBool&, GBool&)’


Reproducible: Always

Steps to Reproduce:
1. emerge -uDN @world @system
2.
3.
Actual Results:  
make[2]: Entering directory '/var/tmp/portage/sci-libs/gdal-1.11.1-r1/work/gdal-1.11.1/frmts/pdf'
x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -fPIC -DHAVE_SSE_AT_COMPILE_TIME  -Wall  -I/var/tmp/portage/sci-libs/gdal-1.11.1-r1/work/gdal-1.11.1/port -I/var/tmp/portage/sci-libs/gdal-1.11.1-r1/work/gdal-1.11.1/gcore -I/var/tmp/portage/sci-libs/gdal-1.11.1-r1/work/gdal-1.11.1/alg -I/var/tmp/portage/sci-libs/gdal-1.11.1-r1/work/gdal-1.11.1/ogr -I/var/tmp/portage/sci-libs/gdal-1.11.1-r1/work/gdal-1.11.1/ogr/ogrsf_frmts -DOGR_ENABLED -I/var/tmp/portage/sci-libs/gdal-1.11.1-r1/work/gdal-1.11.1/port -I/usr/include -I/usr/ -I/usr//include  -DHAVE_POPPLER -DPOPPLER_HAS_OPTCONTENT -DPOPPLER_BASE_STREAM_HAS_TWO_ARGS -DPOPPLER_0_20_OR_LATER -DPOPPLER_0_23_OR_LATER -I/usr/include -I/usr/include/poppler  -I.. -c -o ../o/pdfdataset.o pdfdataset.cpp
pdfdataset.cpp: In constructor ‘GDALPDFOutputDev::GDALPDFOutputDev(SplashColorMode, int, GBool, SplashColorPtr, GBool, GBool)’:
pdfdataset.cpp:119:35: error: no matching function for call to ‘SplashOutputDev::SplashOutputDev(SplashColorMode&, int&, GBool&, Guchar*&, GBool&, GBool&)’
                 bEnableBitmap(TRUE) {}
                                   ^
pdfdataset.cpp:119:35: note: candidates are:
In file included from pdfobject.h:61:0,
                 from pdfdataset.cpp:48:
/usr/include/poppler/SplashOutputDev.h:171:3: note: SplashOutputDev::SplashOutputDev(SplashColorMode, int, GBool, SplashColorPtr, GBool, SplashThinLineMode, GBool)
   SplashOutputDev(SplashColorMode colorModeA, int bitmapRowPadA,
   ^
/usr/include/poppler/SplashOutputDev.h:171:3: note:   no known conversion for argument 6 from ‘GBool {aka bool}’ to ‘SplashThinLineMode’
/usr/include/poppler/SplashOutputDev.h:167:7: note: SplashOutputDev::SplashOutputDev(const SplashOutputDev&)
 class SplashOutputDev: public OutputDev {
       ^
/usr/include/poppler/SplashOutputDev.h:167:7: note:   candidate expects 1 argument, 6 provided
pdfdataset.cpp: In static member function ‘static GDALDataset* PDFDataset::Open(GDALOpenInfo*)’:
pdfdataset.cpp:2830:67: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
                     fgets( szPassword, sizeof(szPassword), stdin );
                                                                   ^
../../GDALmake.opt:565: recipe for target '../o/pdfdataset.o' failed
make[2]: *** [../o/pdfdataset.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/sci-libs/gdal-1.11.1-r1/work/gdal-1.11.1/frmts/pdf'
GNUmakefile:10: recipe for target 'pdf-install-obj' failed
make[1]: *** [pdf-install-obj] Error 2
make[1]: Leaving directory '/var/tmp/portage/sci-libs/gdal-1.11.1-r1/work/gdal-1.11.1/frmts'
GNUmakefile:63: recipe for target 'frmts-target' failed
make: *** [frmts-target] Error 2



emerge --info =sci-libs/gdal-1.11.1-r1::gentoo
!!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Portage 2.2.17 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.20-r1, 3.18.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16420668 total,   3599624 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Sun, 15 Feb 2015 10:15:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.9::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3::gentoo, 1.11.6-r1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.5::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

eigenlay
    location: /var/lib/layman/eigenlay
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

owncloud-client
    location: /var/lib/layman/owncloud-client
    masters: gentoo
    priority: 50

scrill
    location: /var/lib/layman/scrill
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl acpi aim alsa amd64 apng audiofile avx bash-completion bcmath berkdb blas bluetooth branding bzip2 cairo calendar cdb cdda cddb cdinstall cdparanoia cdr chromium cli clutter colord consolekit cracklib crypt cryptsetup css cups curl curlwrappers cvs cxx dbus djvu dng dri dts dv dvb dvd dvdr encode enscript evo exif expat fam farstream ffmpeg fftw flac flickr fontconfig foomaticdb fortran ftp gd gdbm gdu geo geoip gif gimp git glut gmp gnuplot gnutls google gphoto2 graphicsmagick graphviz gsl gsm gstreamer gtk gtk3 gtkhtml gudev gzip handbook hbci hddtemp hdf5 iconv icq icu idn imagemagick imap imlib ipv6 jabber jack java java6 javascript jbig jingle jit joystick jpeg jpeg2k kde kdepim lame lapack lash latex lcms ldap libcaca libedit libffi libnotify libsamplerate libwww lm_sensors lua lzma lzo mad maildir matroska memlimit mercurial mhash mikmod milter mime mmap mms mmx mng modplug modules mono mp3 mp4 mpeg mpi mplayer msn mtp multilib musepack musicbrainz mysql mysqli nas ncurses netcdf nls nntp nocd nptl nsplugin ocr odbc offensive ofx ogg openal opencl openexr opengl openmax openmp openvg osc oscar pam pcntl pcre pda pdf pentax php plasma plotutils png policykit portaudio postgres ppds pulseaudio python qt3support qt4 quicktime raw rdesktop readline recode rss samba sasl scanner sdl semantic-desktop session sharedmem shorten slang slp smp sndfile snmp soap sockets sound sox speex spell sqlite sqlite3 sse sse2 sse3 ssl startup-notification subversion suid svg syslog szip taglib tcpd telepathy themes theora threads tiff timidity tokenizer truetype udev unicode upnp usb v4l vala vcd vdpau video videos vim-syntax vnc vorbis vpn vpnc wavpack webkit win32codecs wmf wxwidgets x264 xa xattr xcb xcomposite xface xft xinerama xml xmlrpc xmp xmpp xosd xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo yaz zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sci-libs/gdal-1.11.1-r1::gentoo was built with the following:
USE="aux_xml curl gif hdf5 java jpeg jpeg2k mysql netcdf odbc opencl pdf png postgres python sqlite threads -armadillo -debug -doc -fits -geos -gml -mdb -ogdi -perl -ruby -spatialite -xls" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_3 -python3_4"
Comment 1 Mark Nowiasz 2015-02-15 11:09:26 UTC
Created attachment 396498 [details]
build.log

gdal's build.log
Comment 2 Juergen Rose 2015-02-15 12:16:15 UTC
Same issue here.
Comment 3 Nikolaos Chatzidakis 2015-02-15 18:00:11 UTC
I have the same problem. ~amd64
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-16 08:58:02 UTC
*** Bug 540242 has been marked as a duplicate of this bug. ***
Comment 5 Tom-Steve Watzke 2015-02-16 13:50:01 UTC
Could be temporarily bypassed by disabling the pdf use flag:

sci-libs/gdal -pdf
Comment 6 Gary E. Miller 2015-02-16 22:18:15 UTC
(In reply to Tom-Steve Watzke from comment #5)
> Could be temporarily bypassed by disabling the pdf use flag:

I can confirm the prolem, and the workaround, on ~amd64
Comment 7 James 2015-02-19 17:31:19 UTC
Upstream has addressed this bug. They have a unified diff, but I can't get it to patch automatically...  Applying it manually worked fine:
http://trac.osgeo.org/gdal/changeset/28438#file0
Comment 8 Greg Turner 2015-02-19 22:17:58 UTC
Created attachment 397008 [details, diff]
gdal-1.11.1-poppler-0.31.0-support.patch

Just for the convenience of whomever is working on this or kludging around it, here is a rebase of the aformentioned patch (the raw unified version of which I fetched from http://trac.osgeo.org/gdal/changeset/28438?format=diff&new=28438), against an ebuild unpacked tree in PORTAGE_TMPDIR, applied with -p3.

W4M, at least, at the ebuild level

Full disclosure: not runtime tested; indeed ATM I can't even remember what gdal does..., so, sincere apologies in advance if this thing causes some horrible disaster for you :)
Comment 9 Michael Weber (RETIRED) gentoo-dev 2015-02-23 23:31:57 UTC
I just looked at it, it seems like the patch hasn't made it into the 1.11.2 release.
Comment 10 Michael Weber (RETIRED) gentoo-dev 2015-02-24 00:05:30 UTC
+*gdal-1.11.1-r2 (24 Feb 2015)
+
+  24 Feb 2015; Michael Weber <xmw@gentoo.org>
+  +files/gdal-1.11.1-poppler-0.31.0-support.patch, +gdal-1.11.1-r2.ebuild:
+  Add fix for bug 540132 by Greg Turner.
+
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2015-03-20 15:28:29 UTC
We need this stable because poppler has pending sec bugs. 
OK to stabilize?
Comment 12 Andreas K. Hüttel archtester gentoo-dev 2015-03-21 15:48:25 UTC
*** Bug 531008 has been marked as a duplicate of this bug. ***
Comment 13 Andreas K. Hüttel archtester gentoo-dev 2015-04-03 22:18:35 UTC
Considering this maintainer timeout. Blocks security bug 542220.

sci-libs/gdal-1.11.1-r3

Arches please do, target "amd64 ppc ppc64 x86"

For ppc64 this also requires stabilization of sci-libs/ogdi-3.2.0_beta2 (bug 413635).
Comment 14 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2015-04-04 20:34:57 UTC
amd64 stable
Comment 15 Hans de Graaff gentoo-dev Security 2015-04-06 07:52:34 UTC
*** Bug 541306 has been marked as a duplicate of this bug. ***
Comment 16 Pacho Ramos gentoo-dev 2015-04-18 11:11:04 UTC
*** Bug 490064 has been marked as a duplicate of this bug. ***
Comment 17 Pacho Ramos gentoo-dev 2015-04-18 12:47:35 UTC
ppc64 stable
Comment 18 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2015-04-26 14:51:15 UTC
x86 stable
Comment 19 Pacho Ramos gentoo-dev 2015-04-26 17:19:30 UTC
ppc stable, closing