Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 758932 - media-libs/opencolorio-1.1.1: Fails with clang because of Werror
Summary: media-libs/opencolorio-1.1.1: Fails with clang because of Werror
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-07 17:17 UTC by Haelwenn (lanodan) Monnier
Modified: 2021-07-17 15:54 UTC (History)
2 users (show)

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


Attachments
media-libs:opencolorio-1.1.1:20201207-171439.log (media-libs:opencolorio-1.1.1:20201207-171439.log,49.06 KB, text/x-log)
2020-12-07 17:17 UTC, Haelwenn (lanodan) Monnier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Haelwenn (lanodan) Monnier 2020-12-07 17:17:54 UTC
Created attachment 677161 [details]
media-libs:opencolorio-1.1.1:20201207-171439.log

When using clang as the default compiler, opencolorio fails to build.
Comment 1 Jonas Stein gentoo-dev 2020-12-07 21:20:24 UTC
please paste the emerge info
Comment 2 Haelwenn (lanodan) Monnier 2021-02-03 09:19:28 UTC
Sorry for the lag, got lost in other bugzilla emails.

$ emerge --info media-libs/opencolorio
Portage 3.0.13 (python 3.8.7-final-0, platforms/pc, gcc-9.3.0, glibc-2.32-r5, 5.10.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.9-gentoo-x86_64-AMD_Ryzen_5_PRO_3500U_w-_Radeon_Vega_Mobile_Gfx-with-glibc2.2.5
KiB Mem:    13897888 total,   3852464 free
KiB Swap:          0 total,         0 free
Timestamp of repository deter: Wed, 16 Dec 2020 23:53:18 +0000
Head commit of repository deter: e84f966bb3164f7209255235b45457cf0f01a383

Timestamp of repository flewkey-overlay: Mon, 01 Feb 2021 06:17:32 +0000
Head commit of repository flewkey-overlay: 683ec7ce653b4e9e9668c59dba464de67472ac58

Head commit of repository flussence: 80602b0594936114cc3d3d97cba86a743e5ba9a1

Timestamp of repository gnome-next: Sun, 31 Jan 2021 02:18:39 +0000
Head commit of repository gnome-next: bc30e8b1f25199e9bd5cf77fb15f7b911a130592

Head commit of repository guru: 5dcc4c2086d36d6b10c79e3162d5dc342d33f8d2

Timestamp of repository ixit: Sun, 31 Jan 2021 02:18:12 +0000
Head commit of repository ixit: 0f173a081c111a48b76eab4c3f4e1a84a4d6d3a4

Timestamp of repository pentoo: Mon, 01 Feb 2021 16:47:34 +0000
Head commit of repository pentoo: ed3264df85c027ed7041463f3f149e446fdf67ed

Timestamp of repository poly-c: Mon, 01 Feb 2021 13:47:34 +0000
Head commit of repository poly-c: 1d3b8734c0986d10b74e8d62ebac9347e00bc8a8

Timestamp of repository science: Mon, 01 Feb 2021 16:47:35 +0000
Head commit of repository science: f0aa202d6441023fea81a5383b2f213bf9657421

Timestamp of repository src_prepare-overlay: Mon, 01 Feb 2021 19:47:30 +0000
Head commit of repository src_prepare-overlay: cd3717420a40f2741ffe70104a59e8d96bf9591f

Head commit of repository gentoo: ff272cf2f16d0fbe0acd8295218075fd649ec0db

Head commit of repository lanodanOverlay: fed3e1dd2c76ebf348b06cfbe885bb21082ae286

sh lksh
ld GNU ld (Gentoo 2.34 p6) 2.34.0
ccache version 4.1 [enabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          3.7.9-r2::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.19.4::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r5::gentoo
Repositories:

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

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

flussence
    location: /var/db/repos/flussence
    sync-type: git
    sync-uri: https://repo.or.cz/flussence-overlay.git
    masters: gentoo
    priority: 0

gnome-next
    location: /var/db/repos/gnome-next
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gnome-next.git
    masters: gentoo
    priority: 0

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 0

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

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

poly-c
    location: /var/db/repos/poly-c
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/poly-c.git
    masters: gentoo
    priority: 0

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

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

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: 100

lanodanOverlay
    location: /var/db/repos/lanodanOverlay
    sync-type: git
    sync-uri: https://hacktivis.me/git/overlay.git
    masters: gentoo
    priority: 200

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-O2 -pipe -march=native -mtune=native -ggdb -Wall -Wextra -D_FORTIFY_SOURCE=2 -Werror=format-security -fstack-protector-strong -DEGL_NO_X11 -Qunused-arguments"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/udev/rules.d/ /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXX="clang++"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -ggdb -Wall -Wextra -D_FORTIFY_SOURCE=2 -Werror=format-security -fstack-protector-strong -DEGL_NO_X11 -Qunused-arguments"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --usepkg --binpkg-changed-deps=y"
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="-O2 -pipe -march=native -mtune=native -ggdb -Wall -Wextra -D_FORTIFY_SOURCE=2 -Werror=format-security -fstack-protector-strong -DEGL_NO_X11"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg ccache cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned python-trace qa-unresolved-soname-deps sandbox sfperms splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -mtune=native -ggdb -Wall -Wextra -D_FORTIFY_SOURCE=2 -Werror=format-security -fstack-protector-strong -DEGL_NO_X11"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ https://mirrors.dotsrc.org/gentoo/ https://gentoo.osuosl.org/ http://distfiles.gentoo.org"
INSTALL_MASK="/sbin/reboot /sbin/poweroff /sbin/shutdown"
LANG="C.utf8"
LDFLAGS="-Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="true"
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="(cuda) (pgo) acl acpi alsa amd64 apparmor bzip2 cacert caps ccache cjk clang crypt cryptsetup d3d9 dane device-mapper dri egl eglfs eme-free gentoo-dev glamor gles gles1 gles2 gpg gpm gtk3 hardened harfbuzz iconv icu idn iproute2 ipv6 jingle jpeg jumbo-build ldns libcxx libglvnd libproxy libtirpc libtommath libzfs lm-sensors mandoc metric mikmod modplug multilib multitarget ncurses nls nptl opencl opengl openmp opus pcre pie png portaudio qt3support readline sanitize sasl sctp seatd seccomp smp sndio spell split-usr ssl ssp symlink system-* system-av1 system-binutils system-boost system-bootloader system-bootstrap system-cairo system-cmark system-crontab system-ell system-ffmpeg system-freeverb3 system-harfbuzz system-heimdal system-icu system-info system-ipxe system-jpeg system-jsoncpp system-lcms system-leveldb system-libcxx system-libevent system-libs system-libvpx system-libyaml system-llvm system-lua system-lz4 system-man system-mathjax system-mesa system-mitkrb5 system-numpy system-openjfx system-python system-qemu system-renpy system-seabios system-sqlite system-ssl system-tbb system-unicode system-webp system-wfconfig system-wide system-wlroots system-zlib theora threads tre truetype udev unicode urandom usb uvm vaapi vorbis vulkan wayland wayland-only webp xattr xcsecurity xft xtpax zfs zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US en-GB fr fr-CA ja is jbo de de-DE ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua52 lua5-2" LUA_TARGETS="lua52 lua5-2" NGINX_MODULES_HTTP="access autoindex charset fastcgi gzip gzip_static limit_conn limit_req map memcached metrics mirror proxy push_stream rewrite scgi split_clients ssi upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi vhost_traffic_status headers_more stub_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="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:  CPPFLAGS, CTARGET, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Marco Scardovi (scardracs) 2021-07-16 16:32:50 UTC
Does the problem still happens on version 2+?
Comment 4 Haelwenn (lanodan) Monnier 2021-07-17 15:54:11 UTC
Turns out it got fixed some months ago via the following commit, btw opencolorio-2.0.0 builds fine here.

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

commit 7e726d850502018b6760da78dbd4a419603016b8
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-04-28 07:21:14 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-04-28 07:21:38 +0000

    media-libs/opencolorio: drop -Werror
    
    Reported-by: Austin Kilgore
    Closes: https://bugs.gentoo.org/786198
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 .../opencolorio/files/opencolorio-1.1.1-no-werror.patch      | 12 ++++++++++++
 media-libs/opencolorio/opencolorio-1.1.1.ebuild              |  1 +
 2 files changed, 13 insertions(+)