View previous topic :: View next topic |
Author |
Message |
apiaio Guru
Joined: 04 Dec 2008 Posts: 426
|
Posted: Mon Apr 01, 2024 5:35 pm Post subject: gentoo-sources:6.6.8 |
|
|
Just now I am installing gentoo 23.0 profile. On the same volume I have gentoo 17.1 profile installed.
Code: | (chroot) miropc / # emerge --ask sys-kernel/gentoo-sources:6.6.8
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 0.17 s (backtrack: 0/20).
emerge: there are no ebuilds to satisfy "sys-kernel/gentoo-sources:6.6.8". |
I have installed version 6.6.8 with 17.1
- 23.0 profile offers sys-kernel/gentoo-sources-6.6.21 only
- what will happen if I copy /usr/src and /boot from 17.1 to 23.0 ? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5095 Location: Bavaria
|
Posted: Mon Apr 01, 2024 5:46 pm Post subject: Re: gentoo-sources:6.6.8 |
|
|
apiaio wrote: | - what will happen if I copy /usr/src [...] from 17.1 to 23.0 ? |
Nothing.
apiaio wrote: | - what will happen if I copy [...] /boot from 17.1 to 23.0 ? |
Maybe you have an additional kernel ... maybe you loose your old kernel ... maybe nothing ...
... it depends what you had in your /boot before ...
=>
Please differentiate between the kernel sources that do not "do" anything themselves, and the installed kernel that is located in /boot (or /efi; depending on how you boot) and is/was booted (see "uname -a").
You can install (emerge) as many different kernel sources to /usr/src as you want ... You can also copy different kernel sources from other computers to /usr/src (not recommended). As long as you don't do a kernel configuration (make menuconfig; in the source directories) AND a compile (make) AND a copy to /boot (make install) AND (*), NOTHING will change in your system.
In other words, go ahead and make the switch to 23.0 AND let "emerge -e" install the new 6.6.21 sources ... and then reboot your existing kernel 6.6.8 from /boot AS ALWAYS. You can then do a kernel update WHEN YOU WANT. There is no need to copy anything ...
*) Of course you must change your bootmanager/bootloader also, so this new installed kernel can be selected in your bootmanager. _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
apiaio Guru
Joined: 04 Dec 2008 Posts: 426
|
Posted: Mon Apr 01, 2024 7:23 pm Post subject: |
|
|
I have copied /usr/src and /boot directory to new 23.0 installation, updated grub (ubuntu) and booted.
Everything works fine, but if I wan to run Code: | /usr/src/linux # make menucofig
/bin/sh: line 1: ./scripts/pahole-flags.sh: Permission denied
/bin/sh: line 1: ./scripts/pahole-flags.sh: Permission denied
/bin/sh: line 1: ./scripts/pahole-flags.sh: Permission denied
/bin/sh: line 1: ./scripts/pahole-flags.sh: Permission denied
...
make[3]: scripts/kconfig/conf: Permission denied
make[3]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 127
make[2]: *** [Makefile:697: syncconfig] Error 2
make[1]: *** [/usr/src/linux-6.6.8-gentoo/Makefile:798: include/config/auto.conf] Error 2
make[1]: *** [include/config/auto.conf] Deleting file 'include/generated/rustc_cfg'
make[1]: *** [include/config/auto.conf] Deleting file 'include/generated/autoconf.h'
make: *** [Makefile:234: __sub-make] Error 2
|
I do not want to continue with installation as far as I fix this issue. I have copied /var/db/pkg/sys-kernel/gentoo-sources-6.6.8
so that I may rebuild the kernel
Code: | # emerge gentoo-sources -vp
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 0.54 s (backtrack: 0/20).
[ebuild NS ] sys-kernel/gentoo-sources-6.6.21:6.6.21::gentoo [6.6.8:6.6.8::gentoo] USE="-build -experimental -symlink" 0 KiB
Total: 1 package (1 in new slot), Size of downloads: 0 KiB
| What does mean Code: | [6.6.8:6.6.8::gentoo] | ? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5095 Location: Bavaria
|
Posted: Tue Apr 02, 2024 11:39 am Post subject: |
|
|
Unfortunately, I can't understand your fears at the moment, but hopefully I can answer some of your questions:
apiaio wrote: | What does mean Code: | [6.6.8:6.6.8::gentoo] | ? |
Gentoo-sources is slotted ... you can have as many as you want ... See more:
https://wiki.gentoo.org/wiki/Sub-slots_and_Slot-Operators
An "emerge -e" will recompile all installed packages ... but you dont need all of them. For example every package which does not compile - but only FETCH some source code - can be excluded. When I did my migration to 23.0 my command was:
Code: | emerge -ev -X "gcc binutils glibc libtool linux-firmware intel-microcode gentoo-sources linux-headers baselayout" @world |
I dont understand why you have fear with the "emerge -e" ... it doesnt de-install anything ... unless you do a "emerge -cp"
apiaio wrote: | Everything works fine, but if I wan to run Code: | /usr/src/linux # make menucofig |
|
Does it work without typo ? (menuconfig) _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
apiaio Guru
Joined: 04 Dec 2008 Posts: 426
|
Posted: Tue Apr 02, 2024 1:22 pm Post subject: |
|
|
I think that this is misunderstanding. There is nothing to "emerge -e". As I wrote Quote: | Just now I am installing gentoo 23.0 profile. On the same volume I have gentoo 17.1 profile installed. | This is the new installation. No profile upgrading.
Concrete Code: |
/dev/nvme0n1p5 524814336 734529535 209715200 100G Linux filesystem - Gentoo 17.1
/dev/nvme0n1p6 734529536 976773134 242243599 115.5G Linux filesystem - Gentoo 23.0 |
On the /dev/nvme0n1p6 partition is only extracted stage 3 tarball. Copied some configuration files, /usr/src/linux-6.6.8-gentoo and Code: |
ls /boot
config-6.6.8-gentoo System.map-6.6.8-gentoo vmlinuz-6.6.8-gentoo
| from /dev/nvme0n1p5.
So I boot /dev/nvme0n1p6 partition with vmlinuz-6.6.8-gentoo from /dev/nvme0n1p5.
And now I have problem run "make menuconfig" as described above. I would like to recompile kernel on /dev/nvme0n1p6
Quote: | Does it work without typo ? (menuconfig) | No it does not. |
|
Back to top |
|
|
e8root Tux's lil' helper
Joined: 09 Feb 2024 Posts: 94
|
Posted: Tue Apr 02, 2024 2:17 pm Post subject: |
|
|
Why even use older kernel?
By general rule last digit in kernel version should roughly represent patch number. In reality it means whatever Linus feels any given day but still going from 6.6.x to 6.6.y should not break anything unless there is some bug in the newer kernel version.
As for moving kernel you can copy any kernel version in /usr/src, it doesn't even need to be from gentoo. I had used some random rc version of 6.8 directly from official linux git and it worked just fine.
Best to build it right there in your target system to make sure you can build it but if you don't want to do it to save on build time you can copy its modules from old install from /lib/modules otherwise system will most probably not boot*.
In boot itself I understand you have nothing to copy. If UUID of partition changed you need to update it in your boot manager of choice to pass to kernel. If not then for as long as you have modules in /lib/modules system should boot even if you don't have sources in /usr/src.
Do not forget any program which needs Linux kernel sources look for them in /usr/src/linux so make sure there is appropriate symlink.
*) It maybe possible to run without modules if none of the hardware you need is built in form of a module. Not even sure if this is possible in modern systems... I mean with Linux everything is possible but UI mean it like out of the box without getting deep in to pointless projects. Definitely by default all sorts of binary firmware blobs needed by some devices are loaded from /lib/modules and experience without those can vary from very sad to nothing works. _________________ Unix Wars - Episode V: AT&T Strikes Back |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22632
|
Posted: Tue Apr 02, 2024 2:39 pm Post subject: |
|
|
Please show the output of cat /proc/mounts after make menuconfig fails. I suspect you somehow have set noexec on the filesystem containing the kernel source. |
|
Back to top |
|
|
apiaio Guru
Joined: 04 Dec 2008 Posts: 426
|
Posted: Tue Apr 02, 2024 2:59 pm Post subject: |
|
|
Code: | (chroot) miropc /usr/src/linux # cat /proc/mounts
/dev/nvme0n1p6 / ext4 rw,relatime 0 0
/proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0
none /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0
devtmpfs /dev devtmpfs rw,nosuid,noexec,relatime,size=10240k,nr_inodes=8199028,mode=755 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /run tmpfs rw,nosuid,nodev,noatime 0 0
|
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5095 Location: Bavaria
|
Posted: Tue Apr 02, 2024 3:17 pm Post subject: |
|
|
Please tell me what is true:
apiaio wrote: | So I boot /dev/nvme0n1p6 partition with vmlinuz-6.6.8-gentoo from /dev/nvme0n1p5. |
- OR -
So I boot /dev/nvme0n1p5 (with my old vmlinuz-6.6.8-gentoo) and then I chroot into the installation of /dev/nvme0n1p6.
I ask because I have seen you have mounted a:
Code: | /dev/nvme0n1p6 / ext4 rw,relatime 0 0 |
instead a /dev/root AND this would not be necessary if you boot directly into /dev/nvme0n1p6:
If my assumption is correct, then the next question would be HOW you did the chroot. Did you also a "source /etc/profile" ?
P.S.: What you should try also:
Backup your /etc/usr/linux/.config to a safe place, and then try a "make distclean" (if this works, copy back your .config and do a "make oldconfig"). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
apiaio Guru
Joined: 04 Dec 2008 Posts: 426
|
Posted: Tue Apr 02, 2024 3:33 pm Post subject: |
|
|
Quote: | Please tell me what is true:
So I boot /dev/nvme0n1p6 partition with vmlinuz-6.6.8-gentoo from /dev/nvme0n1p5. |
Yes this is true. vmlinuz-6.6.8-gentoo from /dev/nvme0n1p5/boot was copied into /dev/nvme0n1p6/boot
Quote: | Did you also a "source /etc/profile" ? | Yes.
This error is displayed not only when I am chrooted but when I am booted on /dev/nvme0n1p6 partition as well
Quote: | Backup your /etc/usr/linux/.config to a safe place, and then try a "make distclean" (if this works, copy back your .config and do a "make oldconfig"). |
Code: | (chroot) miropc /usr/src/linux # ls /etc/usr/linux/.config
ls: cannot access '/etc/usr/linux/.config': No such file or directory
|
Last edited by apiaio on Tue Apr 02, 2024 3:42 pm; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5095 Location: Bavaria
|
Posted: Tue Apr 02, 2024 3:40 pm Post subject: |
|
|
I would like to see the (complete) "dmesg" (please use wgetpaste for this) AND "lsblk" AND "blkid".
(because I want to see the boot AND I dont understand why it is necessary to chroot IF you boot the new partition) _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
apiaio Guru
Joined: 04 Dec 2008 Posts: 426
|
Posted: Tue Apr 02, 2024 3:55 pm Post subject: |
|
|
pietinger wrote: | I would like to see the (complete) "dmesg" (please use wgetpaste for this) AND "lsblk" AND "blkid".
(because I want to see the boot AND I dont understand why it is necessary to chroot IF you boot the new partition) |
I am chrooted because I can use graphical enviroment. I thing that I can make all steps (concerning installation) on the same HW.
But OK I will boot the new partition and send what you asked for. |
|
Back to top |
|
|
apiaio Guru
Joined: 04 Dec 2008 Posts: 426
|
Posted: Tue Apr 02, 2024 4:12 pm Post subject: |
|
|
Code: | cat /mnt/gentoo/blkid
/dev/nvme0n1p5: UUID="6c851341-22b5-435f-9e24-f3b9956e91c7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="cc0c6789-0a3e-8840-8e8b-b281856493a5"
/dev/nvme0n1p3: UUID="e81ce96d-08d0-4c67-9a3e-a6ca050d530a" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="8181c3c9-6c1a-bd42-935e-27e1fee806af"
/dev/nvme0n1p1: UUID="01B6-BE01" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="d88c7837-06b0-8e44-a1c3-56208822f43c"
/dev/nvme0n1p6: UUID="894c4ecb-15e7-47ab-ba06-a4e4b0cd8133" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="25cefe84-dbca-6543-b7fc-ef1d9ed814c0"
/dev/nvme0n1p4: UUID="c727526c-e0fd-4eb7-a4b1-640c09d72de3" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="21d6abc6-be9e-1049-868e-1d3cb844fc0a"
/dev/nvme0n1p2: BLOCK_SIZE="512" UUID="8E982C63982C4BD1" TYPE="ntfs" PARTUUID="0cba2088-a5a9-f846-ade8-a8cf1ad4e91e"
/dev/sdb2: UUID="b29741b5-8ad9-4981-8793-f83788b95ee0" BLOCK_SIZE="4096" TYPE="xfs" PARTUUID="d714433e-02"
/dev/sdb7: BLOCK_SIZE="512" UUID="5775A3C11106BE71" TYPE="ntfs" PARTUUID="d714433e-07"
/dev/sdb5: UUID="74c028f0-0c7b-46ed-90f9-391c7b0aa6dc" BLOCK_SIZE="4096" TYPE="xfs" PARTUUID="d714433e-05"
/dev/sdb3: UUID="c1ff8528-c9c8-49a9-9e2d-f46ba1db88f9" TYPE="swap" PARTUUID="d714433e-03"
/dev/sdb1: BLOCK_SIZE="512" UUID="7C92087E92083EE0" TYPE="ntfs" PARTUUID="d714433e-01"
/dev/sdb8: BLOCK_SIZE="512" UUID="1E6678C51E2F54F9" TYPE="ntfs" PARTUUID="d714433e-08"
/dev/sdb6: BLOCK_SIZE="512" UUID="6122BBAB64A260D3" TYPE="ntfs" PARTUUID="d714433e-06"
/dev/sda2: UUID="cbd732dd-4e00-4e0b-9915-514a3cf3f6ff" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="66c58bda-02"
/dev/sda9: BLOCK_SIZE="512" UUID="0633A7DC029EA494" TYPE="ntfs" PARTUUID="66c58bda-09"
/dev/sda7: UUID="f01db728-87b7-4aa6-83b3-d5590e75b663" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="66c58bda-07"
/dev/sda5: UUID="72a6d902-904a-4f54-a22d-1c6d05cc50f7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="66c58bda-05"
/dev/sda3: UUID="58662e8f-e8ed-4604-a242-a631c8b36eca" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="66c58bda-03"
/dev/sda1: UUID="fa292385-3c05-497e-9a12-9685e30a3db1" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="66c58bda-01"
/dev/sda8: BLOCK_SIZE="512" UUID="7479C8271BADA56D" TYPE="ntfs" PARTUUID="66c58bda-08"
/dev/sda6: UUID="f75a76a8-7617-4cda-9417-ba64e8f1e7be" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="66c58bda-06"
|
Code: | cat /mnt/gentoo/lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 100G 0 part
├─sda2 8:2 0 100G 0 part
├─sda3 8:3 0 100G 0 part
├─sda4 8:4 0 1K 0 part
├─sda5 8:5 0 100G 0 part
├─sda6 8:6 0 100G 0 part
├─sda7 8:7 0 100G 0 part
├─sda8 8:8 0 120G 0 part
└─sda9 8:9 0 211.5G 0 part
sdb 8:16 0 1.8T 0 disk
├─sdb1 8:17 0 200G 0 part
├─sdb2 8:18 0 200G 0 part
├─sdb3 8:19 0 128G 0 part [SWAP]
├─sdb4 8:20 0 1K 0 part
├─sdb5 8:21 0 200G 0 part
├─sdb6 8:22 0 200G 0 part
├─sdb7 8:23 0 200G 0 part
└─sdb8 8:24 0 735G 0 part
sr0 11:0 1 1024M 0 rom
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1 259:1 0 256M 0 part
├─nvme0n1p2 259:2 0 149.4G 0 part
├─nvme0n1p3 259:3 0 619M 0 part
├─nvme0n1p4 259:4 0 100G 0 part
├─nvme0n1p5 259:5 0 100G 0 part
└─nvme0n1p6 259:6 0 115.5G 0 part /
|
and dmesg
https://bpa.st/KYIQ |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5095 Location: Bavaria
|
Posted: Tue Apr 02, 2024 4:25 pm Post subject: |
|
|
In which mode do you run SELinux ?
Code: | [ 0.083384] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.6.8-gentoo root=/dev/nvme0n1p6
[ 0.188493] SELinux: Initializing. |
_________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
apiaio Guru
Joined: 04 Dec 2008 Posts: 426
|
Posted: Tue Apr 02, 2024 4:28 pm Post subject: |
|
|
pietinger wrote: | In which mode do you run SELinux ?
Code: | [ 0.083384] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.6.8-gentoo root=/dev/nvme0n1p6
[ 0.188493] SELinux: Initializing. |
|
Up to now I did not know that I run SELinux |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5095 Location: Bavaria
|
Posted: Tue Apr 02, 2024 4:34 pm Post subject: |
|
|
What happens if you do simply an "USE="" emerge gentoo-sources", then change to the new directory /usr/src/linux-6.6.21-gentoo and try a "make defconfig" ? _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
apiaio Guru
Joined: 04 Dec 2008 Posts: 426
|
Posted: Tue Apr 02, 2024 4:41 pm Post subject: |
|
|
Code: | (chroot) miropc /usr/src/linux-6.6.21-gentoo # make defconfig
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/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/conf
*** Default configuration is based on 'x86_64_defconfig'
#
# configuration written to .config
|
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5095 Location: Bavaria
|
Posted: Tue Apr 02, 2024 4:51 pm Post subject: |
|
|
Ok, so something is wrong with your /usr/src/linux-old ... can you delete it and copy again (when you have booted with your "new" kernel; so you mount /dev/..5 to a /mnt/old and copy it again) ?
(Have you tried the "make distclean" ; if not pls try after copying?) _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
apiaio Guru
Joined: 04 Dec 2008 Posts: 426
|
Posted: Tue Apr 02, 2024 5:39 pm Post subject: |
|
|
pietinger wrote: | Ok, so something is wrong with your /usr/src/linux-old ... can you delete it and copy again (when you have booted with your "new" kernel; so you mount /dev/..5 to a /mnt/old and copy it again) ?
(Have you tried the "make distclean" ; if not pls try after copying?) |
Yes it helped. Now I can run "make menuconfig" but Code: | (chroot) miropc /usr/src/linux # make
make: Warning: File 'Makefile' has modification time 6511 s in the future
make[1]: Warning: File '/usr/src/linux-6.6.8-gentoo/Makefile' has modification time 6510 s in the future
make[2]: Warning: File 'scripts/Makefile.build' has modification time 6511 s in the future
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File 'scripts/Makefile.build' has modification time 6511 s in the future
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File 'scripts/Makefile.build' has modification time 6511 s in the future
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File 'scripts/Makefile.build' has modification time 6511 s in the future
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File 'scripts/Makefile.build' has modification time 6511 s in the future
make[3]: Warning: File 'scripts/Makefile.build' has modification time 6511 s in the future
make[4]: Warning: File 'scripts/Makefile.build' has modification time 6511 s in the future
make[4]: warning: Clock skew detected. Your build may be incomplete.
make[4]: Warning: File 'scripts/Makefile.build' has modification time 6511 s in the future
make[4]: warning: Clock skew detected. Your build may be incomplete.
make[3]: warning: Clock skew detected. Your build may be incomplete.
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File 'scripts/Makefile.asm-generic' has modification time 6511 s in the future
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File 'scripts/Makefile.asm-generic' has modification time 6511 s in the future
make[2]: warning: Clock skew detected. Your build may be incomplete.
UPD include/generated/compile.h
make[2]: Warning: File 'scripts/Makefile.build' has modification time 6510 s in the future
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File 'scripts/Makefile.build' has modification time 6510 s in the future
CALL scripts/checksyscalls.sh
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File 'Makefile' has modification time 6511 s in the future
DESCEND objtool
In file included from <stdin>:1:
/usr/include/libelf/libelf.h:28:5: error: "__LIBELF_INTERNAL__" is not defined, evaluates to 0 [-Werror=undef]
28 | #if __LIBELF_INTERNAL__
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: Warning: File 'Makefile' has modification time 6510 s in the future
make[4]: Warning: File 'Makefile' has modification time 6510 s in the future
make[5]: Warning: File '/usr/src/linux-6.6.8-gentoo/tools/build/Makefile.build' has modification time 6510 s in the future
make[5]: warning: Clock skew detected. Your build may be incomplete.
make[4]: warning: Clock skew detected. Your build may be incomplete.
make[4]: Warning: File 'Makefile' has modification time 6510 s in the future
make[5]: Warning: File '/usr/src/linux-6.6.8-gentoo/tools/build/Makefile.build' has modification time 6510 s in the future
make[5]: warning: Clock skew detected. Your build may be incomplete.
make[4]: 'install_headers' is up to date.
make[4]: warning: Clock skew detected. Your build may be incomplete.
make[4]: Warning: File '/usr/src/linux-6.6.8-gentoo/tools/build/Makefile.build' has modification time 6510 s in the future
make[5]: Warning: File '/usr/src/linux-6.6.8-gentoo/tools/build/Makefile.build' has modification time 6510 s in the future
In file included from /usr/src/linux-6.6.8-gentoo/tools/objtool/include/objtool/elf.h:10,
from /usr/src/linux-6.6.8-gentoo/tools/objtool/include/objtool/objtool.h:13,
from /usr/src/linux-6.6.8-gentoo/tools/objtool/include/objtool/arch.h:11,
from /usr/src/linux-6.6.8-gentoo/tools/objtool/include/objtool/check.h:11,
from /usr/src/linux-6.6.8-gentoo/tools/objtool/include/objtool/special.h:10,
from arch/x86/special.c:4:
/usr/include/libelf/gelf.h:25:5: error: "__LIBELF_INTERNAL__" is not defined, evaluates to 0 [-Werror=undef]
25 | #if __LIBELF_INTERNAL__
| ^~~~~~~~~~~~~~~~~~~
/usr/include/libelf/gelf.h:31:5: error: "__LIBELF_NEED_LINK_H" is not defined, evaluates to 0 [-Werror=undef]
31 | #if __LIBELF_NEED_LINK_H
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/libelf/gelf.h:33:7: error: "__LIBELF_NEED_SYS_LINK_H" is not defined, evaluates to 0 [-Werror=undef]
33 | #elif __LIBELF_NEED_SYS_LINK_H
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [/usr/src/linux-6.6.8-gentoo/tools/build/Makefile.build:98: /usr/src/linux-6.6.8-gentoo/tools/objtool/arch/x86/special.o] Error 1
make[4]: *** [/usr/src/linux-6.6.8-gentoo/tools/build/Makefile.build:150: arch/x86] Error 2
make[3]: *** [Makefile:66: /usr/src/linux-6.6.8-gentoo/tools/objtool/objtool-in.o] Error 2
make[2]: *** [Makefile:73: objtool] Error 2
make[1]: *** [/usr/src/linux-6.6.8-gentoo/Makefile:1355: tools/objtool] Error 2
make: *** [Makefile:234: __sub-make] Error 2
|
|
|
Back to top |
|
|
sabayonino Veteran
Joined: 03 Jan 2012 Posts: 1036
|
Posted: Tue Apr 02, 2024 5:52 pm Post subject: |
|
|
Code: |
[...]
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Warning: File 'Makefile' has modification time 6511 s in the future
DESCEND objtool
In file included from <stdin>:1:
/usr/include/libelf/libelf.h:28:5: error: "__LIBELF_INTERNAL__" is not defined, evaluates to 0 [-Werror=undef]
28 | #if __LIBELF_INTERNAL__
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: Warning: File 'Makefile' has modification time 6510 s in the future
make[4]: Warning: File 'Makefile' has modification time 6510 s in the future
make[5]: Warning: File '/usr/src/linux-6.6.8-gentoo/tools/build/Makefile.build' has modification time 6510 s in the future
[...]
|
You have time/date errors.
Check your software/hardware clock _________________ LRS i586 on G.Drive
LRS x86-64 EFI on MEGA |
|
Back to top |
|
|
|