Mailinglist Archive: opensuse-bugs (4794 mails)

< Previous Next >
[Bug 1051384] New: How can I build a kernel with a specific patch which is applied to it, [obs]
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 31 Jul 2017 02:35:27 +0000
  • Message-id: <bug-1051384-21960@http.bugzilla.novell.com/>
http://bugzilla.novell.com/show_bug.cgi?id=1051384


Bug ID: 1051384
Summary: How can I build a kernel with a specific patch which
is applied to it, [obs]
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.3
Hardware: x86-64
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Other
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: doiggl@xxxxxxxxxxxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

Hello,

From build log [1] what change to spec [2] fixes following error.

The reiser4-for-4.11.0.patch applies to kernel ok[3].
I asked on question on forum too. [4]
Help appreciated for build steps.

#
[ 46s] + /usr/bin/make oldconfig --output-sync -j6
[ 46s] make: *** No rule to make target 'oldconfig'. Stop.
[ 46s] error: Bad exit status from /var/tmp/rpm-tmp.15koql (%prep)
[ 46s]
[ 46s]
[ 46s] RPM build errors:
[ 46s] Bad exit status from /var/tmp/rpm-tmp.15koql (%prep)
[ 46s]
[ 46s] lamb77 failed "build kernel-vanilla.spec" at Sun Jul 30 05:56:08
UTC 2017.
[ 46s]
[ 46s] ### VM INTERACTION START ###
[ 49s] [ 36.557432] sysrq: SysRq : Power Off
[ 49s] [ 36.562105] reboot: Power down
[ 50s] ### VM INTERACTION END ###
[ 50s]
[ 50s] lamb77 failed "build kernel-vanilla.spec" at Sun Jul 30 05:56:13
UTC 2017.
[ 50s]

#
Thanks
--Glenn

full log:
[1]
https://build.opensuse.org/package/live_build_log/home:doiggl/kernel-vanilla/openSUSE_Factory/x86_64
https://build.opensuse.org/package/live_build_log/home:doiggl/kernel-vanilla/openSUSE_13.2/x86_64
https://build.opensuse.org/package/live_build_log/home:doiggl/kernel-vanilla/openSUSE_13.1/x86_64




[2]
https://build.opensuse.org/package/view_file/home:doiggl/kernel-vanilla/series.conf?expand=1
series.conf
########################################################
# latest standard kernel patches
# DO NOT MODIFY THEM!
# Send separate patches upstream if you find a problem...
########################################################
patches.kernel.org/patch-4.12.1
patches.kernel.org/patch-4.12.1-2
patches.kernel.org/patch-4.12.2-3
patches.kernel.org/patch-4.12.3-4

########################################################
# Reiser4 patch
########################################################
patches.rpmify/reiser4-for-4.11.0.patch

[1]build log:
https://build.opensuse.org/build/home:doiggl/openSUSE_Factory/x86_64/kernel-vanilla/_log

[ 45s] '
[ 45s] + subpackages=(base)
[ 45s] + for package in "${subpackages[@]}"
[ 45s] + /home/abuild/rpmbuild/SOURCES/guards --default=0 base
[ 45s] + sort -u
[ 45s] + sed 's,.*/,,; s,\.ko$,,'
[ 45s] + cd linux-4.12
[ 45s] + /home/abuild/rpmbuild/SOURCES/apply-patches --vanilla
/home/abuild/rpmbuild/SOURCES/series.conf ..
[ 45s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.kernel.org/patch-4.12.1
[ 45s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.kernel.org/patch-4.12.1-2
[ 45s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.kernel.org/patch-4.12.2-3
[ 45s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.kernel.org/patch-4.12.3-4
[ 45s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/reiser4-for-4.11.0.patch
[ 45s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/firmware-path
[ 45s] + patch -s -F0 -E -p1 --no-backup-if-mismatch -i
../patches.rpmify/cloneconfig.diff
[ 45s] + cd
/home/abuild/rpmbuild/BUILD/kernel-vanilla-4.12.4/linux-4.12/linux-obj
[ 45s] ++ head -n 1 /home/abuild/rpmbuild/SOURCES/source-timestamp
[ 45s] + date='2017-07-28 07:45:21 +0200'


[2] spec
https://build.opensuse.org/package/view_file/home:doiggl/kernel-vanilla/kernel-vanilla.spec?expand=1
https://build.opensuse.org/package/show/home:doiggl/kernel-vanilla

[3]series.conf
https://build.opensuse.org/package/view_file/home:doiggl/kernel-vanilla/series.conf?expand=1

[4]I asked on question on forum too.
https://lists.opensuse.org/opensuse-kernel/2017-07/msg00050.html

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >