FTBFS when "gain-root" command gains real root.

Bug #7278 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
gdbm (Debian)
Fix Released
Unknown
gdbm (Ubuntu)
Invalid
Low
Unassigned

Bug Description

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

Revision history for this message
In , James Troup (james-nocrew) wrote : Re: Bug#262608: FTBFS when "gain-root" command gains real root.

Robert Millan <email address hidden> writes:

> Package: gdbm
> Severity: serious
>
> Building gdbm when "gain-root" command gains real root (e.g. -rsudo)
> leaves the source tree in an unconsistent state. The next time build is
> attempted (either with -rsudo or -rfakeroot) it will fail with:
>
> [...]
> debian/rules build
> test -d debian/patched || install -d debian/patched
> dpatch apply-all
> applying patch 01_texinfo-usr-local to ./ ...patch: **** can't open file gdbm.texinfo : Permission denied
> failed.
> make: *** [patch-stamp] Error 1

Err, duh. HTF am I meant to fix that? You can't mix and match -rsudo
with -rfakeroot and expect it to work. The former is going to
permanently chown files to root that -rfakeroot obviously can't work
with.

--
James

Revision history for this message
In , Robert Millan (rmh) wrote : Re: Bug#262608 acknowledged by developer (Re: Bug#262608: FTBFS when "gain-root" command gains real root.)

reopen 262608
thanks

On Sun, Aug 01, 2004 at 06:18:13AM -0700, Debian Bug Tracking System wrote:
> Robert Millan <email address hidden> writes:
>
> > Package: gdbm
> > Severity: serious
> >
> > Building gdbm when "gain-root" command gains real root (e.g. -rsudo)
> > leaves the source tree in an unconsistent state. The next time build is
> > attempted (either with -rsudo or -rfakeroot) it will fail with:
>
> Err, duh. HTF am I meant to fix that? You can't mix and match -rsudo
> with -rfakeroot and expect it to work. The former is going to
> permanently chown files to root that -rfakeroot obviously can't work
> with.

That's not what I said. The problem happens when only using -rsudo. Try
this:

  for i in 1 2 ; do dpkg-buildpackage -rsudo ; done

I found the exact same problem in exim4. Please look at bug #262607, they
already applied a fix and it might provide some indication.

Thanks,

--
Robert Millan

(Debra and Ian) (Gnu's Not (UNiplexed Information and Computing System))/\
(kernel of *(Berkeley Software Distribution))

Revision history for this message
In , Robert Millan (rmh) wrote : sarge-ignore

tags 262608 sarge-ignore
thanks

Hey.

Andreas Metzler just told me this srot of bugs should be tagged sarge-ignore.
I'm not sure why, but if in doubt, ask him =)

--
Robert Millan

(Debra and Ian) (Gnu's Not (UNiplexed Information and Computing System))/\
(kernel of *(Berkeley Software Distribution))

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

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

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

Message-Id: <E1Br6il-0003Nk-00@bilbo>
Date: Sun, 01 Aug 2004 05:09:10 +0200
From: Robert Millan <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: FTBFS when "gain-root" command gains real root.

Package: gdbm
Severity: serious

Building gdbm when "gain-root" command gains real root (e.g. -rsudo)
leaves the source tree in an unconsistent state. The next time build is
attempted (either with -rsudo or -rfakeroot) it will fail with:

[...]
 debian/rules build
test -d debian/patched || install -d debian/patched
dpatch apply-all
applying patch 01_texinfo-usr-local to ./ ...patch: **** can't open file gdbm.texinfo : Permission denied
 failed.
make: *** [patch-stamp] Error 1

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-686
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to C)

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

Message-ID: <email address hidden>
Date: Sun, 01 Aug 2004 14:08:32 +0100
From: James Troup <email address hidden>
To: <email address hidden>
Subject: Re: Bug#262608: FTBFS when "gain-root" command gains real root.

Robert Millan <email address hidden> writes:

> Package: gdbm
> Severity: serious
>
> Building gdbm when "gain-root" command gains real root (e.g. -rsudo)
> leaves the source tree in an unconsistent state. The next time build is
> attempted (either with -rsudo or -rfakeroot) it will fail with:
>
> [...]
> debian/rules build
> test -d debian/patched || install -d debian/patched
> dpatch apply-all
> applying patch 01_texinfo-usr-local to ./ ...patch: **** can't open file gdbm.texinfo : Permission denied
> failed.
> make: *** [patch-stamp] Error 1

Err, duh. HTF am I meant to fix that? You can't mix and match -rsudo
with -rfakeroot and expect it to work. The former is going to
permanently chown files to root that -rfakeroot obviously can't work
with.

--
James

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

Message-ID: <email address hidden>
Date: Sun, 1 Aug 2004 19:33:05 +0200
From: Robert Millan <email address hidden>
To: <email address hidden>
Subject: Re: Bug#262608 acknowledged by developer (Re: Bug#262608: FTBFS when "gain-root" command
 gains real root.)

reopen 262608
thanks

On Sun, Aug 01, 2004 at 06:18:13AM -0700, Debian Bug Tracking System wrote:
> Robert Millan <email address hidden> writes:
>
> > Package: gdbm
> > Severity: serious
> >
> > Building gdbm when "gain-root" command gains real root (e.g. -rsudo)
> > leaves the source tree in an unconsistent state. The next time build is
> > attempted (either with -rsudo or -rfakeroot) it will fail with:
>
> Err, duh. HTF am I meant to fix that? You can't mix and match -rsudo
> with -rfakeroot and expect it to work. The former is going to
> permanently chown files to root that -rfakeroot obviously can't work
> with.

That's not what I said. The problem happens when only using -rsudo. Try
this:

  for i in 1 2 ; do dpkg-buildpackage -rsudo ; done

I found the exact same problem in exim4. Please look at bug #262607, they
already applied a fix and it might provide some indication.

Thanks,

--
Robert Millan

(Debra and Ian) (Gnu's Not (UNiplexed Information and Computing System))/\
(kernel of *(Berkeley Software Distribution))

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

Message-ID: <email address hidden>
Date: Sun, 1 Aug 2004 19:40:24 +0200
From: Robert Millan <email address hidden>
To: <email address hidden>
Subject: sarge-ignore

tags 262608 sarge-ignore
thanks

Hey.

Andreas Metzler just told me this srot of bugs should be tagged sarge-ignore.
I'm not sure why, but if in doubt, ask him =)

--
Robert Millan

(Debra and Ian) (Gnu's Not (UNiplexed Information and Computing System))/\
(kernel of *(Berkeley Software Distribution))

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

Not severe for Warty builds

Revision history for this message
In , Robert Millan (rmh) wrote : close?

Hi James,

I'm no longer concerned about this bug. Feel free to close it if you like.

--
 .''`. Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
: :' :
`. `' http://www.debian.org/ports/kfreebsd-gnu
  `-

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

Message-ID: <email address hidden>
Date: Fri, 17 Sep 2004 10:29:04 +0200
From: Robert Millan <email address hidden>
To: <email address hidden>
Subject: close?

Hi James,

I'm no longer concerned about this bug. Feel free to close it if you like.

--
 .''`. Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
: :' :
`. `' http://www.debian.org/ports/kfreebsd-gnu
  `-

Revision history for this message
Dennis Kaarsemaker (dennis) wrote :

Concern gone.

Changed in gdbm:
status: Unknown → Fix Released
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.