Bug 2051159

Summary: javadocofflinesearch fails to build with java-17-openjdk
Product: [Fedora] Fedora Reporter: jiri vanek <jvanek>
Component: javadocofflinesearchAssignee: jiri vanek <jvanek>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 36CC: didiksupriadi41, extras-orphan, java-maint-sig, jhuttana, jvanek, mhroncok, pmikova, sgehwolf
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-21 22:58:35 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: 2024265    

Description jiri vanek 2022-02-06 14:35:04 UTC
javadocofflinesearch fails to build with java-17-openjdk as sytem JDK. See https://fedoraproject.org/wiki/Changes/Java17 .
See especially part about known failures: https://fedoraproject.org/wiki/Changes/Java17#common_issues_packagers_can_face_and_gathered_solutions

For the build logs, see: https://koji.fedoraproject.org/koji/taskinfo?taskID=82428095
https://kojipkgs.fedoraproject.org/work/tasks/8258/82428258/mock_output.log
https://kojipkgs.fedoraproject.org/work/tasks/8258/82428258/hw_info.log
https://kojipkgs.fedoraproject.org/work/tasks/8258/82428258/state.log
https://kojipkgs.fedoraproject.org/work/tasks/8258/82428258/build.log
https://kojipkgs.fedoraproject.org/work/tasks/8258/82428258/root.log
We run the rebuild in side tag f36-java17, but as fail ratio was small, we expect this side tag to be merged into rawhide 7 or 8 of February 2022.
To reproduce before this date simply: fedpkg clone javadocofflinesearch; cd javadocofflinesearch;  fedpkg build --target f36-java17; #The target is crucial.
After this date the usual fedpkg build in f36 and up should do.

We run two reruns your package failed both.

We had also run the mass rebuilds in copr since November. We keep all encountered failures. See them here: https://copr.fedorainfracloud.org/coprs/jvanek/java17//package/javadocofflinesearch
You may find interesting additional informations here. Also we were spamming maintainers regualrly, check you spam folder.
              

We had tried aprox 500 packages, and aprox 65 had failed, so the java-17-openjdk will be system JDK in f36, 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.
There will be usual mass rebuild once f36 branches. You may got another FTBFS bug.
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 2022-02-06 14:38:28 UTC
 # /usr/bin/dnf builddep --installroot /var/lib/mock/f36-java17-32935765-4443047/root/ --setopt=install_weak_deps=0 --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock /var/lib/mock/f36-java17-32935765-4443047/root//builddir/build/SRPMS/javadocofflinesearch-2.2-17.fc36.src.rpm --setopt=tsflags=nocontexts
No matches found for the following disable plugin patterns: local, spacewalk, versionlock
No matching package to install: 'lucene-analysis'
No matching package to install: 'lucene-core'
No matching package to install: 'lucene-queries'
No matching package to install: 'lucene-queryparser'
Not all dependencies satisfied
Error: Some packages could not be found.


missing lucene. Afaik lucene miss ant-contrib.. but ony maybe.

Comment 2 Fedora Admin user for bugzilla script actions 2022-02-07 02:44:35 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Miro Hrončok 2022-02-07 18:54:40 UTC
This is pretty much a dupe of bz2007623 that was ignored since September despite my constant reminders.

Comment 4 Ben Cotton 2022-02-08 20:07:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 5 Miro Hrončok 2022-02-21 22:58:35 UTC
Automation has figured out the package is retired in Fedora 36.

If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement