Bug 2266641

Summary: erlang-corba fails to build with java-21-openjdk
Product: [Fedora] Fedora Reporter: Petra Alice Mikova <pmikova>
Component: erlang-corbaAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-maint-sig, jvanek, lemenkov, pmikova
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: erlang-corba-5.2.1-2.fc39 erlang-corba-5.2.1-3.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-26 01:27:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2262141    

Description Petra Alice Mikova 2024-02-28 16:47:23 UTC
erlang-corba fails to build with java-21-openjdk as sytem JDK. See https://fedoraproject.org/wiki/Changes/Java21.

For the build logs, see: https://koji.fedoraproject.org/koji/taskinfo?taskID=114133461
https://kojipkgs.fedoraproject.org/work/tasks/3629/114133629/state.log
https://kojipkgs.fedoraproject.org/work/tasks/3629/114133629/build.log
https://kojipkgs.fedoraproject.org/work/tasks/3629/114133629/root.log
https://kojipkgs.fedoraproject.org/work/tasks/3629/114133629/mock_output.log
https://kojipkgs.fedoraproject.org/work/tasks/3629/114133629/hw_info.log
We run the rebuild in side tag f41-build-side-84507, but as fail ratio was small, we expect this side tag to be merged into rawhide ASAP.
To reproduce before this date simply: fedpkg clone erlang-corba; cd erlang-corba;  fedpkg build --target f41-build-side-84507; #The target is crucial.
After merge, the usual fedpkg build in rawhide should do.

We had tried aprox 400 packages, and aprox 55 had failed, so the java-21-openjdk will be system JDK in f40, and you should fix your package if you want to keep it alive. Usually the fix is simple, and best is to update the package to latest upstream version. Fix the issue in both f40 and rawhide, if possible, the side tag and rebuild of f40 (and bugs) will follow soon.
Let us know here if you have any questions, here in bug, or at java-devel.org .

We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side if needed.

Comment 1 jiri vanek 2024-03-13 13:02:29 UTC
+ ERL_TOP=/builddir/build/BUILD/corba-5.1
+ make docs V=1
Error! Failed to eval: io:format("~s", [erlang:system_info(otp_release)]).

make[1]: Entering directory '/builddir/build/BUILD/corba-5.1/lib/ic'
make[2]: Entering directory '/builddir/build/BUILD/corba-5.1/lib/ic/src'
make[2]: Nothing to be done for 'docs'.
make[2]: Leaving directory '/builddir/build/BUILD/corba-5.1/lib/ic/src'
make[2]: Entering directory '/builddir/build/BUILD/corba-5.1/lib/ic/c_src'
make[2]: Nothing to be done for 'docs'.
make[2]: Leaving directory '/builddir/build/BUILD/corba-5.1/lib/ic/c_src'
make[2]: Entering directory '/builddir/build/BUILD/corba-5.1/lib/ic/java_src'
make[3]: Entering directory '/builddir/build/BUILD/corba-5.1/lib/ic/java_src/com/ericsson/otp/ic'
make[3]: Nothing to be done for 'docs'.
make[3]: Leaving directory '/builddir/build/BUILD/corba-5.1/lib/ic/java_src/com/ericsson/otp/ic'
make[2]: Leaving directory '/builddir/build/BUILD/corba-5.1/lib/ic/java_src'
make[2]: Entering directory '/builddir/build/BUILD/corba-5.1/lib/ic/doc/src'
awk: fatal: cannot open file `notes.xml' for reading: No such file or directory
cat ../../../../doc/notes_head.xml.src > notes.xml && cat notes_tail.xml.src >> notes.xml
Error! Failed to eval: io:format("~s", [code:lib_dir(erl_docgen)]).

Error! Failed to eval: io:format("~s", [code:lib_dir(erl_docgen)]).

Error! Failed to eval: io:format("~s", [code:lib_dir(erl_docgen)]).

Error! Failed to eval: io:format("~s", [code:lib_dir(erl_docgen)]).

Error! Failed to eval: io:format("~s", [code:lib_dir(erl_docgen)]).

date=`date +"%B %e, %Y"`; \
xsltproc \
         --stringparam docgen "" \
         --stringparam gendate "$date" \
         --stringparam appname "ic" \
         --stringparam appver "5.1" \
 --stringparam extra_front_page_info "" \
 --stringparam logo "/priv/images/erlang-logo.gif" \
 --stringparam pdfcolor "#960003" \
         --xinclude  \
         -path /priv/dtd \
         -path /priv/dtd_html_entities \
           /priv/xsl/db_pdf.xsl book.xml > ../pdf/ic-5.1.fo
warning: failed to load external entity "/priv/xsl/db_pdf.xsl"
cannot parse /priv/xsl/db_pdf.xsl
make[2]: Leaving directory '/builddir/build/BUILD/corba-5.1/lib/ic/doc/src'
make[2]: *** [/builddir/build/BUILD/corba-5.1/make/otp_release_targets.mk:80: ../pdf/ic-5.1.fo] Error 4
make[1]: Leaving directory '/builddir/build/BUILD/corba-5.1/lib/ic'
make[1]: *** [/builddir/build/BUILD/corba-5.1/make/otp_subdir.mk:29: docs] Error 2
make: *** [Makefile:80: docs] Error 2
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.ph1O8F (%build)
    Bad exit status from /var/tmp/rpm-tmp.ph1O8F (%build)
Child return code was: 1

Comment 2 jiri vanek 2024-03-13 13:04:46 UTC
no idea...

Comment 3 Fedora Update System 2024-06-17 19:49:56 UTC
FEDORA-2024-c38990460b (erlang-corba-5.2.1-3.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c38990460b

Comment 4 Fedora Update System 2024-06-17 19:50:01 UTC
FEDORA-2024-fc1d6019aa (erlang-corba-5.2.1-2.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-fc1d6019aa

Comment 5 Fedora Update System 2024-06-18 01:37:00 UTC
FEDORA-2024-c38990460b has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c38990460b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c38990460b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-06-18 02:30:06 UTC
FEDORA-2024-fc1d6019aa has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-fc1d6019aa`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-fc1d6019aa

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-06-26 01:27:39 UTC
FEDORA-2024-fc1d6019aa (erlang-corba-5.2.1-2.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2024-06-26 01:55:49 UTC
FEDORA-2024-c38990460b (erlang-corba-5.2.1-3.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.