On Wed, Mar 18, 2009 at 09:48:32PM +0100, Martin Koeppe wrote:
> The behaviour still hasn't changed. time_1.7-23 can't still be built  

Hmm, me thinks Jonas mistook r269 for something else.  :)

> with debhelper's dh_testroot, instead the hardcoded
>   test "`id -u`" = 0
> is executed.

What intrigues me is that dh_testroot does (almost) just that:

  if ($< != 0) {
        error("You must run this as root (or use fakeroot).");
  }

Why would one work but not the other?

Notice that dh_testroot tests for the *real* UID, while buildcore.mk
tests for the *effective* UID.  Does this explain the discrepancy?
(What does "id -ru" return for you?)


-- 
< sam> /.ing an issue is like asking an infinite number of monkeys for
       advice
                -- in #debian-devel



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to