Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Bug#215430: chinese pages don't build on non-i386

 
   Soft32 Home -> Linux -> World Wide Web RSS
Next:  please, help me  
Author Message
Anthony Wong

External


Since: Mar 09, 2007
Posts: 1



(Msg. 1) Posted: Tue Sep 27, 2005 4:10 pm
Post subject: Bug#215430: chinese pages don't build on non-i386
Archived from groups: linux>debian>bugs>dist, others (more info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jutta,

According to what you describe, I think your change is fine and
shouldn't lead to any error. Can you paste the full screen output of the
building of the Chinese page after you have made the change to
Make.lang? Since I don't have access to a PPC machine that has wml
installed, I can't test it out myself.

And on a related note, can you try changing the B5TOGB value to the
following and tell us the result:

B5TOGB = /usr/bin/iconv -f big5 -t gb2312

Because iconv is standard (in libc6) and so should lead to fewer
cross-platform issues.

Anthony
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDOZQSNLOpoHvSL3QRAuPrAKCLiNwTgT2fGUIv3+K7XpwFfii72ACdFw1k
LgH7SSXX9tj5Xwo9KtzT8qA=
=D64n
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Jutta Wrage

External


Since: Oct 27, 2005
Posts: 161



(Msg. 2) Posted: Tue Sep 27, 2005 6:20 pm
Post subject: Bug#215430: chinese pages don't build on non-i386 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Am 27.09.2005 um 20:48 schrieb Anthony Wong:

> Can you paste the full screen output of the
> building of the Chinese page after you have made the change to
> Make.lang?

The full log ist at http://www.witch.westfalen.de/debian/diff/
make_chinese1.log
Here the last lines:

make[1]: Leaving directory `/bilder/dwww2/webwml/chinese/po'
wml -q -D CUR_YEAR=2005 -o UNDEFuZH@uCNuCNHKuCNTW:contact.zh-
cn.html.tmp@g+w -o UNDEFuZH@uHKuCNHKuHKTW:contact.zh-hk.html.tmp@g+w -
o UNDEFuZH@uTWuCNTWuHKTW:contact.zh-tw.html.tmp@g+w --prolog=./bin/
fix_big5.pl contact.wml
* Converting: [zh_CN.GB2312],
make: *** [contact.zh-cn.html] Fehler 56


Si ist is doing just nothing after reading the .po files.

> And on a related note, can you try changing the B5TOGB value to the
> following and tell us the result:
>
> B5TOGB = /usr/bin/iconv -f big5 -t gb2312

That seems to build quite well. But there are iconv errors:

* Converting: [zh_CN.GB2312], [zh_HK.Big5], [zh_TW.Big5].
cd 2002/48 && wml -q -D CUR_YEAR=2005 -o
UNDEFuZH@uCNuCNHKuCNTW:index.zh-cn.html
..tmp@g+w -o UNDEFuZH@uHKuCNHKuHKTW:index.zh-hk.html.tmp@g+w -o
UNDEFuZH@uTWuCNTW
uHKTW:index.zh-tw.html.tmp@g+w --prolog=/bilder/dwww2/webwml/chinese/
News/weekly
/../../bin/fix_big5.pl index.wml
* Converting: [zh_CN.GB2312], /usr/bin/iconv: illegal input sequence
at positio
n 9374
make[2]: *** [2002/48/index.zh-cn.html] Error 1
make[2]: Leaving directory `/bilder/dwww2/webwml/chinese/News/weekly'
make[1]: [weekly] Error 2 (ignored)

wml -q -D CUR_YEAR=2005 -o UNDEFuZH@uCNuCNHKuCNTW:software_non-
free.zh-cn.html.t
mp@g+w -o UNDEFuZH@uHKuCNHKuHKTW:software_non-free.zh-hk.html.tmp@g+w
- -o UNDEFuZ
H@uTWuCNTWuHKTW:software_non-free.zh-tw.html.tmp@g+w --prolog=../../
bin/fix_big5
..pl software_non-free.wml
* Converting: [zh_CN.GB2312],
/usr/bin/iconv: illegal input sequence at position 10006
make[2]: *** [software_non-free.zh-cn.html] Error 1
make[2]: Leaving directory `/bilder/dwww2/webwml/chinese/
international/Chinese'
make[1]: [Chinese] Error 2 (ignored)
make[1]: Leaving directory `/bilder/dwww2/webwml/chinese/international'

wml -q -D CUR_YEAR=2005 -o UNDEFuZH@uCNuCNHKuCNTW:dsa-long.zh-
cn.rdf.tmp@g+w -o
UNDEFuZH@uHKuCNHKuHKTW:dsa-long.zh-hk.rdf.tmp@g+w -o
UNDEFuZH@uTWuCNTWuHKTW:dsa-
long.zh-tw.rdf.tmp@g+w --prolog=../bin/fix_big5.pl \
-D CUR_LANG=Chinese -D CUR_ISO_LANG=zh -D CUR_LOCALE=zh_CN
- -D CHARSET=
big5 \
../../english/security/dsa-long.rdf.in
* Converting: [zh_CN.GB2312], /usr/bin/iconv: illegal input sequence
at positio
n 7245
make[1]: *** [dsa-long.zh-cn.rdf] Error 1
make[1]: Leaving directory `/bilder/dwww2/webwml/chinese/security'
make: [security] Fehler 2 (ignoriert)

The full log ist at http://www.witch.westfalen.de/debian/diff/
make_chinese.log

I addition I put the diff of Make.lang on my web server:
http://www.witch.westfalen.de/debian/diff/Make.lang_chinese-diff.txt

From what I see, the results differ from what is now on
www.debian.org. Please compare the first line after the second
heading (sign before 2005) on these two pages:
http://www.debian.org/index.zh-cn.html
http://www.witch.westfalen.de/debian/dwww2/index.zh-cn.html

My index.wml is up-to-date in that tree.

I put a list of the built pages to http://www.witch.westfalen.de/
debian/diff/chinese_pages.txt

greetings

Jutta

- --
http://www.witch.westfalen.de
http://witch.muensterland.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iEYEARECAAYFAkM5tNMACgkQOgZ5N97kHkcp1ACeODHyzSSfro4TOFpauct8wWYt
3moAoJaspGIb2o9ffCSRGMScxG2QJ1U8
=oul0
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Login to vote
Jutta Wrage

External


Since: Oct 27, 2005
Posts: 161



(Msg. 3) Posted: Thu Sep 29, 2005 3:50 pm
Post subject: Bug#215430: chinese pages don't build on non-i386 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Am 28.09.2005 um 04:32 schrieb Anthony Wong:

> As you mentioned that executing /usr/bin/autogb is okay, could you
> 1. print the exit code of autogb by typing "echo $?" after running
> autogb

$ /usr/bin/autogb -i big5 -o gb < contact.zh-cn.html.tmp > contact.zh-
cn.html
echo $?
56

That is the same error level as running make with my change to
Make.lang gives. So I obviously dod not look cloese enough earlier
and was in error that manually running autogb is really successful.

> 2. will it be tocn.pl that is the culprit? because it is the third
> command between the two echo statements in Make.lang.

I do not think so. Next two lines in Make.lang are:

@rm -f $*.zh-cn.html.tmp
@$(TOCN) $*.zh-cn.html

But the temp files are not removed, so the break is before the rm,
isn't it?

$ ls -1 con*
contact.wml
contact.zh-cn.html
contact.zh-cn.html.tmp
contact.zh-hk.html.tmp
contact.zh-tw.html.tmp

greetings

Jutta


- --
http://www.witch.westfalen.de
http://witch.muensterland.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iEYEARECAAYFAkM8IbsACgkQOgZ5N97kHkczrwCgvTpLpopcupmEI5GfRMeoZaLp
0iIAn3iYHR4hQbW7Bi+E45t6PWyb85ec
=GqAB
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Jutta Wrage

External


Since: Oct 27, 2005
Posts: 161



(Msg. 4) Posted: Wed Mar 08, 2006 4:20 am
Post subject: Bug#215430: chinese pages don't build on non-i386 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

The final solution for this bug:

1. fix Bug#355842 for zh-autoconvert
2. remove binary chinese/bin/autogb from webwml cvs tree
3. patch chines/Make.lang:

Index: Make.lang
===================================================================
RCS file: /cvs/webwml/webwml/chinese/Make.lang,v
retrieving revision 1.39
diff -u -r1.39 Make.lang
- --- Make.lang 15 Aug 2005 02:21:38 -0000 1.39
+++ Make.lang 8 Mar 2006 09:13:46 -0000
@@ -16,7 +16,7 @@
U8TOB5 = $(BIN)/u8tob5
U8TOGB = $(BIN)/u8togb
# B5TOGB = ( cat - | $(B5TOU8) | $(U8TOGB) )
- -B5TOGB = LD_LIBRARY_PATH=$(BIN) $(BIN)/autogb -i big5 -o gb
+B5TOGB = /usr/bin/autogb -i big5 -o gb
TOCN = $(BIN)/tocn.pl
TOHK = $(BIN)/tohk.pl
TOTW = $(BIN)/totw.pl

greetings

Jutta

- --
http://www.witch.westfalen.de
http://witch.muensterland.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iEYEARECAAYFAkQOoJQACgkQOgZ5N97kHke0WgCeMcEpdnzd3KgfXpixm1m0sah8
JBEAnRnHSY2FWqNNLEmMDpK8995KXOVp
=YdWq
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Frank Lichtenheld

External


Since: Nov 27, 2006
Posts: 306



(Msg. 5) Posted: Thu Apr 12, 2007 8:10 am
Post subject: Bug#215430: ADV: Bug#215430: chinese pages don't build on non-i386 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, Apr 12, 2007 at 05:36:41PM +0800, Anthony Wong wrote:
> Because this bug report has not been closed since Jutta proposed a
> solution, I have tried to abolish the use of autogb during the Chinese
> webpages build process and use iconv instead. During to this switch, i
> discovered some typos in the original Chinese pages. All the changes
> can be found in the attached patch file. I've compared the generated
> HTMLs of using autogb and iconv, and iconv does the job perfectly, it
> will even terminate when there's something wrong during the encoding
> conversion, while autogb does not. This helps translators to spot
> what's wrong in their files.

Seems to work fine.

A question though: Which files can be removed from chinese/bin
after applying your patch?
Currently I have removed all these without seeing any problems:

R bin/autogb
R bin/b5togb
R bin/b5tou7
R bin/b5tou8
R bin/b5touni
R bin/gbtob5
R bin/gbtou7
R bin/gbtou8
R bin/gbtouni
R bin/u7tob5
R bin/u7togb
R bin/u7tou8
R bin/u7touni
R bin/u8tob5
R bin/u8togb
R bin/u8tou7
R bin/u8touni
R bin/unitou7
R bin/unitou8

Or are some of them still useful for something?


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Login to vote
Anthony Wong

External


Since: Apr 13, 2007
Posts: 1



(Msg. 6) Posted: Fri Apr 13, 2007 12:20 am
Post subject: Bug#215430: ADV: Bug#215430: chinese pages don't build on non-i386 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 12/04/07, Frank Lichtenheld <djpig.RemoveThis@debian.org> wrote:
> On Thu, Apr 12, 2007 at 05:36:41PM +0800, Anthony Wong wrote:
> > Because this bug report has not been closed since Jutta proposed a
> > solution, I have tried to abolish the use of autogb during the Chinese
> > webpages build process and use iconv instead. During to this switch, i
> > discovered some typos in the original Chinese pages. All the changes
> > can be found in the attached patch file. I've compared the generated
> > HTMLs of using autogb and iconv, and iconv does the job perfectly, it
> > will even terminate when there's something wrong during the encoding
> > conversion, while autogb does not. This helps translators to spot
> > what's wrong in their files.
>
> Seems to work fine.
>
> A question though: Which files can be removed from chinese/bin
> after applying your patch?
> Currently I have removed all these without seeing any problems:
>
> R bin/autogb
> R bin/b5togb
> R bin/b5tou7
> R bin/b5tou8
> R bin/b5touni
> R bin/gbtob5
> R bin/gbtou7
> R bin/gbtou8
> R bin/gbtouni
> R bin/u7tob5
> R bin/u7togb
> R bin/u7tou8
> R bin/u7touni
> R bin/u8tob5
> R bin/u8togb
> R bin/u8tou7
> R bin/u8touni
> R bin/unitou7
> R bin/unitou8
>
> Or are some of them still useful for something?

All of the files you mentioned are not used any more and can be removed.

Anthony Wong


--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
HTML Strict and chinese pages - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! As pointed out in Bug #215430, the chinese pages still do not build...

Help needed to get autogb run for chinese pages - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I am still searching for help on the "chinese does not build o...

Patch for Chinese Debian web pages - Commit on sunday - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! Okay, here we are with a big patch that addresses the folowwing..

Missing Chinese document - Hi, I found in http://www.nl.debian.org/doc/devel-manuals#maint-guide There is no Chinese doc entry, although it is..

Url check: chinese releasenotes - Hi. While going through the output of the url check I saw the following errors: Looking into..

The current active coordinator for chinese? - Hi, I am a Chinese Debian user. I checked the Debian website and found many pages not translated. I am a Chinese..
       Soft32 Home -> Linux -> World Wide Web All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]