Debian Bug report logs -
#1015024
device-tree-compiler: FTBFS: LookupError: setuptools-scm was unable to detect version for /<<PKGBUILDDIR>>.
Reported by: Lucas Nussbaum <lucas@debian.org>
Date: Sat, 16 Jul 2022 14:00:02 UTC
Severity: serious
Tags: bookworm, ftbfs, patch, sid
Found in version device-tree-compiler/1.6.1-2
Fixed in version device-tree-compiler/1.6.1-3
Done: Héctor Orón Martínez <zumbi@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Héctor Orón Martínez <zumbi@debian.org>:
Bug#1015024; Package src:device-tree-compiler.
(Sat, 16 Jul 2022 14:00:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Héctor Orón Martínez <zumbi@debian.org>.
(Sat, 16 Jul 2022 14:00:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: device-tree-compiler
Version: 1.6.1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220716 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
> x86_64-linux-gnu-gcc -g -Os -fPIC -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wno-error -I/usr/include/valgrind -Wdate-time -D_FORTIFY_SOURCE=2 -I libfdt -I . -Wl,-z,relro -Wl,-z,now -o convert-dtsv0 srcpos.o util.o convert-dtsv0-lexer.lex.o
> set -e; echo ' CHK version_gen.h'; mkdir -p ./; (echo "#define DTC_VERSION \"DTC 1.6.1\""; ) < Makefile > version_gen.h.tmp; if [ -r version_gen.h ] && cmp -s version_gen.h version_gen.h.tmp; then rm -f version_gen.h.tmp; else echo ' UPD version_gen.h'; mv -f version_gen.h.tmp version_gen.h; fi;
> CHK version_gen.h
> x86_64-linux-gnu-gcc -g -Os -fPIC -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wno-error -I/usr/include/valgrind -Wdate-time -D_FORTIFY_SOURCE=2 -I libfdt -I . -Wl,-z,relro -Wl,-z,now -o fdtdump fdtdump.o util.o
> x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -I libfdt -I . -g -Os -fPIC -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wno-error -I/usr/include/valgrind -o libfdt/fdt_overlay.o -c libfdt/fdt_overlay.c
> x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now -fPIC -shared -Wl,--version-script=libfdt/version.lds -Wl,-soname,libfdt.so.1 -o libfdt/libfdt-1.6.1.so \
> libfdt/fdt.o libfdt/fdt_ro.o libfdt/fdt_wip.o libfdt/fdt_sw.o libfdt/fdt_rw.o libfdt/fdt_strerror.o libfdt/fdt_empty_tree.o libfdt/fdt_addresses.o libfdt/fdt_overlay.o libfdt/fdt_check.o
> ar rv libfdt/libfdt.a libfdt/fdt.o libfdt/fdt_ro.o libfdt/fdt_wip.o libfdt/fdt_sw.o libfdt/fdt_rw.o libfdt/fdt_strerror.o libfdt/fdt_empty_tree.o libfdt/fdt_addresses.o libfdt/fdt_overlay.o libfdt/fdt_check.o
> ar: creating libfdt/libfdt.a
> a - libfdt/fdt.o
> a - libfdt/fdt_ro.o
> a - libfdt/fdt_wip.o
> a - libfdt/fdt_sw.o
> a - libfdt/fdt_rw.o
> a - libfdt/fdt_strerror.o
> a - libfdt/fdt_empty_tree.o
> a - libfdt/fdt_addresses.o
> a - libfdt/fdt_overlay.o
> a - libfdt/fdt_check.o
> ln -sf libfdt-1.6.1.so libfdt/libfdt.so.1
> x86_64-linux-gnu-gcc -g -Os -fPIC -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wno-error -I/usr/include/valgrind -Wdate-time -D_FORTIFY_SOURCE=2 -I libfdt -I . -Wl,-z,relro -Wl,-z,now -o fdtget fdtget.o util.o libfdt/libfdt-1.6.1.so
> x86_64-linux-gnu-gcc -g -Os -fPIC -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wno-error -I/usr/include/valgrind -Wdate-time -D_FORTIFY_SOURCE=2 -I libfdt -I . -Wl,-z,relro -Wl,-z,now -o fdtoverlay fdtoverlay.o util.o libfdt/libfdt-1.6.1.so
> x86_64-linux-gnu-gcc -g -Os -fPIC -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wno-error -I/usr/include/valgrind -Wdate-time -D_FORTIFY_SOURCE=2 -I libfdt -I . -Wl,-z,relro -Wl,-z,now -o dtc dtc.o checks.o data.o flattree.o fstree.o livetree.o srcpos.o treesource.o util.o yamltree.o dtc-lexer.lex.o dtc-parser.tab.o -lyaml
> ar rv libfdt/libfdt.a libfdt/fdt.o libfdt/fdt_ro.o libfdt/fdt_wip.o libfdt/fdt_sw.o libfdt/fdt_rw.o libfdt/fdt_strerror.o libfdt/fdt_empty_tree.o libfdt/fdt_addresses.o libfdt/fdt_overlay.o libfdt/fdt_check.o
> x86_64-linux-gnu-gcc -g -Os -fPIC -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -Wno-error -I/usr/include/valgrind -Wdate-time -D_FORTIFY_SOURCE=2 -I libfdt -I . -Wl,-z,relro -Wl,-z,now -o fdtput fdtput.o util.o libfdt/libfdt-1.6.1.so
> r - libfdt/fdt.o
> r - libfdt/fdt_ro.o
> r - libfdt/fdt_wip.o
> r - libfdt/fdt_sw.o
> r - libfdt/fdt_rw.o
> r - libfdt/fdt_strerror.o
> r - libfdt/fdt_empty_tree.o
> r - libfdt/fdt_addresses.o
> r - libfdt/fdt_overlay.o
> r - libfdt/fdt_check.o
> python3 ./setup.py build_ext --build-lib=pylibfdt
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/./setup.py", line 40, in <module>
> setup(
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup
> return distutils.core.setup(**attrs)
> File "/usr/lib/python3.10/distutils/core.py", line 108, in setup
> _setup_distribution = dist = klass(attrs)
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 459, in __init__
> _Distribution.__init__(
> File "/usr/lib/python3.10/distutils/dist.py", line 292, in __init__
> self.finalize_options()
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 837, in finalize_options
> ep(self)
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 858, in _finalize_setup_keywords
> ep.load()(self, ep.name, value)
> File "/usr/lib/python3/dist-packages/setuptools_scm/integration.py", line 90, in version_keyword
> _assign_version(dist, config)
> File "/usr/lib/python3/dist-packages/setuptools_scm/integration.py", line 62, in _assign_version
> _version_missing(config)
> File "/usr/lib/python3/dist-packages/setuptools_scm/__init__.py", line 109, in _version_missing
> raise LookupError(
> LookupError: setuptools-scm was unable to detect version for /<<PKGBUILDDIR>>.
>
> Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
>
> For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
> make[3]: *** [pylibfdt/Makefile.pylibfdt:20: pylibfdt/_libfdt.so] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/07/16/device-tree-compiler_1.6.1-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&fusertaguser=lucas@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 marking 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.
Information forwarded
to debian-bugs-dist@lists.debian.org, Héctor Orón Martínez <zumbi@debian.org>:
Bug#1015024; Package src:device-tree-compiler.
(Sat, 08 Oct 2022 12:33:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Graham Inggs <ginggs@debian.org>:
Extra info received and forwarded to list. Copy sent to Héctor Orón Martínez <zumbi@debian.org>.
(Sat, 08 Oct 2022 12:33:02 GMT) (full text, mbox, link).
Message #10 received at 1015024@bugs.debian.org (full text, mbox, reply):
Control: tags -1 + patch
Patch at:
https://salsa.debian.org/crosstoolchain-team/device-tree-compiler/-/merge_requests/3
Added tag(s) patch.
Request was from Graham Inggs <ginggs@debian.org>
to 1015024-submit@bugs.debian.org.
(Sat, 08 Oct 2022 12:33:03 GMT) (full text, mbox, link).
Reply sent
to Héctor Orón Martínez <zumbi@debian.org>:
You have taken responsibility.
(Fri, 14 Oct 2022 15:51:10 GMT) (full text, mbox, link).
Notification sent
to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer.
(Fri, 14 Oct 2022 15:51:10 GMT) (full text, mbox, link).
Message #17 received at 1015024-close@bugs.debian.org (full text, mbox, reply):
Source: device-tree-compiler
Source-Version: 1.6.1-3
Done: Héctor Orón Martínez <zumbi@debian.org>
We believe that the bug you reported is fixed in the latest version of
device-tree-compiler, 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 1015024@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Héctor Orón Martínez <zumbi@debian.org> (supplier of updated device-tree-compiler 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)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 12 Oct 2022 23:04:01 +0200
Source: device-tree-compiler
Architecture: source
Version: 1.6.1-3
Distribution: unstable
Urgency: medium
Maintainer: Héctor Orón Martínez <zumbi@debian.org>
Changed-By: Héctor Orón Martínez <zumbi@debian.org>
Closes: 1010064 1015024
Changes:
device-tree-compiler (1.6.1-3) unstable; urgency=medium
.
[ Debian Janitor ]
* Set upstream metadata fields: Repository.
.
[ Dave Jones ]
* d/rules: Fix FTBFS; DEB_VERSION_UPSTREAM is blank without pkg-info.mk
(Closes: #1015024)
.
[ Héctor Orón Martínez ]
* debian/rules: fix syntax in clean func
* debian/gbp.conf: we do not have pristine-tar branch
(Closes: #1010064)
Checksums-Sha1:
2cec24a89188247a74424d0274834eb443ecd296 2458 device-tree-compiler_1.6.1-3.dsc
7ab49aad1ea0daf1ac39159635c0aaa1da7ea5b9 15756 device-tree-compiler_1.6.1-3.debian.tar.xz
9a31d7a0d0b0325a2f1f3e9d6c6651d7f6722441 9395 device-tree-compiler_1.6.1-3_source.buildinfo
Checksums-Sha256:
951db0de3ee654e89fa5b1dc788fe90fdbb3517063fa456aab53cb9488ca937b 2458 device-tree-compiler_1.6.1-3.dsc
9019366d87836df229457a54f5c350c9c7301fb95fce3c437c2806e045218d09 15756 device-tree-compiler_1.6.1-3.debian.tar.xz
ecb1056188da247d326d5d2b30237a94811810983bce3a14e5a1378c0389df9c 9395 device-tree-compiler_1.6.1-3_source.buildinfo
Files:
f5243cef29c9c16fa618107071546d04 2458 devel optional device-tree-compiler_1.6.1-3.dsc
35dc15575f75a9c9ca116f569abdeeba 15756 devel optional device-tree-compiler_1.6.1-3.debian.tar.xz
5df8ab09a71c796365a0890ecfe57ab5 9395 devel optional device-tree-compiler_1.6.1-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE6Q8IiVReeMgqnedOryKDqnbirHsFAmNJgBkACgkQryKDqnbi
rHuyJw/8CrbwQg1HZ4Lh3iLJd+chTGXjbKk3Eu8+JpcqAyVku9G2coIdLpER5Z09
KuAe3e3VcwOE/NT5/4yjQaPNKfeuOoBVPuCoGsix8ccYrC2QmjE0oD0Td4yqCMGA
1D/GjqyxlMoKIabT/QYv3qc/d/8rXZUs8Nhf3dch6Fe/XPhmCkbcPv7dYYxykviz
IKNdgsasYW0W0KVrpZvRTRiAuFrxa7mAela6jvEZQUDVUazgdHRsqmJmnJc1YbQl
RfVeOE5sKXo1OWEnY9fF6H7bLX49uJyolk+2oD7dB0S+ryZa/HLPACK/eC9Rgqt5
RRsXNuWHfbtxWd4aDl/vNjaeNF7WKuaqzxMgf6Y7v7IxILqy5gKP0BZM1PzhY4F0
yOGWo4R76Cg5opwE94EMksQzhutReI0OzbfqrIhKfCnaV5Kjz/fPh71C4sK2PY3g
hds5b4RjTRmweh/AJfgJWafypvSlOMtB5SDoBrPYE/eRAFxd17RF2L//+Yexkuxb
+Dgy2o/1EgCPMT6FQ/fzjkBiAjK4PfbZMXYoSNrdv4g9AlQggcHOrF9uO6k+Tu7U
R62Rs9CtUmYXuy/vIXYwHHPQV+UY1AVK8PWwpLFg3rO5KRH7XLZkhTmwAUHbBgIV
/PD18RYRhU2/6PvKyd4CvYgPI8sSY9gITILVxns554bOYyUczB8=
=Am32
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 19 Nov 2022 07:26:24 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Aug 8 01:18:13 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.