[pkg-uWSGI-devel] Bug#1105595: uwsgi-plugin-java: FTBFS with make --shuffle=reverse: FileNotFoundError: [Errno 2] No such file or directory: 'plugins/jvm/uwsgiplugin.py'

Lucas Nussbaum lucas at debian.org
Tue May 13 20:17:49 BST 2025


Source: uwsgi-plugin-java
Version: 0.0.5
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-shuffle

Hi,

GNU Make now has a --shuffle option that simulates non-deterministic ordering
of target prerequisites. See
https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous
work in Debian by Santiago Vila:
https://people.debian.org/~sanvila/make-shuffle/

This package fails to build with make --shuffle=reverse.
This is likely to be caused by a missing dependency in
debian/rules or an upstream Makefile.

More information about this mass bug filing is available at
https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle

Relevant part (hopefully):
> make[1]: Entering directory '/build/reproducible-path/uwsgi-plugin-java-0.0.5'
> INCLUDES is -I/usr/lib/jvm/java-21-openjdk-amd64/include -I/usr/lib/jvm/java-21-openjdk-amd64/include/linux
> LIBPATH is /usr/lib/jvm/java-21-openjdk-amd64/lib/server
> debian/rules:29: update target 'servlet_openjdk_plugin.so' due to: target does not exist
> mkdir -p /build/reproducible-path/uwsgi-plugin-java-0.0.5/plugins
> cp -ar /usr/src/uwsgi/plugins/servlet /build/reproducible-path/uwsgi-plugin-java-0.0.5/plugins
> uwsgi --build-plugin "/build/reproducible-path/uwsgi-plugin-java-0.0.5/plugins/servlet servlet_openjdk"
> *** uWSGI building and linking plugin from /build/reproducible-path/uwsgi-plugin-java-0.0.5/plugins/servlet ***
> Traceback (most recent call last):
>   File "/build/reproducible-path/uwsgi-plugin-java-0.0.5/.uwsgi_plugins_builder/uwsgiconfig.py", line 1393, in build_plugin
>     execfile('%s/uwsgiplugin.py' % path, up)
>     ^^^^^^^^
> NameError: name 'execfile' is not defined
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "<string>", line 8, in <module>
> NameError: name 'execfile' is not defined
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "/build/reproducible-path/uwsgi-plugin-java-0.0.5/.uwsgi_plugins_builder/uwsgiconfig.py", line 1662, in <module>
>     build_plugin(options.extra_plugin[0], None, cflags, ldflags, None, name)
>     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/build/reproducible-path/uwsgi-plugin-java-0.0.5/.uwsgi_plugins_builder/uwsgiconfig.py", line 1396, in build_plugin
>     exec(f.read(), up)
>     ~~~~^^^^^^^^^^^^^^
>   File "<string>", line 10, in <module>
> FileNotFoundError: [Errno 2] No such file or directory: 'plugins/jvm/uwsgiplugin.py'
> make[1]: *** [debian/rules:31: servlet_openjdk_plugin.so] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/uwsgi-plugin-java_0.0.5_unstable_reverse.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects



More information about the pkg-uWSGI-devel mailing list