bugGNU GRUB - Bugs: bug #36123, make check fails in clean...


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

bug #36123: make check fails in clean environment

Submitted by:  Niall Walsh <bfree>
Submitted on:  Sat 07 Apr 2012 12:37:57 PM UTC
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release: 
Release:  * Bazaar - trunk Reproducibility:  Every Time
Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Sat 07 Apr 2012 12:37:57 PM UTC, original submission:  

Using bzr revno 4206 in a clean (Debian sid) environment (cdebootstrap + apt-get build-dep grub2) "make check" fails 22 of 28 tests after a successful ./autogen.sh ; ./configure ; make

Previous debugging attempts lead me to think that the problem stemmed from the "make check" ending up calling the built-grub-mkrescue which in turn tries to source ${prefix}/share/grub/grub-mkconfig_lib which does not exist here as there is no grub2 installed.   If I "make install" then "make check" will pass all tests.

I'm not really sure what is useful to report here so I'm just including the list of tests passed/failed, the list of packages installed in the system and the list of commands I ran to get here.

Hope this helps, please ask for more information/testing if required.



example_unit_test: PASS
PASS: example_unit_test
printf_unit_test: PASS
PASS: printf_test
PASS: example_scripted_test
FAIL: example_grub_script_test
FAIL: grub_script_echo1
FAIL: grub_script_leading_whitespace
FAIL: grub_script_echo_keywords
FAIL: grub_script_vars1
FAIL: grub_script_for1
FAIL: grub_script_while1
FAIL: grub_script_if
PASS: grub_script_blanklines
PASS: grub_script_final_semicolon
PASS: grub_script_dollar
FAIL: grub_script_comments
FAIL: grub_script_functions
FAIL: grub_script_break
FAIL: grub_script_continue
FAIL: grub_script_shift
[] != [{ true }]
FAIL: grub_script_blockarg
FAIL: grub_script_setparams
FAIL: grub_script_return
FAIL: grub_cmd_regexp
FAIL: grub_script_expansion
FAIL: grub_script_not
Checking MSDOS partition types...
1+0 records in
1+0 records out

(hd0): disk/partiton not found
FAIL: partmap_test
FAIL: grub_cmd_echo
FAIL: grub_script_gettext
22 of 28 tests failed
Please report to -email is unavailable-

Niall Walsh <bfree>


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

Attach Files:

Attached Files
file #25604:  dpkg-l added by bfree (34KiB - application/octet-stream)
file #25605:  grub2-process-checkfail added by bfree (555B - application/octet-stream)


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 bfree (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.

    Only logged-in users can vote.





    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-04-11 phcoder StatusNone => Fixed
        Open/ClosedOpen => Closed
    2012-04-07 bfree Attached File- => Added dpkg-l, #25604
        Attached File- => Added grub2-process-checkfail, #25605

    Back to the top

    Powered by Savane 3.9