Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630052 - media-gfx/luminance-hdr-2.4.0 fails to compile against Qt v5.7.1
Summary: media-gfx/luminance-hdr-2.4.0 fails to compile against Qt v5.7.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-05 22:42 UTC by Mircea Sava
Modified: 2018-01-31 16:39 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,532.53 KB, text/x-log)
2017-09-05 22:44 UTC, Mircea Sava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mircea Sava 2017-09-05 22:42:14 UTC
Following recent libraw update, compilation fails with:

/usr/lib64/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib64/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `_edata'
/usr/lib64/libQt5Gui.so.5.7.1:(*IND*+0x0): multiple definition of `_end'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `__bss_start'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_edata'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_edata'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_end'
/usr/lib64/libQt5Core.so.5.7.1:(*IND*+0x0): multiple definition of `_end'
collect2: error: ld returned 1 exit status
make[2]: *** [test/CMakeFiles/TestImageQualityDialog.dir/build.make:123: test/TestImageQualityDialog] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/luminance-hdr-2.4.0/work/luminance-hdr-2.4.0_build'
make[1]: *** [CMakeFiles/Makefile2:2743: test/CMakeFiles/TestImageQualityDialog.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/media-gfx/luminance-hdr-2.4.0/work/luminance-hdr-2.4.0_build'
[100%] Built target TestHdrCreationWizard
make[1]: Leaving directory '/var/tmp/portage/media-gfx/luminance-hdr-2.4.0/work/luminance-hdr-2.4.0_build'
make: *** [Makefile:139: all] Error 2

Reproducible: Always

Steps to Reproduce:
1. emerge -u media-libs/libraw
2.
3.



Portage 2.3.6 (python 2.7.12-final-0, hardened/linux/amd64/selinux, gcc-5.4.0, glibc-2.23-r4, 4.9.24-hardened-gnu x86_64)
=================================================================
System uname: Linux-4.9.24-hardened-gnu-x86_64-Intel-R-_Core-TM-_i3-3110M_CPU_@_2.40GHz-with-gentoo-2.3
KiB Mem:    16290856 total,   7663664 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Tue, 05 Sep 2017 00:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

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

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/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=core-avx-i -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 selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://mirror.iawnet.sandia.gov/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ http://cosmos.illinois.edu/pub/gentoo/ rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l4"
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/tmp"
USE="X a52 aac aalib accessibility acl acpi alsa amd64 audiofile audit avahi bash-completion berkdb bindist blas bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr clamav cli consolekit cracklib crypt css cups curl cxx dbus deblob djvu dri dts dv dvd dvdr emboss encode exif fam fbcon ffmpeg fftw flac fontconfig gdbm geoip geolocation gif gimp git gnuplot gphoto2 gpm gps graphviz gsl gstreamer hardened hddtemp hdf5 iconv icu idn imlib inotify ipv6 jack jbig jemalloc jpeg jpeg2k justify kde kerberos ladspa lapack lash latex lcms ldap libnotify libsamplerate lm_sensors lua lzma mad matroska memcached memlimit mime mms mng modplug modules mozilla mp3 mp4 mpeg mpi mplayer mtp multilib musepack musicbrainz mysql mysqli ncurses netcdf networkmanager nls nntp nptl offensive ofx ogg open_perms openexr opengl openmp pam pax_kernel pcre pdf php pie plasma plotutils png policykit posix postgres postscript ppds python qml qt5 quicktime raw readline rss sasl scanner sctp sdl seccomp selinux semantic-desktop session slp smartcard smp sndfile snmp sockets socks5 sound sox speex spell sqlite ssl ssp startup-notification svg sybase syslog szip taglib tcl tcpd theora threads tiff tk tools truetype udev udisks unconfined unicode upower urandom usb utils v4l vaapi vcd vdpau vhosts vnc vorbis wavpack wayland webp wifi wmf wxwidgets x264 xattr xcb xcomposite xface xft xml xmlrpc xmp xmpp xpm xtpax xv xvid yaz zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 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" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="en en_US" LLVM_TARGETS="X86" NGINX_MODULES_HTTP="access auth_basic auth_pam autoindex browser cache_purge charset empty_gif fancyindex fastcgi geo gzip limit_conn limit_req map memcached metrics proxy realip referer rewrite scgi secure_link security split_clients ssi stub_status upload_progress upstream_check upstream_ip_hash userid uwsgi xslt" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="aarch64 arm ppc64 x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby22" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mircea Sava 2017-09-05 22:44:38 UTC
Created attachment 492714 [details]
build.log

full build log
Comment 2 Ptitjack35 2017-09-06 12:52:50 UTC
(In reply to Mircea Sava from comment #1)
> Created attachment 492714 [details]
> build.log
> 
> full build log

Same problem
Comment 3 Larry the Git Cow gentoo-dev 2018-01-31 16:39:37 UTC
The bug has been closed via the following commit(s):

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

commit 0d49100b3b536136a20e433b5cab0dead88c261e
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2018-01-30 23:10:15 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2018-01-31 16:36:42 +0000

    media-gfx/luminance-hdr: version bump to 2.5.1
    
     - Updated to EAPI 6
    
     - Ported no-git patch to 2.5.1 and made it more robust by simply
       setting GIT_SHA1 to an arbitrary string.
    
     - Ported fits-automagic and openmp-automagic patches
    
     - Updated dependencies:
         dev-qt/qtwebkit -> dev-qt/qtwebengine
         sci-libs/ccfits -> sci-libs/cfitsio
    
    Closes: https://bugs.gentoo.org/618154
    Closes: https://bugs.gentoo.org/630052
    Package-Manager: Portage-2.3.21, Repoman-2.3.6

 media-gfx/luminance-hdr/Manifest                   |  1 +
 .../files/luminance-hdr-2.5.1-docs.patch           | 17 +++++
 .../files/luminance-hdr-2.5.1-fits-automagic.patch | 17 +++++
 .../files/luminance-hdr-2.5.1-no-git.patch         | 17 +++++
 .../luminance-hdr-2.5.1-openmp-automagic.patch     | 32 +++++++++
 media-gfx/luminance-hdr/luminance-hdr-2.5.1.ebuild | 84 ++++++++++++++++++++++
 6 files changed, 168 insertions(+)