Bug#744954: grub2: FTBFS on powerpc

Nicolas Boullis nboullis at debian.org
Wed Apr 16 16:33:13 UTC 2014


Source: grub2
Version: 1.99-27+deb7u2
Severity: normal
Tags: patch

Dear Maintainer,

While investigating bug #737999, I tried to build grub2 with pbuilder on 
my PowerPC system. Unfortunately, it fails with:

|    debian/rules override_dh_install
| make[1]: Entering directory `/tmp/buildd/grub2-1.99'
| dh_install -pgrub2 -pgrub-linuxbios -pgrub-efi -pgrub-rescue-pc -pgrub-firmware-qemu
| cp: cannot stat `debian/tmp/build/grub-rescue-pc/grub-rescue-cdrom.iso': No such file or directory
| dh_install: cp -a debian/tmp/build/grub-rescue-pc/grub-rescue-cdrom.iso debian/grub-rescue-pc/usr/lib/grub-rescue/ returned exit code 1
| make[1]: *** [override_dh_install] Error 2
| make[1]: Leaving directory `/tmp/buildd/grub2-1.99'
| make: *** [binary] Error 2

After some investigation, it seems that a binary-only build, limited to 
architecture dependent packages, works fine, but not an unlimited 
binary-only build or a full (binary+source) build.

For what it’s worth, here is a quick&dirty patch that solves the problem 
for me.


Cheers,

-- 
Nicolas Boullis

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'stable'), (500, 'oldstable')
Architecture: powerpc (ppc)

Kernel: Linux 3.2.0-4-powerpc
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub2.patch
Type: text/x-diff
Size: 1991 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20140416/76673bd3/attachment.patch>


More information about the Pkg-grub-devel mailing list