Your message dated Thu, 20 Jan 2022 01:48:48 +0000
with message-id <e1namze-0003lp...@fasolo.debian.org>
and subject line Bug#1003962: fixed in dh-python 5.20220119
has caused the Debian Bug report #1003962,
regarding Fails with --buildsystem=cmake if builddirectory contains package 
version with ~ tilde
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.)


-- 
1003962: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003962
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dh-python
Version: 5.20220101
Severity: serious
Affects: pynest2s

pynest2s 4.13~beta-1 ftbfses on all architectures:
https://buildd.debian.org/status/package.php?p=pynest2d

The reason is that pybuild "'double quotes'" the --builddirectory
argument, making it a relative path since it doesn't start with /.
Note how PKGBUILDDIR is duplicated:

dh build-arch --buildsystem=pybuild --with python3 --with sip3
   dh_update_autotools_config -a -O--buildsystem=pybuild
   dh_autoreconf -a -O--buildsystem=pybuild
   dh_auto_configure -a -O--buildsystem=pybuild
I: pybuild base:237: dh_auto_configure --buildsystem=cmake 
--builddirectory="'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build'" -- [...]
...
   dh_auto_build -a -O--buildsystem=pybuild
I: pybuild base:237: dh_auto_build --buildsystem=cmake 
--builddirectory="'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build'" --
        cd '/<<BUILDDIR>>/pynest2d-4.13\~beta/.pybuild/cpython3_3.10/build' && 
make -j4 "INSTALL=install --strip-program=true" VERBOSE=1
make[1]: Entering directory 
'/<<PKGBUILDDIR>>/'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build''
(For whatever reason make is still happy with the borked path at that point...)
...
/usr/bin/cmake -E touch 
/<<PKGBUILDDIR>>/'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build'/src/sippynest2dpart0.cpp
 [...]
cmake -E touch: failed to update 
"/<<PKGBUILDDIR>>//<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/src/sippynest2dpart0.cpp".


I suspect the error is in /usr/share/dh-python/dhpython/build/plugin_cmake.py:

        return ('dh_auto_build --buildsystem=cmake'
                ' --builddirectory="{build_dir}"'

If I replace "{build_dir}" by {build_dir} in that file, the build
succeeds.

Christoph

--- End Message ---
--- Begin Message ---
Source: dh-python
Source-Version: 5.20220119
Done: Stefano Rivera <stefa...@debian.org>

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 1003...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <stefa...@debian.org> (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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 19 Jan 2022 21:06:38 -0400
Source: dh-python
Architecture: source
Version: 5.20220119
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <pi...@debian.org>
Changed-By: Stefano Rivera <stefa...@debian.org>
Closes: 1003962
Changes:
 dh-python (5.20220119) unstable; urgency=medium
 .
   * Allow passing arguments to tox tests.
   * cmake plugin: Don't quote arguments that will be substituted (and quoted)
     by shell_command. (closes: 1003962)
Checksums-Sha1:
 a1079038e4e4fec23c855a8bf8ada189603c5a01 1552 dh-python_5.20220119.dsc
 157a0e212d3d406051f43697915e42611584feca 112016 dh-python_5.20220119.tar.xz
 148aa889ba9b87b222762b05d5540785e7e84591 6434 
dh-python_5.20220119_source.buildinfo
Checksums-Sha256:
 2591978a708c4d6a0ed82eab93e368b9de4ea9d92fa6b682a652f131ed52868e 1552 
dh-python_5.20220119.dsc
 ddd5549e705b0f39f4fad8a7816a24033a8b336896bc25b5be5c41cc2aca9391 112016 
dh-python_5.20220119.tar.xz
 5a77aa16e2743988747ad6ae021b4fb5c3497d83c989d4b277a3789cd60839a4 6434 
dh-python_5.20220119_source.buildinfo
Files:
 8e2408de2451dcc92574611e88d3519d 1552 python optional dh-python_5.20220119.dsc
 f952ce322a3e0edb8d507a18e1ffa571 112016 python optional 
dh-python_5.20220119.tar.xz
 52bf55275a716fd67b6a9ab13ab35b5d 6434 python optional 
dh-python_5.20220119_source.buildinfo

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

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCYei7/hQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2BzFAP4//e2G+esQO6O5Mqk68R77sOhxnWhY
H+kmBymjAtuW6gD/XYzKW0VgGQgXImZc4zWRfwhAJ8lMV7uxbYLogTduqQQ=
=y4wC
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to