From d8fa172efdbf6fc910fee6e486daf90772871f30 Mon Sep 17 00:00:00 2001 From: lichenggang Date: Thu, 23 Apr 2026 22:21:45 +0800 Subject: [PATCH] chore: remove cross-compiler g++ packages from build dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove g++ cross-compiler packages from Build-Depends in debian/control and debian/control.in to reduce unnecessary build dependencies. Removed packages: - g++-powerpc64le-linux-gnu - g++-s390x-linux-gnu - g++-hppa-linux-gnu - g++-m68k-linux-gnu - g++-powerpc-linux-gnu - g++-sh4-linux-gnu - g++-sparc64-linux-gnu - g++-x86-64-linux-gnux32 Log: Removed cross-compiler g++ packages from build dependencies Influence: 1. Verify binutils builds correctly without cross-compiler dependencies 2. Check no regression in build process on supported architectures 3. Ensure changelog version bump is correct chore: 从构建依赖中移除交叉编译器 g++ 包 从 debian/control 和 debian/control.in 的 Build-Depends 中 移除 g++ 交叉编译器包,减少不必要的构建依赖。 移除的包包括 aarch64、arm、powerpc、s390x、hppa、m68k、 riscv64、sh4、sparc64、i686、x86-64 等架构的交叉编译器。 Log: 从构建依赖中移除交叉编译器 g++ 包 Influence: 1. 验证 binutils 在没有交叉编译器依赖的情况下能正确构建 2. 检查支持的架构上构建过程无回归 3. 确认 changelog 版本号递增正确 repo: binutils #master --- debian/changelog | 12 ++++++++++++ debian/control | 10 +--------- debian/control.in | 9 +-------- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/debian/changelog b/debian/changelog index 1e7df44e2..012349575 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +binutils (2.41-6deepin12) unstable; urgency=medium + + * Remove cross-compiler g++ packages from build dependencies + - Remove g++-aarch64-linux-gnu, g++-arm-linux-gnueabi, + g++-arm-linux-gnueabihf, g++-powerpc64le-linux-gnu, + g++-s390x-linux-gnu, g++-hppa-linux-gnu, g++-m68k-linux-gnu, + g++-powerpc-linux-gnu, g++-riscv64-linux-gnu, g++-sh4-linux-gnu, + g++-sparc64-linux-gnu, g++-i686-linux-gnu, g++-x86-64-linux-gnu, + g++-x86-64-linux-gnux32 + + -- lichenggang Thu, 23 Apr 2026 22:21:09 +0800 + binutils (2.41-6deepin11) unstable; urgency=medium * LoongArch: common sync from upstream diff --git a/debian/control b/debian/control index 27ca68d0a..743097033 100644 --- a/debian/control +++ b/debian/control @@ -11,17 +11,9 @@ Build-Depends: autoconf (>= 2.64), dpkg-dev (>= 1.19.0.5), g++-aarch64-linux-gnu [amd64 i386 x32] , g++-arm-linux-gnueabi [amd64 arm64 i386 x32] , g++-arm-linux-gnueabihf [amd64 arm64 i386 x32] , - g++-powerpc64le-linux-gnu [amd64 arm64 i386 ppc64 x32] , - g++-s390x-linux-gnu [amd64 arm64 i386 ppc64el x32] , - g++-hppa-linux-gnu [amd64 i386 x32] , - g++-m68k-linux-gnu [amd64 i386 x32] , - g++-powerpc-linux-gnu [amd64 i386 ppc64el x32] , g++-riscv64-linux-gnu [amd64 arm64 i386 ppc64el x32] , - g++-sh4-linux-gnu [amd64 i386 x32] , - g++-sparc64-linux-gnu [amd64 i386 x32] , - g++-i686-linux-gnu [amd64 arm64 ppc64el x32] , + g++-i686-linux-gnu [amd64 ppc64el x32] , g++-x86-64-linux-gnu [arm64 i386 ppc64el] , - g++-x86-64-linux-gnux32 [amd64 arm64 i386 ppc64el] , Build-Conflicts: libelf-dev Rules-Requires-Root: no Homepage: https://www.gnu.org/software/binutils/ diff --git a/debian/control.in b/debian/control.in index b341ac153..4021ae9ca 100644 --- a/debian/control.in +++ b/debian/control.in @@ -11,15 +11,8 @@ Build-Depends: autoconf (>= 2.64), @dpkg_dev@ g++-aarch64-linux-gnu [amd64 i386 x32] , g++-arm-linux-gnueabi [amd64 arm64 i386 x32] , g++-arm-linux-gnueabihf [amd64 arm64 i386 x32] , - g++-powerpc64le-linux-gnu [amd64 arm64 i386 ppc64 x32] , - g++-s390x-linux-gnu [amd64 arm64 i386 ppc64el x32] , - g++-hppa-linux-gnu [amd64 i386 x32] , - g++-m68k-linux-gnu [amd64 i386 x32] , - g++-powerpc-linux-gnu [amd64 i386 ppc64el x32] , g++-riscv64-linux-gnu [amd64 arm64 i386 ppc64el x32] , - g++-sh4-linux-gnu [amd64 i386 x32] , - g++-sparc64-linux-gnu [amd64 i386 x32] , - g++-i686-linux-gnu [amd64 arm64 ppc64el x32] , + g++-i686-linux-gnu [amd64 ppc64el x32] , g++-x86-64-linux-gnu [arm64 i386 ppc64el] , g++-x86-64-linux-gnux32 [amd64 arm64 i386 ppc64el] , Build-Conflicts: libelf-dev