rustc.git
6 years agoUse local web resources instead of remote ones
Matthijs van Otterdijk [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
Use local web resources instead of remote ones

Bug: https://github.com/azerupi/mdBook/issues/271
Comment:
 Use https://github.com/infinity0/mdBook/tree/debian to help you rebase the
 patch on top of a newer version.
 .
 Make sure the paths here match the ones in debian/rust-doc.links

Comment: Use https://github.com/infinity0/mdBook/tree/debian to help you rebase the patch on top of a newer version. . Make sure the paths here match the ones in debian/rust-doc.links
Gbp-Pq: Name d-no-web-dependencies-in-doc.patch

6 years agod-no-jemalloc
Debian Rust Maintainers [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
d-no-jemalloc

===================================================================

Gbp-Pq: Name d-no-jemalloc.patch

6 years agod-i686-baseline
Debian Rust Maintainers [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
d-i686-baseline

Gbp-Pq: Name d-i686-baseline.patch

6 years agod-ignore-avx-44056
Debian Rust Maintainers [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
d-ignore-avx-44056

Bug: https://github.com/rust-lang/rust/pull/55667

===================================================================

Gbp-Pq: Name d-ignore-avx-44056.patch

6 years agod-read-beta-version-from-file
Debian Rust Maintainers [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
d-read-beta-version-from-file

Gbp-Pq: Name d-read-beta-version-from-file.patch

6 years agoDon't download SHA256 if it's already available locally
Ximin Luo [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
Don't download SHA256 if it's already available locally

Forwarded: not-needed

In Debian we provide the stage0 tarballs as a separate component so that the
buildds don't need to access the network during the build.
Forwarded: not-needed
Gbp-Pq: Name d-dont-download-stage0.patch

6 years agoSet DT_SONAME when building dylibs
Angus Lees [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
Set DT_SONAME when building dylibs

Forwarded: no

In Rust, library filenames include a version-specific hash to help
the run-time linker find the correct version.  Unlike in C/C++, the
compiler looks for all libraries matching a glob that ignores the
hash and reads embedded metadata to work out versions, etc.

The upshot is that there is no need for the usual "libfoo.so ->
libfoo-1.2.3.so" symlink common with C/C++ when building with Rust,
and no need to communicate an alternate filename to use at run-time
vs compile time.  If linking to a Rust dylib from C/C++ however, a
"libfoo.so -> libfoo-$hash.so" symlink may well be useful and in
this case DT_SONAME=libfoo-$hash.so would be required.  More
mundanely, various tools (eg: dpkg-shlibdeps) complain if they don't
find DT_SONAME on shared libraries in public directories.

This patch passes -Wl,-soname=$outfile when building dylibs (and
using a GNU linker).

Gbp-Pq: Name d-add-soname.patch

6 years agoHardcode LLDB python module directory
Angus Lees [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
Hardcode LLDB python module directory

Forwarded: not-needed

Debian package installs python modules into a fixed directory, so
just hardcode path in wrapper script.

Gbp-Pq: Name d-rust-lldb-paths

6 years agoHardcode GDB python module directory
Angus Lees [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
Hardcode GDB python module directory

Forwarded: not-needed

Debian package installs python modules into a fixed directory, so
just hardcode path in wrapper script.

Gbp-Pq: Name d-rust-gdb-paths

6 years agoDon't check for cargo-vendor when building from (Debian's) git
Matthijs van Otterdijk [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
Don't check for cargo-vendor when building from (Debian's) git

Forwarded: not-needed

Forwarded: not-needed
Gbp-Pq: Name d-disable-cargo-vendor.patch

6 years agoIgnore error details with $SRC_DIR
Debian Rust Maintainers [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
Ignore error details with $SRC_DIR

Bug: https://github.com/rust-lang/rust/issues/53081

We build with --remap-path-prefix so it doesn't work, see bug below
===================================================================

Gbp-Pq: Name d-ignore-error-detail-diff.patch

6 years agod-0002-pkg-config-no-special-snowflake
Debian Rust Maintainers [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
d-0002-pkg-config-no-special-snowflake

Gbp-Pq: Name d-0002-pkg-config-no-special-snowflake.patch

6 years agod-0001-disable-miniz
Debian Rust Maintainers [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
d-0001-disable-miniz

Gbp-Pq: Name d-0001-disable-miniz.patch

6 years agoIgnore submodules that we're not building
Ximin Luo [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
Ignore submodules that we're not building

Forwarded: not-needed

===================================================================

Gbp-Pq: Name d-0000-ignore-removed-submodules.patch

6 years agogcc-4.8-aarch64-ice
Debian Rust Maintainers [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
gcc-4.8-aarch64-ice

===================================================================

Gbp-Pq: Name gcc-4.8-aarch64-ice.diff

6 years agou-reproducible-dl-stage0
Debian Rust Maintainers [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
u-reproducible-dl-stage0

Gbp-Pq: Name u-reproducible-dl-stage0.patch

6 years agoVarious fixes for Rust on MIPS
Dragan Mladjenovic [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
Various fixes for Rust on MIPS

Bug-Debian: https://bugs.debian.org/881845
Last-Update: 2018-10-24

Gbp-Pq: Name u-mips-fixes.diff

6 years agou-make-tests-work-without-rpath
Chris Coulson [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
u-make-tests-work-without-rpath

Forwarded: TODO

Gbp-Pq: Name u-make-tests-work-without-rpath.patch

6 years agoPrefer local CSS to remote
Ximin Luo [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
Prefer local CSS to remote

Bug: https://github.com/rust-lang/rust/pull/45331

Gbp-Pq: Name u-prefer-local-css.patch

6 years agoDon't split dwarf debug for a fully-reproducible build
Ximin Luo [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
Don't split dwarf debug for a fully-reproducible build

Bug: https://github.com/rust-lang/rust/issues/34902

Gbp-Pq: Name u-reproducible-build.patch

6 years ago[PATCH] Fix new renamed_and_removed_lints warning (#247)
Benjamin Gill [Sat, 16 Jun 2018 11:59:44 +0000 (12:59 +0100)]
[PATCH] Fix new renamed_and_removed_lints warning (#247)

I've verified that this now produces no warnings with Rust 1.26.1 and
1.28.0-nightly (c3b09c968 2018-05-27)

Gbp-Pq: Name u-0001-Fix-new-renamed_and_removed_lints-warning-247.patch

6 years ago[PATCH] [rust-gdb] relax the GDB version regex
Josh Stone [Tue, 15 Jan 2019 23:14:17 +0000 (15:14 -0800)]
[PATCH] [rust-gdb] relax the GDB version regex

The pretty-printer script is checking `gdb.VERSION` to see if it's at
least 8.1 for some features. With `re.match`, it will only find the
version at the beginning of that string, but in Fedora the string is
something like "Fedora 8.2-5.fc29". Using `re.search` instead will find
the first location that matches anywhere, so it will find my 8.2.

Gbp-Pq: Name u-0001-rust-gdb-relax-the-GDB-version-regex.patch

6 years ago[PATCH] Backport deprecation fixes from commit b7f030e
Josh Stone [Fri, 1 Mar 2019 17:27:45 +0000 (09:27 -0800)]
[PATCH] Backport deprecation fixes from commit b7f030e

Gbp-Pq: Name u-0001-Backport-deprecation-fixes-from-commit-b7f030e.patch

6 years agorustc (1.33.0+dfsg1-2) unstable; urgency=medium
Ximin Luo [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
rustc (1.33.0+dfsg1-2) unstable; urgency=medium

  * Add Fedora patches.
  * Bump i386 allowed test failures to 12.

[dgit import unpatched rustc 1.33.0+dfsg1-2]

6 years agoImport rustc_1.33.0+dfsg1-2.debian.tar.xz
Ximin Luo [Sat, 18 May 2019 19:18:25 +0000 (20:18 +0100)]
Import rustc_1.33.0+dfsg1-2.debian.tar.xz

[dgit import tarball rustc 1.33.0+dfsg1-2 rustc_1.33.0+dfsg1-2.debian.tar.xz]

6 years agoImport rustc_1.33.0+dfsg1.orig.tar.xz
Ximin Luo [Tue, 30 Apr 2019 02:50:48 +0000 (03:50 +0100)]
Import rustc_1.33.0+dfsg1.orig.tar.xz

[dgit import orig rustc_1.33.0+dfsg1.orig.tar.xz]