Bug 2266641 - erlang-corba fails to build with java-21-openjdk
Summary: erlang-corba fails to build with java-21-openjdk
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: erlang-corba
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2262141
TreeView+ depends on / blocked
 
Reported: 2024-02-28 16:47 UTC by Petra Alice Mikova
Modified: 2024-03-13 13:04 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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...


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