[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#970614: gcc-10: Please disable systemtap-sdt-dev build-dep on non-Linux



Package: gcc-10
Version: 10.2.0-7
Severity: important
Tags: patch

Hello,

systemtap is a Linux thing, and doesn't currently build on non-Linux
ports, could you disable the dependency as the attached patch does?

Thanks,
Samuel

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-1-amd64 (SMP w/8 CPU threads)
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 not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gcc-10 depends on:
ii  binutils       2.35-3
ii  cpp-10         10.2.0-7
ii  gcc-10-base    10.2.0-7
ii  libc6          2.31-3
ii  libcc1-0       10.2.0-7
ii  libgcc-10-dev  10.2.0-7
ii  libgcc-s1      10.2.0-7
ii  libgmp10       2:6.2.0+dfsg-6
ii  libisl22       0.22.1-1
ii  libmpc3        1.2.0-1
ii  libmpfr6       4.1.0-3
ii  libstdc++6     10.2.0-7
ii  libzstd1       1.4.5+dfsg-4
ii  zlib1g         1:1.2.11.dfsg-2

Versions of packages gcc-10 recommends:
ii  libc6-dev  2.31-3

Versions of packages gcc-10 suggests:
ii  gcc-10-doc       10.1.0-1
pn  gcc-10-locales   <none>
ii  gcc-10-multilib  10.2.0-7

-- no debconf information

-- 
Samuel
 Moralité : le modem et le cablerouteur font comme les filles, ils
 papotent toute la journée.
 -+- RB in NPC : Et en plus, ils ne parlent que de bits -+-
commit 266bfee4ef2609ef3fb7e511748c37783271df50
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Sep 19 13:24:54 2020 +0200

    Limit systemtap-sdt-dev build dependency to linux architectures

diff --git a/debian/changelog b/debian/changelog
index e22f761..af94789 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gcc-10 (10.2.0-10) UNRELEASED; urgency=high
+
+  * Limit systemtap-sdt-dev build dependency to linux architectures.
+
+ -- Samuel Thibault <sthibault@debian.org>  Sat, 19 Sep 2020 13:24:24 +0200
+
 gcc-10 (10.2.0-9) unstable; urgency=high
 
   * Update to git 20200918 from the gcc-10 branch.
diff --git a/debian/control b/debian/control
index 2f83de6..34fc359 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9.20141010), dpkg-dev (>= 1.17.14), g++-multilib [a
   m4, libtool, autoconf, 
   dwz, libunwind8-dev [ia64], libatomic-ops-dev [ia64], 
   gawk, lzma, xz-utils, patchutils, 
-  libzstd-dev, zlib1g-dev, systemtap-sdt-dev [linux-any kfreebsd-any hurd-any], 
+  libzstd-dev, zlib1g-dev, systemtap-sdt-dev [linux-any], 
   binutils:native (>= 2.35), binutils-hppa64-linux-gnu:native (>= 2.35) [hppa amd64 i386 x32], 
   gperf (>= 3.0.1), bison (>= 1:2.3), flex, gettext, 
   gdb:native [!riscv64], nvptx-tools [amd64 ppc64el], llvm-10 [amd64], lld-10 [amd64], 
diff --git a/debian/rules.conf b/debian/rules.conf
index 8667ea0..75c8cca 100644
--- a/debian/rules.conf
+++ b/debian/rules.conf
@@ -443,7 +443,7 @@ endif
 AUTO_BUILD_DEP += autoconf$(autoconf_version),
 
 ifeq (,$(filter $(distrelease),lenny etch squeeze wheezy dapper hardy jaunty karmic lucid maverick natty oneiric precise quantal raring saucy trusty))
-  SDT_BUILD_DEP = systemtap-sdt-dev [linux-any kfreebsd-any hurd-any],
+  SDT_BUILD_DEP = systemtap-sdt-dev [linux-any],
 endif
 
 # ensure that the common libs, built from the next GCC version are available

Reply to: