Your message dated Wed, 25 Oct 2023 18:35:12 +0000
with message-id <[email protected]>
and subject line Bug#1052854: fixed in dh-python 6.20231025
has caused the Debian Bug report #1052854,
regarding python-vulndb: FTBFS: FileNotFoundError: [Errno 2] No such file or 
directory: '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/db'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1052854: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052854
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-vulndb
Version: 0.1.3-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:291: python3.11 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:291: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb
> copying vulndb/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb
> copying vulndb/db_vuln.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests
> copying vulndb/tests/test_load_all_json.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests
> copying vulndb/tests/test_db_vuln.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests
> copying vulndb/tests/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/constants
> copying vulndb/constants/wasc.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/constants
> copying vulndb/constants/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/constants
> copying vulndb/constants/cwe.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/constants
> copying vulndb/constants/owasp.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/constants
> running egg_info
> creating vulndb.egg-info
> writing vulndb.egg-info/PKG-INFO
> writing dependency_links to vulndb.egg-info/dependency_links.txt
> writing top-level names to vulndb.egg-info/top_level.txt
> writing manifest file 'vulndb.egg-info/SOURCES.txt'
> reading manifest file 'vulndb.egg-info/SOURCES.txt'
> adding license file 'LICENSE'
> writing manifest file 'vulndb.egg-info/SOURCES.txt'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:291: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; 
> python3.11 -m unittest discover -v 
> test_basic (vulndb.tests.test_db_vuln.TestDBVuln.test_basic) ... ok
> test_from_file (vulndb.tests.test_db_vuln.TestDBVuln.test_from_file) ... ERROR
> test_from_id (vulndb.tests.test_db_vuln.TestDBVuln.test_from_id) ... ERROR
> test_get_cwe_url (vulndb.tests.test_db_vuln.TestDBVuln.test_get_cwe_url) ... 
> ok
> test_get_owasp_top_10_url 
> (vulndb.tests.test_db_vuln.TestDBVuln.test_get_owasp_top_10_url) ... ok
> test_get_wasc_url (vulndb.tests.test_db_vuln.TestDBVuln.test_get_wasc_url) 
> ... ok
> test_load_es_lang (vulndb.tests.test_db_vuln.TestDBVuln.test_load_es_lang) 
> ... ERROR
> test_from_file 
> (vulndb.tests.test_load_all_json.TestLoadAllJSON.test_from_file) ... ERROR
> 
> ======================================================================
> ERROR: test_from_file (vulndb.tests.test_db_vuln.TestDBVuln.test_from_file)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests/test_db_vuln.py", 
> line 68, in test_from_file
>     dbv_1 = DBVuln.from_file(_file)
>             ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/db_vuln.py", 
> line 86, in from_file
>     data = DBVuln.load_from_json(db_file, language=language)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/db_vuln.py", 
> line 202, in load_from_json
>     raw = json.loads(open(db_file).read())
>                      ^^^^^^^^^^^^^
> FileNotFoundError: [Errno 2] No such file or directory: 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests/db/en/123-spec-example.json'
> 
> ======================================================================
> ERROR: test_from_id (vulndb.tests.test_db_vuln.TestDBVuln.test_from_id)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests/test_db_vuln.py", 
> line 75, in test_from_id
>     dbv = DBVuln.from_id(123)
>           ^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/db_vuln.py", 
> line 95, in from_id
>     db_file = DBVuln.get_file_for_id(_id, language=language)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/db_vuln.py", 
> line 119, in get_file_for_id
>     for _file in os.listdir(json_path):
>                  ^^^^^^^^^^^^^^^^^^^^^
> FileNotFoundError: [Errno 2] No such file or directory: 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests/db/en'
> 
> ======================================================================
> ERROR: test_load_es_lang 
> (vulndb.tests.test_db_vuln.TestDBVuln.test_load_es_lang)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests/test_db_vuln.py", 
> line 123, in test_load_es_lang
>     dbv_1 = DBVuln.from_file(_file, language=language)
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/db_vuln.py", 
> line 86, in from_file
>     data = DBVuln.load_from_json(db_file, language=language)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/db_vuln.py", 
> line 202, in load_from_json
>     raw = json.loads(open(db_file).read())
>                      ^^^^^^^^^^^^^
> FileNotFoundError: [Errno 2] No such file or directory: 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests/db/es/123-spec-example.json'
> 
> ======================================================================
> ERROR: test_from_file 
> (vulndb.tests.test_load_all_json.TestLoadAllJSON.test_from_file)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/tests/test_load_all_json.py",
>  line 18, in test_from_file
>     for language in DBVuln.get_all_languages():
>                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/db_vuln.py", 
> line 69, in get_all_languages
>     return os.listdir(DBVuln.DB_PATH)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^
> FileNotFoundError: [Errno 2] No such file or directory: 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vulndb/db'
> 
> ----------------------------------------------------------------------
> Ran 8 tests in 0.002s
> 
> FAILED (errors=4)
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m unittest 
> discover -v 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/python-vulndb_0.1.3-2_unstable.log

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

--- End Message ---
--- Begin Message ---
Source: dh-python
Source-Version: 6.20231025
Done: Stefano Rivera <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dh-python, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated dh-python package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 25 Oct 2023 20:08:06 +0200
Source: dh-python
Architecture: source
Version: 6.20231025
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Closes: 1049950 1052854
Changes:
 dh-python (6.20231025) unstable; urgency=medium
 .
   * Align detection of nocheck with debhelper, thanks Victor Westerhuis.
   * Remove more license files from dist-info, thanks Christoph Anton Mitterer.
   * Clean .tox directories. Previously the code to do this was unreachable.
     (Closes: #1049950)
   * Add test-coverage for distutils-extra, missed in 6.20230825.
   * pybuild: Ignore an exit code of 5, for no tests found, from
     unittest.discover for now. When we are ready to break packages and fix
     #1024971, this will change.
   * Build-Depends: python3-setuptools to avoid FTBFS with
     Python 3.12 as a supported version.
   * Also, Depends: python3-setuptools for now, to avoid adding it
     in other packages.
   * Don't clean egg-info/SOURCES.txt for packages using setuptools-scm, as
     they may be depending on it to locate package_data. (Closes: #1052854)
Checksums-Sha1:
 a675a0a2248f3d04e3c94d0510d2b632435b229f 1664 dh-python_6.20231025.dsc
 9e917a9e9fb8a893bfcdae85c50323769d4dcb9f 121432 dh-python_6.20231025.tar.xz
 f5aecb89b2e3539d03ad2909e23e832eca8cfb12 6772 
dh-python_6.20231025_source.buildinfo
Checksums-Sha256:
 a4558b8931e21e539318353046272b7309852c6057b69f68bcf667e20067538e 1664 
dh-python_6.20231025.dsc
 9f56ecaaea7ffd80ac42d005a474b89a38620c53a558aa73d0701297b200376e 121432 
dh-python_6.20231025.tar.xz
 e314493dba9aa30349b0b01524ac2a846eb399ba680ff99111fd07490c9ff043 6772 
dh-python_6.20231025_source.buildinfo
Files:
 40c301c40b9c43ced16a3233d88d3acd 1664 python optional dh-python_6.20231025.dsc
 7755f7ca1ecd95f6254eb54277021fdc 121432 python optional 
dh-python_6.20231025.tar.xz
 fe9e1e7e55fe98eed18e523dea1ed92e 6772 python optional 
dh-python_6.20231025_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCZTlaRxQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2HhUAQCGZL3j7JblYbcLLtxb8OdYZ2qIPC9d
wFQ/r62llASwcAEAtJFcSfz+F0jG0Z3JPmIS+rXVz1/3RjJPsE/tEYK8dgg=
=FBFf
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to