[Pkg-rust-maintainers] Bug#1060808: rustc: debian/rules source_orig-stage0 fails on 1.70.0

Fab Stz fabstz-it at yahoo.fr
Sun Jan 14 19:44:11 GMT 2024


Package: rustc
Version: 1.70.0+dfsg1
Severity: normal

Dear Maintainer,

I was trying to run this script as suggested in debian/README.source

LC_ALL=C upstream_bootstrap_arch="i386" debian/rules source_orig-stage0

But it fails as follows:

QUILT_PATCHES=debian/patches quilt push -aq; x=$?; if [ $x = 2 ]; then exit 0;
else exit $x; fi
File series fully applied, ends at patch ubuntu-ignore-arm-doctest.patch
/usr/bin/make -f debian/rules clean
make[1]: Entering directory '/build/rustc-1.70.0+dfsg1'
dh clean --parallel
   debian/rules override_dh_auto_clean
make[2]: Entering directory '/build/rustc-1.70.0+dfsg1'
rm -f -rf build tmp debian/cargo_home config.stamp config.mk Makefile
rm -f -rf debian/rustc-tests.log debian/config.toml debian/*.stamp
rm -f -rf src/bootstrap/bootstrap.pyc src/bootstrap/__pycache__
src/etc/__pycache__/ config.toml
make[2]: Leaving directory '/build/rustc-1.70.0+dfsg1'
   debian/rules override_dh_clean
make[2]: Entering directory '/build/rustc-1.70.0+dfsg1'
# Upstream contains a lot of these
dh_clean -XCargo.toml.orig
make[2]: Leaving directory '/build/rustc-1.70.0+dfsg1'
make[1]: Leaving directory '/build/rustc-1.70.0+dfsg1'
debian/make_orig-stage0_tarball.sh
Traceback (most recent call last):
  File "/build/rustc-1.70.0+dfsg1/debian/get-stage0.py",
line 31, in <module>
    main(sys.argv)
  File "/build/rustc-1.70.0+dfsg1/debian/get-stage0.py",
line 28, in main
    bootstrap.bootstrap(False)
  File
"/build/rustc-1.70.0+dfsg1/src/bootstrap/bootstrap.py",
line 858, in bootstrap
    build.verbose = args.verbose != 0
                    ^^^^^^^^^^^^
AttributeError: 'bool' object has no attribute 'verbose'
make: *** [debian/rules:483: source_orig-stage0] Error 1


-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (991, 'stable-updates'), (991, 'stable-security'), (991, 
'stable'), (990, 'proposed-updates'), (390, 'oldstable-security'), (390, 
'oldstable'), (389, 'oldstable-updates'), (380, 'oldoldstable'), (379, 
'oldoldstable-updates'), (370, 'oldoldstable'), (95, 'testing'), (94, 
'unstable'), (93, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-17-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages rustc depends on:
ii  binutils              2.40-2
ii  gcc                   4:12.2.0-3
ii  libc6                 2.36-9+deb12u3
ii  libc6-dev [libc-dev]  2.36-9+deb12u3
ii  libgcc-s1             12.2.0-14
ii  libstd-rust-dev       1.63.0+dfsg1-2

Versions of packages rustc recommends:
ii  cargo    0.66.0+ds1-1
ii  llvm-14  1:14.0.6-12

Versions of packages rustc suggests:
pn  clang-14  <none>
pn  lld-14    <none>

-- no debconf information



More information about the Pkg-rust-maintainers mailing list