Bug 2230191 - libdnf5 on Fedora 38 does not ship pkgconf configuration
Summary: libdnf5 on Fedora 38 does not ship pkgconf configuration
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: amatej
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-08 21:15 UTC by Jan Pazdziora
Modified: 2023-08-09 09:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora 2023-08-08 21:15:16 UTC
Attempts to build against libdnf5 on Fedora 38 with pkgconf fail.


Reproducible: Always

Steps to Reproduce:

1. podman run --rm registry.fedoraproject.org/fedora:38 bash -c 'dnf install -y pkgconf libdnf5-devel && pkgconf --cflags --libs libdnf5'

Actual Results:  

Fedora 38 - x86_64                              7.1 MB/s |  83 MB     00:11    
Fedora 38 openh264 (From Cisco) - x86_64        2.9 kB/s | 2.5 kB     00:00    
Fedora Modular 38 - x86_64                      2.8 MB/s | 2.8 MB     00:00    
Fedora 38 - x86_64 - Updates                    8.1 MB/s |  30 MB     00:03    
Fedora Modular 38 - x86_64 - Updates            4.6 MB/s | 2.1 MB     00:00    
Dependencies resolved.
================================================================================
 Package                  Architecture Version              Repository     Size
================================================================================
Installing:
 libdnf5-devel            x86_64       5.0.13-2.fc38        updates       126 k
 pkgconf                  x86_64       1.8.0-6.fc38         fedora         41 k
Installing dependencies:

[...]

Installed:
  fmt-9.1.0-2.fc38.x86_64                   libdnf5-5.0.13-2.fc38.x86_64        
  libdnf5-devel-5.0.13-2.fc38.x86_64        libpkgconf-1.8.0-6.fc38.x86_64      
  libsolv-devel-0.7.22-4.fc38.x86_64        libzstd-devel-1.5.5-1.fc38.x86_64   
  pkgconf-1.8.0-6.fc38.x86_64               pkgconf-m4-1.8.0-6.fc38.noarch      
  pkgconf-pkg-config-1.8.0-6.fc38.x86_64    popt-devel-1.19-2.fc38.x86_64       
  rpm-devel-4.18.1-3.fc38.x86_64           

Complete!
Package libdnf5 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdnf5.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libdnf5', required by 'virtual:world', not found


Expected Results:  

Fedora rawhide openh264 (From Cisco) - x86_64   2.0 kB/s | 2.5 kB     00:01    
Fedora - Rawhide - Developmental packages for t 3.2 MB/s |  73 MB     00:22    
Dependencies resolved.
================================================================================
 Package                    Arch        Version              Repository    Size
================================================================================
Installing:
 libdnf5-devel              x86_64      5.1.1-1.fc39         rawhide      134 k
 pkgconf                    x86_64      1.9.5-2.fc39         rawhide       42 k
Installing dependencies:

[...]

Installed:
  cmake-filesystem-3.27.1-1.fc39.x86_64                                         
  fmt-10.0.0-3.fc39.x86_64                                                      
  fmt-devel-10.0.0-3.fc39.x86_64                                                
  glib2-devel-2.77.1-1.fc39.x86_64                                              
  libblkid-devel-2.39.1-3.fc39.x86_64                                           
  libcurl-devel-8.2.1-1.fc39.x86_64                                             
  libdnf5-5.1.1-1.fc39.x86_64                                                   
  libdnf5-devel-5.1.1-1.fc39.x86_64                                             
  libffi-devel-3.4.4-4.fc39.x86_64                                              
  libmodulemd-devel-2.15.0-5.fc39.x86_64                                        
  libmount-devel-2.39.1-3.fc39.x86_64                                           
  libpkgconf-1.9.5-2.fc39.x86_64                                                
  librepo-devel-1.15.2-1.fc39.x86_64                                            
  libselinux-devel-3.5-5.fc39.x86_64                                            
  libsepol-devel-3.5-2.fc39.x86_64                                              
  libsolv-devel-0.7.24-8.fc39.x86_64                                            
  libxml2-devel-2.10.4-3.fc39.x86_64                                            
  libyaml-devel-0.2.5-12.fc39.x86_64                                            
  openssl-devel-1:3.1.1-1.fc39.x86_64                                           
  pcre2-devel-10.42-1.fc39.2.x86_64                                             
  pcre2-utf16-10.42-1.fc39.2.x86_64                                             
  pcre2-utf32-10.42-1.fc39.2.x86_64                                             
  pkgconf-1.9.5-2.fc39.x86_64                                                   
  pkgconf-m4-1.9.5-2.fc39.noarch                                                
  pkgconf-pkg-config-1.9.5-2.fc39.x86_64                                        
  popt-devel-1.19-3.fc39.x86_64                                                 
  python3-setuptools-67.7.2-5.fc39.noarch                                       
  rpm-devel-4.18.92-1.fc39.x86_64                                               
  sqlite-3.42.0-7.fc39.x86_64                                                   
  sqlite-devel-3.42.0-7.fc39.x86_64                                             
  sysprof-capture-devel-3.48.0-2.fc39.x86_64                                    
  xz-devel-5.4.4-1.fc39.x86_64                                                  
  zlib-devel-1.2.13-4.fc39.x86_64                                               

Complete!
-I/usr/include/modulemd-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -ldnf5 -lfmt -lrepo -lsolv -lmodulemd -lrpm -lrpmio -lsqlite3 -lgobject-2.0 -lpopt -lglib-2.0



The expected results are from Fedora rawhide.

Specifically, I don't need libdnf5 (dnf5) on Fedora 38 to be updated to 5.1 as is on rawhide, the 5.0 is just fine, but the installation should be developer-friendly. One of the reasons is that microdnf on Fedora 38 is now just dnf5, so we are being pushed to dnf5 that way.


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