Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397813 - sys-boot/grub-0.97-r10 fails with automake-1.11.2
Summary: sys-boot/grub-0.97-r10 fails with automake-1.11.2
Status: RESOLVED DUPLICATE of bug 396683
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 23:32 UTC by Alexander I.Grafov
Modified: 2012-01-09 16:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,4.88 KB, text/plain)
2012-01-05 23:34 UTC, Alexander I.Grafov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander I.Grafov 2012-01-05 23:32:34 UTC
Build grub-0.97 with automake >= 1.11.2 failed with error due to more strict rules in latest automake version:

`pkglibdir' is not a legitimate directory for `DATA'

As workaround I reinstalled automake 1.11.1 and successfully build grub with it.

Reproducible: Always

Steps to Reproduce:
1. emerge grub
2. Failed with errors
3. # cat /var/tmp/portage/sys-boot/grub-0.97-r10/temp/automake.out
***** automake *****
***** PWD: /var/tmp/portage/sys-boot/grub-0.97-r10/work/grub-0.97
***** automake --add-missing --copy

docs/Makefile.am:30: `%'-style pattern rules are a GNU make extension
docs/Makefile.am:33: `%'-style pattern rules are a GNU make extension
docs/Makefile.am:36: `%'-style pattern rules are a GNU make extension
docs/Makefile.am:3: compiling `kernel.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
stage1/Makefile.am:2: `pkglibdir' is not a legitimate directory for `DATA'
stage2/Makefile.am:35: `pkglibdir' is not a legitimate directory for `DATA'

Actual Results:  
Grub build failed.

Expected Results:  
Grub successfully installed.
Comment 1 Alexander I.Grafov 2012-01-05 23:34:12 UTC
Created attachment 298049 [details]
emerge --info
Comment 2 Alexander Kyte 2012-01-06 01:03:32 UTC
I can confirm the problem. I wasted an hour thinking it was a gcc problem. Downgrading in my chrooted environment, I hope that downgrading automake won't break anything.
Comment 3 SpanKY gentoo-dev 2012-01-08 19:25:50 UTC

*** This bug has been marked as a duplicate of bug 396683 ***