Your message dated Thu, 10 Apr 2025 08:36:48 +0000
with message-id <[email protected]>
and subject line Bug#1083174: fixed in libcork 1.0.0~rc3-4
has caused the Debian Bug report #1083174,
regarding libcork FTCBFS: unsatisfiable Build-Depends
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1083174: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1083174
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libcork
Version: 1.0.0~rc3-3
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

libcork cannot be cross built from source, because it has unsatisfiable
Build-Depends. Rather than looking into the precise issues, I looked
into reducing them. One way of approaching it is observing libcork-doc
to be Architecture: all and thus demoting sphinx dependencies to
Build-Depends-Indep. The other is looking into making tests optional via
the <!nocheck> build profile. The latter involved patching the upstream
CMakeLists.txt to add support for the standard option BUILD_TESTING as
the package is not using include(CTest). As a result, I managed to trim
three dependencies from a nocheck arch-only build. Of these,
python3-cram and python3-sphinx happened to be the unsatisfiable ones.
You can find the proposed changes in the attached patch and I verified
that the patch does not change output artifacts by leveraging
reproducible builds based comparisons.

Helmut
diff --minimal -Nru libcork-1.0.0~rc3/debian/changelog 
libcork-1.0.0~rc3/debian/changelog
--- libcork-1.0.0~rc3/debian/changelog  2021-08-29 08:35:31.000000000 +0200
+++ libcork-1.0.0~rc3/debian/changelog  2024-10-02 14:16:14.000000000 +0200
@@ -1,3 +1,13 @@
+libcork (1.0.0~rc3-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Add a nocheck.patch that makes upstream honour BUILD_TESTING.
+    + Annotate check and python3-cram with <!nocheck>.
+    + Demote sphinx dependencies and dh addon to Build-Depends-Indep.
+
+ -- Helmut Grohne <[email protected]>  Wed, 02 Oct 2024 14:16:14 +0200
+
 libcork (1.0.0~rc3-3) unstable; urgency=medium
 
   * debian/copyright:
diff --minimal -Nru libcork-1.0.0~rc3/debian/control 
libcork-1.0.0~rc3/debian/control
--- libcork-1.0.0~rc3/debian/control    2021-08-29 08:35:31.000000000 +0200
+++ libcork-1.0.0~rc3/debian/control    2024-10-02 12:57:08.000000000 +0200
@@ -4,12 +4,14 @@
 Maintainer: Debian Bridges Team <[email protected]>
 Uploaders: Roger Shimizu <[email protected]>
 Build-Depends:
- check,
+ check <!nocheck>,
  cmake,
  debhelper-compat (= 12),
  pkg-config,
- python3-cram,
- python3-sphinx
+ python3-cram <!nocheck>,
+Build-Depends-Indep:
+ dh-sequence-sphinxdoc,
+ python3-sphinx,
 Standards-Version: 4.5.0
 Rules-Requires-Root: no
 Homepage: https://github.com/dcreager/libcork
diff --minimal -Nru libcork-1.0.0~rc3/debian/patches/nocheck.patch 
libcork-1.0.0~rc3/debian/patches/nocheck.patch
--- libcork-1.0.0~rc3/debian/patches/nocheck.patch      1970-01-01 
01:00:00.000000000 +0100
+++ libcork-1.0.0~rc3/debian/patches/nocheck.patch      2024-10-02 
13:58:57.000000000 +0200
@@ -0,0 +1,19 @@
+--- libcork-1.0.0~rc3.orig/CMakeLists.txt
++++ libcork-1.0.0~rc3/CMakeLists.txt
+@@ -54,6 +54,7 @@
+ set(ENABLE_SHARED YES CACHE BOOL "Whether to build a shared library")
+ set(ENABLE_SHARED_EXECUTABLES NO CACHE BOOL
+     "Whether to link executables using shared libraries")
++set(BUILD_TESTING YES CACHE BOOL "Whether to build and run tests")
+ set(ENABLE_SHARED_TESTS NO CACHE BOOL
+     "Whether to link test cases using shared libraries")
+ set(ENABLE_STATIC YES CACHE BOOL "Whether to build a static library")
+@@ -85,5 +86,7 @@
+ add_subdirectory(include)
+ add_subdirectory(share)
+ add_subdirectory(src)
+-add_subdirectory(tests)
++if(BUILD_TESTING)
++    add_subdirectory(tests)
++endif(BUILD_TESTING)
+ add_subdirectory(docs/old)
diff --minimal -Nru libcork-1.0.0~rc3/debian/patches/series 
libcork-1.0.0~rc3/debian/patches/series
--- libcork-1.0.0~rc3/debian/patches/series     2021-08-29 08:35:31.000000000 
+0200
+++ libcork-1.0.0~rc3/debian/patches/series     2024-10-02 13:27:23.000000000 
+0200
@@ -2,3 +2,4 @@
 02-fix-fails-to-build-with-sphinx-3.1.patch
 03-Use-system-python3-cram.patch
 #autopkgtest-Use-system-library-to-run-test.patch
+nocheck.patch
diff --minimal -Nru libcork-1.0.0~rc3/debian/rules 
libcork-1.0.0~rc3/debian/rules
--- libcork-1.0.0~rc3/debian/rules      2021-08-29 08:35:31.000000000 +0200
+++ libcork-1.0.0~rc3/debian/rules      2024-10-02 11:31:03.000000000 +0200
@@ -20,16 +20,15 @@
                -DENABLE_SHARED_TESTS=YES \
                -DENABLE_STATIC=NO
 
-override_dh_install:
+execute_before_dh_install-indep:
        rm -f debian/tmp/usr/share/doc/libcork/html/.buildinfo
        sed -i " \
                
s%http[s]*://cdn.mathjax.org/mathjax/latest/MathJax.js%file:///usr/share/javascript/mathjax/MathJax.js%;
 \
                
s%https://cdnjs.cloudflare.com/ajax/libs/mathjax/[0-9].[0-9].[0-9]/MathJax.js%file:///usr/share/javascript/mathjax/MathJax.js%;
 \
                
s%https://cdnjs.cloudflare.com/ajax/libs/mathjax/[0-9].[0-9].[0-9]/latest.js%file:///usr/share/javascript/mathjax/unpacked/latest.js%;
 \
                " debian/tmp/usr/share/doc/libcork/html/*.html
-       dh_install
 
 # Upstream supports both autoreconf and cmake
 # Here we disable autoreconf so cmake will be used
 %:
-       dh $@ --with sphinxdoc --without autoreconf
+       dh $@ --without autoreconf

--- End Message ---
--- Begin Message ---
Source: libcork
Source-Version: 1.0.0~rc3-4
Done: Roger Shimizu <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libcork, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roger Shimizu <[email protected]> (supplier of updated libcork package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 10 Apr 2025 00:59:03 -0700
Source: libcork
Architecture: source
Version: 1.0.0~rc3-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Bridges Team <[email protected]>
Changed-By: Roger Shimizu <[email protected]>
Closes: 1083174
Changes:
 libcork (1.0.0~rc3-4) unstable; urgency=medium
 .
   [ Roger Shimizu ]
   * debian/patches: Update patch for CI test to remove local include
     path.
 .
   [ Helmut Grohne ]
   * Reduce Build-Depends: (Closes: #1083174)
     + Add a nocheck.patch that makes upstream honour BUILD_TESTING.
     + Annotate check and python3-cram with <!nocheck>.
     + Demote sphinx dependencies and dh addon to Build-Depends-Indep.
Checksums-Sha1:
 441336f0ed79dbd48ed07746b435a0893019ca09 2235 libcork_1.0.0~rc3-4.dsc
 4bff79b0bbe96d341819e7c95d86a133a53ed285 202440 libcork_1.0.0~rc3.orig.tar.gz
 c52f287a1b17fa2b4879e9581c75ac62b6894a17 32304 
libcork_1.0.0~rc3-4.debian.tar.xz
 906a42986801c6ebae2b989cb19b6d36598d4e25 9401 
libcork_1.0.0~rc3-4_amd64.buildinfo
Checksums-Sha256:
 72db8c921c9912e4b47243fa837c24cfe42f7f9f69932d7f3d368c42fe2a50ce 2235 
libcork_1.0.0~rc3-4.dsc
 edaf3c604262f151cc0ca2f141636755f63c75d4dea475d40e95c9f327bb37ec 202440 
libcork_1.0.0~rc3.orig.tar.gz
 60f2b3fc5c793cc3b966dbae6243820f4ff55ab16e6929fd6044f46784af0575 32304 
libcork_1.0.0~rc3-4.debian.tar.xz
 cfc52c047512b77dcb7324ff1b115374ffd1516a6d97776fe96719d443b92b98 9401 
libcork_1.0.0~rc3-4_amd64.buildinfo
Files:
 7242733f304ddcf50037526bd96a2b29 2235 libs optional libcork_1.0.0~rc3-4.dsc
 32865f4378832d1b737ab989d402eda6 202440 libs optional 
libcork_1.0.0~rc3.orig.tar.gz
 575c1d0023dcdd89dc5baac212645872 32304 libs optional 
libcork_1.0.0~rc3-4.debian.tar.xz
 163a0d8468c8b75295af4024c5850346 9401 libs optional 
libcork_1.0.0~rc3-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEECjKtvoA5m+cWOFnspHhrDacDNKgFAmf3e/0QHHJvc2hAZGVi
aWFuLm9yZwAKCRCkeGsNpwM0qFT8D/9e1P265ZudLFlrVinlNBzP49pcfEyII4IH
CFGKYMw8T3KCr1Pal/D6FIVOfD7APMTk3L8VZdgUSxIri0UNVR4LiYq6V+R0aDVd
EcEkj9jZGP9r/eBgDyPj3UvuCds6QWNDpwd5n+Acgw9d5M387Gu0pHo9KoF3qRzS
J5SUjrL+cFweQK6raB4WqLrHsJn5j2Fa0fOwmwfoW5Wze71OIfbu1leChsKH3MxT
Yteoljfkcd9VCqMSdRIpQtaEKlev0w5sfmEebuoiuUAgB46ybKrdnGisLrUKjzXR
hUrgkfoSRyTGhSu9MvTUhyRb8FUwjzd1mo+RV1mqEzFmxizuAx5p6fQqSG199mnx
i9FrbMc+ftAu5l/BThaAMj/uN0hovmS/3nk1WA4+syqmHQlpzw/RRo3jzlZkM28p
ZOSflx0Us8mUTyI5kT+mactf9mIhQlIOoZ+qvAjwa8wie89fCctQDAjl22hmZnwX
cxQo914YZETJ9VsEd3QRwIBwXuLVy/A3LM1sW6CyGW8QPkAOBIAHPx4I8ASs9Fz3
SUYyXyflfsV5JgJgUQSclpzzYyVl0VPeeaDYnplBOMt3NxoEb18Wvmcz1PgsD0q3
67TAhYwCCnPUSHFt1WHqhxhGhf1Mr/cke26PU0haPycjAaLbY4P05yD/of6PNwCl
43e8qT0vWg==
=QxQK
-----END PGP SIGNATURE-----

Attachment: pgpBtZrM2EEW0.pgp
Description: PGP signature


--- End Message ---

Reply via email to