Bug#1062427: ghmm: NMU diff for 64-bit time_t transition

2024-02-07 Thread Andreas Tille
Hi Lukas,

Am Thu, Feb 01, 2024 at 11:27:43AM +0100 schrieb Lukas Märdian:
> please note that ghmm seems to FTBFS for a reason unrelated to this NMU:
> 
> dh_install
> dh_install: warning: Cannot find (any matches for) 
> "usr/lib/python3*/site-packages/*" (tried in ., debian/tmp)
> 
> dh_install: warning: ghmm missing files: usr/lib/python3*/site-packages/*
> dh_install: error: missing files, aborting
> make[1]: *** [debian/rules:15: override_dh_install] Error 255
> make[1]: Leaving directory '/home/slyon/time_t/ghmm-0.9~rc3'
> make: *** [debian/rules:9: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
> 2
> 
> 
> The python files seem to be generated in wrong directory (see tree below).

The uploaded package was lagging quite behind packaging in Git.  Since I
was able to upload a fixed package to unstable today I applied all your
changes in another upload to experimental which I "sponsored" for you as
ghmm_0.9~rc3-5.1~exp.

Hope this contributes a bit to all your huge work for the time_t
transition.

Kind regards and thanks a lot for your work
Andreas.

PS: In case you notice in tracker.debian.org that
  "version in VCS is newer than in repository, is it time to upload?"
is set it might be useful to contact the maintainers of the package.

-- 
http://fam-tille.de



Bug#1062427: ghmm: NMU diff for 64-bit time_t transition

2024-02-01 Thread Lukas Märdian
Dear maintainer,

please note that ghmm seems to FTBFS for a reason unrelated to this NMU:

dh_install
dh_install: warning: Cannot find (any matches for) 
"usr/lib/python3*/site-packages/*" (tried in ., debian/tmp)

dh_install: warning: ghmm missing files: usr/lib/python3*/site-packages/*
dh_install: error: missing files, aborting
make[1]: *** [debian/rules:15: override_dh_install] Error 255
make[1]: Leaving directory '/home/slyon/time_t/ghmm-0.9~rc3'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


The python files seem to be generated in wrong directory (see tree below).

Cheers,
  Lukas


slyon@sid-time-t:~/time_t/ghmm-0.9~rc3$ tree debian/tmp/
debian/tmp/
└── usr
├── bin
│   ├── cluster
│   ├── ghmm-config
│   ├── probdist
│   ├── scluster
│   └── smix_hmm
├── include
│   └── ghmm
│   ├── cfbgibbs.h
│   ├── cluster.h
│   ├── discrime.h
│   ├── fbgibbs.h
│   ├── foba.h
│   ├── ghmmconfig.h
│   ├── ghmm.h
│   ├── gradescent.h
│   ├── kbest.h
│   ├── model.h
│   ├── obsolete.h
│   ├── pmodel.h
│   ├── psequence.h
│   ├── pviterbi.h
│   ├── pviterbi_propagate.h
│   ├── reestimate.h
│   ├── rng.h
│   ├── scanner.h
│   ├── scluster.h
│   ├── sdfoba.h
│   ├── sdmodel.h
│   ├── sequence.h
│   ├── sfoba.h
│   ├── sgenerate.h
│   ├── smap_classify.h
│   ├── smixturehmm.h
│   ├── smodel.h
│   ├── sreestimate.h
│   ├── sviterbi.h
│   ├── unsupported.h
│   ├── viterbi.h
│   ├── xmlreader.h
│   └── xmlwriter.h
├── lib
│   └── x86_64-linux-gnu
│   ├── libghmm.a
│   ├── libghmm.la
│   ├── libghmm.so -> libghmm.so.1.0.0
│   ├── libghmm.so.1 -> libghmm.so.1.0.0
│   └── libghmm.so.1.0.0
├── local
│   ├── bin
│   │   └── HMMEd
│   └── lib
│   └── python3.11
│   └── dist-packages
│   ├── ghmmwrapper-0.8-py3.11-linux-x86_64.egg
│   │   ├── class_change.py
│   │   ├── EGG-INFO
│   │   │   ├── dependency_links.txt
│   │   │   ├── native_libs.txt
│   │   │   ├── not-zip-safe
│   │   │   ├── PKG-INFO
│   │   │   ├── SOURCES.txt
│   │   │   └── top_level.txt
│   │   ├── ghmmhelper.py
│   │   ├── ghmm.py
│   │   ├── _ghmmwrapper.cpython-311-x86_64-linux-gnu.so
│   │   ├── _ghmmwrapper.py
│   │   ├── ghmmwrapper.py
│   │   ├── modhmmer.py
│   │   └── __pycache__
│   │   ├── class_change.cpython-311.pyc
│   │   ├── ghmm.cpython-311.pyc
│   │   ├── ghmmhelper.cpython-311.pyc
│   │   ├── _ghmmwrapper.cpython-311.pyc
│   │   ├── ghmmwrapper.cpython-311.pyc
│   │   └── modhmmer.cpython-311.pyc
│   └── HMMEd-0.8-py3.11.egg
└── share
└── ghmm
└── ghmm.dtd.1.0

17 directories, 65 files



signature.asc
Description: PGP signature


Bug#1062427: ghmm: NMU diff for 64-bit time_t transition

2024-02-01 Thread Lukas Märdian
Source: ghmm
Version: 0.9~rc3-4
Severity: serious
Tags: patch pending
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

Dear maintainer,

As part of the 64-bit time_t transition required to support 32-bit
architectures in 2038 and beyond
(https://wiki.debian.org/ReleaseGoals/64bit-time), we have identified
ghmm as a source package shipping runtime libraries whose ABI
either is affected by the change in size of time_t, or could not be
analyzed via abi-compliance-checker (and therefore to be on the safe
side we assume is affected).

To ensure that inconsistent combinations of libraries with their
reverse-dependencies are never installed together, it is necessary to
have a library transition, which is most easily done by renaming the
runtime library package.

Since turning on 64-bit time_t is being handled centrally through a change
to the default dpkg-buildflags (https://bugs.debian.org/1037136), it is
important that libraries affected by this ABI change all be uploaded close
together in time.  Therefore I have prepared a 0-day NMU for ghmm
which will initially be uploaded to experimental if possible, then to
unstable after packages have cleared binary NEW.

Please find the patch for this NMU attached.

If you have any concerns about this patch, please reach out ASAP.  Although
this package will be uploaded to experimental immediately, there will be a
period of several days before we begin uploads to unstable; so if information
becomes available that your package should not be included in the transition,
there is time for us to amend the planned uploads.



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-14-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru ghmm-0.9~rc3/debian/changelog ghmm-0.9~rc3/debian/changelog
--- ghmm-0.9~rc3/debian/changelog   2021-01-24 19:27:28.0 +
+++ ghmm-0.9~rc3/debian/changelog   2024-02-01 10:10:17.0 +
@@ -1,3 +1,11 @@
+ghmm (0.9~rc3-4.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * Bump build-dependency on d-shlibs for --t64 support.
+
+ -- Lukas Märdian   Thu, 01 Feb 2024 10:10:17 +
+
 ghmm (0.9~rc3-4) unstable; urgency=medium
 
   * Team upload.
diff -Nru ghmm-0.9~rc3/debian/control ghmm-0.9~rc3/debian/control
--- ghmm-0.9~rc3/debian/control 2021-01-24 19:27:28.0 +
+++ ghmm-0.9~rc3/debian/control 2024-02-01 10:10:17.0 +
@@ -4,7 +4,7 @@
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
-   d-shlibs,
+   d-shlibs (>= 0.106),
python3-dev,
pkg-config,
libxml2-dev,
@@ -24,7 +24,7 @@
 Depends: ${shlibs:Depends},
  ${misc:Depends},
  python3,
- libghmm1
+ libghmm1t64
 Description: General Hidden-Markov-Model library - tools
  The General Hidden Markov Model Library (GHMM) is a C library with
  additional Python3 bindings implementing a wide range of types of
@@ -38,8 +38,8 @@
 Section: libdevel
 Depends: ${shlibs:Depends},
  ${misc:Depends},
- libghmm1 (>= ${source:Upstream-Version}),
- libghmm1 (<< ${source:Upstream-Version}+1)
+ libghmm1t64 (>= ${source:Upstream-Version}),
+ libghmm1t64 (<< ${source:Upstream-Version}+1)
 Description: General Hidden-Markov-Model library - header files
  The General Hidden Markov Model Library (GHMM) is a C library with
  additional Python3 bindings implementing a wide range of types of
@@ -48,7 +48,10 @@
  .
  Header files and static library to compile against the library.
 
-Package: libghmm1
+Package: libghmm1t64
+Provides: ${t64:Provides}
+Replaces: libghmm1
+Breaks: libghmm1 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
diff -Nru ghmm-0.9~rc3/debian/libghmm1t64.lintian-overrides 
ghmm-0.9~rc3/debian/libghmm1t64.lintian-overrides
--- ghmm-0.9~rc3/debian/libghmm1t64.lintian-overrides   1970-01-01 
00:00:00.0 +
+++ ghmm-0.9~rc3/debian/libghmm1t64.lintian-overrides   2024-02-01 
10:09:42.0 +
@@ -0,0 +1 @@
+libghmm1t64: package-name-doesnt-match-sonames libghmm1
diff -Nru ghmm-0.9~rc3/debian/rules ghmm-0.9~rc3/debian/rules
--- ghmm-0.9~rc3/debian/rules   2021-01-24 19:27:28.0 +
+++ ghmm-0.9~rc3/debian/rules   2024-02-01 10:10:17.0 +
@@ -15,6 +15,7 @@
dh_install
find $(CURDIR)/debian/tmp -name "*.pyc" -delete
d-shlibmove --commit \
+   --t64 \
--multiarch \
--devunversioned \
--exclude-la \