On Sun, 4 Mar 2018 20:02:30 -0300 Antonio Terceiro <terce...@debian.org> wrote: > Source: uwsgi > Version: 2.0.15-10.2 > Severity: serious > Justification: fails to build from source > > I am about to upload ruby-defaults to unstable, switching the default > Ruby to ruby2.5. With that in place, uwsgi fails to build from source > like this: > > [...] > CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security" > CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" python > uwsgiconfig.py -v --plugin plugins/rack_ruby23 > debian/buildconf/uwsgi-plugin.ini rack_ruby23 > using profile: debian/buildconf/uwsgi-plugin.ini > detected include path: ['/usr/lib/gcc/x86_64-linux-gnu/7/include', > '/usr/local/include', '/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed', > '/usr/include/x86_64-linux-gnu', '/usr/include'] > *** uWSGI building and linking plugin plugins/rack_ruby23 *** > Error: unable to find directory 'plugins/rack_ruby23' > make: *** [debian/rules:450: debian/stamp-uwsgi-plugin-rack-ruby2.3] Error 1 > dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit > status 2
This may just need a `./debian/rules debian/control DEB_MAINTAINER_MODE=y` to update debian/control for ruby2.5. With that I get: --- debian/control.orig 2018-03-10 10:32:37.349224886 +0100 +++ debian/control 2018-03-10 10:34:51.746009920 +0100 @@ -5,7 +5,6 @@ Uploaders: Jonas Smedegaard <d...@jones.dk> Build-Depends-Indep: shellcheck Build-Depends: - 2to3, cdbs (>= 0.4.145), python, python3, @@ -693,7 +692,7 @@ This package provides Python 3 WSGI plugin for uWSGI (linked with Python 3 runtime). -Package: uwsgi-plugin-rack-ruby2.3 +Package: uwsgi-plugin-rack-ruby2.5 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, uwsgi-core (= ${binary:Version}) Description: Rack plugin for uWSGI (${uwsgi:RubyKind}) Cheers, Emilio