[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#875932: marked as done (cjk FTCBFS: uses the build architecture toolchain)



Your message dated Tue, 26 Sep 2017 13:50:06 +0000
with message-id <E1dwqFS-0001Ss-9W@fasolo.debian.org>
and subject line Bug#875932: fixed in cjk 4.8.4+git20170127-2
has caused the Debian Bug report #875932,
regarding cjk FTCBFS: uses the build architecture toolchain
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 owner@bugs.debian.org
immediately.)


-- 
875932: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875932
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: cjk
Version: 4.8.4+git20170127-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

cjk fails to cross build from source, because it generally uses build
architecture tools. It fails to pass --host to ./configure and it fails
to use cross compilers with make.

The debian packaging patches the Makefile to call ./configure there and
that makes cross building hard, because the parameter for --host is
unknown there. Thus my attached patch moves the relevant build
instructions into debian/rules and indirects them through
dh_auto_configure and dh_auto_build to let debhelper pass the cross
toolchains. After doing so, cjk cross builds. Please consider applying
the attached patch or a variant of it that ensures --host is passed to
./configure and CC is passed to make.

Helmut
diff --minimal -Nru cjk-4.8.4+git20170127/debian/changelog cjk-4.8.4+git20170127/debian/changelog
--- cjk-4.8.4+git20170127/debian/changelog	2017-09-15 13:37:31.000000000 +0200
+++ cjk-4.8.4+git20170127/debian/changelog	2017-09-16 09:26:35.000000000 +0200
@@ -1,3 +1,12 @@
+cjk (4.8.4+git20170127-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Remove manual patching and unpatching in a 3.0 (quilt) package.
+    + Let dh_auto_configure and dh_auto_build pass cross flags.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 16 Sep 2017 09:26:35 +0200
+
 cjk (4.8.4+git20170127-1) unstable; urgency=low
 
   [ Danai SAE-HAN (é??é??è??) ]
diff --minimal -Nru cjk-4.8.4+git20170127/debian/rules cjk-4.8.4+git20170127/debian/rules
--- cjk-4.8.4+git20170127/debian/rules	2017-09-12 01:21:44.000000000 +0200
+++ cjk-4.8.4+git20170127/debian/rules	2017-09-16 09:26:35.000000000 +0200
@@ -11,7 +11,7 @@
 
 SHELL = /bin/sh
 
-include /usr/share/quilt/quilt.make
+include /usr/share/dpkg/buildflags.mk
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
@@ -44,7 +44,12 @@
 	dh_update_autotools_config
 
 	# Add here commands to compile the package.
-	$(MAKE)
+	CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
+	       dh_auto_configure --sourcedirectory=utils/hbf2gf -- \
+               --with-kpathsea-lib=/usr/lib \
+               --with-kpathsea-include=/usr/include
+	dh_auto_build --sourcedirectory=utils/hbf2gf
+	dh_auto_build
 
 	touch build-arch-stamp
 
@@ -78,7 +83,7 @@
 build-stamp:
 	touch build-stamp
 
-clean: unpatch
+clean:
 #	dh_testdir doc/CJKutf8.txt examples/CJKbabel.tex
 	dh_testroot
 	rm -f build-stamp build-indep-stamp build-arch-stamp

--- End Message ---
--- Begin Message ---
Source: cjk
Source-Version: 4.8.4+git20170127-2

We believe that the bug you reported is fixed in the latest version of
cjk, 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 875932@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Danai SAE-HAN (韓達耐) <danai@debian.org> (supplier of updated cjk 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 26 Sep 2017 21:26:31 +0800
Source: cjk
Binary: latex-cjk-common latex-cjk-chinese latex-cjk-japanese latex-cjk-korean latex-cjk-thai latex-cjk-all cjk-latex
Architecture: source all amd64
Version: 4.8.4+git20170127-2
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Danai SAE-HAN (韓達耐) <danai@debian.org>
Description:
 cjk-latex  - installs all LaTeX CJK packages
 latex-cjk-all - installs all LaTeX CJK packages
 latex-cjk-chinese - Chinese module of LaTeX CJK
 latex-cjk-common - LaTeX macro package for CJK (Chinese/Japanese/Korean)
 latex-cjk-japanese - Japanese module of LaTeX CJK
 latex-cjk-korean - Korean module of LaTeX CJK
 latex-cjk-thai - Thai module of LaTeX CJK
Closes: 875932
Changes:
 cjk (4.8.4+git20170127-2) unstable; urgency=medium
 .
   * Fix FTCBFS: (Closes: #875932)
     [debian/rules]
       - Remove manual patching and unpatching in a 3.0 (quilt) package.
       - Let dh_auto_configure and dh_auto_build pass cross flags.
         Bug report and patch thanks to Helmut Grohne!
Checksums-Sha1:
 58ddce35c4e5f8d5c0228509707a28d1871bf182 2584 cjk_4.8.4+git20170127-2.dsc
 6b8b946bd8715402eafa9022f79dba1b9cfd5060 49172 cjk_4.8.4+git20170127-2.debian.tar.xz
 4218afcbefa24243f0308275f9736a9125ef6830 932 cjk-latex_4.8.4+git20170127-2_all.deb
 08e0a6d10225b58481b71a06bb5c10aab400e55c 12169 cjk_4.8.4+git20170127-2_amd64.buildinfo
 2da26b12726479c3fe4ad4e8ba15dd2ee49257fa 970 latex-cjk-all_4.8.4+git20170127-2_all.deb
 80f49cea52f9b54c673df95760441d529d542996 15054 latex-cjk-chinese-dbgsym_4.8.4+git20170127-2_amd64.deb
 57d69dbf813fbe896b9ac17cd30d96c58866deb0 57036 latex-cjk-chinese_4.8.4+git20170127-2_amd64.deb
 f8ec415841c0d4095566f268e158b5f93e89843d 36164 latex-cjk-common-dbgsym_4.8.4+git20170127-2_amd64.deb
 dc7211e31df7914535b095ae4fd052a0433c678a 243166 latex-cjk-common_4.8.4+git20170127-2_amd64.deb
 abaea0a89a6099dd4bcda2763ef2c270fc412286 4204 latex-cjk-japanese-dbgsym_4.8.4+git20170127-2_amd64.deb
 7d4e3cd639590b86b68d2077ee6b2eba323d585e 35314 latex-cjk-japanese_4.8.4+git20170127-2_amd64.deb
 86e0b8620e662524c075de99a82ff3b337d095b2 15352 latex-cjk-korean_4.8.4+git20170127-2_all.deb
 10ca86c5470a94d61ea0c02a486ae682066cb7a8 66164 latex-cjk-thai_4.8.4+git20170127-2_all.deb
Checksums-Sha256:
 6fc7df562d07eba9761d3b0930198b2b56999a1c442b8d22b08fcc3a617141e3 2584 cjk_4.8.4+git20170127-2.dsc
 c6314f3ede89af7bf684b8d3ad62a357fbe4ff56d85605e7b776db8ddfaa7c06 49172 cjk_4.8.4+git20170127-2.debian.tar.xz
 cd28bf770fedf63104d034b0ef22bf698a41867b5ab7753bd9a5fef3836b575b 932 cjk-latex_4.8.4+git20170127-2_all.deb
 79863bb4de020be866a7774aa6234ec6d1ae2782ac2fcc10343a309b9adb47d8 12169 cjk_4.8.4+git20170127-2_amd64.buildinfo
 fdc00f3be9fb66e1cde64a1566d726cea0654be6ee40be000c1537f2e6af5ca8 970 latex-cjk-all_4.8.4+git20170127-2_all.deb
 00e983526bdafe2caebd7486ea436152831fc6d8adc6aa12dcf550bba97d9ebf 15054 latex-cjk-chinese-dbgsym_4.8.4+git20170127-2_amd64.deb
 af8b017e5d1bad3eae93338777d6df3bfd5239c436ac263b87ae1112f311526d 57036 latex-cjk-chinese_4.8.4+git20170127-2_amd64.deb
 82c5471a277ca89ab316b8ed71e64ed94471b0a17ecceae195969904de9ff0b1 36164 latex-cjk-common-dbgsym_4.8.4+git20170127-2_amd64.deb
 abe284c91fb47acffcd85a7465d8c9c939d94d254b9bd18371bfaca62773d93b 243166 latex-cjk-common_4.8.4+git20170127-2_amd64.deb
 43e218a9134f6c5ec618ada362a7b9ebc622c5ed77e22375e37172f01b913db5 4204 latex-cjk-japanese-dbgsym_4.8.4+git20170127-2_amd64.deb
 4ccf57cc0b465b8bede5ac47416253da323bb3c52f2130eaeeb81985df76c8f7 35314 latex-cjk-japanese_4.8.4+git20170127-2_amd64.deb
 f395d505db7fbfe269a21f57d648b8c00407f9b6384fb04988c234e42c873a77 15352 latex-cjk-korean_4.8.4+git20170127-2_all.deb
 57071f3d1b81de2d561e5cc9461adfffc4ccf2dd3ff115bc382a95c7ed4fa173 66164 latex-cjk-thai_4.8.4+git20170127-2_all.deb
Files:
 1a51db14ed945aeed65668d9ba8a8965 2584 tex optional cjk_4.8.4+git20170127-2.dsc
 3580e8c22e2180099a3cd9abe9112e63 49172 tex optional cjk_4.8.4+git20170127-2.debian.tar.xz
 fb838f147fe8064667c95463d393401d 932 tex optional cjk-latex_4.8.4+git20170127-2_all.deb
 be160b4cb031aa9f9509618f71ac1280 12169 tex optional cjk_4.8.4+git20170127-2_amd64.buildinfo
 a3798f3219176b96b256e167168484cf 970 tex optional latex-cjk-all_4.8.4+git20170127-2_all.deb
 ee4aecd30aae9087bc769ad40ca68455 15054 debug optional latex-cjk-chinese-dbgsym_4.8.4+git20170127-2_amd64.deb
 cf2b3850cf39d9d0247fb2da95a9c2f7 57036 tex optional latex-cjk-chinese_4.8.4+git20170127-2_amd64.deb
 aca33c446a1e6298489f1f15b6691a4e 36164 debug optional latex-cjk-common-dbgsym_4.8.4+git20170127-2_amd64.deb
 1b83a01ae9b656e16d7f20d178387a4c 243166 tex optional latex-cjk-common_4.8.4+git20170127-2_amd64.deb
 efc9d0632bc103e9746159e398acc3b0 4204 debug optional latex-cjk-japanese-dbgsym_4.8.4+git20170127-2_amd64.deb
 5a8e29c324efc88be035c55cd7e1bf09 35314 tex optional latex-cjk-japanese_4.8.4+git20170127-2_amd64.deb
 b12f81ee7a505e6660c2fcc9399307c3 15352 tex optional latex-cjk-korean_4.8.4+git20170127-2_all.deb
 0bd6b5a284c791b39c4667277de8c837 66164 tex optional latex-cjk-thai_4.8.4+git20170127-2_all.deb

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

iQJFBAEBCgAvFiEEG7yHUyS3GBuUxhYDLjGICmLrVDQFAlnKViURHGRhbmFpQGRl
Ymlhbi5vcmcACgkQLjGICmLrVDTWUg/+OuQ5VZWUGJ6x64FIdiMpq1WqzRU85OdX
TiFTYMLgxumhf0vCs3bx9MaypU2i8FWtTaHUi+7zc+fWJO7nAu1GIsE3T7i2ovqf
LKKhOG0+bgFXTMDmSFayRa4RLcBFzhe6wfci7fAfkzHjy8O0Ttp+phu88iy59Ia7
HaPRkGOsAQr5IQqQ1WfhlZV35OQQq4v4EITjyeJNjCtVtcBQCeHE9DTUhabVksW5
8P0Nn9CFLHLsdooWs6CyyflacxeGZ7NjAVqcZ8ApnqmVus4MCO/kIUtEO2cX+R+R
T0gnJA2OdEnQCwSLsFo2ZYOtToR2SfIm6L/ExvKPW3TKS026WEQUTRHUfMTnJ0wt
nwjqOaAFZouakD+JkRnLcSyKqS6Y7O7eGi3oqj15+lTtVK0XSaUc3J6wi1ourYZ7
xVkjDK3pkNYABR1WRyeWo2C65bPQKUHmvrx2bWc+2Ia9hy+HhcFU/uI7fjdD7idz
/evvQnQvd57SGyzodkz2Ottvp6sb/WQkizhl4NbXd/49N+Ny8uqacX52yTBSY6U7
vdNyzOVPyJaIyqeIC9S8D/iSY4D1EL1/iJyNLQnNn4ApHalRh+EWuiL2eLWckYia
hN+TMhTGnNzgN3wLeiZJNZBksQR7P6YpKM7HIbeAV4J4vCk5GMyhfTHNUJ7bVrqh
oeiKfJVPWig=
=nFfF
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: