Buildresult: kbuild/powernv_defconfig/powerpc-gcc5 built on Aug 8 2023, 07:56
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Aug 8 2023, 07:56
Duration:
0:01:35.307525
Builder:
alpine1
Revision:
scripts/setlocalversion: also consider annotated tags of the form vx.y.z-${file_localversion} (
01e89a4acefc9d8356e91dde310da11e5b97d22d)
Target:
kbuild/powernv_defconfig/powerpc-gcc5
Branch:
kbuild
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
powernv_defconfig
(
download
)
Log:
Download original
Possible warnings (1)
remote: warning: multi-pack bitmap is missing required reverse index
Full Log
# git rev-parse -q --verify 01e89a4acefc9d8356e91dde310da11e5b97d22d^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next remote: warning: multi-pack bitmap is missing required reverse index # git rev-parse -q --verify 01e89a4acefc9d8356e91dde310da11e5b97d22d^{commit} 01e89a4acefc9d8356e91dde310da11e5b97d22d # git checkout -q -f -B kisskb 01e89a4acefc9d8356e91dde310da11e5b97d22d # git clean -qxdf # < git log -1 # commit 01e89a4acefc9d8356e91dde310da11e5b97d22d # Author: Rasmus Villemoes <linux@rasmusvillemoes.dk> # Date: Fri Aug 4 14:05:36 2023 +0200 # # scripts/setlocalversion: also consider annotated tags of the form vx.y.z-${file_localversion} # # Commit 6ab7e1f95e96 ("setlocalversion: use only the correct release # tag for git-describe") was absolutely correct to limit which annotated # tags would be used to compute the -01234-gabcdef suffix. Otherwise, if # some random annotated tag exists closer to HEAD than the vX.Y.Z one, # the commit count would be too low. # # However, since the version string always includes the # ${file_localversion} part, now the problem is that the count can be # too high. For example, building an 6.4.6-rt8 kernel with a few patches # on top, I currently get # # $ make -s kernelrelease # 6.4.6-rt8-00128-gd78b7f406397 # # But those 128 commits include the 100 commits that are in # v6.4.6..v6.4.6-rt8, so this is somewhat misleading. # # Amend the logic so that, in addition to the linux-next consideration, # the script also looks for a tag corresponding to the 6.4.6-rt8 part of # what will become the `uname -r` string. With this patch (so 29 patches # on top of v6.4.6-rt8), one instead gets # # $ make -s kernelrelease # 6.4.6-rt8-00029-gd533209291a2 # # While there, note that the line # # git describe --exact-match --match=$tag $tag 2>/dev/null # # obviously asks if $tag is an annotated tag, but it does not actually # tell if the commit pointed to has any relation to HEAD. So remove both # uses of --exact-match, and instead just ask if the description # generated is identical to the tag we provided. Since we then already # have the result of # # git describe --match=$tag # # we also end up reducing the number of times we invoke "git describe". # # Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> # Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 01e89a4acefc9d8356e91dde310da11e5b97d22d # make -s -j 160 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/kbuild_powernv_defconfig_powerpc-gcc5 # Build took: 0:01:35.307525
© Michael Ellerman 2006-2018.