Hello Manoj,
On Sun, 2016-02-21 at 18:11 -0800, Manoj Srivastava wrote: > This is not a but in kernel-package: > install: cannot change owner and permissions of > ‘/home/rrs/Community/linux/debian/linux-headers- > 4.3.6+/usr/src/linux-headers-4.3.6+’: > Operation not permitted > Yes. That is why I immediately checked the permissions first. ====== making target debian/stamp/install/linux-image-4.3.6+ [new prereqs: ]====== This is kernel package version 13.018. rm -f -r .//home/rrs/Community/linux/debian/linux-image-4.3.6+ .//home/rrs/Community/linux/debian/linux-image-4.3.6+.deb install -p -d -o root -g root -m 755 /home/rrs/Community/linux/debian/linux-image- 4.3.6+/etc/kernel/postinst.d /home/rrs/Community/linux/debian/linux- image-4.3.6+/etc/kernel/preinst.d \ /home/rrs/Community/linux/debian/linux-image- 4.3.6+/etc/kernel/postrm.d /home/rrs/Community/linux/debian/linux- image-4.3.6+/etc/kernel/prerm.d install: cannot change owner and permissions of ‘/home/rrs/Community/linux/debian/linux-image- 4.3.6+/etc/kernel/postinst.d’: Operation not permitted install: cannot change owner and permissions of ‘/home/rrs/Community/linux/debian/linux-image- 4.3.6+/etc/kernel/preinst.d’: Operation not permitted install: cannot change owner and permissions of ‘/home/rrs/Community/linux/debian/linux-image- 4.3.6+/etc/kernel/postrm.d’: Operation not permitted install: cannot change owner and permissions of ‘/home/rrs/Community/linux/debian/linux-image- 4.3.6+/etc/kernel/prerm.d’: Operation not permitted debian/ruleset/targets/image.mk:34: recipe for target 'debian/stamp/install/linux-image-4.3.6+' failed make[1]: *** [debian/stamp/install/linux-image-4.3.6+] Error 1 make[1]: Leaving directory '/home/rrs/Community/linux' debian/ruleset/local.mk:105: recipe for target 'kernel_image' failed make: *** [kernel_image] Error 2 15:52 ♒♒♒ ☹ => 2 And below is the director listing, where I see no odd permissions. rrs@chutzpah:~/Community/linux (stable-43)$ ls -lh /home/rrs/Community/linux/debian/ total 88K -rw-r--r-- 1 rrs rrs 386 Feb 20 14:53 changelog -rw-r--r-- 1 rrs rrs 5.9K Feb 20 14:53 config drwxr-xr-x 2 rrs rrs 4.0K Feb 20 14:40 Config/ -rw-r--r-- 1 rrs rrs 5.2K Feb 20 14:53 control -rw-r--r-- 1 rrs rrs 4.9K Feb 20 14:53 Control -rw-r--r-- 1 rrs rrs 2.7K Feb 20 14:53 Control.bin86 drwxr-xr-x 3 rrs rrs 4.0K Feb 20 14:40 docs/ drwxr-xr-x 3 rrs rrs 4.0K Feb 20 14:40 examples/ drwxr-xr-x 3 rrs rrs 4.0K Feb 20 15:52 linux-headers-4.3.6+/ drwxr-xr-x 3 rrs rrs 4.0K Feb 20 15:52 linux-image-4.3.6+/ drwxr-xr-x 3 rrs rrs 4.0K Feb 20 15:52 linux-image-4.3.6+-dbg/ drwxr-xr-x 7 rrs rrs 4.0K Mar 24 2015 pkg/ drwxr-xr-x 2 rrs rrs 4.0K Feb 20 14:40 po/ -rwxr-xr-x 1 rrs rrs 3.7K Feb 17 05:13 rules* drwxr-xr-x 6 rrs rrs 4.0K Feb 20 14:40 ruleset/ drwxr-xr-x 2 rrs rrs 4.0K Feb 20 14:40 scripts/ drwxr-xr-x 5 rrs rrs 4.0K Feb 20 15:52 stamp/ -rw-r--r-- 1 rrs rrs 6.4K Feb 20 14:53 templates.in 16:50 ♒♒♒ ☺ > Please fix upo the permissions and make sure that the user > running the build can indeed wrte to ./debian/* and fakeroot can > indeed > change permissions. > > I have been building kernels with the current make-kpkg, and > using fakeroot, consistently, and there have been no other reports > about problems with fakeroot. Since you've confirmed that it works for you, let me spend some more time to validate if it is a local bug. If not so, only then, I'll re- open the bug. Thanks. Ritesh -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: This is a digitally signed message part