Bug 1969355

Summary: pki-server cannot be installed on rawhide
Product: [Fedora] Fedora Reporter: Jan Pazdziora <jpazdziora>
Component: tomcatAssignee: Coty Sutherland <csutherl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: abokovoy, alee, alexander.m.scheel, cfu, ckelley, coolsvap, csutherl, edewata, huwang, ivan.afonichev, java-sig-commits, jmagne, jpazdziora, krzysztof.daniel, kwright, mharmsen, mkdineshprasanth
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tomcat-9.0.45-4.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-31 20:59:38 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:
Embargoed:

Description Jan Pazdziora 2021-06-08 09:52:53 UTC
Description of problem:

Attempt to install freeipa-server (which requires pki-server) fails on Fedora rawhide.

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

pki-server-10.11.0-0.2.alpha1.fc35.noarch

How reproducible:

Deterministic.

Steps to Reproduce:
1. dnf install -y --setopt=install_weak_deps=False freeipa-server

Actual results:

Last metadata expiration check: 0:03:00 ago on Tue 08 Jun 2021 09:46:28 AM CEST.
Error: 
 Problem: conflicting requests
  - package freeipa-server-4.9.4-1.fc35.x86_64 requires pki-kra >= 10.10.5, but none of the providers can be installed
  - package pki-kra-10.11.0-0.2.alpha1.fc35.noarch requires pki-server = 10.11.0-0.2.alpha1.fc35, but none of the providers can be installed
  - package pki-server-10.11.0-0.2.alpha1.fc35.noarch requires pki-tools = 10.11.0-0.2.alpha1.fc35, but none of the providers can be installed
  - package pki-tools-10.11.0-0.2.alpha1.fc35.x86_64 requires pki-base-java = 10.11.0-0.2.alpha1.fc35, but none of the providers can be installed
  - package pki-base-java-10.11.0-0.2.alpha1.fc35.noarch requires resteasy-jaxb-provider >= 3.0.17-1, but none of the providers can be installed
  - nothing provides mvn(org.apache.tomcat:tomcat-servlet-api) needed by pki-resteasy-jaxb-provider-3.0.26-10.fc35.noarch
(try to add '--skip-broken' to skip uninstallable packages)

Expected results:

No error, freeipa-server installed.

Additional info:

Comment 1 Endi Sukma Dewata 2021-06-10 15:36:06 UTC
This issue was fixed by Coty in tomcat-9.0.45-4.fc35. Could you try again?

Comment 2 Jan Pazdziora 2021-06-14 05:02:17 UTC
Confirming, the dnf transaction now fails with

# dnf install -y --setopt=install_weak_deps=False freeipa-server
/usr/lib/python3.10/site-packages/dnf/const.py:22: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  import distutils.sysconfig
/usr/lib/python3.10/site-packages/dnf/const.py:22: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
  import distutils.sysconfig
Last metadata expiration check: 0:00:05 ago on Mon Jun 14 05:01:20 2021.
Error: 
 Problem: package freeipa-server-4.9.4-1.fc35.1.x86_64 requires python3-mod_wsgi, but none of the providers can be installed
  - conflicting requests
  - nothing provides python3.9dist(setuptools) needed by python3-mod_wsgi-4.7.1-4.fc34.x86_64
  - nothing provides python(abi) = 3.9 needed by python3-mod_wsgi-4.7.1-4.fc34.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

Comment 3 Alexander Bokovoy 2021-06-14 08:48:24 UTC
BTW, for the latter -- mod_wsgi rebuild actually failed on s390x due to 

In file included from src/server/mod_wsgi.c:22:
src/server/wsgi_python.h:44:10: fatal error: node.h: No such file or directory
   44 | #include "node.h"
      |          ^~~~~~~~
compilation terminated.
apxs:Error: Command failed with rc=65536

https://kojipkgs.fedoraproject.org//work/tasks/8275/69478275/build.log

But this is unrelated to this bug and is tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1898158

Comment 4 Ben Cotton 2021-08-10 13:06:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.