- Package:
- src:altree
- Source:
- src:altree
- Submitter:
- Adrian Bunk
- Date:
- 2025-09-18 18:07:02 UTC
- Severity:
- normal
- Tags:
https://buildd.debian.org/status/fetch.php?pkg=altree&arch=all&ver=1.3.2-3&stamp=1758059694&raw=0 ... dh_install -i debian/rules execute_after_dh_install make[1]: Entering directory '/build/reproducible-path/altree-1.3.2' set -e \ ; cd debian/altree/usr/lib/*/perl*/*/ALTree/ \ ; for file in Chi2.pm Import.pm Input.pm Node.pm SitePerForet.pm SiteSensPerTree.pm Tree.pm to_rewrite.pm \ ; do iconv -f ISO-8859-1 -t UTF-8 < "${file}" > "${file}.conv" \ ; mv -v "${file}.conv" "${file}" \ ; done /bin/sh: 2: cd: can't cd to debian/altree/usr/lib/*/perl*/*/ALTree/ make[1]: *** [debian/rules:25: execute_after_dh_install] Error 2
tags 1115489 patch thanks Hi. The attached patch might help. Please note that we also need "mv -f" because otherwise a build by hand using "dpkg-buildpackage -uc -us -b" will ask the user about overriding permissions when doing the "mv" (I can provide more details about this in case you never experienced that). Thanks.
Hi. For completeness, this is what I meant:
dpkg-buildpackage -uc -us -b
[...]
Installing /tmp/20250917/altree-1.3.2/debian/tmp/usr/bin/altree-add-S
make[1]: Leaving directory '/tmp/20250917/altree-1.3.2'
dh_install
debian/rules execute_after_dh_install
make[1]: Entering directory '/tmp/20250917/altree-1.3.2'
set -e \
; cd debian/altree/usr/lib/x86_64-linux-gnu/perl5/5.40/ALTree/ \
; for file in Chi2.pm Import.pm Input.pm Node.pm SitePerForet.pm SiteSensPerTree.pm Tree.pm to_rewrite.pm \
; do iconv -f ISO-8859-1 -t UTF-8 < "${file}" > "${file}.conv" \
; mv -v "${file}.conv" "${file}" \
; done
mv: replace 'Chi2.pm', overriding mode 0444 (r--r--r--)?
(so, this is why I added -f to mv in the previous patch).
Thanks.
Hi Santiago, Thank you for your fix, and also thanks Adrian for having reported the problem, given that the bug caught me by surprise. I will inject the patch later tonight. I'm not sure whether there is a problem in sbuild or in the default Salsa CI pipeline, but the test-build-all, which I think ought to catch such issue, passed[1]. I'm under the impression that the --no-arch-any flag has not made it to the executed sbuild command, but this flag is currently necessary to reproduce the build failure: $ sbuild --arch-all # builds, --arch-any behavior slightly surprizing $ sbuild --arch-all --no-arch-any # ftbfs, as expected Anyway, this might be better reported to competent authorities. [1]: https://salsa.debian.org/med-team/altree/-/jobs/8300242 Have a good evening, :)
Hello, Bug #1115489 in altree reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/med-team/altree/-/commit/c30f294b243826bef4dc2f54c3d42af50d052e29 ------------------------------------------------------------------------ d/rules: fix ftbfs on architecture: all builds. The change also prevents mv from prompting. Closes: #1115489 Signed-off-by: Étienne Mollier <emollier@debian.org> ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1115489
We believe that the bug you reported is fixed in the latest version of
altree, 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 1115489@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Étienne Mollier <emollier@debian.org> (supplier of updated altree 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 17 Sep 2025 20:17:16 +0200
Source: altree
Architecture: source
Version: 1.3.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Étienne Mollier <emollier@debian.org>
Closes: 1115489
Changes:
altree (1.3.2-4) unstable; urgency=medium
.
* Team upload.
.
[ Santiago Vila ]
* d/rules: fix ftbfs on architecture: all builds.
The change also prevents mv from prompting.
Signed-off-by: Étienne Mollier <emollier@debian.org> (Closes: #1115489)
Checksums-Sha1:
e8ffa141c064d744851bca0bda7f828d16470bb9 2535 altree_1.3.2-4.dsc
9eea3bc6fd990154c1114fcc4152f8433a928ba9 8600 altree_1.3.2-4.debian.tar.xz
Checksums-Sha256:
2d502c91d4c3ce223895465679a62b0e7eb7f9e5a012f356a010fd837778c554 2535 altree_1.3.2-4.dsc
7a5fbcde62b2fcf6574d0e8a7f93d251052a7e8e7d28f2d40306df95d6c33cdf 8600 altree_1.3.2-4.debian.tar.xz
Files:
fb5cddf7a9cdb8811db2d33cfa9a93fe 2535 science optional altree_1.3.2-4.dsc
6a0c58fdbbec7352b2c4191fab69612a 8600 science optional altree_1.3.2-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmjLBX8UHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdrtZhAAq6A91sQ9q6H4nbIwxB/c3y2oe213
h6oE+I6nAPqxKAoILEPdOLo4FyNNzFIhv088t4d4sPn/ETcTDArtZ2qKm+VG7Fie
G1PhbLldKRK2u9gUDxAPI4nzFNq38JEE6WkbOlt/YzNpGsbUuXcGmB+sqp7ZTqLU
MG0lf9Dw2bsepIsu7UQWFixsFe1mQD4amtwV3vT0oW47hd2Z1SX/OcKUUzdFOucY
Ms9fdhkIw8QjM/0JsTGIChnpRhaDwbnlBD741Pyvn/21YRUw47tYPbNRrcsVi1vu
boX0DrpzBD/G33QD7oQOEx11eDI9Az++NYtgVTu9uJM1iuIahUt6FceURTAEPZLR
eXSN4MMIcXVYT98POOHvjOWZHLrv1bEYEX8MiUw6yeb/1TZ3Qx+0LZvuH0ADxEA9
LAbiGGzHiA/+HXoVOqCq/xmM+sl3rjNomfxMv8pg1KaRf+dYuJV777u7SOACYEJ8
VWtHK5pgy0xEzyW5rpiCBUqxv+yuC8ps5wz64iCAYSygnjFztGj5KFQ8v9VCVBoG
U51B9WtRE/EncfT0d3d2zQROlV+QFxcWuC7zbfT3RntZG6sCnOA+0fuXou40fYjE
rWhl3AR58OhfKOay+q+pDzlW13HCuhSQVKM7jxBARiQTvc2JBh/gx0Sh7BgIBhtq
RyBincJxmor+GG4=
=YlUn
-----END PGP SIGNATURE-----
Ok, I've just sent an email to debian-salsa-ci at alioth-lists.debian.net explaining the bug. Salsa CI has very recently switched to sbuild as the tool used by the jobs to build packages, so I understand there may be little glitches like this one. Thanks.
Hi Santiago, Santiago Vila, on 2025-09-17: Thanks, for the record, the correction was brought on Salsa via merge #660[1]. I also took the liberty to question whether --arch-any should still be default in sbuild wishlist bug #1115518, as the current behavior looks to me to be source of confusion. [1]: https://salsa.debian.org/salsa-ci-team/pipeline/-/merge_requests/660 Have a nice evening, :)