Bug 2066607

Summary: dahdi-tools-2.11.1-24.fc37 FTBFS: No matching package to install: 'libusb-devel'
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: dahdi-toolsAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jsmith.fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dahdi-tools-2.11.1-26.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-21 11:11:47 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:
Bug Depends On:    
Bug Blocks: 2045102, 2094390    

Description Petr Pisar 2022-03-22 07:27:38 UTC
dahdi-tools-2.11.1-24.fc37 fails to build in Fedora 37 because libusb-devel build-time dependency does not exist:

DEBUG util.py:541:  Executing command: ['/usr/bin/dnf', 'builddep', '--installroot', '/var/lib/mock/fedorarebuild-x86_64-sWMkCu0rtG/root/', '--disableplugin=local', '--setopt=deltarpm=False', '--allowerasing', '--setopt=install_weak_deps=False', '--disableplugin=local', '--disableplugin=spacewalk', '--disableplugin=versionlock', '--disableplugin=local', '--disableplugin=spacewalk', '--disableplugin=versionlock', '/var/lib/mock/fedorarebuild-x86_64-sWMkCu0rtG/root//builddir/build/SRPMS/dahdi-tools-2.11.1-25.fc37.src.rpm', '--setopt=tsflags=nocontexts'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/var/lib/mock/fedorarebuild-x86_64-sWMkCu0rtG/root/installation-homedir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'LC_MESSAGES': 'C.UTF-8'} and shell False
DEBUG util.py:444:  No matches found for the following disable plugin patterns: local, spacewalk, versionlock
DEBUG util.py:446:  Last metadata expiration check: 0:01:09 ago on Sat Mar 19 05:56:36 2022.
DEBUG util.py:444:  No matching package to install: 'libusb-devel'
DEBUG util.py:444:  Not all dependencies satisfied
DEBUG util.py:444:  Error: Some packages could not be found.

This is caused by renaming libusb-devel package to libusb-compat-0.1-devel <https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/TP3XUPLEW73M2T6BRCVOOKMGJWISKYE7/>.