Bug#465635: latex-cjk-chinese-arphic: FTBFS: debhelper errors

2008-04-25 Thread Danai SAE-HAN (韓達耐)
Hi Lucas!

I'm still stuck when rebuilding the package.  The reason is not your patch,
but some changes in kpathsea, a part of TeX.  This bug doesn't cause an
FTBFS, but makes the packages fail to install properly.

So I'm trying to solve this issue before I can upload a new version, with
your patch included.

So far my information notice. :-)


Regards


-- 
Danai SAE-HAN (韓達耐)

題目:《閑居初夏午睡起》
作者:楊萬里(1127-1206)

梅子留酸軟齒牙,芭蕉分綠與窗紗。
日長睡起無情思,閑看兒童捉柳花。



signature.asc
Description: OpenPGP digital signature


Bug#465635: latex-cjk-chinese-arphic: FTBFS: debhelper errors

2008-04-13 Thread Lucas Nussbaum
tags 465635 + patch
thanks

On 14/02/08 at 01:44 +0100, Danai SAE-HAN (韓達耐) wrote:
 Op 13-02-08 17:18, schreef Lucas Nussbaum:
  
  During a rebuild of all packages in sid, your package failed to build on 
  i386.
  
  Seems that the parallel build stuff still has problems...
 
 Doh!  Thanks for running this package again on your grid.  I'm so honoured!

Well, I introduced that bug myself. ;)

Here is a patch that fixes it. The problem is there's a race condition
in your makefile, with the ordering of pre-clean and clean-$font when
running make with -j.

If you don't want to spend hours rebuilding the package, I could do
that and upload the NMU, if you want.
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |
diff -Nru latex-cjk-chinese-arphic-1.18/debian/changelog latex-cjk-chinese-arphic-1.18+nmu1/debian/changelog
--- latex-cjk-chinese-arphic-1.18/debian/changelog	2008-01-30 11:49:47.0 +0100
+++ latex-cjk-chinese-arphic-1.18+nmu1/debian/changelog	2008-04-13 19:11:56.0 +0200
@@ -1,3 +1,11 @@
+latex-cjk-chinese-arphic (1.18+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix problem in the $(clean_fonts) rule when running debian/rules clean
+with -j: some debian/control entries could be missing. Closes: #465635.
+
+ -- Lucas Nussbaum [EMAIL PROTECTED]  Sun, 13 Apr 2008 19:09:51 +0200
+
 latex-cjk-chinese-arphic (1.18) unstable; urgency=low
 
   * The I love vertical writing release.
diff -Nru /tmp/Q5MajWlUok/latex-cjk-chinese-arphic-1.18/debian/rules /tmp/K9L68qsopH/latex-cjk-chinese-arphic-1.18+nmu1/debian/rules
--- latex-cjk-chinese-arphic-1.18/debian/rules	2008-01-30 11:50:37.0 +0100
+++ latex-cjk-chinese-arphic-1.18+nmu1/debian/rules	2008-04-13 19:14:10.0 +0200
@@ -198,7 +198,9 @@
 
 	touch $@
 
-clean: pre-clean $(clean_fonts)
+clean: $(clean_fonts)
+	cat debian/control.stem.in debian/control.font.*  debian/control
+	rm debian/control.font.*
 	dh_testdir debian/font.fd.in debian/latex-cjk/subfonts.pe
 	dh_testroot
 	rm -f build-stamp
@@ -206,17 +208,16 @@
 	dh_clean 
 	rm -rf build/
 
-pre-clean:
-	cd debian  cp control.stem.in control
-
 $(clean_fonts): abbrev = $(patsubst clean_%,%,$@)
 $(clean_fonts): MY_DH_OPTIONS = -p$(bin-package) -P$(d)
-$(clean_fonts):
-	@cd debian  \
+$(clean_fonts): 
+	# there was a possible race condition here when running with make -j,
+	# with  control. We append to seperate files instead.
+	cd debian  \
 	sed -e 's/@TYPEFACE@/$(typeface)/g' \
 		-e 's/@FAMILYNAME@/$(familyname)/g' \
-		control.leaf.in  control
-	@cd debian  \
+		control.leaf.in  control.font.$(bin-package)
+	cd debian  \
 	sed -e 's/@ABBREV@/$(abbrev)/g' \
 		-e 's/@FAMILYNAME@/$(familyname)/g' \
 		-e 's/@TYPEFACE@/$(typeface)/g' \
@@ -269,4 +270,4 @@
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install \
-	$(fonts) $(install_fonts) $(binary_fonts) $(clean_fonts) pre-clean
+	$(fonts) $(install_fonts) $(binary_fonts) $(clean_fonts)


signature.asc
Description: Digital signature


Bug#465635: latex-cjk-chinese-arphic: FTBFS: debhelper errors

2008-04-13 Thread Danai SAE-HAN (韓達耐)
Op 13-04-08 21:20, schreef Lucas Nussbaum:
 
 On 14/02/08 at 01:44 +0100, Danai SAE-HAN (韓達耐) wrote:
 Op 13-02-08 17:18, schreef Lucas Nussbaum:
 During a rebuild of all packages in sid, your package failed to build on 
 i386.

 Seems that the parallel build stuff still has problems...
 Doh!  Thanks for running this package again on your grid.  I'm so honoured!
 
 Well, I introduced that bug myself. ;)
 
 Here is a patch that fixes it. The problem is there's a race condition
 in your makefile, with the ordering of pre-clean and clean-$font when
 running make with -j.

I see!  That's why it won't work.  My computer probably can't handle
simultaneous jobs, because I need to buy an extra memory stick. ;D

Thanks a bunch for your patch!

 If you don't want to spend hours rebuilding the package, I could do
 that and upload the NMU, if you want.

Nah, that's okay.  I'll rebuild it tonight, and send it to the Debian TeX
maintainers and my DD sponsor.


Cheers!


-- 
Danai SAE-HAN (韓達耐)

題目:《東溪》
作者:梅堯臣(1002-1060)

行到東溪看水時,坐臨孤嶼發船遲。
野鳧眠岸有閑意,老樹著花無丑枝。
短短蒲耳齊似剪,平平沙石淨于篩。
情雖不厭住不得,薄暮歸來車馬疲。



signature.asc
Description: OpenPGP digital signature


Bug#465635: latex-cjk-chinese-arphic: FTBFS: debhelper errors

2008-02-13 Thread Lucas Nussbaum
Package: latex-cjk-chinese-arphic
Version: 1.18
Severity: serious
User: [EMAIL PROTECTED]
Usertags: qa-ftbfs-20080212 qa-ftbfs
Justification: FTBFS on i386

Hi,

During a rebuild of all packages in sid, your package failed to build on i386.

Seems that the parallel build stuff still has problems...

Relevant part:
  /usr/bin/fakeroot debian/rules binary
 dh_testdir -platex-cjk-chinese-arphic-bsmi00lp 
 -Pdebian/latex-cjk-chinese-arphic-bsmi00lp
 dh_testdir -platex-cjk-chinese-arphic-bkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-bkai00mp
 dh_testdir -platex-cjk-chinese-arphic-gbsn00lp 
 -Pdebian/latex-cjk-chinese-arphic-gbsn00lp
 dh_testdir -platex-cjk-chinese-arphic-gkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-gkai00mp
 dh_testdir -platex-cjk-chinese-arphic-bsmi00lp 
 -Pdebian/latex-cjk-chinese-arphic-bsmi00lp
 dh_testdir -platex-cjk-chinese-arphic-bkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-bkai00mp
 dh_testdir -platex-cjk-chinese-arphic-gbsn00lp 
 -Pdebian/latex-cjk-chinese-arphic-gbsn00lp
 dh_testdir -platex-cjk-chinese-arphic-gkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-gkai00mp
 dh_testroot -platex-cjk-chinese-arphic-gkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-gkai00mp
 dh_testroot -platex-cjk-chinese-arphic-bsmi00lp 
 -Pdebian/latex-cjk-chinese-arphic-bsmi00lp
 dh_testroot -platex-cjk-chinese-arphic-bsmi00lp 
 -Pdebian/latex-cjk-chinese-arphic-bsmi00lp
 dh_testroot -platex-cjk-chinese-arphic-bkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-bkai00mp
 dh_testroot -platex-cjk-chinese-arphic-bkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-bkai00mp
 dh_testroot -platex-cjk-chinese-arphic-gbsn00lp 
 -Pdebian/latex-cjk-chinese-arphic-gbsn00lp
 dh_testroot -platex-cjk-chinese-arphic-gbsn00lp 
 -Pdebian/latex-cjk-chinese-arphic-gbsn00lp
 dh_testroot -platex-cjk-chinese-arphic-gkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-gkai00mp
 dh_clean -k  -platex-cjk-chinese-arphic-bkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-bkai00mp
 dh_clean -k  -platex-cjk-chinese-arphic-gkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-gkai00mp
 dh_installchangelogs -platex-cjk-chinese-arphic-bsmi00lp 
 -Pdebian/latex-cjk-chinese-arphic-bsmi00lp
 dh_clean -k  -platex-cjk-chinese-arphic-bsmi00lp 
 -Pdebian/latex-cjk-chinese-arphic-bsmi00lp
 dh_installchangelogs -platex-cjk-chinese-arphic-bkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-bkai00mp
 dh_installchangelogs -platex-cjk-chinese-arphic-gkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-gkai00mp
 dh_clean -k  -platex-cjk-chinese-arphic-gbsn00lp 
 -Pdebian/latex-cjk-chinese-arphic-gbsn00lp
 dh_installchangelogs -platex-cjk-chinese-arphic-gbsn00lp 
 -Pdebian/latex-cjk-chinese-arphic-gbsn00lp
 Use of uninitialized value in hash element at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 373.
 Use of uninitialized value in concatenation (.) or string at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 323.
 Use of uninitialized value in hash element at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 373.
 Use of uninitialized value in concatenation (.) or string at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 323.
 Use of uninitialized value in hash element at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 373.
 Use of uninitialized value in concatenation (.) or string at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 323.
 Use of uninitialized value in hash element at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 373.
 Use of uninitialized value in concatenation (.) or string at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 323.
 Use of uninitialized value in concatenation (.) or string at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 323.
 Use of uninitialized value in string eq at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 325.
 Use of uninitialized value in string eq at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 325.
 Use of uninitialized value in concatenation (.) or string at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 323.
 Use of uninitialized value in string eq at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 325.
 Use of uninitialized value in string eq at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 325.
 dh_installdirs -platex-cjk-chinese-arphic-bkai00mp 
 -Pdebian/latex-cjk-chinese-arphic-bkai00mp
 Use of uninitialized value in concatenation (.) or string at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 323.
 Use of uninitialized value in string eq at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 325.
 Use of uninitialized value in string eq at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 325.
 dh_installdirs -platex-cjk-chinese-arphic-bsmi00lp 
 -Pdebian/latex-cjk-chinese-arphic-bsmi00lp
 dh_installdirs -platex-cjk-chinese-arphic-gbsn00lp 
 -Pdebian/latex-cjk-chinese-arphic-gbsn00lp
 Use of uninitialized value in concatenation (.) or string at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 323.
 Use of uninitialized value in string eq at 
 /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 325.
 Use of 

Bug#465635: latex-cjk-chinese-arphic: FTBFS: debhelper errors

2008-02-13 Thread Danai SAE-HAN (韓達耐)
Op 13-02-08 17:18, schreef Lucas Nussbaum:
 
 During a rebuild of all packages in sid, your package failed to build on i386.
 
 Seems that the parallel build stuff still has problems...

Doh!  Thanks for running this package again on your grid.  I'm so honoured!

I'll try my best to track down this bug, and hopefully fix it by FOSDEM 2008.

Cheers!

-- 
Danai SAE-HAN (韓達耐)

題目:《春日》
作者:秦觀(1049-1100)

一夕輕雷落萬絲,霽光浮瓦碧參差。
有情芍藥含春淚,無力薔薇臥曉枝。



signature.asc
Description: OpenPGP digital signature