Your message dated Tue, 17 Oct 2023 11:04:56 +0000
with message-id <e1qshse-00avbw...@fasolo.debian.org>
and subject line Bug#1052854: fixed in python-vulndb 0.1.3-3
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 ow...@bugs.debian.org
immediately.)
--
1052854: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052854
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-vulndb
Version: 0.1.3-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
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;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&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.
--- End Message ---
--- Begin Message ---
Source: python-vulndb
Source-Version: 0.1.3-3
Done: Gianfranco Costamagna <locutusofb...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-vulndb, 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 1052...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofb...@debian.org> (supplier of updated
python-vulndb 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 17 Oct 2023 12:50:34 +0200
Source: python-vulndb
Built-For-Profiles: noudeb
Architecture: source
Version: 0.1.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <team+pkg-secur...@tracker.debian.org>
Changed-By: Gianfranco Costamagna <locutusofb...@debian.org>
Closes: 1048810 1052854
Changes:
python-vulndb (0.1.3-3) unstable; urgency=medium
.
[ Samuel Henrique ]
* Add salsa-ci.yml
.
[ Gianfranco Costamagna ]
* Bump copyright years
* Add upstream metadata
* Backup egg.info directory during dh clean (Closes: #1052854)
* Make the package successfully build twice (Closes: #1048810)
* Bump std-version to 4.6.2
* Add setuptools-git dependency and drop patches.
Checksums-Sha1:
7b3e6111b10f9ce3af2647ef14369b47d42a971f 2069 python-vulndb_0.1.3-3.dsc
a950f352c4d623ac50e447b8ef82e8526df26ed0 3056
python-vulndb_0.1.3-3.debian.tar.xz
ae45f26fbfc31cb62f0ecc3f3316f581b2ff752c 8509
python-vulndb_0.1.3-3_source.buildinfo
Checksums-Sha256:
74ff615159bb178555ab109fa2ecaab196773cb7aef12ed0f47f3c7aa51abafa 2069
python-vulndb_0.1.3-3.dsc
54e00789aae555e780522953a6979941ffdd91e89abb965f46d55537425a119f 3056
python-vulndb_0.1.3-3.debian.tar.xz
f41953fd736fd2c5dca97d647644f9ab230e021729579537979aeeb3c2cbd407 8509
python-vulndb_0.1.3-3_source.buildinfo
Files:
166d50a90700d8f017846378b81ffec1 2069 python optional python-vulndb_0.1.3-3.dsc
2d6324ae0afdc99b73444037914c9997 3056 python optional
python-vulndb_0.1.3-3.debian.tar.xz
402b733c35e2a7de7e6e17d5cb05735e 8509 python optional
python-vulndb_0.1.3-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmUuZzkACgkQ808JdE6f
Xdnn/BAAsPHUqoZoO6eQdsiDBpUeSlsrvKxMn/LWSn/47xj41K0r3iBa9szextE4
z1PWVYLFl8kAx7uOVDGiYErfLGd5f+rvsk+FoT159DY7naolllCDnhfsRusYnjMz
Lcve4Nvt1C0LGn7hMqPZUfOqQTzcQcwE2sQKBcBe6Fj4yUXCoyx1vA9a4D1tCbQm
JiTEtakhMFTSC2BST/Bh1lZcn7OPHKerQRSuVbGJLC1RyExNPnu4VpxJ1BGkprXT
9NVJ2E6i8xzHmwKep1PwHytFSuFJzWAEXC03FfHx+T1t/mjaitbJwZCQ3nT+/9et
/zvOGTexyonIU29T0IDL9NEvPUXlMiyp0Y25TppX+opdpf7W3MZspLQO7h+azbHr
jey9lDWSZLc4GWQbR6x3zRHU9HdCVHBe9LUDesGFcy+aMq8xBjcNjT0j9Ymb5rl4
lFXD8DDbFdbI/q02OmZCMQ+i7g3Ix0UWF711cLdn4NASS7ZIe0D8s1ebO6QuTK0I
RH3GzAESp5+zTPJ6oj7WekYP8LQxlK3h68FpJhEuTrFFm1iL87f0jTH/w0gZRQDY
4q8k7Xw1YcjzTg4e1TVRQx1tbWLojsyGvTkA4dQRQhoskRQ7cw+sm1XCTEZ01i7K
UafYkRejGBHVKQurFCgenbLnegFYsLFX+4sdpUgDnpgCd8YXk3U=
=ydTp
-----END PGP SIGNATURE-----
--- End Message ---