[pkg-uWSGI-devel] Bug#1025248: uwsgi: FTBFS with ruby3.1 as default

Lucas Kanashiro kanashiro at debian.org
Thu Dec 1 12:43:14 GMT 2022


Source: uwsgi
Version: 2.0.20-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User:debian-ruby at lists.debian.org
Usertags: ruby3.1

Dear maintainer,

We tried to binNMU your package for the ongoing ruby3.1 as default ruby
transition. It failed:

https://buildd.debian.org/status/package.php?p=uwsgi

  CFLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" python3 uwsgiconfig.py -v --plugin plugins/rack_ruby30 debian/buildconf/uwsgi-plugin.ini rack_ruby30
using profile: debian/buildconf/uwsgi-plugin.ini
detected include path: ['/usr/lib/gcc/x86_64-linux-gnu/12/include', '/usr/local/include', '/usr/include/x86_64-linux-gnu', '/usr/include']
*** uWSGI building and linking plugin plugins/rack_ruby30 ***
Error: unable to find directory 'plugins/rack_ruby30'
make: *** [debian/rules:426: debian/stamp-uwsgi-plugin-rack-ruby3.0] Error 1
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2


The attached debdiff fixes the issue, converting the rack plugin binary name to ruby3.1.

-- 
Lucas Kanashiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-uwsgi-devel/attachments/20221201/498ae82b/attachment.htm>
-------------- next part --------------
diff -Nru uwsgi-2.0.20/debian/changelog uwsgi-2.0.20/debian/changelog
--- uwsgi-2.0.20/debian/changelog	2022-03-21 08:00:44.000000000 -0300
+++ uwsgi-2.0.20/debian/changelog	2022-12-01 09:26:09.000000000 -0300
@@ -1,3 +1,10 @@
+uwsgi (2.0.20-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * d/control: rename uwsgi-plugin-rack-ruby3.0 to uwsgi-plugin-rack-ruby3.1.
+
+ -- Lucas Kanashiro <kanashiro at debian.org>  Thu, 01 Dec 2022 09:26:09 -0300
+
 uwsgi (2.0.20-4) unstable; urgency=medium
 
   [ Jonas Smedegaard ]
diff -Nru uwsgi-2.0.20/debian/control uwsgi-2.0.20/debian/control
--- uwsgi-2.0.20/debian/control	2022-03-21 08:00:44.000000000 -0300
+++ uwsgi-2.0.20/debian/control	2022-12-01 09:25:12.000000000 -0300
@@ -737,7 +737,7 @@
  This package provides Python 3 WSGI plugin for uWSGI
  (linked with Python 3 runtime).
 
-Package: uwsgi-plugin-rack-ruby3.0
+Package: uwsgi-plugin-rack-ruby3.1
 Architecture: any
 Depends:
  uwsgi-core (= ${binary:Version}),


More information about the pkg-uWSGI-devel mailing list