#2602: GNU GRUB version 1.98.
-----------------------------------------+----------------------------------
 Reporter:  bdu...@…                     |       Owner:  matt...@…              
     
     Type:  task                         |      Status:  assigned               
     
 Priority:  normal                       |   Milestone:  6.7                    
     
Component:  Book                         |     Version:  SVN                    
     
 Severity:  normal                       |    Keywords:                         
     
-----------------------------------------+----------------------------------

Comment(by matt...@…):

 Grub-1.98 doesn't build here as the new Makefile rules for the gettext
 stuff don't seem to like srcdir != builddir trees.

 Lines 528 & 529 of the Makefile try to generate a .pot file by doing a 'cd
 ..' and then calling xgettext with parameters of '../po/grub.pot' and
 '../po/POTFILES' which obviously don't exist (as those now reference areas
 outside of the grub-1.98 directory).

 I tried to fix it with the following trivial sed:

 {{{
 sed -i '528,529 s/cd $(srcdir) && //' Makefile.in
 }}}

 Unfortunately, the $(srcdir)/po/POTFILES contains a list of source files
 relative to $(srcdir), so invoking xgettext on those now fails as we're in
 the build directory.  This probably needs reporting upstream.  Bruce, do
 you want to do the honours?  If not, that's fine, I can do so.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2602#comment:2>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to