Mailinglist Archive: opensuse-buildservice (66 mails)

< Previous Next >
[opensuse-buildservice] How to build kernel-default src.rpm after kernel 5.8
Hello,

I ususally get 3 src.rpm files from

http://download.opensuse.org/repositories/Kernel:/stable/standard/

1. kerner-source src.rpm
2. kernel-syms src.rpm
3. kernel-default src.rpm

and compiles with my config file.

Since kernel 5.8, I couldn't compile the kernel-default src.rpm.

[...]
HOSTCC scripts/kconfig/util.o
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/expr.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --syncconfig Kconfig
+ /usr/src/packages/SOURCES/check-for-config-changes .config.orig .config

Changes after running `make oldconfig':
-# CONFIG_CC_CAN_LINK_STATIC is not set
-# CONFIG_DEBUG_INFO_COMPRESSED is not set
-# CONFIG_DEBUG_INFO_REDUCED is not set
-# CONFIG_DEBUG_INFO_SPLIT is not set
-# CONFIG_GDB_SCRIPTS is not set
+CONFIG_CC_CAN_LINK_STATIC=y
-CONFIG_DEBUG_INFO_BTF=y
-CONFIG_DEBUG_INFO_DWARF4=y

error: Bad exit status from /var/tmp/rpm-tmp.8lDVlE (%prep)

[...]
And, in the /var/tmp/rpm-tmp.8lDVlE

make $syncconfig $MAKE_ARGS $KERN_DIRS < /dev/null
/usr/src/packages/SOURCES/check-for-config-changes .config.orig .config
rm .config.orig
fi

make prepare $MAKE_ARGS
make scripts $MAKE_ARGS
krel=$(make -s kernelrelease $MAKE_ARGS)

if [ "$krel" != "5.8.7-2.1-default" ]; then
echo "Kernel release mismatch: $krel != 5.8.7-2.1-default" >&2
exit 1
fi

make clean $MAKE_ARGS

rm -f source
find . ! -type d ! -name 'Module.base' ! -name 'Module.*-kmp' -printf '%P\n' \
> /usr/src/packages/BUILD/kernel-default-5.8.7/obj-files

exit $?

But, I can compile the kernel's source file.

I've got no idea about this difference.

What's wrong with me?

Could someone give me a clue?

THanks

---
┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ Think.
-- The IBM slogan --
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups