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

fakeroot+Makefile flaw ?



I'm building a few deb packages and today I see that fakeroot doesn't
work anymore inside Makefile !
Look at this:

zack@kitiara:~$ dh_testroot 
dh_testroot: You must run this as root (or use fakeroot).
zack@kitiara:~$ fakeroot 
root@kitiara:~# dh_testroot 
root@kitiara:~# exit				# This is ok
root@kitiara:~$
zack@kitiara:~$ cat > Makefile		# Makefile wich use fakeroot
all:
        dh_testroot
zack@kitiara:~$ make				# try it as user
dh_testroot
dh_testroot: You must run this as root (or use fakeroot).
make: *** [all] Error 1				# this is ok
zack@kitiara:~$ fakeroot 			
root@kitiara:~# make				# try it as fakeroot
dh_testroot
dh_testroot: You must run this as root (or use fakeroot).
make: *** [all] Error 1				# !!!!

Why ?

I'm sure that last week all works, am I going crazy ?

TIA

-- 
	- Zack -

Stefano Zacchiroli <zacchiro@cs.unibo.it> ICQ# 33538863
Home Page: http://www.students.cs.unibo.it/~zacchiro
Undergraduate Student of Computer Science at University of Bologna, Italy
SysAdm of verdicchio.students.cs.unibo.it (130.136.3.134)
	"Information wants to be Open"



Reply to: