Bug 1068483 - pki-core: Switch to java-headless (build)requires
Summary: pki-core: Switch to java-headless (build)requires
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pki-core
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1037248
Blocks: 1067528 1120045
TreeView+ depends on / blocked
 
Reported: 2014-02-21 13:14 UTC by Stanislav Ochotnicky
Modified: 2020-10-04 20:38 UTC (History)
9 users (show)

Fixed In Version: 10.2.0-0.4
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1120045 (view as bug list)
Environment:
Last Closed: 2014-07-07 11:59:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github dogtagpki pki issues 1338 0 None None None 2020-10-04 20:38:49 UTC

Description Stanislav Ochotnicky 2014-02-21 13:14:29 UTC
pki-core or one of its subpackages currently Requires and/or BuildRequires
java. OpenJDK package has been split and most packages should now Require
package 'java-headless' instead. Requires and BuildRequires on java-devel remain
unchanged.

Few exceptions where packages can not use java-headless but must keep using
full java package.
 * software using Java awt subsystem
 * software using Java sound subsystem

Your options:
1. Leave this bug untouched and after March 17th 2014 an automated tool will
   migrate this package to java-headless and run a rebuild in Fedora Rawhide.
2. Change bug to 'Assigned' if you plan to review and migrate to java-headless
   manually. Automated tool will not touch bugs that are not in NEW state.

See tracking bug #1067528 or Headless Java change proposal[1] and Java Packaging
guidelines[2] for more details about this change.

If you have more questions about this change feel free to ask on java-devel
mailing list[3] or #fedora-java Freenode IRC channel (mostly 9:00-18:00 CET).


[1] https://fedoraproject.org/wiki/Changes/HeadlessJava
[2] https://fedoraproject.org/wiki/Packaging:Java\#BuildRequires_and_Requires
[3] http://lists.fedoraproject.org/pipermail/java-devel/

Comment 1 Mikolaj Izdebski 2014-03-28 21:18:52 UTC
Fixed in pki-core-10.2.0-0.2

Comment 2 Jan Pazdziora 2014-05-30 11:36:26 UTC
Is there any plan to bring this to Fedora 20 as well?

Comment 3 Jan Pazdziora 2014-05-30 11:38:02 UTC
Also, it looks like the build of pki-core-10.2.0-0.2.fc21 failed: http://koji.fedoraproject.org/koji/taskinfo?taskID=6684510. Shouldn't this bugzilla be back to ASSIGNED, not to MODIFIED?

Comment 4 Mikolaj Izdebski 2014-05-30 12:29:23 UTC
(In reply to Jan Pazdziora from comment #2)
> Is there any plan to bring this to Fedora 20 as well?

No. Headless Java is a F-21 feature.

(In reply to Jan Pazdziora from comment #3)
> Also, it looks like the build of pki-core-10.2.0-0.2.fc21 failed:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=6684510. Shouldn't this
> bugzilla be back to ASSIGNED, not to MODIFIED?

The fix has been checked into source control, but package hasn't been built, so MODIFIED is the correct state IMO.  The other bug ("-Werror=format-security") prevents me from building the package.

Comment 5 Peter Robinson 2014-06-29 22:46:52 UTC
Any update of actually pushing this fix?

Comment 6 Matthew Harmsen 2014-06-30 20:40:55 UTC
(In reply to Peter Robinson from comment #5)
> Any update of actually pushing this fix?

alee has just recently built a scratch build successfully (official builds are forthcoming)

Comment 7 Mikolaj Izdebski 2014-07-07 11:59:38 UTC
I believe that this bug is fixed in pki-core-10.2.0-0.4,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=541355

Comment 8 Jan Pazdziora 2014-07-14 09:24:49 UTC
Thanks, I confirm the change is in:

Processing Dependency: java-headless >= 1:1.7.0 for package: pki-ca-10.2.0-0.4.fc21.noarch

Comment 9 Jan Pazdziora 2014-07-14 09:27:36 UTC
On the other hand, I see

Processing Dependency: java-atk-wrapper for package: pki-server-10.2.0-0.4.fc21.noarch

-- is that needed?

Comment 10 Jan Pazdziora 2014-07-14 09:35:03 UTC
There was a bug 1068184 to have java-atk-wrapper depend on java-headless but Omair noted that dependency on the full JRE is probably needed. What specifically does pki-server need?

Comment 11 Mikolaj Izdebski 2014-07-14 11:33:56 UTC
(In reply to Jan Pazdziora from comment #9)
> On the other hand, I see
> 
> Processing Dependency: java-atk-wrapper for package:
> pki-server-10.2.0-0.4.fc21.noarch
> 
> -- is that needed?

I don't know, I'm not maintainer of pki-core.

Comment 12 Matthew Harmsen 2014-07-16 02:34:03 UTC
After conversations with Ade and Endi, it was determined that 'java-atk-wrapper' may have once been needed, but was probably no longer required.

Per Ade's suggestion, I removed the dependency, and successfully built the following scratch builds on Koji:

    Fedora 20:
    * http://koji.fedoraproject.org/koji/taskinfo?taskID=7147156
      * http://koji.fedoraproject.org/koji/taskinfo?taskID=7147161 (x86_64)
    
    Fedora 21:
    * http://koji.fedoraproject.org/koji/taskinfo?taskID=7147431
      * http://koji.fedoraproject.org/koji/taskinfo?taskID=7147435 (x86_64)

Additionally, as this was a runtime requirement, after removing the 'java-atk-wrapper' package, I successfully downloaded, installed, configured, and tested the Fedora 20 RPMS.

I will submit my patch for approval.

Comment 13 Jan Pazdziora 2014-07-16 06:58:01 UTC
Thank you for the investigation. I've now opened bug 1120045 to track the removal of the java-atk-wrapper dependency -- I did not want to reopen this bugzilla since what was asked in the description (removal of the direct java depencency) was already achieved with pki-core-10.2.0-0.4.fc21.


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