Same here.  Why is this changed from New to Invalid?

On arm64 system, 
Checking out this https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7.10/

cod/mainline/v5.7.10 (d4563ab7fb2d4e8303c493a4eaa34e0189843e5b)
git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack
 cod/mainline/v5.7.10

Following instructions at
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel#Modifying_the_configuration

fakeroot debian/rules editconfigs always assumes amd64 and no matter
answering Y or N to the first question it pops up "Do you want to edit
config: amd64/config.flavour.generic?", it'll always fail saying
scripts/Kconfig.include:45: compiler 'x86_64-linux-gnu-gcc' not found.

How to editconfig for arm64 kernel?  I'm building kernel natively on an
arm64 machine.

$ LANG=C fakeroot debian/rules editconfigs
/bin/bash: 
/home/cuda/jiandi/sb/v5.7.10/mainline-crack/debian.master/abi/5.7.10-0.0/arm64/../modules.ignore:
 No such file or directory
dh_testdir;
/bin/bash -e debian/scripts/misc/kernelconfig editconfigs
Do you want to edit config: amd64/config.flavour.generic? [Y/n] n
make[1]: Entering directory '/home/cuda/jiandi/sb/v5.7.10/mainline-crack'
make[2]: Entering directory '/home/cuda/jiandi/sb/v5.7.10/mainline-crack/build'
  GEN     Makefile
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/util.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --syncconfig Kconfig
scripts/Kconfig.include:45: compiler 'x86_64-linux-gnu-gcc' not found
make[3]: *** [../scripts/kconfig/Makefile:71: syncconfig] Error 1
make[2]: *** [/home/cuda/jiandi/sb/v5.7.10/mainline-crack/Makefile:588: 
syncconfig] Error 2
make[2]: Leaving directory '/home/cuda/jiandi/sb/v5.7.10/mainline-crack/build'
make[1]: *** [Makefile:180: sub-make] Error 2
make[1]: Leaving directory '/home/cuda/jiandi/sb/v5.7.10/mainline-crack'
make: *** [debian/rules.d/1-maintainer.mk:48: editconfigs] Error 2

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1863116

Title:
  debian/rules editconfigs does not work on s390x to change s390x only
  configs

Status in Ubuntu on IBM z Systems:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  On s390x

  pull-lp-source linux-5.4
  cd linux-*
  fakeroot ./debian/rules clean
  ./debian/rules editconfig
  dh_testdir;
  /bin/bash -e debian/scripts/misc/kernelconfig editconfigs
  Do you want to edit config: amd64/config.flavour.generic? [Y/n] n
  ...
  scripts/Kconfig.include:35: compiler 'x86_64-linux-gnu-gcc' not found
  make[3]: *** [../scripts/kconfig/Makefile:73: syncconfig] Error 1
  make[2]: *** [/home/ubuntu/linux-5.4-5.4.0/Makefile:594: syncconfig] Error 2
  make[2]: Leaving directory '/home/ubuntu/linux-5.4-5.4.0/build'
  make[1]: *** [Makefile:179: sub-make] Error 2
  make[1]: Leaving directory '/home/ubuntu/linux-5.4-5.4.0'
  make: *** [debian/rules.d/1-maintainer.mk:44: editconfigs] Error 2

  And indeed i do not have x86_64-linux-gnu-gcc crosscompiler available
  to build on s390x for amd64, and also I don't want to touch amd64
  configs. Only s390x ones.

  As a user, I should be able to rebuild ports architecture kernel with
  tweaked config for testing, self-hosted without cross-compilers.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1863116/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to