Source: libseccomp
Version: 2.5.4-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
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[3]: Entering directory '/<<PKGBUILDDIR>>/src/python'
> VERSION_RELEASE="2.5.4" CPPFLAGS="-I\../../include -I../../include 
> -I../../include -Wdate-time -D_FORTIFY_SOURCE=2" CFLAGS="-Wall -Umips -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" 
> LDFLAGS="-Wl,-z -Wl,relro -Wl,-z,relro" python3.11 ./setup.py install 
> --install-lib=/<<PKGBUILDDIR>>/debian/tmp//usr/lib/python3.11/site-packages \
>       
> --record=/<<PKGBUILDDIR>>/debian/tmp//usr/lib/python3.11/site-packages/install_files.txt
> make[3]: Nothing to be done for 'install-data-am'.
> /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/tmp//usr/lib/python3.11/site-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/tmp//usr/lib/python3.11/site-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...
> __pycache__.seccomp.cpython-311: module references __file__
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/python'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/python'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_install
> dh_install: warning: Cannot find (any matches for) 
> "usr/lib/python3.*/site-packages/seccomp.cpython-*.so" (tried in ., 
> debian/tmp)
> 
> dh_install: warning: python3-seccomp missing files: 
> usr/lib/python3.*/site-packages/seccomp.cpython-*.so
> dh_install: error: missing files, aborting
> make: *** [debian/rules:14: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/libseccomp_2.5.4-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&[email protected]&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