LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-04-2017, 06:48 PM   #1
dolphs
Member
 
Registered: Nov 2003
Posts: 52

Rep: Reputation: 15
Vanilla kernel - cannot stat ‘REPORTING-BUGS’: No such file or directory


Hi,

I'm running debian jessie with kernel Linux 4.8.0-0.bpo.2-amd64 #1 SMP Debian 4.8.15-2~bpo8+2 (2017-01-17) x86_64 GNU/Linux (and came with omv).

So I downloaded the current vanilla kernel ( 4.10.1 ) and executed steps below which result in a:

install: cannot stat ‘REPORTING-BUGS’: No such file or directory
debian/ruleset/targets/headers.mk:40: recipe for target 'debian/stamp/install/linux-headers-4.10.1-custom' failed
make[1]: *** [debian/stamp/install/linux-headers-4.10.1-custom] Error 1
make[1]: Leaving directory '/usr/src/linux-4.10.1'
debian/ruleset/local.mk:102: recipe for target 'kernel_headers' failed
make: *** [kernel_headers] Error 2


Anyone a hint please?
thanks in advance.


sudo su -

cd /usr/src
wget https://cdn.kernel.org/pub/linux/ker...-4.10.1.tar.xz
tar -xvJf linux-4.10*
ln -s linux-4.10.1 linux
rm *.xz
cd /usr/src/linux

export CONCURRENCY_LEVEL=5;
#4cores+1

make mrproper
cp /boot/config-`uname -r` .config
make menuconfig
#save .config

make-kpkg clean
cp /usr/share/kernel-package/examples/etc/kernel/postinst.d/initramfs /etc/kernel/postinst.d/
cp /usr/share/kernel-package/examples/etc/kernel/postrm.d/initramfs /etc/kernel/postrm.d/

make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers

Last edited by dolphs; 03-04-2017 at 07:09 PM.
 
Old 03-05-2017, 07:28 AM   #2
dolphs
Member
 
Registered: Nov 2003
Posts: 52

Original Poster
Rep: Reputation: 15
solution here though quite interesting I did not face this issue before using " make-kpkg ". Now instead to let things build properly I exectuted :


cd /usr/src/linux
wget https://cdn.kernel.org/pub/linux/ker...-4.10.1.tar.xz
tar -xvJf linux-4.10* && rm *.xz
cd linux-4.10*

cp /boot/config-`uname -r` ./.config
make oldconfig
make menuconfig #load config

fakeroot make -j5 deb-pkg LOCALVERSION=-mytest KDEB_PKGVERSION=1

cd ..

dpkg -i linux-image-4.10*
dpkg -i linux-headers-4.10*
grub-mkconfig

#and reboot
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VirtualBox < 3.1.4 module build fails on 2.6.33 kernel rpedrica Slackware 12 03-29-2010 07:23 AM
fglrx module build fails (i think it is the kernel?) android6011 Linux - Hardware 3 01-06-2007 05:50 PM
Kernel version 2.6.9 fails to build angel_tsankov Linux - Software 1 04-11-2006 04:26 PM
10.1 install kernel and kernel-source different - build fails Feebles Mandriva 2 06-10-2005 06:58 PM
FC3 Kernel build fails at_work_with_jf Fedora 1 12-28-2004 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration