Bug 1705867

Summary: log4j fails to install on i686 and armv7hl in Fedora 30 and rawhide
Product: [Fedora] Fedora Reporter: Mattias Ellert <mattias.ellert>
Component: log4jAssignee: Stewardship SIG <stewardship-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 30CC: dbhole, decathorpe, devrim, java-sig-commits, mbooth, mizdebsk, phil, richardfearn, sochotni, stewardship-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-12 00:58:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1700324, 1700323    

Description Mattias Ellert 2019-05-03 04:51:37 UTC
Description of problem:

log4j fails to install due to missing dependencies on i686 and armv7hl:

DEBUG util.py:439:  Last metadata expiration check: 0:00:00 ago on Fri May  3 04:28:56 2019.
DEBUG util.py:439:  Error: 
DEBUG util.py:439:   Problem: package log4j-2.11.1-3.fc30.noarch requires mvn(org.eclipse.persistence:javax.persistence), but none of the providers can be installed
DEBUG util.py:439:    - conflicting requests
DEBUG util.py:439:    - nothing provides mvn(org.eclipse.osgi:org.eclipse.osgi) needed by eclipselink-persistence-api-2.1.0-7.fc30.noarch
DEBUG util.py:577:  Child return code was: 1

This is a regression from Fedora 29 where the package is installable on all architectures.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Try to install log4j on i686 or armv7hl 

Actual results:

Installation fails due to missing dependencies

Expected results:

Successful installation

Comment 2 Fabio Valentini 2019-06-29 12:45:40 UTC
I think this issue should be resolved on rawhide.

eclipselink-persistence-api now builds against osgi-core instead of the eclipse OSGi implementation.

Can you confirm that it's fixed on rawhide?
If so, maybe we should backport the eclipselink-persistence-api change to fedora 30.

Comment 3 Mattias Ellert 2019-06-30 06:41:25 UTC
mock --root fedora-rawhide-i386 --install log4j


Comment 4 Mattias Ellert 2019-06-30 08:33:15 UTC
Merge to f30?

Comment 5 Fabio Valentini 2019-06-30 09:32:06 UTC
I'll prepare an update.

Comment 6 Fedora Update System 2019-06-30 09:47:13 UTC
FEDORA-2019-58643bccf7 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-58643bccf7

Comment 7 Fedora Update System 2019-07-01 01:42:55 UTC
eclipselink-persistence-api-2.1.0-8.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-58643bccf7

Comment 8 Fedora Update System 2019-07-12 00:58:15 UTC
eclipselink-persistence-api-2.1.0-8.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.