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

Submitter:  Mike GIlbert <floppym>
Submitted:  Sat 30 Jun 2012 10:10:39 PM UTC
   
 
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  Mike Gilbert
Open/Closed:  Closed Release:  other
Release:  Reproducibility:  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>
Group 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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
  • -email is unavailable- added by phcoder (Updated the item)
  • -email is unavailable- added by floppym (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-07-07 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2012-07-01 phcoder Attached File- Added dep.diff, #26134

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code