razercfg 0.43-2 fails to build on oracular

Bug #2070171 reported by Pushkar Kulkarni
This bug affects 1 person
Affects Status Importance Assigned to Milestone
razercfg (Ubuntu)
Fix Released

Bug Description

One of the commits [1] related to the new version (0.43-2) in debian/unstable hard-coded a python3.11 patch in the razercfg.install file which causes the dh_install to fail on oracular


dh_install --exclude=librazer.a
 install -m0755 -d debian/razercfg//etc
 cp --reflink=auto -a ./razer.conf debian/razercfg//etc/
 install -m0755 -d debian/razercfg//etc/pm/sleep.d
 cp --reflink=auto -a debian/tmp/etc/pm/sleep.d/50-razer debian/razercfg//etc/pm/sleep.d/
 install -m0755 -d debian/razercfg//usr/lib/systemd
 cd 'debian/tmp/usr/lib/systemd/system/..' && find 'system' ! \( -regex .\*librazer\\.a.\* \) \( -type f -or -type l \) -print0 | LC_ALL=C sort -z | xargs -0 -I {} cp --reflink=auto --parents -dp {} /<<PKGBUILDDIR>>/debian/razercfg//usr/lib/systemd/
 cd 'debian/tmp/usr/lib/systemd/system/..' && find 'system' ! \( -regex .\*librazer\\.a.\* \) \( -type d -and -empty \) -print0 | LC_ALL=C sort -z | xargs -0 -I {} cp --reflink=auto --parents -a {} /<<PKGBUILDDIR>>/debian/razercfg//usr/lib/systemd/
 install -m0755 -d debian/razercfg/usr/lib/udev
 cd 'debian/tmp/etc/udev/rules.d/..' && find 'rules.d' ! \( -regex .\*librazer\\.a.\* \) \( -type f -or -type l \) -print0 | LC_ALL=C sort -z | xargs -0 -I {} cp --reflink=auto --parents -dp {} /<<PKGBUILDDIR>>/debian/razercfg/usr/lib/udev/
 cd 'debian/tmp/etc/udev/rules.d/..' && find 'rules.d' ! \( -regex .\*librazer\\.a.\* \) \( -type d -and -empty \) -print0 | LC_ALL=C sort -z | xargs -0 -I {} cp --reflink=auto --parents -a {} /<<PKGBUILDDIR>>/debian/razercfg/usr/lib/udev/
dh_install: warning: Cannot find (any matches for) "usr/local/lib/python3.11/dist-packages" (tried in ., debian/tmp)


[1] https://github.com/bluca/razercfg-debian/commit/c46f39fbe25046c77c7975538b32a19fc7211016

Related branches

tags: added: update-excuse
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package razercfg - 0.43-2ubuntu1

razercfg (0.43-2ubuntu1) oracular; urgency=medium

  * Use the python3.12/dist-packages install path for oracular
    (LP: #2070171)

 -- Pushkar Kulkarni <email address hidden> Mon, 24 Jun 2024 11:27:03 +0530

Changed in razercfg (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.