Bug 2045726 - java-1.8.0-openjdk: FTBFS in Fedora rawhide/f36
Summary: java-1.8.0-openjdk: FTBFS in Fedora rawhide/f36
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.8.0-openjdk
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andrew John Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F36FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-01-25 18:27 UTC by Fedora Release Engineering
Modified: 2022-02-07 07:56 UTC (History)
7 users (show)

Fixed In Version: java-1.8.0-openjdk-1.8.0.322.b04-0.2.ea.fc36
Clone Of:
Environment:
Last Closed: 2022-02-07 07:56:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2022-01-25 18:27 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2022-01-25 18:27 UTC, Fedora Release Engineering
no flags Details
state.log (1.10 KB, text/plain)
2022-01-25 18:27 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2022-01-25 18:27:21 UTC
java-1.8.0-openjdk failed to build from source in Fedora rawhide/f36

https://koji.fedoraproject.org/koji/taskinfo?taskID=81786503


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Please fix java-1.8.0-openjdk at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
java-1.8.0-openjdk will be orphaned. Before branching of Fedora 37,
java-1.8.0-openjdk will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2022-01-25 18:27:25 UTC
Created attachment 1855016 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2022-01-25 18:27:26 UTC
Created attachment 1855017 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-01-25 18:27:28 UTC
Created attachment 1855018 [details]
state.log

Comment 4 Severin Gehwolf 2022-01-26 11:10:14 UTC
I'll look into it.

Comment 5 Severin Gehwolf 2022-01-27 15:26:42 UTC
The initial failure cause is:

/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.322.b04-0.1.ea.fc36.1.x86_64/openjdk/hotspot/src/share/vm/adlc/adlparse.cpp: In member function 'void ADLParser::frame_parse()':
/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.322.b04-0.1.ea.fc36.1.x86_64/openjdk/hotspot/src/share/vm/adlc/adlparse.cpp:1102:55: error: '%s' directive argument is null [-Werror=format-overflow=]
 1102 |   if (_AD._adl_debug > 1) fprintf(stderr,"Frame Form: %s\n", desc);
      |                                                       ^~
cc1plus: all warnings being treated as errors
gmake[6]: *** [/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.322.b04-0.1.ea.fc36.1.x86_64/openjdk/hotspot/make/linux/makefiles/adlc.make:220: ../generated/adfiles/output_c.o] Error 1
cc1plus: all warnings being treated as errors

A warning treated as error.

Comment 6 Andrew John Hughes 2022-01-27 16:04:12 UTC
We're already aware of this and are working on it: https://src.fedoraproject.org/rpms/java-1.8.0-openjdk/pull-request/151

Andrew Haley is looking into the remaining issue on x86_32.

Comment 7 Severin Gehwolf 2022-01-27 16:09:21 UTC
OK. To summarize:

(In reply to Andrew John Hughes from comment #6)
> We're already aware of this and are working on it:
> https://src.fedoraproject.org/rpms/java-1.8.0-openjdk/pull-request/151
 
So that --^ PR handles the adlc issues and the gdb backtrace crash (see bug 2041970).

Then we should be at x86-32 only failing to build due to the signal handling issue:

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/os_linux_x86.cpp:290
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.322.b04-0.2.ea.fc36.i386/openjdk/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp:290), pid=1838944, tid=0xf60d8ac0
#  fatal error: An irrecoverable SI_KERNEL SIGSEGV has occurred due to unstable signal handling in this distribution.
#
# JRE version:  (8.0_322-b04) (build )
# Java VM: OpenJDK Server VM (25.322-b04-debug mixed mode linux-x86 )
# Core dump written. Default location: /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.322.b04-0.2.ea.fc36.i386/core or core.1838944
#
# An error report file with more information is saved as:
# /builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.322.b04-0.2.ea.fc36.i386/hs_err_pid1838944.log
#
# If you would like to submit a bug report, please visit:
#   https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=java-1.8.0-openjdk&version=36
#
Current thread is 4128082624
Dumping core ...

That's what Andrew Haley is looking into.

Comment 8 Andrew John Hughes 2022-01-27 17:08:23 UTC
That's correct.

Comment 9 Fedora Update System 2022-02-07 07:53:20 UTC
FEDORA-2022-8a2e133345 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8a2e133345

Comment 10 Fedora Update System 2022-02-07 07:56:54 UTC
FEDORA-2022-8a2e133345 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


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