[Pkg-rust-maintainers] Bug#839643: src:rustc: ppc64el is missing

Erwan Prioul erwan at linux.vnet.ibm.com
Mon Oct 3 12:37:16 UTC 2016


Package: src:rustc
Version: 1.11.0+dfsg1-3
Severity: normal

Dear Maintainer,

I tried to build the package. I followed the guidelines from debian/README.Debian, but I hit an issue:

$ upstream_bootstrap_arch=ppc64el debian/rules source_orig-dl
QUILT_PATCHES=debian/patches quilt push -aq; x=$?; if [ $x = 2 ]; then exit 0; else exit $x; fi
Applying patch debian/patches/rust-gdb-paths
Applying patch debian/patches/rust-lldb-paths
Applying patch debian/patches/add-soname
Applying patch debian/patches/avoid-redundant-dls.diff
Applying patch debian/patches/dont-download-stage0.diff
Applying patch debian/patches/reproducible-dl-stage0.patch
Applying patch debian/patches/fix-configure-for-deb-arches.patch
Applying patch debian/patches/ignore-failing-armhf-tests_01.patch
Applying patch debian/patches/ignore-failing-armhf-tests_02.patch
Applying patch debian/patches/ignore-failing-armhf-tests_03.patch
Applying patch debian/patches/ignore-failing-armhf-tests_04.patch
Applying patch debian/patches/dynamic-link-llvm.patch
Applying patch debian/patches/if-local-rust-same-version-then-force-local-rebuild.patch
Applying patch debian/patches/ignore-stdcall-test-on-arm64.patch
Applying patch debian/patches/fix-non-x86-doc-tests.patch
Applying patch debian/patches/nodoc-for-build-arch.patch
Now at patch debian/patches/nodoc-for-build-arch.patch
/usr/bin/make -f debian/rules clean
make[1]: Entering directory '/root/r/t/rustc-1.11.0'
dh clean --parallel
   dh_testdir
   debian/rules override_dh_auto_clean
make[2]: Entering directory '/root/r/t/rustc-1.11.0'
set -e; \
if [ -f Makefile ]; then \
  /usr/bin/make  clean-all; \
  rm -f Makefile config.stamp config.mk; \
fi
rm -f src/rt/hoedown/src/html_blocks.c # clean up after building this ourselves
rm -f src/bootstrap/bootstrap.pyc
make[2]: Leaving directory '/root/r/t/rustc-1.11.0'
   dh_clean
make[1]: Leaving directory '/root/r/t/rustc-1.11.0'
debian/make_orig-dl_tarball.sh
downloading https://static.rust-lang.org/dist/2016-07-05/rustc-1.10.0-powerpc64le-unknown-linux-gnu.tar.gz.sha256 to dl/rustc-1.10.0-powerpc64le-unknown-linux-gnu.tar.gz.sha256
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   343    0   343    0     0    295      0 --:--:--  0:00:01 --:--:--   295
downloading https://static.rust-lang.org/dist/2016-07-05/rustc-1.10.0-powerpc64le-unknown-linux-gnu.tar.gz to /tmp/tmpvObYaP
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   336    0   336    0     0    502      0 --:--:-- --:--:-- --:--:--   502
verifying /tmp/tmpvObYaP
removing /tmp/tmpvObYaP
Traceback (most recent call last):
  File "src/etc/get-stage0.py", line 46, in <module>
    main(sys.argv[1])
  File "src/etc/get-stage0.py", line 34, in main
    bootstrap.get(url, dst, use_local_hash_if_present=True)
  File "/root/r/t/rustc-1.11.0/src/bootstrap/bootstrap.py", line 44, in get
    if not verify(temp_path, sha_path, verbose):
  File "/root/r/t/rustc-1.11.0/src/bootstrap/bootstrap.py", line 75, in verify
    expected, _ = f.readline().split()
ValueError: too many values to unpack
debian/rules:209: recipe for target 'source_orig-dl' failed
make: *** [source_orig-dl] Error 1

It seems the tarball for ppc64el doesn't exist (pretty obvious).


I'd be glad to help to enable rustc on ppc64el. 

Regards,
Erwan.



More information about the Pkg-rust-maintainers mailing list