[linux-dvb] User compile of Hg version broken
mkrufky at m1k.net
Tue Apr 25 04:05:52 CEST 2006
Trent Piepho wrote:
>After this patch I can no longer compile the Hg version of v4l-dvb without
>user: Mauro Carvalho Chehab <mchehab at infradead.org>
>date: Sat Apr 22 09:42:38 2006 -0300
>summary: Adds capability to build conf/mconf/qconf/lxdialog at kernel tree
>If I try to compile without root access, the build system tries to build the
>kernel conf system:
Trent is right... Except that now I can't even build AS root!!!
Please revert changeset 4d008d32fdcb.
A better idea would be to put this new functionality into a new command,
like 'make build-system' and let it be optional. This way, users that
don't need this wont use it, and those that do need it will run only
this command as root.
This also ensures that only the step that requires root access be run as
root. Im sure you would agree that the actual modules should not be
built as root. The only other thing that should require root access is,
Right now, the only way that I can build is by doing this:
hg export 4d008d32fdcb | patch -R -p1
before make. :-(
>make -C /lib/modules/2.6.12-12mdkcustom/build
>srctree=/lib/modules/2.6.12-12mdkcustom/build HOSTCXX=g++ HOSTCC=cc -I. CONFIG_SHELL=/bin/sh -f
>/lib/modules/2.6.12-12mdkcustom/build/scripts/Makefile.build obj=scripts/kconfig qconf-target=1 scripts/kconfig/qconf
>make: Entering directory `/usr/src/linux-2.6.12-12mdk'
> cc -Wp,-MD,scripts/kconfig/.conf.o.d -c -o scripts/kconfig/conf.o scripts/kconfig/conf.c
>Of course this command, to build conf.o inside the system kernel tree, fails
>without root access. It seems like it thinks conf.c needs to be compiled, but
>$ ls -l /usr/src/linux/scripts/kconfig/conf*
>-rwxr-xr-x 1 root root 80537 Mar 24 16:54 /usr/src/linux/scripts/kconfig/conf*
>-rw-r--r-- 1 root root 10848 Jun 17 2005 /usr/src/linux/scripts/kconfig/conf.c
>-rw-r--r-- 1 root root 9874 Jun 17 2005 /usr/src/linux/scripts/kconfig/confdata.c
>-rw-r--r-- 1 root root 10368 Apr 24 15:59 /usr/src/linux/scripts/kconfig/conf.o
>It was built as part of the last kernel build and doesn't need to be remade.
>If I revert changeset 4d008d32fdcb then I can run make xconfig/menuconfig for
>v4l-dvb and build without problems.
More information about the linux-dvb