grub: FTBFS with new dpkg version (DEB_BUILD_GNU_SYSTEM is 'linux-gnu' instead of 'linux' now)

Bug #24381 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
grub (Debian)
Fix Released
Unknown
grub (Ubuntu)
Fix Released
High
Tollef Fog Heen

Bug Description

Automatically imported from Debian bug report #335038 http://bugs.debian.org/335038

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #335038 http://bugs.debian.org/335038

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 21 Oct 2005 17:43:33 +0200
From: Andreas Jochens <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: grub: FTBFS with new dpkg version (DEB_BUILD_GNU_SYSTEM is 'linux-gnu' instead of 'linux'
 now)

Package: grub
Version: 0.95+cvs20040624-17
Severity: serious
Tags: patch

When building 'grub' on amd64/unstable, I get the following error:

mkdir -p /grub-0.95+cvs20040624/debian/tmp/root/boot/grub
cp /grub-0.95+cvs20040624/debian/grub/lib/grub/*-*/{stage1,e2fs_stage1_5,stage2} \
 /grub-0.95+cvs20040624/docs/menu.lst \
 /grub-0.95+cvs20040624/debian/tmp/root/boot/grub
cp: cannot stat `/grub-0.95+cvs20040624/debian/grub/lib/grub/*-*/e2fs_stage1_5': No such file or directory
make: *** [install-indep] Error 1

With the attached patch 'grub' can be compiled on amd64.

The same problem also occurs on i386. However, on i386 grub has
additional build problems related to the use of gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/grub-0.95+cvs20040624/debian/rules ./debian/rules
--- ../tmp-orig/grub-0.95+cvs20040624/debian/rules 2005-10-21 17:34:29.000000000 +0200
+++ ./debian/rules 2005-10-21 17:34:27.000000000 +0200
@@ -35,7 +35,7 @@
 GRUB_VERSION=0.95
 GRUB_DISK_IMAGE=grub-${GRUB_VERSION}-$(DEB_BUILD_GNU_CPU)-pc

-ifeq ($(DEB_BUILD_GNU_SYSTEM),linux)
+ifeq ($(DEB_BUILD_GNU_SYSTEM),linux-gnu)
 filesystems=e2fs jfs minix reiserfs xfs fat
 endif
 ifeq ($(DEB_BUILD_GNU_SYSTEM),gnu)

Revision history for this message
In , Otavio Salvador (otavio) wrote : setting package to grub grub-disk grub-doc, tagging 266243, tagging 335038

# Automatically generated email from bts, devscripts version 2.9.8
package grub grub-disk grub-doc
tags 266243 + pending
tags 335038 + pending

Revision history for this message
In , Otavio Salvador (otavio) wrote : setting package to grub grub-disk grub-doc, tagging 266243, tagging 333181, tagging 335038

# Automatically generated email from bts, devscripts version 2.9.8
package grub grub-disk grub-doc
tags 266243 + pending
tags 333181 + pending
tags 335038 + pending

Revision history for this message
In , Otavio Salvador (otavio) wrote : setting package to grub grub-disk grub-doc, tagging 266243, tagging 306255, tagging 333181 ...

# Automatically generated email from bts, devscripts version 2.9.8
package grub grub-disk grub-doc
tags 266243 + pending
tags 306255 + pending
tags 333181 + pending
tags 335038 + pending

Revision history for this message
In , Otavio Salvador (otavio) wrote : Bug#335038: fixed in grub 0.95+cvs20040624-18
Download full text (3.9 KiB)

Source: grub
Source-Version: 0.95+cvs20040624-18

We believe that the bug you reported is fixed in the latest version of
grub, which is due to be installed in the Debian FTP archive:

grub-disk_0.95+cvs20040624-18_all.deb
  to pool/main/g/grub/grub-disk_0.95+cvs20040624-18_all.deb
grub-doc_0.95+cvs20040624-18_all.deb
  to pool/main/g/grub/grub-doc_0.95+cvs20040624-18_all.deb
grub_0.95+cvs20040624-18.diff.gz
  to pool/main/g/grub/grub_0.95+cvs20040624-18.diff.gz
grub_0.95+cvs20040624-18.dsc
  to pool/main/g/grub/grub_0.95+cvs20040624-18.dsc
grub_0.95+cvs20040624-18_i386.deb
  to pool/main/g/grub/grub_0.95+cvs20040624-18_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Otavio Salvador <email address hidden> (supplier of updated grub package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 29 Oct 2005 14:14:27 -0200
Source: grub
Binary: grub-disk grub grub-doc
Architecture: source i386 all
Version: 0.95+cvs20040624-18
Distribution: unstable
Urgency: low
Maintainer: Grub Maintainers <email address hidden>
Changed-By: Otavio Salvador <email address hidden>
Description:
 grub - GRand Unified Bootloader
 grub-disk - GRUB bootable disk image
 grub-doc - Documentation for GRand Unified Bootloader
Closes: 261936 266243 280086 306255 310030 318539 321072 333181 335038
Changes:
 grub (0.95+cvs20040624-18) unstable; urgency=low
 .
   * Fix update-grub to handle the case when /boot is in another partition
     then /. (closes: #280086, #261936)
   * Fix update-grub to don't fail when called from /usr/bin. (closes: #321072)
   * Applied patch from Martin Michlmayr <email address hidden> to not generate
     trailing white space. (closes: #310030)
   * Applied patch from Y Giridhar Appaji Nag <email address hidden> to fix
     FTBFS due invalid storage class for function. (closes: #318539)
   * Remove code to use gcc-3.4 in case of x86-64 architecture since we now
     use gcc-4.0 as default compiler.
   * fwritable-strings_remove.diff: New. Remove -fwritable-strings from
     Makefiles to allow the build with GCC 4.0.
   * Change code to handle architectures to be compatible with new dpkg
     versions but maintaining it backward compatible to make easier to
     backport it to stable. (closes: #335038)
   * Clean up doc directory in clean targe of rules.
   * Bump Standards-Version to 3.6.2.1 (no changes need).
   * Add myself in Uploaders field.
   * Remove Robert Millan <email address hidden> from Uploaders field as
     requested by him.
   * Applied patch from Jason Thomas <email address hidden> to remove the use
     of awk. (closes: #266243)
   * Applied patch from Jens Kubieziel <email address hidden> to fix a typo in
     update-grub script. (closes: #333181, #3...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <20051029154901.B9F2890000ED@localhost>
Date: Sat, 29 Oct 2005 13:49:01 -0200
From: Otavio Salvador <email address hidden>
To: <email address hidden>
Subject: setting package to grub grub-disk grub-doc, tagging 266243, tagging 335038

# Automatically generated email from bts, devscripts version 2.9.8
package grub grub-disk grub-doc
tags 266243 + pending
tags 335038 + pending

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <20051029155702.9A86490000ED@localhost>
Date: Sat, 29 Oct 2005 13:57:02 -0200
From: Otavio Salvador <email address hidden>
To: <email address hidden>
Subject: setting package to grub grub-disk grub-doc, tagging 266243, tagging 333181, tagging 335038

# Automatically generated email from bts, devscripts version 2.9.8
package grub grub-disk grub-doc
tags 266243 + pending
tags 333181 + pending
tags 335038 + pending

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <20051029155753.4C0A190000ED@localhost>
Date: Sat, 29 Oct 2005 13:57:53 -0200
From: Otavio Salvador <email address hidden>
To: <email address hidden>
Subject: setting package to grub grub-disk grub-doc, tagging 266243, tagging 306255,
 tagging 333181 ...

# Automatically generated email from bts, devscripts version 2.9.8
package grub grub-disk grub-doc
tags 266243 + pending
tags 306255 + pending
tags 333181 + pending
tags 335038 + pending

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (4.2 KiB)

Message-Id: <email address hidden>
Date: Sat, 29 Oct 2005 10:02:17 -0700
From: Otavio Salvador <email address hidden>
To: <email address hidden>
Subject: Bug#335038: fixed in grub 0.95+cvs20040624-18

Source: grub
Source-Version: 0.95+cvs20040624-18

We believe that the bug you reported is fixed in the latest version of
grub, which is due to be installed in the Debian FTP archive:

grub-disk_0.95+cvs20040624-18_all.deb
  to pool/main/g/grub/grub-disk_0.95+cvs20040624-18_all.deb
grub-doc_0.95+cvs20040624-18_all.deb
  to pool/main/g/grub/grub-doc_0.95+cvs20040624-18_all.deb
grub_0.95+cvs20040624-18.diff.gz
  to pool/main/g/grub/grub_0.95+cvs20040624-18.diff.gz
grub_0.95+cvs20040624-18.dsc
  to pool/main/g/grub/grub_0.95+cvs20040624-18.dsc
grub_0.95+cvs20040624-18_i386.deb
  to pool/main/g/grub/grub_0.95+cvs20040624-18_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Otavio Salvador <email address hidden> (supplier of updated grub package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 29 Oct 2005 14:14:27 -0200
Source: grub
Binary: grub-disk grub grub-doc
Architecture: source i386 all
Version: 0.95+cvs20040624-18
Distribution: unstable
Urgency: low
Maintainer: Grub Maintainers <email address hidden>
Changed-By: Otavio Salvador <email address hidden>
Description:
 grub - GRand Unified Bootloader
 grub-disk - GRUB bootable disk image
 grub-doc - Documentation for GRand Unified Bootloader
Closes: 261936 266243 280086 306255 310030 318539 321072 333181 335038
Changes:
 grub (0.95+cvs20040624-18) unstable; urgency=low
 .
   * Fix update-grub to handle the case when /boot is in another partition
     then /. (closes: #280086, #261936)
   * Fix update-grub to don't fail when called from /usr/bin. (closes: #321072)
   * Applied patch from Martin Michlmayr <email address hidden> to not generate
     trailing white space. (closes: #310030)
   * Applied patch from Y Giridhar Appaji Nag <email address hidden> to fix
     FTBFS due invalid storage class for function. (closes: #318539)
   * Remove code to use gcc-3.4 in case of x86-64 architecture since we now
     use gcc-4.0 as default compiler.
   * fwritable-strings_remove.diff: New. Remove -fwritable-strings from
     Makefiles to allow the build with GCC 4.0.
   * Change code to handle architectures to be compatible with new dpkg
     versions but maintaining it backward compatible to make easier to
     backport it to stable. (closes: #335038)
   * Clean up doc directory in clean targe of rules.
   * Bump Standards-Version to 3.6.2.1 (no changes need).
   * Add myself in Uploaders field.
   * Remove Robert Millan <email address hidden> from Uploaders field as
     requested by him.
   * App...

Read more...

Revision history for this message
Matt Zimmerman (mdz) wrote :

grub (0.95+cvs20040624-17ubuntu2) breezy; urgency=low

  * Use DEB_HOST_ARCH_* variables if available so that we work correctly
    with dpkg 1.13.

 -- Colin Watson <email address hidden> Tue, 31 May 2005 19:40:34 +0100

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.