razercfg 0.43-2 fails to build on oracular

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

Bug Description

[Impact]

 * razercfg FTBFS in Noble (too) with Python 3.12

[Test Plan]

 * Check razercfg builds successfully in Noble.
 * Check razercfg python modules are shipped in usr/lib/python3/dist-packages/

[Regression Potential]

 * build failures
 * python modules not shipped in the right path

[Original 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
Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote : Please test proposed package

Hello Pushkar, or anyone else affected,

Accepted razercfg into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/razercfg/0.42+ds-4ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in razercfg (Ubuntu Noble):
status: New → Fix Committed
tags: added: verification-needed verification-needed-noble
description: updated
description: updated
Revision history for this message
Dan Bungert (dbungert) wrote :

Looks like this is handled, unsubscribing sponsors.

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.