Bug 2312816 - F39FailsToInstall: mod_nss (placeholder, not a real bug)
Summary: F39FailsToInstall: mod_nss (placeholder, not a real bug)
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_nss
Version: 39
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F39FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2024-09-17 10:18 UTC by Fedora Fails To Install
Modified: 2024-12-02 13:26 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-12-02 13:26:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-11511 0 None None None 2024-09-18 19:06:31 UTC
Red Hat Issue Tracker FREEIPA-11519 0 None None None 2024-09-17 10:20:06 UTC

Description Fedora Fails To Install 2024-09-17 10:18:08 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (mod_nss) Fails To Install in Fedora 39:

can't install mod_nss:
  - nothing provides /usr/lib64/libnssckbi.so needed by mod_nss-1.0.17-18.fc39.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-39-x86_64 --config-opts mirrored=False install mod_nss


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Rob Crittenden 2024-09-18 19:03:52 UTC
This looks like the same exact report in https://bugzilla.redhat.com/show_bug.cgi?id=2311478 that is not reproducible.

dnf -y install mod_nss
Beaker Client - Fedora39                         62 kB/s | 8.7 kB     00:00    
Beaker harness                                  1.1 MB/s |  64 kB     00:00    
Fedora 39 - x86_64                              3.6 MB/s |  89 MB     00:24    
Fedora 39 openh264 (From Cisco) - x86_64        1.7 kB/s | 2.6 kB     00:01    
Fedora 39 - x86_64 - Updates                    1.3 MB/s |  41 MB     00:32    
Copr repo for qa-tools owned by lpol            3.8 MB/s | 168 kB     00:00    
Dependencies resolved.
================================================================================
 Package                        Arch      Version              Repository  Size
================================================================================
Installing:
 mod_nss                        x86_64    1.0.17-18.fc39       fedora     111 k
Installing dependencies:
 apr                            x86_64    1.7.5-1.fc39         updates    127 k
 apr-util                       x86_64    1.6.3-4.fc39         fedora      96 k
 fedora-logos-httpd             noarch    38.1.0-2.fc39        fedora      15 k
 httpd                          x86_64    2.4.62-2.fc39        updates     46 k
 httpd-core                     x86_64    2.4.62-2.fc39        updates    1.4 M
 httpd-filesystem               noarch    2.4.62-2.fc39        updates     12 k
 httpd-tools                    x86_64    2.4.62-2.fc39        updates     80 k
 mailcap                        noarch    2.1.54-2.fc39        fedora      34 k
 nss-tools                      x86_64    3.103.0-1.fc39       updates    546 k
Installing weak dependencies:
 apr-util-bdb                   x86_64    1.6.3-4.fc39         fedora      13 k
 apr-util-openssl               x86_64    1.6.3-4.fc39         fedora      15 k
 julietaula-montserrat-fonts    noarch    1:7.222-8.fc39       updates    1.6 M
 mod_http2                      x86_64    2.0.29-1.fc39        updates    162 k
 mod_lua                        x86_64    2.4.62-2.fc39        updates     57 k

Transaction Summary
================================================================================
Install  15 Packages

Total download size: 4.4 M
Installed size: 13 M
Downloading Packages:
(1/15): apr-util-bdb-1.6.3-4.fc39.x86_64.rpm     68 kB/s |  13 kB     00:00    
(2/15): apr-util-openssl-1.6.3-4.fc39.x86_64.rp  73 kB/s |  15 kB     00:00    
(3/15): fedora-logos-httpd-38.1.0-2.fc39.noarch 183 kB/s |  15 kB     00:00    
(4/15): mailcap-2.1.54-2.fc39.noarch.rpm        411 kB/s |  34 kB     00:00    
(5/15): apr-util-1.6.3-4.fc39.x86_64.rpm        297 kB/s |  96 kB     00:00    
(6/15): mod_nss-1.0.17-18.fc39.x86_64.rpm       616 kB/s | 111 kB     00:00    
(7/15): httpd-2.4.62-2.fc39.x86_64.rpm           98 kB/s |  46 kB     00:00    
(8/15): apr-1.7.5-1.fc39.x86_64.rpm             230 kB/s | 127 kB     00:00    
(9/15): httpd-filesystem-2.4.62-2.fc39.noarch.r 155 kB/s |  12 kB     00:00    
(10/15): httpd-tools-2.4.62-2.fc39.x86_64.rpm   508 kB/s |  80 kB     00:00    
(11/15): mod_http2-2.0.29-1.fc39.x86_64.rpm     689 kB/s | 162 kB     00:00    
(12/15): mod_lua-2.4.62-2.fc39.x86_64.rpm       364 kB/s |  57 kB     00:00    
(13/15): nss-tools-3.103.0-1.fc39.x86_64.rpm    1.1 MB/s | 546 kB     00:00    
(14/15): httpd-core-2.4.62-2.fc39.x86_64.rpm    850 kB/s | 1.4 MB     00:01    
(15/15): julietaula-montserrat-fonts-7.222-8.fc 1.2 MB/s | 1.6 MB     00:01    
--------------------------------------------------------------------------------
Total                                           1.8 MB/s | 4.4 MB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : apr-1.7.5-1.fc39.x86_64                               1/15 
  Installing       : apr-util-bdb-1.6.3-4.fc39.x86_64                      2/15 
  Installing       : apr-util-openssl-1.6.3-4.fc39.x86_64                  3/15 
  Installing       : apr-util-1.6.3-4.fc39.x86_64                          4/15 
  Running scriptlet: httpd-filesystem-2.4.62-2.fc39.noarch                 5/15 
  Installing       : httpd-filesystem-2.4.62-2.fc39.noarch                 5/15 
  Installing       : httpd-tools-2.4.62-2.fc39.x86_64                      6/15 
  Installing       : nss-tools-3.103.0-1.fc39.x86_64                       7/15 
  Installing       : julietaula-montserrat-fonts-1:7.222-8.fc39.noarch     8/15 
  Installing       : fedora-logos-httpd-38.1.0-2.fc39.noarch               9/15 
  Installing       : mailcap-2.1.54-2.fc39.noarch                         10/15 
  Installing       : httpd-core-2.4.62-2.fc39.x86_64                      11/15 
  Installing       : mod_http2-2.0.29-1.fc39.x86_64                       12/15 
  Installing       : mod_lua-2.4.62-2.fc39.x86_64                         13/15 
  Installing       : httpd-2.4.62-2.fc39.x86_64                           14/15 
  Running scriptlet: httpd-2.4.62-2.fc39.x86_64                           14/15 
  Installing       : mod_nss-1.0.17-18.fc39.x86_64                        15/15 
  Running scriptlet: mod_nss-1.0.17-18.fc39.x86_64                        15/15 

mod_nss certificate database generated.


  Running scriptlet: httpd-2.4.62-2.fc39.x86_64                           15/15 
  Running scriptlet: mod_nss-1.0.17-18.fc39.x86_64                        15/15 
  Verifying        : apr-util-1.6.3-4.fc39.x86_64                          1/15 
  Verifying        : apr-util-bdb-1.6.3-4.fc39.x86_64                      2/15 
  Verifying        : apr-util-openssl-1.6.3-4.fc39.x86_64                  3/15 
  Verifying        : fedora-logos-httpd-38.1.0-2.fc39.noarch               4/15 
  Verifying        : mailcap-2.1.54-2.fc39.noarch                          5/15 
  Verifying        : mod_nss-1.0.17-18.fc39.x86_64                         6/15 
  Verifying        : apr-1.7.5-1.fc39.x86_64                               7/15 
  Verifying        : httpd-2.4.62-2.fc39.x86_64                            8/15 
  Verifying        : httpd-core-2.4.62-2.fc39.x86_64                       9/15 
  Verifying        : httpd-filesystem-2.4.62-2.fc39.noarch                10/15 
  Verifying        : httpd-tools-2.4.62-2.fc39.x86_64                     11/15 
  Verifying        : julietaula-montserrat-fonts-1:7.222-8.fc39.noarch    12/15 
  Verifying        : mod_http2-2.0.29-1.fc39.x86_64                       13/15 
  Verifying        : mod_lua-2.4.62-2.fc39.x86_64                         14/15 
  Verifying        : nss-tools-3.103.0-1.fc39.x86_64                      15/15 

Installed:
  apr-1.7.5-1.fc39.x86_64                                                       
  apr-util-1.6.3-4.fc39.x86_64                                                  
  apr-util-bdb-1.6.3-4.fc39.x86_64                                              
  apr-util-openssl-1.6.3-4.fc39.x86_64                                          
  fedora-logos-httpd-38.1.0-2.fc39.noarch                                       
  httpd-2.4.62-2.fc39.x86_64                                                    
  httpd-core-2.4.62-2.fc39.x86_64                                               
  httpd-filesystem-2.4.62-2.fc39.noarch                                         
  httpd-tools-2.4.62-2.fc39.x86_64                                              
  julietaula-montserrat-fonts-1:7.222-8.fc39.noarch                             
  mailcap-2.1.54-2.fc39.noarch                                                  
  mod_http2-2.0.29-1.fc39.x86_64                                                
  mod_lua-2.4.62-2.fc39.x86_64                                                  
  mod_nss-1.0.17-18.fc39.x86_64                                                 
  nss-tools-3.103.0-1.fc39.x86_64                                               

Complete!

It installs just fine. So maybe something is up with the buildroot?

Adam, do know if other packages are seeing issues like this? F39 is near EOL anyway but I wonder if this will pop up in other releases too.

The file in question is provided by the nss package. There is no dependency because file dependencies are not allowed any more.

Comment 2 Adam Williamson 2024-09-18 19:28:49 UTC
There is a file dependency. You can see it in the Koji build info: https://koji.fedoraproject.org/koji/rpminfo?rpmID=35237885 , and in the spec at https://src.fedoraproject.org/rpms/mod_nss/blob/f39/f/mod_nss.spec#_37 .

If I had to guess I'd guess the script that generates has these reports maybe has an issue with file dependencies, but I didn't write it and don't maintain it. I don't know off the top of my head if any other package has seen this, sorry. I'm not in charge of this process.

Comment 3 Adam Williamson 2024-09-18 19:29:33 UTC
CC mhroncok, who maintains the script.

Comment 4 Rob Crittenden 2024-09-18 19:54:10 UTC
Thanks Adam, you were the only one I could think of to ping on this.

I seem to have changed this dependency in rawhide over a year ago and completely forgot. I suppose I can backport this to F39 if it causes automated bugs to not be filed.

Comment 5 Miro Hrončok 2024-09-18 20:13:57 UTC
For some reason, the script has recently started to do this with file dependencies despite me running it on Fedora 39, where file dependencies are still a thing.

Nothing has changed in the script recently, so perhaps it is something in https://bodhi.fedoraproject.org/updates/FEDORA-2024-4c417081b4 which I upgraded to on 2024-09-11 (as was bz2311478).


Technically, on Fedora 39, this should not get reported, but with https://fedoraproject.org/wiki/Changes/DNFConditionalFilelists targeting Fedora 40, I don't know if it is worth looking into.

Anyway, changing this bugzilla in a way that will not bother you, sorry for the trouble. I will try to figure out what exactly changed and if that was deliberate or not.

Comment 6 Miro Hrončok 2024-09-18 20:46:04 UTC
The only documented change in https://bodhi.fedoraproject.org/updates/FEDORA-2024-4c417081b4 which appears to be slightly related is https://github.com/rpm-software-management/libdnf/pull/1670

---

Petr, could you help me understand what changed? Is that change above related?

----

On Fedora 39, I run `sudo dnf --refresh --repo=koji39 makecache` -- the repo is just:

  [koji39]
  name=koji39
  baseurl=http://kojipkgs.fedoraproject.org/repos/f39-build/latest/$basearch/
  enabled=0

Then, I run this script https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py with --release 39.

It loads /var/cache/dnf/koji39.solv -- see https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py#_235


Since that update which I linked, the script treats file dependencies outside of primary as if they are not solvable.

I have not written that script, it was Igor Raits years ago, and I don't know how this actually works :/

Thanks.

Comment 7 Petr Pisar 2024-09-19 12:31:50 UTC
It might be related. Ales could know more.

Comment 8 amatej 2024-09-23 10:13:32 UTC
(In reply to Miro Hrončok from comment #6)
> The only documented change in
> https://bodhi.fedoraproject.org/updates/FEDORA-2024-4c417081b4 which appears
> to be slightly related is
> https://github.com/rpm-software-management/libdnf/pull/1670
> 
> ---
> 
> Petr, could you help me understand what changed? Is that change above
> related?

Yes, the change is related and it is causing the false positive output from the script.

What happened is that libdnf changed the solvfile cache in a way that is not compatible with the script. It no longer stores filelists's provides in the primary solvfile (here koji39.solv), instead they are just in the filelists solvfile (koji39-filenames.solvx) which the script doesn't read.

Though thanks to the filelists change in f40+ this shouldn't be a problem in the future because everything needed will be present in primary solvfile again.

The underlying issue is that the script is loading libdnf solvfile cache but its using libsolv API directly to verify the dependencies.
I think it should either process the metadata by it self or use libdnf API. I could potentially help with the chosen fix.

Comment 9 Miro Hrončok 2024-09-23 10:41:07 UTC
Thank you.

Considering only 3 packages are affected and Fedora 39 will go EOL in 2 months, I don't think we need to fix the script.

Unless of course, it will later be used for EPEL, as recently suggested on the EPEL list. But we can deal with that when it happens.

Comment 10 Aoife Moloney 2024-11-13 12:37:46 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 11 Aoife Moloney 2024-12-02 13:26:14 UTC
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26.

Fedora Linux 39 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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