Debian Bug report logs - #223539
grub: package build fails if done with fakeroot

version graph

Package: grub; Maintainer for grub is GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>;

Reported by: Marc Haber <mh+debian-bugs@zugschlus.de>

Date: Wed, 10 Dec 2003 11:03:17 UTC

Severity: wishlist

Tags: woody

Found in version 0.93+cvs20031021-5

Done: Otavio Salvador <otavio@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Jason Thomas <jason@debian.org>:
Bug#223539; Package grub. Full text and rfc822 format available.

Acknowledgement sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
New Bug report received and forwarded. Copy sent to Jason Thomas <jason@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Marc Haber <mh+debian-bugs@zugschlus.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: grub: package build fails if done with fakeroot
Date: Wed, 10 Dec 2003 11:55:12 +0100
Package: grub
Version: 0.93+cvs20031021-5
Severity: wishlist

Hi,

when building the package with debuild (DEBUILD_ROOTCMD=fakeroot),
build fails because mkisofs does not appreciate being run under
fakeroot. running install and binary stages of package build as "real"
root is required.

Please consider moving the mkisofs command to a stage that is not run
with root privileges.

Greetings
Marc

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux kes 2.4.22-kes #1 Tue Oct 7 07:49:10 UTC 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages grub depends on:
ii  libc6                     2.3.2.ds1-10   GNU C Library: Shared libraries an
ii  libncurses5               5.3.20030719-4 Shared libraries for terminal hand

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Jason Thomas <jason@debian.org>:
Bug#223539; Package grub. Full text and rfc822 format available.

Acknowledgement sent to Robert Millan <zeratul2@wanadoo.es>:
Extra info received and forwarded to list. Copy sent to Jason Thomas <jason@debian.org>. Full text and rfc822 format available.

Message #10 received at 223539@bugs.debian.org (full text, mbox):

From: Robert Millan <zeratul2@wanadoo.es>
To: Marc Haber <mh+debian-bugs@zugschlus.de>
Cc: 223539@bugs.debian.org
Subject: Re: Bug#223539: grub: package build fails if done with fakeroot
Date: Wed, 10 Dec 2003 18:08:59 +0100
severity 223539 serious
tag 223539 sid
thanks

On Wed, Dec 10, 2003 at 11:55:12AM +0100, Marc Haber wrote:
> 
> when building the package with debuild (DEBUILD_ROOTCMD=fakeroot),
> build fails because mkisofs does not appreciate being run under
> fakeroot. running install and binary stages of package build as "real"
> root is required.
> 
> Please consider moving the mkisofs command to a stage that is not run
> with root privileges.

We should probably rather fix this bug in mkisofs.

-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T, Ainulindale (Silmarillion)



Severity set to `serious'. Request was from Robert Millan <zeratul2@wanadoo.es> to control@bugs.debian.org. Full text and rfc822 format available.

Tags added: sid Request was from Robert Millan <zeratul2@wanadoo.es> to control@bugs.debian.org. Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#223539; Package grub. Full text and rfc822 format available.

Acknowledgement sent to Jason Thomas <jason@debian.org>:
Extra info received and forwarded to list. Full text and rfc822 format available.

Message #19 received at submit@bugs.debian.org (full text, mbox):

From: Jason Thomas <jason@debian.org>
To: Marc Haber <mh+debian-bugs@zugschlus.de>, 223539@bugs.debian.org
Cc: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: Bug#223539: grub: package build fails if done with fakeroot
Date: Thu, 11 Dec 2003 10:05:27 +1100
Are you sure. I use debuild to build the package!

On Wed, Dec 10, 2003 at 11:55:12AM +0100, Marc Haber wrote:
> when building the package with debuild (DEBUILD_ROOTCMD=fakeroot),
> build fails because mkisofs does not appreciate being run under
> fakeroot. running install and binary stages of package build as "real"
> root is required.
> 
> Please consider moving the mkisofs command to a stage that is not run
> with root privileges.



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#223539; Package grub. Full text and rfc822 format available.

Acknowledgement sent to Jason Thomas <jason@debian.org>:
Extra info received and forwarded to list. Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Jason Thomas <jason@debian.org>:
Bug#223539; Package grub. Full text and rfc822 format available.

Acknowledgement sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
Extra info received and forwarded to list. Copy sent to Jason Thomas <jason@debian.org>. Full text and rfc822 format available.

Message #29 received at 223539@bugs.debian.org (full text, mbox):

From: Marc Haber <mh+debian-bugs@zugschlus.de>
To: Jason Thomas <jason@debian.org>
Cc: 223539@bugs.debian.org
Subject: Re: Bug#223539: grub: package build fails if done with fakeroot
Date: Thu, 11 Dec 2003 02:06:15 +0100
On Thu, Dec 11, 2003 at 10:05:27AM +1100, Jason Thomas wrote:
> Are you sure. I use debuild to build the package!
> 
> On Wed, Dec 10, 2003 at 11:55:12AM +0100, Marc Haber wrote:
> > when building the package with debuild (DEBUILD_ROOTCMD=fakeroot),
> > build fails because mkisofs does not appreciate being run under
> > fakeroot. running install and binary stages of package build as "real"
> > root is required.
> > 
> > Please consider moving the mkisofs command to a stage that is not run
> > with root privileges.

Which DEBUILD_ROOTCMD do you use?

Probably it is a woody/sid issue? I experienced this on woody when
building a backport.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany |  lose things."    Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature |  How to make an American Quilt | Fax: *49 721 966 31 29



Information forwarded to debian-bugs-dist@lists.debian.org, Jason Thomas <jason@debian.org>:
Bug#223539; Package grub. Full text and rfc822 format available.

Acknowledgement sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
Extra info received and forwarded to list. Copy sent to Jason Thomas <jason@debian.org>. Full text and rfc822 format available.

Message #34 received at 223539@bugs.debian.org (full text, mbox):

From: Marc Haber <mh+debian-bugs@zugschlus.de>
To: Jason Thomas <jason@debian.org>
Cc: 223539@bugs.debian.org
Subject: Re: Bug#223539: grub: package build fails if done with fakeroot
Date: Thu, 11 Dec 2003 10:30:21 +0100
On Thu, Dec 11, 2003 at 10:05:27AM +1100, Jason Thomas wrote:
> Are you sure. I use debuild to build the package!

You're right, that's a backporting issue. Problem happens when
building current packages on woody.

While you are not obliged to support that situation, it would be great
if the package were buildable on woody. And mkisofs barfs if run under
fakeroot.

Would it be possible to move the mkisofs code to the build target?
debuild calls dpkg-buildpackage which invokes the build target without
$rootcommand, followed by $rootcommand debian/rules $binarytarget.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany |  lose things."    Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature |  How to make an American Quilt | Fax: *49 721 966 31 29



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#223539; Package grub. Full text and rfc822 format available.

Acknowledgement sent to Jason Thomas <jason@debian.org>:
Extra info received and forwarded to list. Full text and rfc822 format available.

Message #39 received at 223539@bugs.debian.org (full text, mbox):

From: Jason Thomas <jason@debian.org>
To: Marc Haber <mh+debian-bugs@zugschlus.de>
Cc: Jason Thomas <jason@debian.org>, 223539@bugs.debian.org
Subject: Re: Bug#223539: grub: package build fails if done with fakeroot
Date: Fri, 12 Dec 2003 10:49:31 +1100
yes that should be possible, please Contact Robert Millian about this.
that part is his.

On Thu, Dec 11, 2003 at 10:30:21AM +0100, Marc Haber wrote:
> Would it be possible to move the mkisofs code to the build target?



Information forwarded to debian-bugs-dist@lists.debian.org, Jason Thomas <jason@debian.org>:
Bug#223539; Package grub. Full text and rfc822 format available.

Acknowledgement sent to Robert Millan <zeratul2@wanadoo.es>:
Extra info received and forwarded to list. Copy sent to Jason Thomas <jason@debian.org>. Full text and rfc822 format available.

Message #44 received at 223539@bugs.debian.org (full text, mbox):

From: Robert Millan <zeratul2@wanadoo.es>
To: Jason Thomas <jason@debian.org>, 223539@bugs.debian.org
Subject: Re: Bug#223539: grub: package build fails if done with fakeroot
Date: Tue, 16 Dec 2003 18:03:59 +0100
severity 223539 wishlist
tag 223539 woody
thanks

As stated in the bug log this is a backporting issue.

On Fri, Dec 12, 2003 at 10:49:31AM +1100, Jason Thomas wrote:
> yes that should be possible, please Contact Robert Millian about this.
> that part is his.
> 
> On Thu, Dec 11, 2003 at 10:30:21AM +0100, Marc Haber wrote:
> > Would it be possible to move the mkisofs code to the build target?

Why don't you fix the bug in mkisofs?

-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T, Ainulindale (Silmarillion)



Severity set to `wishlist'. Request was from Matt Zimmerman <mdz@debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Tags removed: sid Request was from Matt Zimmerman <mdz@debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Tags added: woody Request was from Matt Zimmerman <mdz@debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Reply sent to Otavio Salvador <otavio@debian.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #55 received at 223539-done@bugs.debian.org (full text, mbox):

From: Otavio Salvador <otavio@debian.org>
To: 223539-done@bugs.debian.org
Subject: From woody era
Date: Mon, 10 Jul 2006 17:56:56 -0300
Hello,

This bug was fix a log time ago and nobody since first sarge version
had seen it again. Closing it.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio@debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
 you the whole house."



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 18 Jun 2007 02:11:26 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 07:08:51 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.