You are not logged in.
Hi all,
I tried to compile kernel by simply copying the PKGBUILD and other files into my workspace and issue 'makepkg -s'.
and this is the result:
==> Making package: kernel26-vanilla 2.6.34-2 x86_64 (Mon Jun 14 22:12:10 NZST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found linux-2.6.34.tar.bz2 in build dir
-> Found config in build dir
-> Found config.x86_64 in build dir
-> Found kernel26-vanilla.preset in build dir
==> Validating source files with md5sums...
linux-2.6.34.tar.bz2 ... Passed
config ... Passed
config.x86_64 ... Passed
kernel26-vanilla.preset ... Passed
==> Extracting Sources...
-> Extracting linux-2.6.34.tar.bz2 with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
HOSTCC scripts/basic/fixdep
/bin/sh: scripts/basic/fixdep: Permission denied
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
Makefile:1452: *** kernelrelease not valid - run 'make prepare' to update it. Stop.
HOSTCC scripts/basic/fixdep
/bin/sh: scripts/basic/fixdep: Permission denied
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
HOSTCC scripts/basic/fixdep
/bin/sh: scripts/basic/fixdep: Permission denied
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
HOSTCC scripts/basic/fixdep
/bin/sh: scripts/basic/fixdep: Permission denied
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
==> ERROR: Build Failed.
Aborting...
What do you think is missing? Sorry for newbie question. Thanks heaps!
Last edited by c0wb0y (2010-06-15 17:02:44)
Offline
Did you run the command as root? Since it complains about denied permissions running makepkg as a normal could be problematic.
Offline
yes i did and it still complain.
Offline
Don't run makepkg as root. Copy the PKGBUILD and whatever source files you have to a directory owned by you then run makepkg.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Don't run makepkg as root. Copy the PKGBUILD and whatever source files you have to a directory owned by you then run makepkg.
While this is sound advice, it will not clear this error.
Offline
ngoonee wrote:Don't run makepkg as root. Copy the PKGBUILD and whatever source files you have to a directory owned by you then run makepkg.
While this is sound advice, it will not clear this error.
This is exactly what i did. still no joy.
thanks
Offline
Are you using the official PKGBUILD?
I suggest you extract the sources, then grab them with chown -R c0wb0y:c0wb0y src and then makepkg again with the parameter -e (don't extract archive).
no place like /home
github
Offline
I already did the above. I used different PKGBUILDS and still the same result
HOSTCC scripts/basic/fixdep
/bin/sh: scripts/basic/fixdep: Permission denied
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
==> ERROR: Build Failed.
Aborting...
Offline
Could you check the file permissions of scripts/basic/fixdep ? Maybe the executing bit is not set.
Offline
Hi guys,
thanks a lot! i finally found out what's wrong. its my mount options in /home:
/dev/sda8 on /home type ext4 (rw,noexec,nodev,noatime,nodiratime,commit=600)
i remounted it with defaults options and i was able to 'make menuconfig'
thanks heaps!
Last edited by c0wb0y (2010-06-15 17:05:20)
Offline
Hi guys,
thanks a lot! i finally found out what's wrong. its my mount options in /home:
/dev/sda8 on /home type ext4 (rw,noexec,nodev,noatime,nodiratime,commit=600)i remounted it with defaults options and i was able to 'make menuconfig'
thanks heaps!
Out of curiousity; why did you have those mount options set?
Offline
Yeah, especially noexec..... the rest should be fine.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline