bugGNU GRUB - Bugs: bug #36758, manpage generation may fail due to...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #36758: manpage generation may fail due to race condition

Submitted by:  Mike GIlbert <floppym>
Submitted on:  Sat 30 Jun 2012 10:10:39 PM UTC  
 
Category: CompilationSeverity: Major
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: Mike Gilbert
Open/Closed: ClosedRelease: 
Release: otherReproducibility: Intermittent
Planned Release: None

Sat 07 Jul 2012 12:31:32 PM UTC, comment #3:

Found the problem. Should be fixed now. If it's not, please tell here.

Vladimir Serbinenko <phcoder>
Project Administrator
Tue 03 Jul 2012 08:04:42 PM UTC, comment #2:

That fixed the help2man call, thanks.

Now it seems that rs_decoder.S and lzma_decompress_image-startup_raw.o are being built in the wrong order.

/tmp/portage/sys-boot/grub-2.00/work/grub-2.00/grub-core/boot/i386/pc/startup_raw.S:122:24: fatal error: rs_decoder.S: No such file or directory
compilation terminated.
make[3]: *** [boot/i386/pc/lzma_decompress_image-startup_raw.o] Error 1

It seems this is fairly easy to reproduce with a multi-core system by calling make --jobs --load=5.

Mike GIlbert <floppym>
Sun 01 Jul 2012 08:31:55 PM UTC, comment #1:

Please test attached patch

(file #26134)

Vladimir Serbinenko <phcoder>
Project Administrator
Sat 30 Jun 2012 10:10:39 PM UTC, original submission:

When building grub-2.00 in parallel, it is possible that the manpage is generated for a utility script before grub-mkconfig_lib is generated. This causes help2man to report that the --help option produced no output.

For example, the rules to create grub-reboot.8 may be processed before grub-mkconfig_lib. Since grub-reboot sources grub-mkconfig_lib, this will cause help2man grub-reboot to fail.

Originally reported on Gentoo Linux.

https://bugs.gentoo.org/show_bug.cgi?id=424231

Mike GIlbert <floppym>

 

Attached Files
file #26134:  dep.diff added by phcoder (562B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by floppym (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 07 Jul 2012 12:31:32 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun 01 Jul 2012 08:31:55 PM UTCphcoderAttached File-=>Added dep.diff, #26134

    Back to the top


    Powered by Savane 3.1-cleanup1