Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715092 - dev-java/openjfx-11.0.7_p0: fails to build with whitespace in LDFLAGS (gcc: error: : No such file or directory)
Summary: dev-java/openjfx-11.0.7_p0: fails to build with whitespace in LDFLAGS (gcc: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-03-27 19:56 UTC by Toralf Förster
Modified: 2024-03-06 15:29 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.59 KB, text/plain)
2020-03-27 19:56 UTC, Toralf Förster
Details
dev-java:openjfx-11.0.7_p0:20200327-181358.log (dev-java:openjfx-11.0.7_p0:20200327-181358.log,404.99 KB, text/plain)
2020-03-27 19:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,214.10 KB, text/plain)
2020-03-27 19:56 UTC, Toralf Förster
Details
environment (environment,165.34 KB, text/plain)
2020-03-27 19:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.98 KB, application/x-bzip)
2020-03-27 19:56 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-27 19:56:14 UTC
Starting process command gcc. Working directory: /var/tmp/portage/dev-java/openjfx-11.0.7_p0/work/rt-11.0.7+0/modules/javafx.graphics Command: gcc -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wno-error=cast-function-type -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -Werror=implicit-function-declaration -O2 -pipe -march=native  -falign-functions=32:25:16 -fno-common -Werror=format-security  -Wformat -Wno-error -I/opt/openjdk-bin-11.0.6_p10/include -I/opt/openjdk-bin-11.0.6_p10/include/linux -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -ffast-math -I/var/tmp/portage/dev-java/openjfx-11.0.7_p0/work/rt-11.0.7+0/modules/javafx.graphics/build/gensrc/headers/javafx.graphics -I/var/tmp/portage/dev-java/openjfx-11.0.7_p0/work/rt-11.0.7+0/modules/javafx.graphics/build/gensrc/jsl-decora -I/var/tmp/portage/dev-java/openjfx-11.0.7_p0/work/rt-11.0.7+0/modules/javafx.graphics/src/main/native-decora -o /var/tmp/portage/dev-java/openjfx-11.0.7_p0/work/rt-11.0.7+0/modules/javafx.graphics/build/native/jsl-decora/linux/SSEPerspectiveTransformPeer.obj /var/tmp/portage/dev-java/openjfx-11.0.7_p0/work/rt-11.0.7+0/modules/javafx.graphics/build/gensrc/jsl-decora/SSEPerspectiveTransformPeer.cc

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200322-135559

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri 27 Mar 2020 05:39:04 PM UTC

emerge -qpvO dev-java/openjfx
[ebuild  N    ] dev-java/openjfx-11.0.7_p0  USE="media -debug -doc -source" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2020-03-27 19:56:17 UTC
Created attachment 626452 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-27 19:56:20 UTC
Created attachment 626454 [details]
dev-java:openjfx-11.0.7_p0:20200327-181358.log
Comment 3 Toralf Förster gentoo-dev 2020-03-27 19:56:23 UTC
Created attachment 626456 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-27 19:56:26 UTC
Created attachment 626458 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-27 19:56:29 UTC
Created attachment 626460 [details]
etc.portage.tbz2
Comment 6 Larry the Git Cow gentoo-dev 2024-03-06 15:21:52 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(+)