Bug 1888559 - /usr/bin/pkg-config does not work in mock-config generated by fedpkg
Summary: /usr/bin/pkg-config does not work in mock-config generated by fedpkg
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pkgconf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1888547
TreeView+ depends on / blocked
 
Reported: 2020-10-15 08:17 UTC by Lukas Slebodnik
Modified: 2020-10-15 13:23 UTC (History)
3 users (show)

Fixed In Version: pkgconf-1.7.3-4.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-15 13:23:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukas Slebodnik 2020-10-15 08:17:28 UTC
Description of problem:

The latest version of pkconf broke usage of mock congiurations generated by fedpkg

Version-Release number of selected component (if applicable):
<mock-chroot> sh-5.0# rpm -q pkgconf
pkgconf-1.7.3-3.fc34.x86_64

How reproducible:
Determinisstic

Steps to Reproduce:
1. dnf isntall -y fedpkg mock
2. fedpkg clone --anonymous pkgconf
3. cd pkgconf
4. fedpkg mock-config > /etc/mock/default.cfg
5. fedpkg --shell
6. pkg-config

Actual results:
<mock-chroot> sh-5.0# pkg-config 
/usr/bin/pkg-config: line 7: /usr/bin/x86_64-koji-linux-gnu-pkg-config: No such file or directory

Expected results:
<mock-chroot> sh-5.0# pkg-config
Please specify at least one package name on the command line.

Additional info:

sh$ fedpkg mock-config | grep _host
config_opts['use_host_resolv'] = False
config_opts['macros']['%_host'] = 'x86_64-koji-linux-gnu'
config_opts['macros']['%_host_cpu'] = 'x86_64'

Comment 1 Neal Gompa 2020-10-15 13:23:33 UTC
Yeah, I didn't know about this issue until Fabio pointed it out to me. It should be fixed now.


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