Bug 1623399 - -Wl,--as-needed: java-openjdk FTBFS in rawhide (F30)
Summary: -Wl,--as-needed: java-openjdk FTBFS in rawhide (F30)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: java-openjdk
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Severin Gehwolf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-29 09:39 UTC by Severin Gehwolf
Modified: 2018-08-30 15:03 UTC (History)
2 users (show)

Fixed In Version: java-openjdk-10.0.2.13-8.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-30 15:03:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Severin Gehwolf 2018-08-29 09:39:59 UTC
Description of problem:
java-openjdk fails to build from source in Fedora rawhide (F30) since August 16 (as detected by koshei). The same sources build fine on F29 and F28.

Failed task:
https://koji.fedoraproject.org/koji/taskinfo?taskID=29251533

Version-Release number of selected component (if applicable):
java-openjdk-10.0.2.13-7.fc30

How reproducible:
100%

Steps to Reproduce:
$ fedpkg clone -a java-openjdk && cd java-openjdk
$ fedpkg mockbuild --without slowdebug

Actual results:

Build fails with something like this:
LibraryWithFlags'
/usr/bin/ld: (.text.loader_LoadLibrary+0x104): undefined reference to `PR_Free'
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libfreebl.a(loader.o): in function `freebl_LoadDSO':
if test `/usr/bin/wc -l < /builddir/build/BUILD/java-10-openjdk-10.0.2.13-7.fc30.x86_64/openjdk/build/make-support/failure-logs/support_native_jdk.crypto.ec_libsunec_BUILD_LIBSUNEC_link.log` -gt 12; then /usr/bin/echo "   ... (rest of output omitted)" ; fi 
make/Init.gmk:333: Building on-failure 
++ /usr/bin/wc -l
+ test 40 -gt 12
+ /usr/bin/echo '   ... (rest of output omitted)'
   ... (rest of output omitted)
/usr/bin/printf "\n* All command lines available in /builddir/build/BUILD/java-10-openjdk-10.0.2.13-7.fc30.x86_64/openjdk/build/make-support/failure-logs.\n" 
make/Init.gmk:333: Building on-failure 
+ /usr/bin/printf '\n* All command lines available in /builddir/build/BUILD/java-10-openjdk-10.0.2.13-7.fc30.x86_64/openjdk/build/make-support/failure-logs.\n'
* All command lines available in /builddir/build/BUILD/java-10-openjdk-10.0.2.13-7.fc30.x86_64/openjdk/build/make-support/failure-logs.

Expected results:
Build passes.

Comment 1 Severin Gehwolf 2018-08-29 11:01:38 UTC
Proposed fix:
https://src.fedoraproject.org/rpms/java-openjdk/pull-request/17

Comment 2 Severin Gehwolf 2018-08-30 07:20:16 UTC
Should be fixed once this build completes:
https://koji.fedoraproject.org/koji/taskinfo?taskID=29375735


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