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

Bug#1099685: marked as done (dose3: build-dependency loop can be broken through a noextra profile)



Your message dated Sat, 08 Mar 2025 07:04:28 +0000
with message-id <E1tqoEW-005Ijl-Hr@fasolo.debian.org>
and subject line Bug#1099685: fixed in dose3 7.0.0-6
has caused the Debian Bug report #1099685,
regarding dose3: build-dependency loop can be broken through a noextra profile
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 owner@bugs.debian.org
immediately.)


-- 
1099685: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099685
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: dose3
Version: 7.0.0-5
Severity: important
Tags: patch

Hello,

Currently:

   ocaml-topkg build-depends on opam-installer
   opam build-depends on libdose3-ocaml-dev
   dose3 build-depends on libbz2-ocaml-dev
   camlbz2 build-depends on ocaml-odoc
   ocaml-odoc build-depends on ocaml-crunch
   ocaml-crunch build-depends on libptime-ocaml-dev
   ocaml-ptime build-depends on libtopkg-ocaml-dev

so we need to break the dependency loop somehow for newer ports to
bootstrap sanely. Upstream already has an extra profile and the debian
package has an extra package, they can be both disabled through a
pkg.dose3.noextra build-profile, could you apply the attached patch
which implements it?

Thanks,
Samuel

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (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, arm64

Kernel: Linux 6.13.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, 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 /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
Samuel
J'ai beaucoup de mal a lire fcola quand il y a toutes les annonces de howto :
les annonces interessantes sont noyees dans les howto. Ca serait pas mal
de degager toute cette pollution dans un autre groupe.
  JLM in Guide du linuxien pervers : "Cachez ces doc que je ne saurais voir"
--- debian/control.original	2025-03-06 18:09:42.000000000 +0000
+++ debian/control	2025-03-06 18:27:23.000000000 +0000
@@ -8,19 +8,19 @@
 Build-Depends: debhelper-compat (= 13),
                dh-ocaml,
                libbase64-ocaml-dev (>= 3.1.0),
-               libbz2-ocaml-dev (>= 0.6.0-10~),
+               libbz2-ocaml-dev (>= 0.6.0-10~) <!pkg.dose3.noextra>,
                libcudf-ocaml-dev,
                libextlib-ocaml-dev (>= 1.7.7),
                libocamlgraph-ocaml-dev (>= 2.1.0),
                libre-ocaml-dev,
-               libzip-ocaml-dev (>= 1.08),
+               libzip-ocaml-dev (>= 1.08) <!pkg.dose3.noextra>,
                ocaml-dune (>= 2.7.1),
                ocaml,
                pandoc
 Build-Depends-Arch: grep-dctrl <!nocheck>,
                     libounit-ocaml-dev <!nocheck>,
                     libcamlp-streams-ocaml-dev <!nocheck>,
-                    libparmap-ocaml-dev,
+                    libparmap-ocaml-dev <!pkg.dose3.noextra>,
                     perl,
                     python3-yaml <!nocheck>,
                     xz-utils <!nocheck>
@@ -60,6 +60,7 @@
 Package: dose-distcheck
 Section: devel
 Architecture: any
+Build-Profiles: <!pkg.dose3.noextra>
 Depends: xz-utils, ${misc:Depends}, ${ocaml:Depends}, ${shlibs:Depends}
 Breaks: dose3-distcheck (<< 2.9.13)
 Replaces: dose3-distcheck (<< 2.9.13)
@@ -74,6 +75,7 @@
 Package: dose-builddebcheck
 Section: devel
 Architecture: any
+Build-Profiles: <!pkg.dose3.noextra>
 Depends: xz-utils, ${misc:Depends}, ${ocaml:Depends}, ${shlibs:Depends}
 Breaks: dose3-builddebcheck (<< 2.9.13)
 Replaces: dose3-builddebcheck (<< 2.9.13)
@@ -86,6 +88,7 @@
 Package: dose-extra
 Section: devel
 Architecture: any
+Build-Profiles: <!pkg.dose3.noextra>
 Provides: ceve
 Breaks: ceve (<< 2.9.10)
 Replaces: ceve (<< 2.9.10)
@@ -109,6 +112,7 @@
 Package: apt-cudf
 Section: admin
 Architecture: any
+Build-Profiles: <!pkg.dose3.noextra>
 Depends: aspcud | cudf-solver,
          ${misc:Depends},
          ${ocaml:Depends},
--- debian/rules.original	2025-03-06 18:12:56.000000000 +0000
+++ debian/rules	2025-03-06 18:12:57.000000000 +0000
@@ -4,6 +4,10 @@
 DESTDIR=$(CURDIR)/debian/tmp
 include /usr/share/ocaml/ocamlvars.mk
 
+ifeq (,$(filter pkg.dose3.noextra, $(DEB_BUILD_PROFILES)))
+DUNE_EXTRAPROFILE=,dose3-extra
+endif
+
 %:
 	dh $@ --with ocaml
 
@@ -13,20 +17,20 @@
 # - debian/output/source_dir/dose3.opam
 # - dose3.opam
 override_dh_auto_build-arch:
-	dune build -p dose3,dose3-extra @install --verbose
+	dune build -p dose3$(DUNE_EXTRAPROFILE) @install --verbose
 	make -C doc/manpages man
 	pod2man --section 8 -release "apt-cudf $(RELEASE)" \
 		debian/update-cudf-solvers > debian/update-cudf-solvers.8
 
 override_dh_auto_build-indep:
-	dune build -p dose3,dose3-extra @doc
+	dune build -p dose3$(DUNE_EXTRAPROFILE) @doc
 	# running targets manually because we don't want to build the "pages"
 	make -C doc/debcheck.primer
 	make -C doc/apt-external-solvers.primer
 	make -C doc/manpages html
 
 override_dh_auto_install-arch:
-	dune install -p dose3,dose3-extra --destdir=$(DESTDIR) --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
+	dune install -p dose3$(DUNE_EXTRAPROFILE) --destdir=$(DESTDIR) --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
 	rm -f $(DESTDIR)/usr/doc/dose3/README.git
 	rm -f $(DESTDIR)/usr/doc/dose3/README.architecture
 	rm -f $(DESTDIR)/usr/doc/dose3/CHANGES
@@ -37,5 +41,5 @@
 
 override_dh_auto_test-arch:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	dune runtest -p dose3,dose3-extra
+	dune runtest -p dose3$(DUNE_EXTRAPROFILE)
 endif

--- End Message ---
--- Begin Message ---
Source: dose3
Source-Version: 7.0.0-6
Done: Stéphane Glondu <glondu@debian.org>

We believe that the bug you reported is fixed in the latest version of
dose3, 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 1099685@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stéphane Glondu <glondu@debian.org> (supplier of updated dose3 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 08 Mar 2025 07:40:21 +0100
Source: dose3
Architecture: source
Version: 7.0.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Stéphane Glondu <glondu@debian.org>
Closes: 1099685
Changes:
 dose3 (7.0.0-6) unstable; urgency=medium
 .
   [ Stéphane Glondu ]
   * Team upload
 .
   [ Samuel Thibault ]
   * Add a noextra build profile (Closes: #1099685)
Checksums-Sha1:
 b96b1a6891340f1426b64cefcdc67a2b16b58891 2846 dose3_7.0.0-6.dsc
 997b7e95fa529a8d95536f0e7c37993f7ddc6c44 20664 dose3_7.0.0-6.debian.tar.xz
Checksums-Sha256:
 ed4651abf0f937e3404df71bd44d6c832d197065e2b84f9adb84af97f15c0273 2846 dose3_7.0.0-6.dsc
 af5e4af3daf8392288adebad47d75ef49b1e8012995097abef594e705835c82d 20664 dose3_7.0.0-6.debian.tar.xz
Files:
 dcf61ab2b9f16b52755ef3cbe4a40539 2846 ocaml optional dose3_7.0.0-6.dsc
 da46dd2028ba78b8b6c35506c2f2841f 20664 ocaml optional dose3_7.0.0-6.debian.tar.xz

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

iQFGBAEBCgAwFiEEbeJOl+yohsxW5iUOIbju8bGJMIEFAmfL6SUSHGdsb25kdUBk
ZWJpYW4ub3JnAAoJECG47vGxiTCBU+MH+QFUGhJejTFmic/y1zH3bPfOywbpTxfv
bvFd5t73ULFnqNLecmOescAXsbYf/xzmd2jGRa/goH0OfvpmpP2xb1/DKoADANAA
e9x14TVmTtNHVIOZdXG/V0ixIqBhJOqTPaLlD8JkcqlZCtgrdz5/x4ta/VAL/keM
/y905kY52ODi5T3sfR3GUFAgywaiuHT2GhJbx282/M3vuWxinUVIwLXTeZRNynrs
UCkp7b8H1R0VgZnNVNVtwEkOJltYwT1p0924yu+jJ6ocmp/4d9cWCJQ5krs+xKhq
0iGR2GJiTTgtKusDcP6obCDDe8md71DthdiIXeqp6oIvWUh6w4a1DpQ=
=1hKE
-----END PGP SIGNATURE-----

Attachment: pgpm7WvXtzCUx.pgp
Description: PGP signature


--- End Message ---

Reply to: