[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#476805: mkvmlinuz: FTBFS (ppc64): gnu/stubs-32.h: No such file or directory

Package: mkvmlinuz
Version: 33
Severity: wishlist
Tags: patch


when building 'mkvmlinuz' on ppc64/unstable, I get the following error:

gcc -m32 -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o addnote addnote.c
In file included from /usr/include/features.h:354,
                 from /usr/include/stdio.h:28,
                 from addnote.c:16:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make[1]: *** [addnote] Error 1
make[1]: Leaving directory `/mkvmlinuz-33/boot'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

With the attached patch 'mkvmlinuz' can be built on ppc64.

The patch adds 'gcc-multilib [ppc64]' to the Build-Depends
and 'ppc64' to the Architecture line in debian/control.

Andreas Jochens

diff -urN ../tmp-orig/mkvmlinuz-32/debian/control ./debian/control
--- ../tmp-orig/mkvmlinuz-32/debian/control	2007-01-22 11:07:24.000000000 +0000
+++ ./debian/control	2007-01-31 16:40:26.000000000 +0000
@@ -3,12 +3,12 @@
 Priority: optional
 Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
 Uploaders: Sven Luther <luther@debian.org>, Aurélien GÉRÔME <ag@roxor.cx>
-Build-Depends: docbook-to-man, debhelper (>= 4.1.16), po-debconf
+Build-Depends: docbook-to-man, debhelper (>= 4.1.16), po-debconf, gcc-multilib [ppc64]
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://svn.debian.org/svn/kernel/dists/trunk/utils/mkvmlinuz/
 Package: mkvmlinuz
-Architecture: powerpc
+Architecture: powerpc ppc64
 Depends: bash (>= 3), binutils, debconf | debconf-2.0
 Description: create a kernel to boot a PowerPC machine from Open Firmware
  This little program takes a PowerPC Linux kernel as an uncompressed

Reply to: