Can't build grub2 1.99-14ubuntu2 sources with automake 1.11.3

Bug #942185 reported by Roger R. Cruz
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
grub
Fix Released
Unknown
grub2 (Ubuntu)
Fix Released
Critical
Colin Watson

Bug Description

It looks like the latest ubuntu version of automake (1.11.3) can't build the source code for grub due to pkglib being changed to pkgdata. It builds fine with automake 1.11.1 but downgrading is not an option for me. Any info on when the source code will be changed to use the new variable?

The exact error messages are:

acinclude.m4:363: grub_CHECK_STACK_ARG_PROBE is expanded from...
configure.ac:532: the top level
conf/Makefile.common:43: subst $(srcdir: non-POSIX variable name
conf/Makefile.common:43: (probably a GNU make extension)
grub-core/Makefile.am:5: `conf/Makefile.common' included from here
conf/Makefile.common:150: `pkglibdir' is not a legitimate directory for `SCRIPTS'
grub-core/Makefile.am:5: `conf/Makefile.common' included from here
conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA'
grub-core/Makefile.am:5: `conf/Makefile.common' included from here
conf/Makefile.common:43: subst $(srcdir: non-POSIX variable name
conf/Makefile.common:43: (probably a GNU make extension)
Makefile.am:6: `conf/Makefile.common' included from here
conf/Makefile.extra-dist:29: shell find $(top_srcdir: non-POSIX variable name
conf/Makefile.extra-dist:29: (probably a GNU make extension)
Makefile.am:7: `conf/Makefile.extra-dist' included from here
conf/Makefile.extra-dist:30: shell find $(top_srcdir: non-POSIX variable name
conf/Makefile.extra-dist:30: (probably a GNU make extension)
Makefile.am:7: `conf/Makefile.extra-dist' included from here
conf/Makefile.extra-dist:31: shell find $(top_srcdir: non-POSIX variable name
conf/Makefile.extra-dist:31: (probably a GNU make extension)
Makefile.am:7: `conf/Makefile.extra-dist' included from here
conf/Makefile.extra-dist:32: shell find $(top_srcdir: non-POSIX variable name
conf/Makefile.extra-dist:32: (probably a GNU make extension)
Makefile.am:7: `conf/Makefile.extra-dist' included from here
conf/Makefile.common:150: `pkglibdir' is not a legitimate directory for `SCRIPTS'
Makefile.am:6: `conf/Makefile.common' included from here
conf/Makefile.common:140: `pkglibdir' is not a legitimate directory for `DATA'
Makefile.am:6: `conf/Makefile.common' included from here
autoreconf: automake failed with exit status: 1

Thanks
Roger R. Cruz

summary: - Can't build grub2 1.99-14ubuntu2 sources with automake 1.11.1
+ Can't build grub2 1.99-14ubuntu2 sources with automake 1.11.3
description: updated
Revision history for this message
Roger R. Cruz (roger-r-cruz) wrote :

This was reported in the grub mailing list as well:

http://lists.gnu.org/archive/html/grub-devel/2011-12/msg00057.html

Andreas Moog (ampelbein)
tags: added: ftbfs precise
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Roger R. Cruz (roger-r-cruz) wrote :

I modified the code to use the new variables. This appears to work for me but it has almost no testing on it. use at your own risk.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Renames the automake variables from pkglib to pkgdata" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

grub2 (1.99-14ubuntu2) FTBFS in precise, with automake (1:1.11.3-1).

Changed in grub2 (Ubuntu):
importance: Undecided → Critical
milestone: none → ubuntu-12.04-beta-2
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in 1.99-15, merged into precise as part of 1.99-16ubuntu1:

grub2 (1.99-15) unstable; urgency=low

  [ Adam Conrad ]
  * grub.cfg_400.patch: Redirect grep stdout to /dev/null since
    grub-mkconfig is "exec > grub.cfg.new", which causes grep's input
    and output to be the same FD (LP: #934269) (closes: #652972)
  * efi_disk_cache.patch: Bump the disk cache on EFI systems to
    dramatically reduce load times for vmlinux/initrd (LP: #944347)

  [ Colin Watson ]
  * no_libzfs.patch: Use xasprintf rather than asprintf.
  * Backport from upstream:
    - Rewrite XFS btree parsing; fixes invalid BMAP (closes: #657776).
    - Handle newer autotools, and add some missing quotes in the process.
      (Note that this moves grub-mkconfig_lib and update-grub_lib to
      /usr/share/grub; I added links in /usr/lib/grub for compatibility.)
    - Fix incorrect identifiers in bash-completion (closes: #661415).
    - Add support for GRUB_CMDLINE_GNUMACH (closes: #660493).
  * Build with GCC 4.6 (closes: #654727).

  [ Debconf translations ]
  * Dutch (Jeroen Schot). Closes: #651275
  * Bulgarian (Damyan Ivanov). Closes: #653356
  * Icelandic (Sveinn í Felli).
  * Ukrainian (Yatsenko Alexandr). Closes: #654294
  * Italian (Luca Monducci). Closes: #654304
  * Thai (Theppitak Karoonboonyanan). Closes: #656551
  * Uyghur (Abduqadir Abliz)
  * Indonesian (Mahyuddin Susanto). Closes: #656705
  * Hebrew (Omer Zak). Closes: #656852
  * Turkish (Atila KOÇ). Closes: #656907
  * Polish (Michał Kułach). Closes: #657265
  * Asturian (Mikel González).
  * Dzongkha (Dawa Pemo)
  * Tamil (Dr.T.Vasudevan).
  * Belarusian (Viktar Siarhiejczyk). Closes: #662615

 -- Colin Watson <email address hidden> Mon, 05 Mar 2012 16:58:01 +0000

Changed in grub2 (Ubuntu):
status: Confirmed → Fix Released
assignee: nobody → Colin Watson (cjwatson)
Changed in grub:
status: Unknown → Fix Released
Revision history for this message
zebulon (francoisgez2002-gmail) wrote :

I have the same issue on my project that I developed around 3 years ago with a similarly aged automake, autoconf, libtool software.
The source code can be found here:
https://github.com/zebulon427/artridis
Any way round this without downgrading these software?
Cheers

Revision history for this message
Colin Watson (cjwatson) wrote :

@zebulon: Please ask on an autotools support list.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.