Bug 1472613 - openjfx-debuginfo-8.0.152-12.b04 is missing sources
openjfx-debuginfo-8.0.152-12.b04 is missing sources
Status: NEW
Product: Fedora
Classification: Fedora
Component: openjfx (Show other bugs)
27
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jonny Heggheim
Fedora Extras Quality Assurance
:
Depends On:
Blocks: DebugInfo
  Show dependency treegraph
 
Reported: 2017-07-19 02:20 EDT by Ville Skyttä
Modified: 2017-08-15 04:10 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ville Skyttä 2017-07-19 02:20:13 EDT
openjfx-debuginfo-8.0.152-12.b04 is missing sources. The build log doesn't contain native compiler command lines so more work is needed to find out why, but I suspect the native bits are not being built properly with $RPM_OPT_FLAGS which has not only debuginfo, but security implications as well.

This should not have passed the review in bug 1438673. It says:

> [x]: Useful -debuginfo package or justification otherwise.

But the debuginfo is not useful because it lacks sources, and there's no justification otherwise anywhere I can see.

rpmlint also noted the error in the review, but it went in unfixed:

> openjfx-debuginfo.x86_64: E: debuginfo-without-sources
Comment 1 Jonny Heggheim 2017-07-19 03:06:12 EDT
I began patching the build file, but there ended up with too many changes. I will ask if there are developers who can help me with this issue.
Comment 2 Ville Skyttä 2017-07-19 04:34:01 EDT
As the first step, I suggest making the build more verbose, i.e. native compiler command lines visible in the build output, so that examining becomes easier. (Ask upstream to add a build option to do this if one is not available yet.)
Comment 3 Jonny Heggheim 2017-07-19 05:36:02 EDT
I have sent a mail to the mailing list: http://mail.openjdk.java.net/pipermail/openjfx-dev/2017-July/020657.html

The gradle build allows --info and --debug flags, I will check if the gcc/g++ commands if printed with these flags.
Comment 4 Jonny Heggheim 2017-07-19 05:48:26 EDT
The --info flag was enough, here is one of the invocation of the compile command: 

Starting process 'command 'gcc''. Working directory: /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager Command: gcc -DJAVAARCH="amd64" -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-7.b12.fc26.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-7.b12.fc26.x86_64/include/linux -c -fPIC -I/home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/src/main/native/library/common -o /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/LinuxPlatform.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/src/main/native/library/common/LinuxPlatform.cpp


And here is a linking command:
Starting process 'command 'g++''. Working directory: /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager Command: g++ /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/Messages.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/PlatformString.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/Platform.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/JavaVirtualMachine.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/main.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/JavaUserPreferences.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/Package.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/Exports.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/GenericPlatform.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/Macros.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/IniFile.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/PlatformThread.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/Java.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/WindowsPlatform.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/FilePath.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/PosixPlatform.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/LinuxPlatform.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/Lock.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/PropertyFile.obj /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/native/linuxlauncher/obj/Helpers.obj -o /home/jonny/fedora-scm/openjfx/rt-8u152-b04/modules/fxpackager/build/classes/main/com/oracle/tools/packager/linux/libpackager.so -ldl -lpthread -shared
Comment 5 Jan Kurik 2017-08-15 04:10:48 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Note You need to log in before you can comment on or make changes to this bug.