Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615058 - media-gfx/rawtherapee-5.0: link error: undefined reference to `VTT for Gtk::TreeViewColumn'
Summary: media-gfx/rawtherapee-5.0: link error: undefined reference to `VTT for Gtk::T...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Francesco Riosa
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-09 09:01 UTC by Klaus Kusche
Modified: 2017-08-06 22:07 UTC (History)
3 users (show)

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


Attachments
emerge log (media-gfx:rawtherapee-5.0:20170409-065642.log,391.03 KB, text/plain)
2017-04-09 09:03 UTC, Klaus Kusche
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Kusche 2017-04-09 09:01:33 UTC
emerge fails when linking with several 
undefined reference to `VTT for Gtk::TreeViewColumn'
and
undefined reference to `vtable for Gtk::TreeViewColumn'
for history.cc and preferences.cc.

Happens both with and without lto.

emerge --info
Portage 2.3.5 (python 2.7.13-final-0, default/linux/amd64/13.0/no-multilib, gcc-5.4.0, glibc-2.24-r1, 4.9.20-hardened x86_64)
=================================================================
System uname: Linux-4.9.20-hardened-x86_64-Intel-R-_Core-TM-_i7-3940XM_CPU_@_3.00GHz-with-gentoo-2.3
KiB Mem:    32900792 total,  22818808 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 09 Apr 2017 06:15:01 +0000
sh dash 0.5.9.1-r1
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.13::gentoo, 3.5.3::gentoo
dev-util/cmake:           3.7.2-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.24.2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-11.x Oracle-BCLA-JavaSE google-chrome googleearth Vivaldi FraunhoferFDK"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -flto -fuse-linker-plugin -O3 -fomit-frame-pointer -fweb -ftracer -fivopts -frename-registers -maccumulate-outgoing-args -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -flto -fuse-linker-plugin -O3 -fomit-frame-pointer -fweb -ftracer -fivopts -frename-registers -maccumulate-outgoing-args -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build --quiet-fail --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles keeptemp keepwork merge-sync news noclean 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="http://linux.rz.rub.de/download/gentoo-mirror http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo http://distfiles.gentoo.org"
LANG="en_DE.iso885915"
LC_ALL="en_DE.iso885915"
LDFLAGS="-march=native -mtune=native -flto -fuse-linker-plugin -O3 -fomit-frame-pointer -fweb -ftracer -fivopts -frename-registers -maccumulate-outgoing-args -pipe"
MAKEOPTS="-j8"
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="/var/portage"
USE="64bit X a52 aac adobe-cff alsa amd64 apng applet archive ass avx bzip2 cacert cairo cdda cdparanoia clang cli clipboard clockdiff contrast cups curl cxx dbus dconf demosaic detex devfs-compat dga divx dns dot dri dri3 drm dts dvd dvdnav dvdr dvi dvipdfm egl encode epspdf exif expat extra faad fdk ffmpeg fftw flac fontconfig foomaticdb fts3 g3dvl gallium gbm gdk-pixbuf gegl gif gimp glamor gles gles1 gles2 glib glibc-omitfp gmp gold graphics gs gstreamer gtk gtk3 gudev harfbuzz hpack-tools hpn htmlreport http http2 hwaccel hwdb iconv icu imagemagick inotify javascript jbig jemalloc jemalloc3 jit jpeg jpeg2k kpathsea kvazaar lasi latex latex3 lcdfilter lcms leaps_timezone lensfun libkms libnotify libopts libsamplerate libwww lightning llvm llvm-gcc llvm-shared-libs lz4 lzma lzo mad matroska metalink metric midi minizip mmap mms mmx mmxext mng modern-top modules mp3 mpeg mpfr mta mudflap multicall native-extensions natspec ncat ncurses ndiff nping nptl nscd offensive ogg oldnet opencl opengl openmax openmp openvg opus orc osmesa pam pango pax_kernel pcap pcre pdf pdfimport pic plugins png policykit postproc postscript ppds proprietary-codecs pstricks pth ptpax quicktime r600-llvm-compiler rar raw readline realmedia right_timezone rpc rtc rule_generator sanitize scanner schroedinger scope seccomp secure-delete session smp sndfile sound sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 sse4_2 ssh ssl ssse3 svc svg symlink sync-plugin-portage system-cairo system-ffmpeg system-harfbuzz system-icu system-jpeg system-jsoncpp system-libevent system-libvpx system-sqlite systemd t1lib texi2html theora threads thunar tiff tools tracepath tremor truetype udev udisks unicode unlock-notify unwind usb utils v4l v4l2 vaapi vdpau vim-with-x vorbis vpx webkit2 webp wext wifi wmf wmp wxwidgets x264 x265 xa xattr xcb xcomposite xetex xkb xmp xorg xpm xrandr xtpax xulrunner xv xvid xvmc zenmap 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" 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" INPUT_DEVICES="keyboard evdev synaptics" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="en" LLVM_TARGETS="AMDGPU BPF X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_5 python2_7" RUBY_TARGETS="ruby23" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi amdgpu" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Klaus Kusche 2017-04-09 09:03:02 UTC
Created attachment 469530 [details]
emerge log
Comment 2 Francesco Riosa 2017-04-25 16:24:58 UTC
seem to be a gcc bug recently fixed in trunk:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69953
Comment 3 Francesco Riosa 2017-04-25 16:39:11 UTC
(In reply to Klaus Kusche from comment #0)
> 
> Happens both with and without lto.
> 

Recompile also dev-cpp/gtkmm:3.0 without lto
Comment 4 Patrice Clement gentoo-dev 2017-08-06 22:07:01 UTC
commit f4a7cee26469d2116e815c907e618707054a7467 (HEAD -> master, origin/master, origin/HEAD)
Author:     Francesco Riosa <vivo75@gmail.com>
AuthorDate: Sun Aug 6 18:30:09 2017 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Mon Aug 7 00:03:10 2017 +0200

media-gfx/rawtherapee-5.2: version bump + cleanup.

Gentoo-Bug: https://bugs.gentoo.org/626108
Gentoo-Bug: https://bugs.gentoo.org/520932
Gentoo-Bug: https://bugs.gentoo.org/615058

Closes: https://github.com/gentoo/gentoo/pull/5326

media-gfx/rawtherapee/Manifest                     |  3 +-
.../files/rawtherapee-4.2-CVE-2015-3885.patch      | 28 ----------
.../files/rawtherapee-4.2-build-cxx11-2.patch      | 14 -----
.../files/rawtherapee-4.2-build-cxx11.patch        | 20 -------
.../rawtherapee/files/rawtherapee-4.2-cxx11.patch  | 27 ----------
.../rawtherapee/files/rawtherapee-4.2-sigc26.patch | 47 -----------------
media-gfx/rawtherapee/metadata.xml                 |  2 +-
media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild    | 61 ----------------------
...wtherapee-5.0.ebuild => rawtherapee-5.2.ebuild} | 17 +++---
9 files changed, 11 insertions(+), 208 deletions(-)
delete mode 100644 media-gfx/rawtherapee/files/rawtherapee-4.2-CVE-2015-3885.patch
delete mode 100644 media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11-2.patch
delete mode 100644 media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11.patch
delete mode 100644 media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch
delete mode 100644 media-gfx/rawtherapee/files/rawtherapee-4.2-sigc26.patch
delete mode 100644 media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild
rename media-gfx/rawtherapee/{rawtherapee-5.0.ebuild => rawtherapee-5.2.ebuild} (83%)

PR merged, thanks!