Your message dated Thu, 19 Aug 2021 12:03:31 +0000
with message-id <[email protected]>
and subject line Bug#979603: fixed in dbskkd-cdb 1:3.00-4
has caused the Debian Bug report #979603,
regarding dbskkd-cdb FTCBFS: uses the build architecture compiler
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.)
--
979603: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979603
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dbskkd-cdb
Version: 1:3.00-3
Tags: patch
User: [email protected]
Usertags: ftcbfs
dbskkd-cdb fails to cross build from source, because it uses the build
architecture compiler. It is debian/rules that hard codes gcc. The usual
solution of letting dh_auto_build pass cross tools does not work here as
debian/rules stuffs CFLAGS into the CC variable. One usually separates
them out to CFLAGS. Please consider applying the attached patch to
implement that and make dbskkd-cdb cross buildable. Alternatively,
please pass $(CC) as CC after including /usr/share/dpkg/buildtools.mk.
That also works.
Helmut
diff --minimal -Nru dbskkd-cdb-3.00/debian/changelog
dbskkd-cdb-3.00/debian/changelog
--- dbskkd-cdb-3.00/debian/changelog 2021-01-02 09:37:03.000000000 +0100
+++ dbskkd-cdb-3.00/debian/changelog 2021-01-08 17:21:38.000000000 +0100
@@ -1,3 +1,12 @@
+dbskkd-cdb (1:3.00-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + cross.patch: Don't stuff CFLAGS into CC.
+ + Let dh_auto_build pass cross tools to make.
+
+ -- Helmut Grohne <[email protected]> Fri, 08 Jan 2021 17:21:38 +0100
+
dbskkd-cdb (1:3.00-3) unstable; urgency=medium
[ Jelmer Vernooij ]
diff --minimal -Nru dbskkd-cdb-3.00/debian/patches/cross.patch
dbskkd-cdb-3.00/debian/patches/cross.patch
--- dbskkd-cdb-3.00/debian/patches/cross.patch 1970-01-01 01:00:00.000000000
+0100
+++ dbskkd-cdb-3.00/debian/patches/cross.patch 2021-01-08 17:20:58.000000000
+0100
@@ -0,0 +1,32 @@
+--- dbskkd-cdb-3.00.orig/Makefile
++++ dbskkd-cdb-3.00/Makefile
+@@ -1,12 +1,13 @@
+ # dbskkd-cdb Makefile
+
+-CC = cc -Wall -O2 -g -I/usr/local/include
++CC = cc
++CFLAGS = -Wall -O2 -g -I/usr/local/include
+ COMPAT =
+ CDBLIB = /usr/local/lib/libcdb.a
+ INSTALLDIR = /usr/local/libexec
+
+ .c.o:
+- $(CC) $(COMPAT) $(PRIVATE) -c $*.c
++ $(CC) $(CFLAGS) $(COMPAT) $(PRIVATE) -c $*.c
+
+ all: dbskkd-cdb
+
+@@ -14,11 +15,11 @@
+ /bin/rm -f dbskkd-cdb *.o
+
+ dbskkd-cdb: dbskkd-cdb.o
+- $(CC) $(COMPAT) $(PRIVATE) -o dbskkd-cdb \
++ $(CC) $(CFLAGS) $(COMPAT) $(PRIVATE) -o dbskkd-cdb \
+ dbskkd-cdb.o ${CDBLIB}
+
+ dbskkd-cdb.o: dbskkd-cdb.c
+- $(CC) $(COMPAT) $(PRIVATE) -c dbskkd-cdb.c
++ $(CC) $(CFLAGS) $(COMPAT) $(PRIVATE) -c dbskkd-cdb.c
+
+ error.o: error.c error.h
+
diff --minimal -Nru dbskkd-cdb-3.00/debian/patches/series
dbskkd-cdb-3.00/debian/patches/series
--- dbskkd-cdb-3.00/debian/patches/series 1970-01-01 01:00:00.000000000
+0100
+++ dbskkd-cdb-3.00/debian/patches/series 2021-01-08 17:20:27.000000000
+0100
@@ -0,0 +1 @@
+cross.patch
diff --minimal -Nru dbskkd-cdb-3.00/debian/rules dbskkd-cdb-3.00/debian/rules
--- dbskkd-cdb-3.00/debian/rules 2018-11-26 17:02:05.000000000 +0100
+++ dbskkd-cdb-3.00/debian/rules 2021-01-08 17:21:36.000000000 +0100
@@ -15,7 +15,7 @@
build-arch: build-arch-stamp
build-arch-stamp:
dh_testdir
- $(MAKE) CC='gcc $(CFLAGS) $(CPPFLAGS)' \
+ dh_auto_build -- CFLAGS='$(CFLAGS) $(CPPFLAGS)' \
COMPAT='-DJISYO_FILE=\"/usr/share/skk/SKK-JISYO.cdb\"' \
CDBLIB='$(LDFLAGS) -lcdb'
touch $@
--- End Message ---
--- Begin Message ---
Source: dbskkd-cdb
Source-Version: 1:3.00-4
Done: Tatsuya Kinoshita <[email protected]>
We believe that the bug you reported is fixed in the latest version of
dbskkd-cdb, 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.
Tatsuya Kinoshita <[email protected]> (supplier of updated dbskkd-cdb 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: SHA256
Format: 1.8
Date: Thu, 19 Aug 2021 20:32:01 +0900
Source: dbskkd-cdb
Architecture: source
Version: 1:3.00-4
Distribution: unstable
Urgency: medium
Maintainer: Tatsuya Kinoshita <[email protected]>
Changed-By: Tatsuya Kinoshita <[email protected]>
Closes: 979603
Changes:
dbskkd-cdb (1:3.00-4) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix FTCBFS (closes: #979603)
- cross.patch: Don't stuff CFLAGS into CC
- Let dh_auto_build pass cross tools to make
Checksums-Sha1:
4fb3c19cf00cc71941a437d258903ba5ae52e467 1849 dbskkd-cdb_3.00-4.dsc
4dca32c9d51df7fbc74aec9e64eb423810d7cb1a 6920 dbskkd-cdb_3.00-4.debian.tar.xz
78bee2cd785b5e0e01a270421983069aa8cfd0e9 6525 dbskkd-cdb_3.00-4_amd64.buildinfo
Checksums-Sha256:
b243de6ab5e5b896274b11733f4423b5d71fe15429ea798ea20cbe64fd7492c4 1849
dbskkd-cdb_3.00-4.dsc
c396c11efc2c0e8b88fac50db713d7851aedfc2204c45cd33b6fb69f0512201b 6920
dbskkd-cdb_3.00-4.debian.tar.xz
be690fdac5ec04c81239b37e2f1e769cee81c8f6341796cf23b71af6bd183681 6525
dbskkd-cdb_3.00-4_amd64.buildinfo
Files:
099a5e76643ceac7ab1953acfc08a3cf 1849 utils optional dbskkd-cdb_3.00-4.dsc
e6b0b7e2aa614df76bf8ea368eecbc81 6920 utils optional
dbskkd-cdb_3.00-4.debian.tar.xz
c00e3b05380d2b911d56525683027691 6525 utils optional
dbskkd-cdb_3.00-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEAxxiPZTvHz7xexyE5e+rkAgOpjwFAmEeRPMACgkQ5e+rkAgO
pjw5fw/9FYyA6W9Uw0easKTbuNrFWZGV/1iVmzFTBK0B6wBA3jOmXye0vfdHMiVD
flLN+YX/kGMl8tcd/WU5NuKasyhsehFIM1WACRlGxiRfiM8it5QHWI68f61LcAwj
LKTGbpYQa9M7uvT7LjcJtSxGRAnyD0dKvwy/J809pBgQIRxLB6GlDIpPrVUwU3Sn
FPySA4a6YSoR+3uGePhASjsTp5CZKTIYkTTnYUhtjN1WAfoSNpwSqtTNxTd4K2xe
rQZu14Hca7+tNTPAN8XyJLqSXfmyIQ9TndlWpb1/l5PDFS95son1M6fC2L6raF4V
NI45sRItLDsmW5OVCeC36qEpnUckELKDVLZK4/5qty9glkCrVptlD7vhJblf3LEK
+D186nug2+QWXXc3dTH/qqJ54yq2+HhxCw2xKmbvg9UsuNYcI5dUstN8wvDB1f9W
3kU9CS1O3S3g9mtAToeJHdYtQXCtuSFAJATE/FVSX8TKCzI8Dyw2UmkgoMmsiPZv
5KZa3ewu0x4lfdrufqB4fb3H35CsNubs8J68/jNQdOPauSkBV4t2Emikgq/kWzCx
ii7PtsRpqLASYIDIJS5Kpma8fjQ2NJoLx+W13hzrNPfngKiPPbfCE3IJG2s2ituK
/qX1VB43i2OBbYhZNM4hpSXowBva6VeCqD6SjXuJZpG8o1n/5sE=
=F/yN
-----END PGP SIGNATURE-----
--- End Message ---