Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823632 - media-gfx/hugin-2021.0.0 Fails to Compile: Libvigraimpex found. But vigraimpex seems to compiled without OpenEXR support. OpenEXR support is required for Hugin.
Summary: media-gfx/hugin-2021.0.0 Fails to Compile: Libvigraimpex found. But vigraimp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-11-13 18:05 UTC by danipo
Modified: 2022-02-15 23:41 UTC (History)
3 users (show)

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


Attachments
build log (hugin_log.txt,4.32 KB, text/plain)
2021-11-13 18:05 UTC, danipo
Details
--pretend (hugin_pretend.txt,246 bytes, text/plain)
2021-11-13 18:05 UTC, danipo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description danipo 2021-11-13 18:05:30 UTC
Created attachment 750951 [details]
build log

Emerging hugin-2020.0.0-r1 fails to compile. Might be related to a missing dependency OpenEXR. 

Libvigraimpex found.  But vigraimpex seems to compiled without OpenEXR
  support.  OpenEXR support is required for Hugin.

Output of --info:

Portage 3.0.28 (python 3.9.8-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.2.0, glibc-2.33-r7, 5.14.15-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.14.15-gentoo-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.33
KiB Mem:    32821140 total,  18944748 free
KiB Swap:    2097148 total,     53900 free
Timestamp of repository gentoo: Sat, 13 Nov 2021 16:30:01 +0000
Head commit of repository gentoo: 590d230eb0f49526037f0a6e49d6628421607284
Timestamp of repository beatussum-overlay: Tue, 09 Nov 2021 10:53:25 +0000
Head commit of repository beatussum-overlay: 9e85987b4a26832ee5de8cf3da78055720ae9474

Timestamp of repository brave-overlay: Fri, 12 Nov 2021 18:51:25 +0000
Head commit of repository brave-overlay: 20d0fadf4b1131241b4ddff258b20d65881076c9

Timestamp of repository dotnet: Tue, 09 Nov 2021 00:21:25 +0000
Head commit of repository dotnet: c2fff44784aed7ca47e88f41ac53a17efa06288d

Timestamp of repository guru: Thu, 11 Nov 2021 19:13:35 +0000
Head commit of repository guru: 66228660d1fa88ba7a97f151d91940912368b5e9

Timestamp of repository hering-overlay: Tue, 09 Nov 2021 10:53:11 +0000
Head commit of repository hering-overlay: 04dfd9467a7bc4c1d4dd7a21feab1df7b7c69553

Timestamp of repository jorgicio: Thu, 11 Nov 2021 19:13:37 +0000
Head commit of repository jorgicio: 38a7745f6f73f357437c6a9647475cd0a6460f8f

Head commit of repository pingwin-testing: 3995d5d4d0a29fa240ec809cdf3860ffef216b83

Timestamp of repository ppfeufer-gentoo-overlay: Sat, 13 Nov 2021 12:51:24 +0000
Head commit of repository ppfeufer-gentoo-overlay: 03b435d08e06b7846c8cbb27719eacf455724eb0

Timestamp of repository science: Wed, 10 Nov 2021 05:06:34 +0000
Head commit of repository science: 512cc0d1c4a693a6a80f6ea016f7b69447b0a3d7

Timestamp of repository tastytea: Tue, 09 Nov 2021 10:53:21 +0000
Head commit of repository tastytea: eb4e107b2ca3803beec3ca6ab5088fec6e743e55

Head commit of repository steam-overlay: bcdf7b7b1ffb3058a0d924e849a5abf18f364d9c

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0-r5::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.6.15::gentoo, 3.8.12_p1::gentoo, 3.9.8::gentoo, 3.10.0_p1::gentoo
dev-lang/rust:            1.56.1::gentoo
dev-util/cmake:           3.21.4::gentoo
sys-apps/baselayout:      2.8::gentoo
sys-apps/openrc:          0.44.8::gentoo
sys-apps/sandbox:         2.29::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.5::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

beatussum-overlay
    location: /var/db/repos/beatussum-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/beatussum-overlay.git
    masters: gentoo

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brave-overlay.git
    masters: gentoo

dotnet
    location: /var/db/repos/dotnet
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dotnet.git
    masters: gentoo

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

hering-overlay
    location: /var/db/repos/hering-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/hering-overlay.git
    masters: gentoo

jorgicio
    location: /var/db/repos/jorgicio
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/jorgicio.git
    masters: gentoo

pingwin-testing
    location: /var/db/repos/pingwin-testing
    sync-type: git
    sync-uri: https://github.com/danipoak/pingwin-testing.git
    masters: gentoo

ppfeufer-gentoo-overlay
    location: /var/db/repos/ppfeufer-gentoo-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ppfeufer-gentoo-overlay.git
    masters: gentoo

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/science.git
    masters: gentoo

tastytea
    location: /var/db/repos/tastytea
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tastytea.git
    masters: guru gentoo

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
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"
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 -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/ rsync://mirror.leaseweb.com/gentoo/ rsync://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ https://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://gentoo.cs.utah.edu/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13"
PKGDIR="/var/cache/binpkgs"
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 acl acpi activities alsa amd64 bash-completion branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gui iconv icu ipv6 jpeg jumbo-build kde kipi kwallet latex lcms libglvnd libnotify libtirpc mad minizip mng mp3 mp4 mpeg multilib ncurses nls nptl nvidia ogg opengl openmp opus pam pango pcre pdf plasma png policykit postproc ppds pulseaudio qml qt4 qt5 readline sdl seccomp secure-delete semantic-desktop spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2019" 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 sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis 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="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

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

media-gfx/hugin-2020.0.0-r1::gentoo was built with the following:
USE="-debug -lapack -python -raw -sift" ABI_X86="(64)" L10N="-ca -ca-valencia -cs -da -de -en-GB -es -eu -fi -fr -hu -it -ja -nl -pl -pt-BR -ro -ru -sk -sv -zh-CN -zh-TW" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Comment 1 danipo 2021-11-13 18:05:54 UTC
Created attachment 750954 [details]
--pretend
Comment 2 Kai Krakow 2021-11-14 15:06:23 UTC
It compiles for me with
```
sudo LDFLAGS="-Wl,--copy-dt-needed-entries" emerge -1a hugin
```

so it's probably some awkward symbol lookup issue.

This may be needed now due to gcc upgrades.
Comment 3 danipo 2021-11-16 01:43:28 UTC
This also worked for me.
Comment 4 Agostino Sarubbo gentoo-dev 2022-01-10 08:32:57 UTC
tinderbox has reproduced this issue with version 2021.0.0 - Updating summary.
Comment 5 Larry the Git Cow gentoo-dev 2022-02-15 23:41:36 UTC
The bug has been closed via the following commit(s):

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

commit ecadc9d1ebd6bff62bc1df3d617e7e6e8ab90ae5
Author:     Christophe Lermytte <gentoo@lermytte.be>
AuthorDate: 2022-02-15 23:14:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-15 23:41:08 +0000

    media-libs/vigra: fix OpenEXR-3 dependency
    
    Without the patch, OpenEXR-3 support is not included, regardless of USE=openexr
    
    (...)
    -- Searching for OpenEXR
    --    in default locations
    -- Could NOT find OpenEXR (missing: OPENEXR_HALF_LIBRARY OPENEXR_ILMIMF_LIBRARY)
    (...)
    
    With it, hugin-2021.0.0 (correctly) detects OpenEXR-3 support in vigra,
    and compiles just fine, closing below bug.
    
    (Upstream patch was modified scrubbed)
    
    Signed-off-by: Christophe Lermytte <gentoo@lermytte.be>
    Closes: https://bugs.gentoo.org/823632
    Closes: https://github.com/gentoo/gentoo/pull/24205
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/vigra/files/vigra-1.11.1-openexr3.patch |  37 +++++
 media-libs/vigra/vigra-1.11.1-r5.ebuild            | 161 +++++++++++++++++++++
 2 files changed, 198 insertions(+)