I'm running into issues building the kernel. 4.9 series worked fined, but the 4.10s from fedora master seems to have other issues. I've not made any changes. I'm building this on f25 4.8.
fedpkg clone -a kernel <adjust kernel.spec to build release> make release make local
Any thoughts?
... make -C /home/metheuser/proj/kernel/kernel-4.9.fc26/linux-4.10.0-0.rc2.git1.2.local.fc26.x86_64/tools/lib/traceevent/ plugin_dir=/usr/lib64/traceevent/plugins O= plugins make -C /home/metheuser/proj/kernel/kernel-4.9.fc26/linux-4.10.0-0.rc2.git1.2.local.fc26.x86_64/tools/lib/traceevent/ plugin_dir=/usr/lib64/traceevent/plugins O= install_plugins \ for plugin in plugin_jbd2.so plugin_hrtimer.so plugin_kmem.so plugin_kvm.so plugin_mac80211.so plugin_sched_switch.so plugin_function.so plugin_xen.so plugin_scsi.so plugin_cfg80211.so; do if [ ! -d ''/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64'/usr/lib64/traceevent/plugins' ]; then install -d -m 755 ''/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64'/usr/lib64/traceevent/plugins'; fi; install $plugin ''/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64'/usr/lib64/traceevent/plugins'; done install: cannot create directory '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64': Not a directory install: failed to access '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64/traceevent/plugins': Not a directory install: cannot create directory '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64': Not a directory install: failed to access '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64/traceevent/plugins': Not a directory install: cannot create directory '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64': Not a directory install: failed to access '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64/traceevent/plugins': Not a directory install: cannot create directory '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64': Not a directory install: failed to access '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64/traceevent/plugins': Not a directory install: cannot create directory '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64': Not a directory install: failed to access '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64/traceevent/plugins': Not a directory install: cannot create directory '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64': Not a directory install: failed to access '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64/traceevent/plugins': Not a directory install: cannot create directory '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64': Not a directory install: failed to access '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64/traceevent/plugins': Not a directory install: cannot create directory '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64': Not a directory install: failed to access '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64/traceevent/plugins': Not a directory install: cannot create directory '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64': Not a directory install: failed to access '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64/traceevent/plugins': Not a directory install: cannot create directory '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64': Not a directory install: failed to access '/home/metheuser/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc2.git1.2.local.fc26.x86_64/usr/lib64/traceevent/plugins': Not a directory Makefile:272: recipe for target 'install_plugins' failed make[4]: *** [install_plugins] Error 1 Makefile.perf:544: recipe for target 'install-traceevent-plugins' failed make[3]: *** [install-traceevent-plugins] Error 2 Makefile.perf:204: recipe for target 'sub-make' failed make[2]: *** [sub-make] Error 2 Makefile:108: recipe for target 'install-traceevent-plugins' failed make[1]: *** [install-traceevent-plugins] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.wZmbsf (%install)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.wZmbsf (%install)
On Wed, 04 Jan 2017 18:28:10 -0000 "Devon Miller" aappddeevv@gmail.com wrote:
I'm running into issues building the kernel. 4.9 series worked fined, but the 4.10s from fedora master seems to have other issues. I've not made any changes. I'm building this on f25 4.8.
fedpkg clone -a kernel
<adjust kernel.spec to build release> make release make local
Any thoughts?
This seems to be the same error as I got trying to rebuild with rpmbuild. Something changed in the 4.10 kernel configuration process that has broken custom builds. I notice that the kernels are building fine in koji, so it probably is something that happens when configuration is changed. Debug kernel in kernel hacking was optional in the 4.8 Fedora kernels, but seems to be hard coded in 4.10. Relevant to these perf errors? Don't know.
I haven't tried building a custom kernel in rawhide, and I am using Fedora stock kernels there. Will try a custom kernel build at some point to see if this happens there as well.
I think something did change, at least the output looks different later in the build process at least compared to kernels built from 4.8 through 4.9 on master. Just to be clear, I did not change anything in the configuration (other than kernel.spec to define .local) when running "make local."
On Wed, 04 Jan 2017 20:16:57 -0000 "Devon Miller" aappddeevv@gmail.com wrote:
I think something did change, at least the output looks different later in the build process at least compared to kernels built from 4.8 through 4.9 on master. Just to be clear, I did not change anything in the configuration (other than kernel.spec to define .local) when running "make local."
I tried building on F25 without any change except changing the buildid in the kernel.spec, and got the same error you did. Haven't tried doing a custom build on rawhide yet.
On Wed, 4 Jan 2017 16:30:49 -0700 stan stanl-fedorauser@vfemail.net wrote:
On Wed, 04 Jan 2017 20:16:57 -0000 "Devon Miller" aappddeevv@gmail.com wrote:
I think something did change, at least the output looks different later in the build process at least compared to kernels built from 4.8 through 4.9 on master. Just to be clear, I did not change anything in the configuration (other than kernel.spec to define .local) when running "make local."
I tried building on F25 without any change except changing the buildid in the kernel.spec, and got the same error you did. Haven't tried doing a custom build on rawhide yet.
A src.rpm package with only the buildid changed in the spec file also failed to build in rawhide, with the same error, so I opened a bugzilla against the kernel.
On 01/05/2017 03:06 PM, stan wrote:
On Wed, 4 Jan 2017 16:30:49 -0700 stan stanl-fedorauser@vfemail.net wrote:
On Wed, 04 Jan 2017 20:16:57 -0000 "Devon Miller" aappddeevv@gmail.com wrote:
I think something did change, at least the output looks different later in the build process at least compared to kernels built from 4.8 through 4.9 on master. Just to be clear, I did not change anything in the configuration (other than kernel.spec to define .local) when running "make local."
I tried building on F25 without any change except changing the buildid in the kernel.spec, and got the same error you did. Haven't tried doing a custom build on rawhide yet.
A src.rpm package with only the buildid changed in the spec file also failed to build in rawhide, with the same error, so I opened a bugzilla against the kernel.
A new perf feature came in which would be built if java was installed. The buildroots don't have java so that was why it was failing when building locally. I pushed a commit to disable the feature which should show up in the build on Monday. You can check out the latest pkg git and test that if you want.
Thanks, Laura
On Fri, 6 Jan 2017 14:05:41 -0800 Laura Abbott labbott@redhat.com wrote:
A new perf feature came in which would be built if java was installed. The buildroots don't have java so that was why it was failing when building locally. I pushed a commit to disable the feature which should show up in the build on Monday. You can check out the latest pkg git and test that if you want.
Thanks for explaining this, and the workaround. I'll test the monday build.
kernel@lists.fedoraproject.org