beagleboard / linux

The official Read Only BeagleBoard and BeagleBone kernel repository https://git.beagleboard.org/beagleboard/linux
http://beagleboard.org/source
Other
721 stars 566 forks source link

linux-5.10.162-ti-r56: make oldconfig fails #278

Closed clinew closed 1 year ago

clinew commented 1 year ago

Running on a freshly-extracted tarball with the old configuration copied into .config gives:

dante /usr/src/linux-5.10.162-ti-r56 # make oldconfig
  HOSTCC  scripts/basic/fixdep
/bin/sh: line 1: scripts/basic/fixdep: Permission denied
make[1]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 126
make[1]: *** Deleting file 'scripts/basic/fixdep'
make: *** [Makefile:539: scripts_basic] Error 2

Looking in scripts/basic shows:

dante /usr/src/linux-5.10.162-ti-r56 # ls scripts/basic/
Makefile  fixdep.c

Not quite sure what a .c file is doing in a scripts directory, or why it isn't being compiled before being run...

clinew commented 1 year ago

It turns out my system is possessed and bash is running with a umask of 0777. I searched for an hour but couldn't find where this was happening so I just manually set it later on. Yikes.