summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Set DT_SONAME when building dylibs
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).
Forwarded: no
Gbp-Pq: Topic behaviour
Gbp-Pq: Name d-rustc-add-soname.patch
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Hardcode LLDB python module directory
Debian package installs python modules into a fixed directory, so
just hardcode path in wrapper script.
Forwarded: not-needed
Gbp-Pq: Topic behaviour
Gbp-Pq: Name d-rust-lldb-paths.patch
Angus Lees [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Hardcode GDB python module directory
Debian package installs python modules into a fixed directory, so
just hardcode path in wrapper script.
Forwarded: not-needed
Gbp-Pq: Topic behaviour
Gbp-Pq: Name d-rust-gdb-paths.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-test-ignore-avx-44056
Bug: https://github.com/rust-lang/rust/pull/55667
Forwarded: not-needed
===================================================================
Gbp-Pq: Topic build
Gbp-Pq: Name d-test-ignore-avx-44056.patch
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:40 +0000 (11:16 +0200)]
partial revert of
b9eedea4b0368fd1f00f204db75109ff444fab5b upstream
Forwarded: not-needed
Gbp-Pq: Topic build
Gbp-Pq: Name d-bootstrap-permit-symlink-in-docs.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-bootstrap-custom-debuginfo-path
Forwarded: not-needed
===================================================================
Gbp-Pq: Topic build
Gbp-Pq: Name d-bootstrap-custom-debuginfo-path.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
d-bootstrap-use-local-css
Forwarded: not-needed
===================================================================
Gbp-Pq: Topic build
Gbp-Pq: Name d-bootstrap-use-local-css.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
Fix links to cargo-doc
We package cargo docs in a slightly different location; also tweak linkchecker
to not fail these links.
Forwarded: not-needed
Gbp-Pq: Topic build
Gbp-Pq: Name d-bootstrap-cargo-doc-paths.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:39 +0000 (13:17 +0200)]
set tools to those built in Debian
Forwarded: not-needed
===================================================================
Gbp-Pq: Topic build
Gbp-Pq: Name d-bootstrap-no-assume-tools.patch
Matthijs van Otterdijk [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
bootstrap: always use commit info file instead of checking .git
Forwarded: not-needed
Gbp-Pq: Topic build
Gbp-Pq: Name d-bootstrap-disable-git.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
Install symlinks as-is, don't dereference them
Our patch to mdbook installs symlinks to systems versions of font-awesome,
highlight, etc. Upstream mdbook otherwise doesn't use symlinks, so this
doesn't affect anything else that's already generated.
Forwarded: not-needed
Gbp-Pq: Topic build
Gbp-Pq: Name d-bootstrap-install-symlinks.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:38 +0000 (13:17 +0200)]
d-bootstrap-rustflags
Forwarded: not-needed
===================================================================
Gbp-Pq: Topic build
Gbp-Pq: Name d-bootstrap-rustflags.patch
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0003-cc-psm-rebuild-wasm32
Forwarded: not-needed
Gbp-Pq: Topic vendor
Gbp-Pq: Name d-0003-cc-psm-rebuild-wasm32.patch
Fabian Grünbichler [Wed, 6 Sep 2023 19:23:24 +0000 (13:23 -0600)]
d-0021-vendor-remove-windows-dependencies
use something like
find vendor -iname Cargo.toml -exec grep -H -n -e 'schannel' -e 'windows-sys' -e 'winapi' -e 'ntapi' -e 'wincon' -e 'winreg' -e 'windows' {} \;
to find dependencies on windows targets in vendored crates. you will likely
need to remove some hunks from this patch after pruning dependencies, since
hopefully a few of the crates patched during early rebasing are eliminated.
windows-bindgen and windows-metadata should not be removed, they are needed for
the build and don't pull in windows-sys and friends.
Forwarded: not-needed
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0021-vendor-remove-windows-dependencies.patch
Debian Rust Maintainers [Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)]
d-0020-remove-windows-dependencies
use something like
find src compiler library -iname Cargo.toml -exec grep -H -n -e 'windows-sys' -e 'winapi' -e 'ntapi' -e 'wincon' -e 'winreg' -e 'windows' {} \;
to find and eliminate dependencies on windows-only crates when rebasing.
windows-bindgen and windows-metadata should not be removed, they are needed for
the build and don't pull in windows-sys and friends.
Forwarded: not-needed
===================================================================
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0020-remove-windows-dependencies.patch
Debian Rust Maintainers [Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)]
d-0011-cargo-remove-nghttp2
Description: remove dependency on libnghttp2-sys so it can be pruned.
Last-Update: 2023-05-17
Forwarded: not-needed
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0011-cargo-remove-nghttp2.patch
Debian Rust Maintainers [Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)]
d-0010-cargo-remove-vendored-c-crates
Description: remove all vendoring features of crates normally shipping bundled
C libs. that C code is stripped when repacking, so the features can't work
anyway.
Forwarded: not-needed
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0010-cargo-remove-vendored-c-crates.patch
Debian Rust Maintainers [Sat, 11 Jan 2025 10:37:00 +0000 (11:37 +0100)]
d-0007-no-tzdb
Description: remove jiff-tzdb(-platform)
on Debian, we can just use the tzdata information..
Forwarded: not-needed
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0007-no-tzdb.patch
Debian Rust Maintainers [Sat, 11 Jan 2025 10:37:00 +0000 (11:37 +0100)]
d-0006-no-mimalloc
Description: remove mimalloc(-sys)
Forwarded: not-needed
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0006-no-mimalloc.patch
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0005-no-jemalloc
Description: remove jemalloc-sys
Forwarded: not-needed
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0005-no-jemalloc.patch
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0002-mdbook-strip-embedded-libs
Description: 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
Forwarded: not-needed
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0002-mdbook-strip-embedded-libs.patch
Debian Rust Maintainers [Sat, 2 Oct 2021 00:08:00 +0000 (01:08 +0100)]
d-0001-pkg-config-no-special-snowflake
Description: always enable cross compilation via pkgconf, and set the right binary name.
Forwarded: not-needed
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0001-pkg-config-no-special-snowflake.patch
Debian Rust Maintainers [Sat, 2 Oct 2021 00:07:59 +0000 (01:07 +0100)]
d-0000-ignore-removed-submodules
Description: remove upstream parts that are not needed for the Debian build, in
order to both reduce the orig tarball and the vendored crates within.
Forwarded: not-needed
Gbp-Pq: Topic prune
Gbp-Pq: Name d-0000-ignore-removed-submodules.patch
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:39 +0000 (11:16 +0200)]
d-disable-download-tests
Forwarded: no
Gbp-Pq: Topic upstream
Gbp-Pq: Name d-disable-download-tests.patch
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:39 +0000 (11:16 +0200)]
d-ignore-test_arc_condvar_poison-ppc
Forwarded: no
Gbp-Pq: Topic upstream
Gbp-Pq: Name d-ignore-test_arc_condvar_poison-ppc.patch
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:39 +0000 (11:16 +0200)]
compiletest: add ignore-hurd support and annotate some tests
These tests hang or make the box OOM
Forwarded: no
Signed-off-by: Fabian Grünbichler <git@fabian.gruenbichler.email>
Gbp-Pq: Topic upstream
Gbp-Pq: Name u-hurd-tests.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
u-rustc-llvm-cross-flags
===================================================================
Gbp-Pq: Topic upstream
Gbp-Pq: Name u-rustc-llvm-cross-flags.patch
Debian Rust Maintainers [Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)]
u-ignore-ppc-hangs
Bug: https://github.com/rust-lang/rust/issues/89607
Gbp-Pq: Topic upstream
Gbp-Pq: Name u-ignore-ppc-hangs.patch
Debian Rust Maintainers [Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)]
d-0012-cargo-always-return-dev-channel
Last-Update: 2023-05-30
Forwarded: not-needed
Gbp-Pq: Topic cargo
Gbp-Pq: Name d-0012-cargo-always-return-dev-channel.patch
Fabian Grünbichler [Sat, 19 Nov 2022 09:24:08 +0000 (10:24 +0100)]
[PATCH] tests: add missing cross disabled checks
cross_conmpile::alternate states it should only be used in test cases
after checking cross_compile::disabled(), which is missing here. these
tests fail despite setting CFG_DISABLE_CROSS_TESTS on i386, since both
the host and the alternate cross target would be i686 in that case.
Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email>
Gbp-Pq: Topic cargo
Gbp-Pq: Name c-0003-tests-add-missing-cross-disabled-checks.patch
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:38 +0000 (11:16 +0200)]
c-disable-fs-specific-test
===================================================================
Gbp-Pq: Topic cargo
Gbp-Pq: Name c-disable-fs-specific-test.patch
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:38 +0000 (11:16 +0200)]
c-2200-workaround-x32-test
Bug: https://github.com/rust-lang/cargo/issues/10005
Gbp-Pq: Topic cargo
Gbp-Pq: Name c-2200-workaround-x32-test.patch
Debian Rust Maintainers [Thu, 13 Jun 2024 09:16:38 +0000 (11:16 +0200)]
c-2003-workaround-qemu-vfork-command-not-found
===================================================================
Gbp-Pq: Topic cargo
Gbp-Pq: Name c-2003-workaround-qemu-vfork-command-not-found.patch
Ximin Luo [Thu, 13 Jun 2024 09:16:38 +0000 (11:16 +0200)]
Disable network tests
Forwarded: TODO
Gbp-Pq: Topic cargo
Gbp-Pq: Name c-2002_disable-net-tests.patch
Fabian Grünbichler [Tue, 21 Jan 2025 10:38:15 +0000 (11:38 +0100)]
rustc (1.84.0+dfsg1-2) unstable; urgency=medium
* revert upstream commit breaking cross builds
* rust-llvm: ship symlink to llvm-objcopy instead of copy of binary
[dgit import unpatched rustc 1.84.0+dfsg1-2]
Fabian Grünbichler [Tue, 21 Jan 2025 10:38:15 +0000 (11:38 +0100)]
Import rustc_1.84.0+dfsg1-2.debian.tar.xz
[dgit import tarball rustc 1.84.0+dfsg1-2 rustc_1.84.0+dfsg1-2.debian.tar.xz]
Fabian Grünbichler [Sat, 11 Jan 2025 15:04:50 +0000 (16:04 +0100)]
Import rustc_1.84.0+dfsg1.orig.tar.xz
[dgit import orig rustc_1.84.0+dfsg1.orig.tar.xz]