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

does not build under fakeroot



Hello,

I would like to build the modules as a non-root user using fakeroot with
make-kpkg, but this doesn't seem to work:

------------------------------------

$ make-kpkg --added-modules=fglrx modules_image

...lots of output here...

  LD [M]  /fs/src/kernel/modules/fglrx/fglrx.o
  Building modules, stage 2.
  MODPOST
  CC      /fs/src/kernel/modules/fglrx/fglrx.mod.o
  LD [M]  /fs/src/kernel/modules/fglrx/fglrx.ko
make[2]: Leaving directory `/fs/src/kernel/kernel-source-2.6.11'
dh_testdir
dh_testroot
dh_testroot: You must run this as root (or use fakeroot).
make[1]: *** [install] Fel 1
make[1]: Leaving directory `/fs/src/kernel/modules/fglrx'
Module /fs/src/kernel/modules/fglrx failed.
Perhaps /fs/src/kernel/modules/fglrx does not understand --rootcmd?
If you see messages that indicate that it is not
in fact being built as root, please file a bug
against /fs/src/kernel/modules/fglrx.
Hit return to Continue
-----------------------------------------------------

Thanks,

Marcus