version 4.10 kernels fail when building custom package from the src.rpm, perf plugins aren't created

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I usually run a custom kernel from the latest rawhide kernel packages
in the stable release.  I've been running 4.9 kernels during the
development cycle in F25, and they've been working fine.

When I tried to compile the stable 4.9 kernel, or a 4.10 kernel, for
F25, I hit errors. First, the location of the custom config file has
changed to SOURCES/kernel-local from config-x86_64-generic.  I noticed
my configuration was being ignored when building, and tracked it down.
Forty minutes to build instead of ten.

Then for 4.10 I hit this error [1].  It seems that the perf-plugins are
not being built, so no directory is being created for them, so the rpm
can't be built.  If I build without perf in the options,
rpmbuild -bb --without perf --without debug --without debuginfo
--without cross-headers --target=`uname -m` kernel.spec  >
build_output  2> error_output
the build and packaging is successful, the packages install fine, and
even boot into multiuser without problem.  But when I attempt to start
X using startx (LXDE), the system begins the X initialization, and then
hangs.  Locked.  The magic request keys do nothing, the mouse doesn't
move, the keyboard is inactive.

Is there a change in the 4.10 kernel that would cause behavior like
this?

These warnings are a little concerning too [2].

Thanks for any insight or help.

1.
+ popd
+ exit 0
+ umask 022
+ cd /home/stan/rpmbuild/BUILD
+ cd kernel-4.9.fc25
+ cd linux-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64
+ make ARCH=x86_64
  INSTALL_HDR_PATH=/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr
  headers_install
+
  find /home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/include
  '(' -name .install -o -name .check -o -name ..install.cmd -o
  -name ..check.cmd ')'
+ xargs rm -f
+ make -s 'EXTRA_CFLAGS=-O2 -g -pipe -Wall -Werror=format-security
  -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -C
tools/perf V=1 NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 WERROR=0
NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 NO_BIONIC=1
prefix=/usr
DESTDIR=/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64
lib=lib64 install-bin install-traceevent-plugins Warning:
tools/include/uapi/linux/bpf.h differs from kernel Warning:
tools/arch/x86/include/asm/cpufeatures.h differs from kernel Warning:
tools/arch/x86/include/uapi/asm/vmx.h differs from kernel Warning:
tools/arch/powerpc/include/uapi/asm/kvm.h differs from kernel Warning:
tools/arch/arm/include/uapi/asm/kvm.h differs from kernel install:
cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan /rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory make[3]: *** [install_plugins] Error 1 make[2]: ***
[install-traceevent-plugins] Error 2 make[1]: *** [sub-make] Error 2
make: *** [install-traceevent-plugins] Error 2 error: Bad exit status
from /var/tmp/rpm-tmp.LQNaRP (%install) Bad exit status
from /var/tmp/rpm-tmp.LQNaRP (%install)


2.
Warning: tools/arch/x86/include/asm/cpufeatures.h differs from kernel
Warning: tools/arch/x86/include/uapi/asm/vmx.h differs from kernel
Warning: tools/arch/powerpc/include/uapi/asm/kvm.h differs from kernel
Warning: tools/arch/arm/include/uapi/asm/kvm.h differs from kernel
jevents: Processing mapfile pmu-events/arch/x86/mapfile.csv
+ chmod +x tools/power/cpupower/utils/version-gen.sh
+ make -j6 -C tools/power/cpupower CPUFREQ_BENCH=false
+ pushd tools/power/cpupower/debug/x86_64
+ make -j6 centrino-decode powernow-k8-decode
+ popd
+ pushd tools/power/x86/x86_energy_perf_policy/
+ make
+ popd
+ pushd tools/power/x86/turbostat
+ make
+ popd
+ pushd tools/thermal/tmon/
+ make
+ popd
+ pushd tools/iio/
+ make
+ popd
+ pushd tools/gpio/
+ make
gpio-event-mon.c: In function 'monitor_device':
gpio-event-mon.c:100:19: warning: format '%lu' expects argument of type
'long unsigned int', but argument 3 has type '__u64 {aka long long
unsigned int}' [-Wformat=] fprintf(stdout, "GPIO EVENT %" PRIu64 ": ",
event.timestamp); ^~~~~~~~~~~~~~
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux