Package: libgc-dev Version: 1:8.0.4-1 Severity: serious Justification: undeclared dependency Tags: patch
bdw-gc.pc includes -latomic_ops on some architectures. However, the binary package misses the required dependency on libatomic-ops-dev to allow for such a use. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru libgc-8.0.4/debian/changelog libgc-8.0.4/debian/changelog --- libgc-8.0.4/debian/changelog 2020-07-22 02:37:12.000000000 +0200 +++ libgc-8.0.4/debian/changelog 2020-07-31 22:02:10.000000000 +0200 @@ -1,3 +1,10 @@ +libgc (1:8.0.4-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix missing libgc-dev -> libatomic-ops-dev dependency. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 31 Jul 2020 22:02:10 +0200 + libgc (1:8.0.4-1) unstable; urgency=medium * Team upload. diff --minimal -Nru libgc-8.0.4/debian/control libgc-8.0.4/debian/control --- libgc-8.0.4/debian/control 2020-04-07 11:13:30.000000000 +0200 +++ libgc-8.0.4/debian/control 2020-07-31 21:59:44.000000000 +0200 @@ -35,7 +35,7 @@ Package: libgc-dev Architecture: any Section: libdevel -Depends: ${misc:Depends}, libgc1 (= ${binary:Version}), libc-dev +Depends: ${misc:Depends}, libgc1 (= ${binary:Version}), libc-dev, ${atomic:Depends} Multi-Arch: same Description: conservative garbage collector for C (development) Boehm-Demers-Weiser's GC is a garbage collecting storage allocator that is diff --minimal -Nru libgc-8.0.4/debian/rules libgc-8.0.4/debian/rules --- libgc-8.0.4/debian/rules 2020-04-07 11:03:33.000000000 +0200 +++ libgc-8.0.4/debian/rules 2020-07-31 22:02:10.000000000 +0200 @@ -45,3 +45,6 @@ override_dh_installchangelogs: dh_installchangelogs ChangeLog + +override_dh_gencontrol: + dh_gencontrol -- -Vatomic:Depends=$$(grep -q '[-]latomic_ops' debian/libgc-dev/usr/lib/*/pkgconfig/*.pc && echo libatomic-ops-dev)