Your message dated Wed, 24 Nov 2021 21:49:14 +0000
with message-id <[email protected]>
and subject line Bug#970832: fixed in highwayhash 0~git20200803.9490b14-3
has caused the Debian Bug report #970832,
regarding highwayhash FTCBFS: multiple reasons
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.)


-- 
970832: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970832
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: highwayhash
Version: 0~git20191002.0aaf66b-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

highwayhash fails to cross build from source for multiple reasons. One
reason is confusing the terms build and host as defined in man
dpkg-architecture. Thus it issues inappropriate compiler flags during
cross builds. Beyond that, libhighwayhash.so is not part of the default
target, so it only gets built during dh_auto_install where no cross
tools are passed. The attached patch fixes both aspects. Please consider
applying it.

Helmut
diff --minimal -Nru highwayhash-0~git20191002.0aaf66b/debian/changelog 
highwayhash-0~git20191002.0aaf66b/debian/changelog
--- highwayhash-0~git20191002.0aaf66b/debian/changelog  2019-10-04 
09:48:51.000000000 +0200
+++ highwayhash-0~git20191002.0aaf66b/debian/changelog  2020-09-24 
06:13:24.000000000 +0200
@@ -1,3 +1,12 @@
+highwayhash (0~git20191002.0aaf66b-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Fix build vs host confusion.
+    + Build libhighwayhash.so during dh_auto_build.
+
+ -- Helmut Grohne <[email protected]>  Thu, 24 Sep 2020 06:13:24 +0200
+
 highwayhash (0~git20191002.0aaf66b-1) unstable; urgency=medium
 
   * New upstream version 0~git20191002.0aaf66b
diff --minimal -Nru highwayhash-0~git20191002.0aaf66b/debian/rules 
highwayhash-0~git20191002.0aaf66b/debian/rules
--- highwayhash-0~git20191002.0aaf66b/debian/rules      2019-10-04 
09:48:51.000000000 +0200
+++ highwayhash-0~git20191002.0aaf66b/debian/rules      2020-09-24 
06:13:24.000000000 +0200
@@ -1,26 +1,25 @@
 #!/usr/bin/make -f
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-BUILD_ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
-MULTIARCH=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
 export DESTDIR=/usr
-export LIBDIR=$(DESTDIR)/lib/$(MULTIARCH)/
+export LIBDIR=$(DESTDIR)/lib/$(DEB_HOST_MULTIARCH)/
 export INCDIR=$(DESTDIR)/include/
 TESTBINS = highwayhash_test nanobenchmark_example profiler_example 
sip_hash_test vector_test
 
-ifeq (arm64,$(BUILD_ARCH))
+ifeq (arm64,$(DEB_HOST_ARCH_CPU))
 export HH_AARCH64=1
 endif
-ifeq (ppc64,$(BUILD_ARCH))
-export HH_POWER=1
-endif
-ifeq (ppc64el,$(BUILD_ARCH))
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU),ppc64 ppc64el))
 export HH_POWER=1
 endif
 
 %:
        dh $@
 
+override_dh_auto_build:
+       dh_auto_build -- all lib/libhighwayhash.so
+
 override_dh_auto_clean:
        dh_auto_clean
        -$(RM) deps.mk
@@ -35,12 +34,12 @@
 
 override_dh_auto_install:
        dh_auto_install
-       mkdir -p debian/libhighwayhash0/usr/lib/$(MULTIARCH)
-       rename 's/.so/.so.0/' debian/tmp/usr/lib/$(MULTIARCH)/*.so
-       install -m0755 debian/tmp/usr/lib/$(MULTIARCH)/*.so.0 \
-               debian/libhighwayhash0/usr/lib/$(MULTIARCH)/
-       mkdir -p debian/libhighwayhash-dev/usr/lib/$(MULTIARCH)
-       install -m0755 debian/tmp/usr/lib/$(MULTIARCH)/*.a \
-               debian/libhighwayhash-dev/usr/lib/$(MULTIARCH)/
-       set -e; cd debian/libhighwayhash-dev/usr/lib/$(MULTIARCH)/; \
+       mkdir -p debian/libhighwayhash0/usr/lib/$(DEB_HOST_MULTIARCH)
+       rename 's/.so/.so.0/' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.so
+       install -m0755 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.so.0 \
+               debian/libhighwayhash0/usr/lib/$(DEB_HOST_MULTIARCH)/
+       mkdir -p debian/libhighwayhash-dev/usr/lib/$(DEB_HOST_MULTIARCH)
+       install -m0755 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.a \
+               debian/libhighwayhash-dev/usr/lib/$(DEB_HOST_MULTIARCH)/
+       set -e; cd debian/libhighwayhash-dev/usr/lib/$(DEB_HOST_MULTIARCH)/; \
                ln -s libhighwayhash.so.0 libhighwayhash.so

--- End Message ---
--- Begin Message ---
Source: highwayhash
Source-Version: 0~git20200803.9490b14-3
Done: Mo Zhou <[email protected]>

We believe that the bug you reported is fixed in the latest version of
highwayhash, 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.
Mo Zhou <[email protected]> (supplier of updated highwayhash 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: Wed, 24 Nov 2021 16:28:14 -0500
Source: highwayhash
Architecture: source
Version: 0~git20200803.9490b14-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Mo Zhou <[email protected]>
Closes: 970832 984175
Changes:
 highwayhash (0~git20200803.9490b14-3) unstable; urgency=medium
 .
   * Give up tracking C++ symbols. (Closes: #984175)
   * Fix FTCBFS due to multiple reasons; Patch rebased. (Closes: #970832)
   * Bump Standards-Version to 4.6.0 (no change).
   * Strip unnecessary shlibs:Depends from -dev package.
   * Remove unused lintian overrides.
Checksums-Sha1:
 0d8e87f6ad93cd34f2648ceb5e002e399f0fed06 2236 
highwayhash_0~git20200803.9490b14-3.dsc
 ab6ef9b38894c76a5ce345e94561d8c027b050e6 4832 
highwayhash_0~git20200803.9490b14-3.debian.tar.xz
 21a10791bf983a696a7e1d3a8c76b2b511dbc3a9 5658 
highwayhash_0~git20200803.9490b14-3_source.buildinfo
Checksums-Sha256:
 f97778d79ed7ed9ff4b1ff3dadb6ec178fa07e15b0e241e263406784dc03791e 2236 
highwayhash_0~git20200803.9490b14-3.dsc
 765aa1a5ce54c04c06caeb2388695bb8ee117fa8243e844743daea84709bc8c8 4832 
highwayhash_0~git20200803.9490b14-3.debian.tar.xz
 f1534e31bf7af11a9727c792b76f5af7be1bb5ffd514933152899643fc9b145f 5658 
highwayhash_0~git20200803.9490b14-3_source.buildinfo
Files:
 cd450c1318ffd8a1cedf8ea796c9afef 2236 science optional 
highwayhash_0~git20200803.9490b14-3.dsc
 78e82bb1e0c3802263c840d3c026c91d 4832 science optional 
highwayhash_0~git20200803.9490b14-3.debian.tar.xz
 6bda69d03946544007d3d3f640c7e7ec 5658 science optional 
highwayhash_0~git20200803.9490b14-3_source.buildinfo

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

iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmGerpMRHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaoqz4xAAm7gF6Jab+OyxptcSITo9ieCezc3SBHaT
FmY8ftfI0tj9B4H+QtCvQedK4AcmC19AIBUXrrIY/hmXLVXVvUGsBdw2MvA0OF9B
fMUMRKzW/zePFpKs4jv/aTTjMl2xNQLk4bgY7kNBrc6SOsYBvWQdxP30xUwAIGEL
L4qjP5KV/eUS+BqoQnrddoegkauGoPrGX4YlGboMPrBO4+jv5Vezf01LauFw7MYg
ztac1GzvPMH1wyKDMkuA7rQ7Mv92bmxX1i4OnCM25VB0YdbQzH/r/scawBMmBHXX
djxGaHc/RLKvMxrnP6S9jPu4ETsdtvTb/bXZfOwjI2/HzylcyQXCigTRFQtKupqM
H3QCqXn/BwJDMKnJ4iamJY0R+n6pScsyjjeHB9524Xw4qQ4VV0S1NDJfC3vG+g3z
vAdHd1qV5oaC5tVxkerOu7j4EVCkd6mz36iGriYng7NXDA64oko0GvYFiIdtSCpe
hvpRpLrxGMz16W1eG/YMCWxkOK8IrqlFOXcmsFO06pXPnWhkrCWq0lTX8ex6MNZV
ytTzzrYNMJBUQgNlfqC2o6hTe5FjRFZBH+v5WV+Lq0Ge+bl7JHfpfMewBzj71+wN
SsatbkF8f5edMS0B+SbtmCU/nqjCCvfnFogKlaEptb0OOYSje1ODt100y/7AwWO+
+sKo0db+nCU=
=ww/V
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to