Your message dated Thu, 01 Jan 2026 16:21:14 +0000
with message-id <[email protected]>
and subject line Bug#1108103: fixed in lammps 20251210+dfsg-1
has caused the Debian Bug report #1108103,
regarding lammps: improve build-depends for cross building
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.)


-- 
1108103: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108103
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: lammps
Version: 20250204+dfsg.1-2
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

lammps cannot be cross built for several reasons relating to its
Build-Depends. I looked into it and propose a patch solving some of
them:

 * gfortran requests a host architecture compiler executable. If it were
   installable, it could not be run. For cross building, we need to add
   a -for-host suffix, but it comes with a catch. The compiler must now
   be prefixed with the host architecture even for native builds. To
   that end, dpkg's buildtools.mk may export suitable variables.

 * sphinx notoriously poses issues to cross satisfiability. Fortunately,
   most of the pieces already reside in B-D-I, so I propose to move the
   remainders there as well.

 * python3-all-dev needs to be split into two dependencies for cross
   building.

 * libvtk9-dev transitively depends on a host Python interpreter. I
   don't have a solution for this and it is a larger problem to be
   solved elsewhere.

Please consider applying the attached patch that solves the first three
issues in the forky cycle and close this bug when doing so.

Helmut
diff --minimal -Nru lammps-20250204+dfsg.1/debian/changelog 
lammps-20250204+dfsg.1/debian/changelog
--- lammps-20250204+dfsg.1/debian/changelog     2025-03-03 06:03:37.000000000 
+0100
+++ lammps-20250204+dfsg.1/debian/changelog     2025-06-20 08:08:10.000000000 
+0200
@@ -1,3 +1,14 @@
+lammps (20250204+dfsg.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Improve cross build satisfiability. (Closes: #-1)
+    + Annotate gfortran dependency with -for-host and let dpkg's
+      buildtools.mk supply the prefixed fortran compiler.
+    + Move all sphinx dependencies to B-D-I.
+    + Multiarchify python B-D.
+
+ -- Helmut Grohne <[email protected]>  Fri, 20 Jun 2025 08:08:10 +0200
+
 lammps (20250204+dfsg.1-2) unstable; urgency=medium
 
   * [a7ad696] Move ipython dep to common section
diff --minimal -Nru lammps-20250204+dfsg.1/debian/control 
lammps-20250204+dfsg.1/debian/control
--- lammps-20250204+dfsg.1/debian/control       2025-03-03 06:03:21.000000000 
+0100
+++ lammps-20250204+dfsg.1/debian/control       2025-06-20 08:08:10.000000000 
+0200
@@ -9,7 +9,7 @@
                dh-python,
                pybuild-plugin-pyproject,
                python3-setuptools,
-               gfortran | fortran-compiler,
+               gfortran-for-host | fortran-compiler,
                libavcodec-dev,
                libeigen3-dev,
                libfftw3-dev,
@@ -24,11 +24,12 @@
                mpi-default-bin,
                mpi-default-dev,
                ocl-icd-opencl-dev | opencl-dev,
-               python3-all-dev,
+               python3-all-dev:native,
+               libpython3-all-dev,
                python3-ipython,
-               python3-sphinx,
                voro++-dev
-Build-Depends-Indep: libjs-sphinxdoc,
+Build-Depends-Indep: dh-sequence-sphinxdoc,
+                     libjs-sphinxdoc,
                      libjs-jquery,
                      libjs-mathjax,
                      libjs-underscore,
@@ -40,6 +41,7 @@
                      sphinx-rtd-theme-common,
                      latexmk,
                      htmldoc,
+                     python3-sphinx,
                      python3-sphinx-tabs,
                      python3-sphinxcontrib.jquery,
                      python3-sphinxcontrib.spelling,
diff --minimal -Nru lammps-20250204+dfsg.1/debian/rules 
lammps-20250204+dfsg.1/debian/rules
--- lammps-20250204+dfsg.1/debian/rules 2025-03-02 22:48:50.000000000 +0100
+++ lammps-20250204+dfsg.1/debian/rules 2025-06-20 08:08:10.000000000 +0200
@@ -1,7 +1,9 @@
 #!/usr/bin/make -f
 BUILDDIR = $(CURDIR)/debian/build
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
+DPKG_EXPORT_BUILDTOOLS := 1
+include /usr/share/dpkg/buildtools.mk
 PY3VER_DEFAULT := $(shell py3versions -dv)
 
 export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe
@@ -11,7 +13,7 @@
 disable_auto_test_archs_simpl = mips64el
 
 %:
-       dh $@ --with python3,sphinxdoc --sourcedirectory=cmake 
--builddirectory=$(BUILDDIR)
+       dh $@ --with python3 --sourcedirectory=cmake 
--builddirectory=$(BUILDDIR)
 
 override_dh_auto_configure:
        dh_auto_configure -- \

--- End Message ---
--- Begin Message ---
Source: lammps
Source-Version: 20251210+dfsg-1
Done: Drew Parsons <[email protected]>

We believe that the bug you reported is fixed in the latest version of
lammps, 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.
Drew Parsons <[email protected]> (supplier of updated lammps 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: Fri, 02 Jan 2026 02:42:27 +1100
Source: lammps
Architecture: source
Version: 20251210+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Drew Parsons <[email protected]>
Closes: 1108103
Changes:
 lammps (20251210+dfsg-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release
     - update debian/copyright for dropped src lib dirs compress kim
       netcdf python quip voronoi vtk awpmd poems. EXAMPLES are still
       available.
     - Build-Depends-Indep: python3-sphinx-sitemap
   * build EXTRA-COMPUTE package to enable calculation of stress tensor
     profiles
   * Improve cross build satisfiability. Closes: Bug#1108103
     + Annotate gfortran dependency with -for-host and let dpkg's
       buildtools.mk supply the prefixed fortran compiler.
     + Move all sphinx dependencies to B-D-I.
     + Multiarchify python B-D.
     + patch by Helmut Grohne
   * after dh_auto_clean: delete generated doc files: doc/html,
     various doc/src/*s.rst, doc/utils/.../lammps_theme/search.html
   * update debian patch 20_set_potentials_path.patch to current
     Python API (PyUnicode_FromString)
   * drop redundant debian/source/lintian-overrides
     source-is-missing [doc/html/*.html] is now mismatched
   * Standards-Version: 4.7.3
Checksums-Sha1:
 23c1bb1b6a34e00555c5c25a6af85e97c0dc08d0 3310 lammps_20251210+dfsg-1.dsc
 7d3fe31af676e819b8e1cd84c8d59dc406e02ba1 132927492 
lammps_20251210+dfsg.orig.tar.xz
 efa34fe8585f1d6688970b01c0d93094075efd8d 15956 
lammps_20251210+dfsg-1.debian.tar.xz
 cd2a09854d71a62dac4eaec3f00305e26fc7c187 29399 
lammps_20251210+dfsg-1_source.buildinfo
Checksums-Sha256:
 8fd66a1632ab9ad71d50b19190d68896646b53cdcdde7767caa2607c39da125c 3310 
lammps_20251210+dfsg-1.dsc
 97447b2a1b23b81f0c5110cb7844b9a39378c955d39bcba755e1b2f24506185b 132927492 
lammps_20251210+dfsg.orig.tar.xz
 9a104a7535137596e3bfe2b03ed842c680d4667764959873fb037c148e2c6954 15956 
lammps_20251210+dfsg-1.debian.tar.xz
 a8e1aa8a54f33eda8ef461778b211c701a0ebd3ed0497ab834e05024747c2b1b 29399 
lammps_20251210+dfsg-1_source.buildinfo
Files:
 0ca56f7db547f01cef1d0e3d696ae63b 3310 science optional 
lammps_20251210+dfsg-1.dsc
 24a4fb1bbfcb97ac527c199221dbc3ba 132927492 science optional 
lammps_20251210+dfsg.orig.tar.xz
 fab8df7aae82af153ca0a3410a34ef30 15956 science optional 
lammps_20251210+dfsg-1.debian.tar.xz
 256a7f618682da6479b039459e94eb2e 29399 science optional 
lammps_20251210+dfsg-1_source.buildinfo

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

iQJIBAEBCgAyFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmlWlikUHGRwYXJzb25z
QGRlYmlhbi5vcmcACgkQVz7x5L1aAfoRxBAAlEe6bXObZckcHUVlGOACFLyXzGoF
lmqTzW0caqUo1E9uP4sb05RsEu8e+xkhGWHfFzH0jkXvWXiR/YzhkbapkwyB72rF
EU6PVoscOE5iCFZKDl5Yr7aQbKhbME3smEWA7UCYyPpPNHcLPoeATZIbweMiHN0y
apOHFg2NKDMkk97G/BjU1Ucv0NsrlhYkL3Zwl487wlvqXmXOUR7AUxCVDKlJNyWC
iGgJf+3yA7pY3YF9EzS72pMBC35yMuq7yV0ovDYSwPqEJkP3bGbdoKpimrralQvX
yK/5rBeNn+cFitx0JJWeXavdNoShGJPXqmMqPAA2okhtzyTiXNE8IgQzQkgP52je
T2PBNLP2GWwRqIA/ajRVP4+wiEZkGxo0JxBThxCmGpLt0LB1QqFenusbSgZLjYei
6eAb259JwLTU9uRyCUGCm44dlo6FSd+c4rW944GIyXq4G0tSXFm6coTOlW0lKljf
ZrSMn+DnhvrY3M6JzHTKhOyJiJRkAZ3UNIDEQL6otI04cP7PSb/+dwX6MB+3NUj6
iE0Nn7Ow46XWvcNt/oGtKsTdjwEWU9oQIX26vtksgeca+B1xKQvGjTrnMCWg4m8m
IYCckUy027KjARgJM5Yzy1Ks2reJNrxB//upbF9CaKTPznYW37ASyHgHIJa6ee3g
43Gi8cDYZN/wK8M=
=ISqc
-----END PGP SIGNATURE-----

Attachment: pgpuzykGXjgt2.pgp
Description: PGP signature


--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to