Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864549 - sys-kernel/vanilla-sources-4.19.254: Makefile:547: arch/amd64/Makefile: No such file or directory
Summary: sys-kernel/vanilla-sources-4.19.254: Makefile:547: arch/amd64/Makefile: No su...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-09 11:11 UTC by Agostino Sarubbo
Modified: 2022-08-10 08:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-08-09 11:11:30 UTC
after emerging =sys-kernel/vanilla-sources-4.19.254

# cd /usr/src/linux-4.19.254
# make menuconfig
Makefile:547: arch/amd64/Makefile: No such file or directory
make: *** No rule to make target 'arch/amd64/Makefile'.  Stop.

It looks like the directory arch/amd64 or arch/x86_64 is missing in the upstream tarball but I don't get why
Comment 1 Arisu Tachibana Gentoo Infrastructure gentoo-dev 2022-08-10 07:18:13 UTC
The upstream tarball correctly doesn't have arch/amd64/Makefile
as x86_64 get translated to x86 by the makefile


is this a cross compilation environment for amd64?
can you give the env file ?

I cannot reproduce your problem on my environment
you could do
make ARCH=x86_64 menuconfig
Comment 2 Arisu Tachibana Gentoo Infrastructure gentoo-dev 2022-08-10 07:19:38 UTC
for example on 5.19:

➜  linux-5.19 make ARCH=x86_64 menuconfig
  HOSTCC  scripts/basic/fixdep
  UPD     scripts/kconfig/mconf-cfg
  HOSTCC  scripts/kconfig/mconf.o
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.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/menu.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/mconf
#
# using defaults found in arch/x86/configs/x86_64_defconfig
#


Your configuration changes were NOT saved.

➜  linux-5.19 make ARCH=amd64 menuconfig
Makefile:622: arch/amd64/Makefile: No such file or directory
make: *** No rule to make target 'arch/amd64/Makefile'.  Stop.
Comment 3 Agostino Sarubbo gentoo-dev 2022-08-10 08:58:21 UTC
Sorry for the noise, it was my bad because I have ARCH=amd64 in my bashrc.