[Bug 2070171] Re: razercfg 0.43-2 fails to build on oracular

Mauricio Faria de Oliveira 2070171 at bugs.launchpad.net
Mon Sep 2 21:47:27 UTC 2024


** Description changed:

+ [Impact]
+ 
+  * razercfg FTBFS in Noble (too) with Python 3.12
+ 
+ [Test Plan]
+ 
+  * razercfg builds successfully in Noble.
+  * 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/
+  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

** Description changed:

  [Impact]
  
-  * razercfg FTBFS in Noble (too) with Python 3.12
+  * razercfg FTBFS in Noble (too) with Python 3.12
  
  [Test Plan]
  
-  * razercfg builds successfully in Noble.
-  * razercfg python modules are shipped in usr/lib/python3/dist-packages/
+  * 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 
+  * 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

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2070171

Title:
  razercfg 0.43-2 fails to build on oracular

Status in razercfg package in Ubuntu:
  Fix Released
Status in razercfg source package in Noble:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/razercfg/+bug/2070171/+subscriptions




More information about the Ubuntu-sponsors mailing list