FS#30240 - [grub] build failure using automake 1.12

Attached to Project: Arch Linux
Opened by Steven Noonan (neunon) - Monday, 11 June 2012, 00:59 GMT
Last edited by Allan McRae (Allan) - Saturday, 21 July 2012, 08:56 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Trying to build grub with automake 1.12 results in:

stage1/Makefile.am:2: error: 'pkglibdir' is not a legitimate directory for 'DATA'
stage2/Makefile.am:35: error: 'pkglibdir' is not a legitimate directory for 'DATA'

The attached patch resolves the issue.
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 21 July 2012, 08:56 GMT
Reason for closing:  None
Additional comments about closing:  grub v1 is gone from the repos
Comment by Steven Noonan (neunon) - Monday, 11 June 2012, 05:50 GMT
OK, looks like that patch isn't a full solution. grub-install looks in /usr/lib/grub/i386-pc for stage1, et. al, but they are moved to /usr/share/grub by the patch. I've updated the patch (attached) to still put the bits in /usr/lib/grub/i386-pc and point grub-install to the correct path.
Comment by Ronald van Haren (pressh) - Monday, 25 June 2012, 08:15 GMT
We'll probably drop support for grub1 in a few weeks so I probably won't implement the build fix atm.

Loading...