Source: criu
Version: 3.17.1-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231027 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Note: Building criu without amdgpu_plugin.
> Note: libdrm and libdrm_amdgpu are required to build amdgpu_plugin.
> make[2]: git: No such file or directory
>   GEN      footer.txt
>   GEN      crit.1
>   GEN      criu-ns.1
>   GEN      compel.1
>   GEN      amdgpu_plugin.1
> make[3]: 'compel/plugins/std.lib.a' is up to date.
>   GEN      criu.8
> make[3]: Nothing to be done for 'all'.
> make[3]: 'compel/plugins/fds.lib.a' is up to date.
> make[3]: 'soccr/libsoccr.a' is up to date.
>   CC       compel/arch/x86/src/lib/handle-elf.o
>   CC       compel/src/lib/handle-elf.o
>   CC       compel/src/main.o
>   LINK     compel/built-in.o
> make[3]: Nothing to be done for 'all'.
> make[3]: 'compel/libcompel.a' is up to date.
>   LINK     compel/libcompel.so
> make[3]: 'compel/compel-host-bin' is up to date.
>   LINK     compel/compel
>   INSTALL  compel
>   INSTALL  libcompel.so
>   INSTALL  libcompel.a
>   INSTALL  compel uapi
>   INSTALL  compel plugins
>   INSTALL  compel plugins uapi
> Note: Writing crit.1
> Note: Writing criu-ns.1
> Note: Writing compel.1
> Note: Writing amdgpu_plugin.1
> make[3]: 'images/built-in.o' is up to date.
> make[4]: Nothing to be done for 'all'.
> make[4]: Nothing to be done for 'all'.
> make[4]: Nothing to be done for 'all'.
> make[4]: Nothing to be done for 'all'.
> make[3]: Nothing to be done for 'all'.
> make[3]: 'all' is up to date.
> make[4]: Nothing to be done for 'all'.
> make[3]: Nothing to be done for 'install'.
> make[4]: 'lib/c/built-in.o' is up to date.
> make[4]: Nothing to be done for 'all'.
> make[4]: Nothing to be done for 'all'.
> make[4]: 'lib/c/built-in.o' is up to date.
> make[4]: Nothing to be done for 'lib/c/criu.pc.in'.
> make[4]: Nothing to be done for 'all'.
>   INSTALL  criu/criu
>   INSTALL  scripts/criu-ns
>   INSTALL  lib
>   INSTALL  pkgconfig/criu.pc
>   INSTALL  crit
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: 
> SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
> 
>         
> ********************************************************************************
>         Please avoid running ``setup.py`` directly.
>         Instead, use pypa/build, pypa/installer or other
>         standards-based tools.
> 
>         See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html 
> for details.
>         
> ********************************************************************************
> 
> !!
>   self.initialize_options()
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: 
> EasyInstallDeprecationWarning: easy_install command is deprecated.
> !!
> 
>         
> ********************************************************************************
>         Please avoid running ``setup.py`` and ``easy_install``.
>         Instead, use pypa/build, pypa/installer or other
>         standards-based tools.
> 
>         See https://github.com/pypa/setuptools/issues/917 for details.
>         
> ********************************************************************************
> 
> !!
>   self.initialize_options()
> TEST FAILED: 
> /<<PKGBUILDDIR>>/debian/criu/usr/local/lib/python3.11/dist-packages/ does NOT 
> support .pth files
> bad install directory or PYTHONPATH
> 
> You are attempting to install a package to a directory that is not
> on PYTHONPATH and which Python does not read ".pth" files from.  The
> installation directory you specified (via --install-dir, --prefix, or
> the distutils default setting) was:
> 
>     /<<PKGBUILDDIR>>/debian/criu/usr/local/lib/python3.11/dist-packages/
> 
> and your PYTHONPATH environment variable currently contains:
> 
>     ''
> 
> Here are some of your options for correcting the problem:
> 
> * You can choose a different installation directory, i.e., one that is
>   on PYTHONPATH or supports .pth files
> 
> * You can add the installation directory to the PYTHONPATH environment
>   variable.  (It must then also be on PYTHONPATH whenever you run
>   Python and want to use the package(s) you are installing.)
> 
> * You can set up the installation directory to support ".pth" files by
>   using one of the approaches described here:
> 
>   
> https://setuptools.pypa.io/en/latest/deprecated/easy_install.html#custom-installation-locations
> 
> 
> Please make the appropriate changes for your system and try again.
> zip_safe flag not set; analyzing archive contents...
> pycriu.images.__pycache__.__init__.cpython-311: module references __file__
> Note: Writing criu.8
>   INSTALL  criu.8
>   INSTALL  crit.1 criu-ns.1 compel.1 amdgpu_plugin.1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> # Remove amdgpu_plugin manpage until we really provide the plugin
> rm -f --verbose 
> /<<PKGBUILDDIR>>/debian/criu/usr/share/man/man1/amdgpu_plugin.1.gz
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_installdocs
>    dh_installchangelogs
>    dh_installexamples
>    dh_installman
>    dh_python3
> I: dh_python3 tools:114: replacing shebang in debian/criu/usr/sbin/criu-ns
>    dh_perl
>    dh_usrlocal
> dh_usrlocal: error: debian/criu/usr/local/bin/crit is not a directory
> make: *** [debian/rules:9: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/criu_3.17.1-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

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

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to