From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NvNM0-00076N-U2 for mharc-grub-devel@gnu.org; Sat, 27 Mar 2010 00:10:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvNLz-00076C-9B for grub-devel@gnu.org; Sat, 27 Mar 2010 00:10:31 -0400 Received: from [140.186.70.92] (port=52660 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvNLy-000764-0K for grub-devel@gnu.org; Sat, 27 Mar 2010 00:10:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvNLx-0000Jf-2g for grub-devel@gnu.org; Sat, 27 Mar 2010 00:10:29 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:61307) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvNLw-0000JV-VI for grub-devel@gnu.org; Sat, 27 Mar 2010 00:10:29 -0400 Received: by gwj21 with SMTP id 21so7868008gwj.0 for ; Fri, 26 Mar 2010 21:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=8ZMhqugwD4GbRn5+d2Fj1zFDdf8cisgiem1ao+BBNTg=; b=YJ4WtJCJMsI18UeOEl5IcA5EEnfFrtLpxDpMLuNU+ZM10q+1h4jCqtGFeJ04a4KKUA BCD3GvNQ8lXp3A/I6R8UO/3feJdRnt56gKHH9b+wIfK+l7HHBcx8rmtRnhXcQAQr7lFJ ZDWaVDGgppX8w5/gLKNQoaM4swxiSTivzqFbo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=nrBp371R0ceJ467I2+pGYSVhBWMcSwvGyoyIPl0CcRqYpaJed/3kfA1Pk/66ao66By WLEi+1Ki18TdsuAfA+CgQntwdeiBzPOqHBJn9p6jTVNpJx9xgBlizbkTH2TD2Cm5QPA5 1VqZyMM+OLmjxKPYh003/0v2fxjHfZjUyX2WA= Received: by 10.101.130.13 with SMTP id h13mr2924984ann.47.1269663027460; Fri, 26 Mar 2010 21:10:27 -0700 (PDT) Received: from [192.168.0.75] (cpe-24-174-180-111.satx.res.rr.com [24.174.180.111]) by mx.google.com with ESMTPS id 22sm429387ywh.31.2010.03.26.21.10.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Mar 2010 21:10:26 -0700 (PDT) Message-ID: <4BAD8531.9010107@gmail.com> Date: Fri, 26 Mar 2010 23:10:25 -0500 From: Bruce Dubbs User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080722 SeaMonkey/1.1.11 MIME-Version: 1.0 To: The development of GNU GRUB References: <4BA0FFCC.3000109@gmail.com> <20100317231211.GA30386@pina.cat> <4BA16DBB.7060704@gmail.com> <4BA17A19.60301@gmail.com> <4BACC5BF.40600@gmail.com> In-Reply-To: <4BACC5BF.40600@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Broken build X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2010 04:10:31 -0000 Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Bruce Dubbs wrote: >> Vladimir 'φ-coder/phcoder' Serbinenko wrote: >>> Carles Pina i Estany wrote: >>>> Hi, >>>> >>>> On Mar/17/2010, Bruce Dubbs wrote: >>>> >>>>> With the addition of the internationalization code, building GRUB in >>>>> a separate directory fails. >>>>> >>>> I'll take a look into it "soon" (next days or next week) >>>> >>>> Probably it's an easy thing, if someone checks it before please report >>>> :-) >>>> >>> cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@ >>> -f $< --keyword=_ --keyword=N_ >>> to >>> cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@ >>> -f po/POTFILES --keyword=_ --keyword=N_ >>> Feel free to test & commit >> I don't think so. > Well you have a funny way of disagreeing arriving to the same result as > I told: replace > cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@ > -f $< --keyword=_ --keyword=N_ > with > cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@ > -f po/POTFILES --keyword=_ --keyword=N_ > Have you tested it? Yes, have you? tar -xf grub-1.98.tar.gz cd grub-1.98 mkdir build cd build ../configure #edit line 528 of Makefile as above make cd .. && /usr/bin/xgettext -ctranslate --from-code=utf-8 -o ../po/grub.pot -f po/POTFILES --keyword=_ --keyword=N_ /usr/bin/xgettext: cannot create output file "../po/grub.pot": No such file or directory make: *** [../po/grub.pot] Error 1 As I said before, the error is that -o $@ is invalid because of the change of directory. -- Bruce