From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LA6cC-0003A4-MY for garchives@archives.gentoo.org; Tue, 09 Dec 2008 17:43:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FA17E0455; Tue, 9 Dec 2008 17:43:18 +0000 (UTC) Received: from drakonix.fr (ip-192.net-81-220-112.brest.rev.numericable.fr [81.220.112.192]) by pigeon.gentoo.org (Postfix) with ESMTP id B0EEAE0455 for ; Tue, 9 Dec 2008 17:43:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by drakonix.fr (Postfix) with ESMTP id 612A222A0 for ; Tue, 9 Dec 2008 18:43:06 +0100 (CET) X-Virus-Scanned: amavisd-new at fr Received: from drakonix.fr ([127.0.0.1]) by localhost (www.drakonix.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xLzIYZLCLt47 for ; Tue, 9 Dec 2008 18:43:04 +0100 (CET) Received: from www.drakonix.fr (localhost [127.0.0.1]) by drakonix.fr (Postfix) with ESMTP id A3770229F for ; Tue, 9 Dec 2008 18:43:04 +0100 (CET) Received: from 81.220.112.192 (SquirrelMail authenticated user raptor) by www.drakonix.fr with HTTP; Tue, 9 Dec 2008 18:43:04 +0100 (CET) Message-ID: <8ab1444decfff8af08206c017e321773.squirrel@www.drakonix.fr> In-Reply-To: <493E731E.8070303@gentoo.org> References: <1498e4d97b91426528ae369886f46a5a.squirrel@www.drakonix.fr> <493E731E.8070303@gentoo.org> Date: Tue, 9 Dec 2008 18:43:04 +0100 (CET) Subject: Re: [gentoo-catalyst] mkisofs failed with "Unknown charset" error From: "Fred Elno" To: gentoo-catalyst@lists.gentoo.org User-Agent: SquirrelMail/1.4.16 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 (Normal) Importance: Normal Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 54bb56b9-76a6-4370-8325-f61b8448172c X-Archives-Hash: ae20cfa89c916fa189c17853ab0a7355 > Fred Elno wrote: >> I have found that the error must come from the -l option which is pass= ed with catalyst, when I manually run the >> command, -l option change the charset to ISO-8859-1 which one is found= in my locale, but when the command is run >> from >> catalyst >> the script failed and mkisofs is unable to find my ISO-8859-1 charset = from my locale. > > I'm not sure where you got the impression that the -l option has anythi= ng to do > with character sets. According to the man page, it just controls whethe= r > filenames are allowed to be 31 characters vs. the MS-DOS 8.3 restrictio= n. > You are right, but the error I see seem to have something to deal with ch= aracter set and perhaps I have not being able to explain my problem clearly (I have probably misunderstood what -l opti= on was supposed to do). Here is what output is given with catalyst: $ catalyst -f /home/ftp/catalyst/livecd-stage2.spec [...] Resume point detected, skipping target_setup operation... --- Running action sequence: setup_overlay --- Running action sequence: create_iso Creating ISO using ISOLINUX bootloader mkisofs -J -R -l -V "catalyst 2008.0" -o /home/ftp/catalyst/iso/instal= l-amd64.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /home/ftp/catalyst/builds/default/livecd-stage2-amd64-2008.0/ Unknown charset Known charsets are: iso8859-2 iso8859-13 iso8859-16 [...] iso8859-14 cp852 cp10081 mkisofs: 'iconv -l' lists more available names. Cannot make ISO image and if I type manually the same commandline used for mkisofs, it work: $ mkisofs -J -R -l -V "catalyst 2008.0" -o /home/ftp/catalyst/iso/instal= l-amd64.iso -b isolinux/isolinux.bin \ -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table \ /home/ftp/catalyst/builds/default/livecd-stage2-amd64-2008.0/ Setting input-charset to 'ISO-8859-1' from locale. Size of boot image is 4 sectors -> No emulation 11.45% done, estimate finish Tue Dec 9 18:28:19 2008 [...] 91.62% done, estimate finish Tue Dec 9 18:28:19 2008 Total translation table size: 2048 Total rockridge attributes bytes: 2022 Total directory bytes: 4096 Path table size(bytes): 26 Max brk space used 0 43668 extents written (85 MB) That's why I was thinking about something strange that's happening perhap= s not because of -l option but probably related to character set: >From the command ran with catalyst, mkisofs is not able to set my input-c= harset to 'ISO-8859-1' If mkisofs is ran from a console, the setting of my input-charset is corr= ectly done and the iso file is correctly generated. I hope that I am not too confused in my understanding of this problem. > -- > Andrew Gaffney http://dev.gentoo.org/~a= gaffney/ > Gentoo Linux Developer Catalyst/Genkernel + Release Engineer= ing Lead > > http://www.drakonix.fr