Your message dated Wed, 28 Oct 2026 18:35:55 +0000
with message-id <[email protected]>
and subject line Bug#1151696: Removed package(s) from unstable
has caused the Debian Bug report #950421,
regarding libhdate FTCBFS: multiple issues
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.)


-- 
950421: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950421
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libhdate
Version: 1.6.02-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

Hi Tzafrir,

you asked me for help with cross building libhdate. Unfortunately, I
don't see any of your commits on salsa yet. Therefore I'm simply
submitting my demo patch here as a reference for you to cherry pick from
and as a marker that libhdate can be made cross buildable. Looking
forward to see your fixes.

Helmut
diff --minimal -Nru libhdate-1.6.02/debian/changelog 
libhdate-1.6.02/debian/changelog
--- libhdate-1.6.02/debian/changelog    2018-07-30 05:49:11.000000000 +0200
+++ libhdate-1.6.02/debian/changelog    2020-01-29 20:08:08.000000000 +0100
@@ -1,3 +1,10 @@
+libhdate (1.6.02-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 29 Jan 2020 20:08:08 +0100
+
 libhdate (1.6.02-2) unstable; urgency=medium
 
   * Update maintainer address (Closes: #899576)
diff --minimal -Nru libhdate-1.6.02/debian/control 
libhdate-1.6.02/debian/control
--- libhdate-1.6.02/debian/control      2018-07-30 05:41:00.000000000 +0200
+++ libhdate-1.6.02/debian/control      2020-01-29 20:08:08.000000000 +0100
@@ -7,7 +7,9 @@
 Vcs-Git: https://salsa.debian.org/hebrew-team/libhdate.git
 Build-Depends: debhelper (>= 9),
  swig,
- python-dev (>= 2.6.6-3~),
+ perl-xs-dev,
+ libpython-dev (>= 2.6.6-3~),
+ python-dev:any (>= 2.6.6-3~),
  dh-python,
  dh-autoreconf,
 Standards-Version: 3.9.8
diff --minimal -Nru libhdate-1.6.02/debian/libhdate-perl.dirs 
libhdate-1.6.02/debian/libhdate-perl.dirs
--- libhdate-1.6.02/debian/libhdate-perl.dirs   2018-07-30 05:28:32.000000000 
+0200
+++ libhdate-1.6.02/debian/libhdate-perl.dirs   1970-01-01 01:00:00.000000000 
+0100
@@ -1,3 +0,0 @@
-#!/usr/bin/perl -w
-use Config;
-print substr($Config{vendorarch}, 1) . "\n";
diff --minimal -Nru libhdate-1.6.02/debian/libhdate-perl.install 
libhdate-1.6.02/debian/libhdate-perl.install
--- libhdate-1.6.02/debian/libhdate-perl.install        2018-07-30 
05:28:32.000000000 +0200
+++ libhdate-1.6.02/debian/libhdate-perl.install        2020-01-29 
20:08:08.000000000 +0100
@@ -1,3 +1,2 @@
-#!/usr/bin/perl -w
-use Config;
-print substr($Config{vendorarch}, 1) . "\n";
+#!/bin/sh
+echo "${ARCHLIB#.}"
diff --minimal -Nru libhdate-1.6.02/debian/patches/cross.patch 
libhdate-1.6.02/debian/patches/cross.patch
--- libhdate-1.6.02/debian/patches/cross.patch  1970-01-01 01:00:00.000000000 
+0100
+++ libhdate-1.6.02/debian/patches/cross.patch  2020-01-29 20:08:08.000000000 
+0100
@@ -0,0 +1,36 @@
+--- libhdate-1.6.02.orig/bindings/python/Makefile.am
++++ libhdate-1.6.02/bindings/python/Makefile.am
+@@ -11,8 +11,8 @@
+       
+ 
+ _hdate.so: hdate_wrap.cxx
+-      g++ -fpic -c hdate_wrap.cxx $(CPPFLAGS) $(CFLAGS) $(PY_CFLAGS) 
-I$(top_srcdir)/src
+-      g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o _hdate.so 
$(LDFLAGS)
++      $(CXX) -fpic -c hdate_wrap.cxx $(CPPFLAGS) $(CFLAGS) $(PY_CFLAGS) 
-I$(top_srcdir)/src
++      $(CXX) -shared hdate_wrap.o ../../src/.libs/libhdate.so -o _hdate.so 
$(LDFLAGS)
+ 
+ hdate_wrap.cxx: hdate.i
+       swig -python -c++ hdate.i
+--- libhdate-1.6.02.orig/configure.in
++++ libhdate-1.6.02/configure.in
+@@ -21,6 +21,7 @@
+ AC_GNU_SOURCE
+ AC_USE_SYSTEM_EXTENSIONS
+ AC_PROG_CC
++AC_PROG_CXX
+ AC_PROG_INSTALL
+ AC_PROG_LN_S
+ AC_PROG_MAKE_SET
+--- libhdate-1.6.02.orig/bindings/perl/Makefile.am
++++ libhdate-1.6.02/bindings/perl/Makefile.am
+@@ -11,8 +11,8 @@
+       
+ 
+ hdate.so: hdate_wrap.cxx
+-      g++ -fpic -c hdate_wrap.cxx $(CFLAGS) $(CPPFLAGS) $(PE_CFLAGS) 
-I$(top_srcdir)/src
+-      g++ -shared hdate_wrap.o ../../src/.libs/libhdate.so -o hdate.so 
$(LDFLAGS)
++      $(CXX) -fpic -c hdate_wrap.cxx $(CFLAGS) $(CPPFLAGS) $(PE_CFLAGS) 
-I$(top_srcdir)/src
++      $(CXX) -shared hdate_wrap.o ../../src/.libs/libhdate.so -o hdate.so 
$(LDFLAGS)
+ 
+ hdate_wrap.cxx: hdate.i
+       swig -perl -c++ hdate.i
diff --minimal -Nru libhdate-1.6.02/debian/patches/series 
libhdate-1.6.02/debian/patches/series
--- libhdate-1.6.02/debian/patches/series       2018-07-30 05:28:32.000000000 
+0200
+++ libhdate-1.6.02/debian/patches/series       2020-01-29 20:08:08.000000000 
+0100
@@ -6,3 +6,4 @@
 duplicate_gnu_source.patch
 size_t.patch
 clang.patch
+cross.patch
diff --minimal -Nru libhdate-1.6.02/debian/rules libhdate-1.6.02/debian/rules
--- libhdate-1.6.02/debian/rules        2018-07-30 05:28:32.000000000 +0200
+++ libhdate-1.6.02/debian/rules        2020-01-29 20:08:08.000000000 +0100
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 
-ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+PERLVER := $(shell perl -MConfig -e 'print $$Config{version}')
+ARCHLIB := $(shell perl 
-I/usr/lib/$(DEB_HOST_MULTIARCH)/perl/cross-config-$(PERLVER) -MConfig -e 
'print $$Config{vendorarch}')
+
+export ARCHLIB
 
 %:
        dh $* --with python2,autoreconf

--- End Message ---
--- Begin Message ---
Version: 1.6.02-2.1+rm

Dear submitter,

as the package libhdate has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1151696

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

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

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to