Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915727 - dev-java/openjfx-11.0.11_p1-r1 fails to build on task :graphics:compileDecoraNativeShadersLinux
Summary: dev-java/openjfx-11.0.11_p1-r1 fails to build on task :graphics:compileDecora...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-14 14:32 UTC by he.ousia
Modified: 2024-03-06 15:21 UTC (History)
1 user (show)

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


Attachments
build log (build.log.gz,12.11 KB, application/gzip)
2023-10-14 14:33 UTC, he.ousia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description he.ousia 2023-10-14 14:32:44 UTC
Execution failed for task ':graphics:compileDecoraNativeShadersLinux'.
> java.util.concurrent.ExecutionException: org.gradle.process.internal.ExecException: Process 'command 'gcc'' finished with non-zero exit value 1

Reproducible: Always




Portage 3.0.52 (python 3.11.6-final-0, default/linux/amd64/17.1/no-multilib, gcc-13, glibc-2.38-r5, 6.5.5-gentoo x86_64)
=================================================================
System uname: Linux-6.5.5-gentoo-x86_64-AMD_Ryzen_9_7950X_16-Core_Processor-with-glibc2.38
KiB Mem:   131626760 total,   2137584 free
KiB Swap:  268435452 total, 268435452 free
Timestamp of repository gentoo: Sat, 14 Oct 2023 14:00:01 +0000
Head commit of repository gentoo: 0ca8d86aa02490bdb0813c5a521b7fa46d03d431
sh bash 5.2_p15-r7
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r7::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.6::gentoo, 3.12.0::gentoo
dev-lang/rust:             1.73.0::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.2-r1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.51::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r7::gentoo, 2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.2::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.6::gentoo, 17.0.2::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.2-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.5-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r5::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~*"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver4 -O2 -pipe  -flto"
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=znver4 -O2 -pipe  -flto"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/     http://mirror.leaseweb.com/gentoo/     http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/     http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/     http://mirror.netcologne.de/gentoo/     http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/     http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/     http://mirror.init7.net/gentoo/     http://tux.rainside.sk/gentoo/     http://gentoo.mirror.web4u.cz/"
LANG="en_US"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j1"
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"
SHELL="/bin/bash"
USE="X a52 aac aacs acl alsa amd64 bittorrent bluray btrfs bzip2 cli connection-sharing context contrib contribdnn crypt cups cxx dbus dcaenc dhcpcd dri dts emboss exif extra fam fbcon fdk ffmpeg fontconfig fortran frei0r ftp gdbm geoclue geolocation gimp gps graphite gui iconv icu iptables jpeg kde lame lapack latex libass libglvnd libtirpc llvm lm-sensors lto mac minizip mpi ncurses no-multilib nptl nvenc ogg opencl opengl openmp opus pam parallel-compiler pcre plasma pthread pulseaudio qml qt5 qt6 readline resolvconf romio rustfmt sdl seccomp spirv split-usr ssd ssl svg syslog taglib tbb tensorpipe test-rust text theora threads tiff tools truetype unicode v4l vaapi vector-icons vorbis vulkan webp x264 x265 xattr xla xml zlib" ABI_X86="64" ADA_TARGET="gnat_2021" AMDGPU_TARGETS="gfx1031" 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="stage" 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 nlpsolver" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu fbdev amd radeon radeonsi vesa" 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:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 he.ousia 2023-10-14 14:33:10 UTC
Created attachment 872789 [details]
build log
Comment 2 Larry the Git Cow gentoo-dev 2024-03-06 15:21:53 UTC
The bug has been closed via the following commit(s):

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

commit 6da9779d9b80919be7a96f11a5316f74746d4d0f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-06 15:18:41 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-06 15:21:36 +0000

    dev-java/openjfx: various fixes to 11.x
    
    I don't even know where to start with this, so I'll keep it brief before
    I pop several veins.
    
    * Filter LTO (bundled gstreamer breaks).
    * Waste several hours debugging broken arg handling, despite inventing a DSL
      for the build system, making the same errors as CMake. Most of the build
      failure bugs linked are actually because of whitespace _somewhere_ within
      {C,CXX,LD}FLAGS. Strip it.
    * Respect AR, CC, CXX.
    * Various Modern C fixes from Fedora (and are upstream).
    
    Bug: https://bugs.gentoo.org/713488
    Bug: https://bugs.gentoo.org/857942
    Closes: https://bugs.gentoo.org/715092
    Closes: https://bugs.gentoo.org/719484
    Closes: https://bugs.gentoo.org/799227
    Closes: https://bugs.gentoo.org/915727
    Closes: https://bugs.gentoo.org/919413
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-java/openjfx/files/11/0001-c99.patch           |  22 ++
 dev-java/openjfx/files/11/0002-c99.patch           |  18 ++
 dev-java/openjfx/files/11/0003-c99.patch           |  19 ++
 dev-java/openjfx/files/11/respect-cc.patch         |  15 ++
 .../files/11/strip-blank-elements-flags.patch      |  29 +++
 dev-java/openjfx/openjfx-11.0.11_p1-r2.ebuild      | 231 +++++++++++++++++++++
 6 files changed, 334 insertions(+)