Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656252 - sci-libs/gdal-2.2.3-r1: pdfobject.cpp:1058:47: error: invalid conversion from ‘const GooString*’ to ‘GooString*’ [-fpermissive]
Summary: sci-libs/gdal-2.2.3-r1: pdfobject.cpp:1058:47: error: invalid conversion fro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
: 658762 (view as bug list)
Depends on:
Blocks: poppler-0.64.0
  Show dependency tree
 
Reported: 2018-05-22 03:05 UTC by Renich Bon Ciric
Modified: 2018-06-27 20:53 UTC (History)
13 users (show)

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


Attachments
patch and ebuild that solves it for me (gdal-2.2.3-r2.tar.gz,7.11 KB, patch)
2018-05-29 08:39 UTC, Stoian Ivanov
Details | Diff
patch for the cast (gdal-2.2.3-pdf-fix-cast.patch,540 bytes, patch)
2018-05-29 08:42 UTC, Stoian Ivanov
Details | Diff
ebuild using cast patch (gdal-2.2.3-r2.ebuild,7.43 KB, text/plain)
2018-05-29 08:43 UTC, Stoian Ivanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renich Bon Ciric 2018-05-22 03:05:36 UTC
Compilation was tried with MAKEOPTS="-j 1". 

I should also note that I have ruby25 as default in eselect. 

Here's my info: 

# emerge --info
Portage 2.3.38 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.3.0, glibc-2.26-r7, 4.16.10-gentoo x86_64)
=================================================================
System uname: Linux-4.16.10-gentoo-x86_64-AMD_Ryzen_7_1800X_Eight-Core_Processor-with-gentoo-2.4.1
KiB Mem:    65964936 total,  54491392 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 22 May 2018 01:29:23 +0000
Head commit of repository gentoo: 451c5fe7f511eeb430bfcc1c3161da2ed2543e81

Head commit of repository bitwig-overlay: 867ea1b0381b2cc855758c8fe6cd428e2714c2c6

Head commit of repository google-cloud-overlay: de4ee164a635fb7aa39bd165e19be9fa35922d1c

Head commit of repository flatpak-overlay: bdd61ed181740d480d420bc212e451f8b0c32516

sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p2) 2.30.0
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.14-r2::gentoo, 3.5.5-r1::gentoo
dev-util/cmake:           3.11.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

bitwig-overlay
    location: /usr/local/portage/bitwig-overlay
    sync-type: git
    sync-uri: https://github.com/bitwigstudio/bitwig-overlay.git
    masters: gentoo

google-cloud-overlay
    location: /usr/local/portage/google-cloud
    sync-type: git
    sync-uri: https://github.com/MichaelOVertolli/gcloud-Overlay.git
    masters: gentoo

local
    location: /usr/local/portage/local
    masters: gentoo

eclipse
    location: /var/lib/layman/eclipse
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/eclipse-overlay.git
    masters: gentoo
    priority: 50

flatpak-overlay
    location: /usr/local/portage/flatpak-overlay
    sync-type: git
    sync-uri: https://github.com/fosero/flatpak-overlay.git
    masters: gentoo
    priority: 50

tengine-overlay
    location: /var/lib/layman/tengine-overlay
    sync-type: laymansync
    sync-uri: https://github.com/damex/tengine-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--complete-graph"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en es en_US es_MX es_LA"
MAKEOPTS="-j17 -l15.0"
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 --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdda cdr cli colord crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam flac fortran gdbm gif glamor gmp gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jack jpeg lcms ldap libnotify libsecret mad mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl seccomp spell ssl startup-notification svg symlink systemd threads tiff tracker truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en es en-US es-MX es-LA" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="arm x86_64 aarch64" QEMU_USER_TARGETS="arm x86_64 aarch64" RUBY_TARGETS="ruby22 ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stoian Ivanov 2018-05-29 08:39:33 UTC
Created attachment 533930 [details, diff]
patch and ebuild that solves it for me
Comment 2 Stoian Ivanov 2018-05-29 08:41:09 UTC
(In reply to Stoian Ivanov from comment #1)
> Created attachment 533930 [details, diff] [details, diff]
> patch and ebuild that solves it for me

This is a tar.gz archive (should have been atodetected)
Comment 3 Stoian Ivanov 2018-05-29 08:42:14 UTC
Created attachment 533932 [details, diff]
patch for the cast

plaintext
Comment 4 Stoian Ivanov 2018-05-29 08:43:08 UTC
Created attachment 533934 [details]
ebuild using cast patch

plaintext
Comment 5 Renich Bon Ciric 2018-05-29 14:49:43 UTC
(In reply to Stoian Ivanov from comment #3)
> Created attachment 533932 [details, diff] [details, diff]
> patch for the cast
> 
> plaintext

This patch works. Thanks!
Comment 6 Alex Barker 2018-06-02 20:27:21 UTC
(In reply to Renich Bon Ciric from comment #5)
> This patch works. Thanks!

I too can confirm that the patch works via /etc/portage/patches.  Any word on when this can be committed?
Comment 7 Larry the Git Cow gentoo-dev 2018-06-19 09:09:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2fd2e5c98f0a2f84a519ff1b9f659991a704a82

commit d2fd2e5c98f0a2f84a519ff1b9f659991a704a82
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2018-06-18 22:05:37 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-06-19 09:08:55 +0000

    sci-libs/gdal: fix compilation with >=app-text/poppler-0.64.0
    
    Closes: https://bugs.gentoo.org/656252
    Closes: https://github.com/gentoo/gentoo/pull/8895
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-libs/gdal/files/gdal-2.2.3-goocast.patch |  11 +
 sci-libs/gdal/gdal-2.2.3-r2.ebuild           | 291 +++++++++++++++++++++++++++
 2 files changed, 302 insertions(+)
Comment 8 Andreas Sturmlechner gentoo-dev 2018-06-27 20:53:57 UTC
*** Bug 658762 has been marked as a duplicate of this bug. ***