Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Forced to update the old system
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Tue Apr 02, 2024 12:42 pm    Post subject: Reply with quote

Hi,
Next one:

Code:

WaylandGnome /home/igor # emerge @preserved-rebuild

 * IMPORTANT: 22 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


 * IMPORTANT: config file '/etc/portage/package.use/zz-autounmask' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
Calculating dependencies... done!
Dependency resolution took 3.18 s (backtrack: 0/20).


emerge: there are no ebuilds to satisfy "sys-devel/llvm:12".
(dependency required by "@preserved-rebuild" [argument])
WaylandGnome /home/igor # emerge -pv --depclean sys-devel/llvm

Calculating dependencies... done!
  sys-devel/llvm-17.0.6 pulled in by:
    dev-lang/spidermonkey-115.3.1 requires sys-devel/llvm:17
    media-libs/mesa-23.3.6 requires sys-devel/llvm:17[llvm_targets_AMDGPU(+),abi_x86_64(-)], <sys-devel/llvm-18:17/17=[llvm_targets_AMDGPU(+),abi_x86_64(-)], <sys-devel/llvm-18:=[llvm_targets_AMDGPU(+),abi_x86_64(-)]
    sys-devel/clang-17.0.6 requires ~sys-devel/llvm-17.0.6[llvm_targets_BPF], ~sys-devel/llvm-17.0.6[llvm_targets_AMDGPU], ~sys-devel/llvm-17.0.6[llvm_targets_VE], ~sys-devel/llvm-17.0.6[llvm_targets_SystemZ], ~sys-devel/llvm-17.0.6:17/17=[-debug,abi_x86_64(-)], ~sys-devel/llvm-17.0.6[llvm_targets_Lanai], ~sys-devel/llvm-17.0.6[llvm_targets_LoongArch], ~sys-devel/llvm-17.0.6[llvm_targets_RISCV], ~sys-devel/llvm-17.0.6[llvm_targets_ARM], ~sys-devel/llvm-17.0.6:17=[-debug,abi_x86_64(-)], ~sys-devel/llvm-17.0.6[llvm_targets_WebAssembly], ~sys-devel/llvm-17.0.6[llvm_targets_AArch64], ~sys-devel/llvm-17.0.6[llvm_targets_XCore], ~sys-devel/llvm-17.0.6[llvm_targets_NVPTX], ~sys-devel/llvm-17.0.6[llvm_targets_MSP430], ~sys-devel/llvm-17.0.6[llvm_targets_Sparc], ~sys-devel/llvm-17.0.6[llvm_targets_X86], ~sys-devel/llvm-17.0.6[llvm_targets_Hexagon], ~sys-devel/llvm-17.0.6[llvm_targets_AVR], ~sys-devel/llvm-17.0.6[llvm_targets_Mips], ~sys-devel/llvm-17.0.6[llvm_targets_PowerPC]
    sys-devel/lld-17.0.6 requires sys-devel/llvm:17, ~sys-devel/llvm-17.0.6[-debug,-zstd]
    sys-devel/llvm-toolchain-symlinks-17 requires sys-devel/llvm:17
    sys-devel/llvmgold-17 requires sys-devel/llvm:17[binutils-plugin]
    sys-libs/compiler-rt-12.0.1 requires >=sys-devel/llvm-6
    sys-libs/compiler-rt-17.0.6 requires sys-devel/llvm:17
    sys-libs/compiler-rt-sanitizers-12.0.1 requires >=sys-devel/llvm-6
    sys-libs/compiler-rt-sanitizers-17.0.6 requires sys-devel/llvm:17
    www-client/firefox-115.9.0 requires sys-devel/llvm:17

>>> Calculating removal order...

>>> These are the packages that would be unmerged:

 sys-devel/llvm
    selected: 12.0.1
   protected: none
     omitted: 17.0.6

All selected packages: =sys-devel/llvm-12.0.1

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Packages installed:   1017
Packages in world:    41
Packages in system:   49
Required packages:    1016
Number to remove:     1
WaylandGnome /home/igor #


Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9680
Location: almost Mile High in the USA

PostPosted: Tue Apr 02, 2024 1:32 pm    Post subject: Reply with quote

Depclean it and all of its deps (like clang:12) -- you probably don't need it.
Probably can also clean up a bunch of others of llvm/clang like compiler-rt:12 etc. This is why you should --depclean before @preserved-rebuild ...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Tue Apr 02, 2024 2:20 pm    Post subject: Reply with quote

Hi,
I wasn't able to depclean system. The result of it fails (see the message above).

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9680
Location: almost Mile High in the USA

PostPosted: Tue Apr 02, 2024 2:35 pm    Post subject: Reply with quote

You can depclean it by itself (well, with clang12)...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Tue Apr 02, 2024 3:30 pm    Post subject: Reply with quote

Hi,
I'm actually trying to run

Code:

emerge --pretend --update --newuse --deep --with-bdeps=y @world



as sugested by:

Code:

emerge -pv --depclean


And yes - I did depclean that version of clang. But I needed to do depclean the system as well...
And that what I was referring to...

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Tue Apr 02, 2024 10:46 pm    Post subject: Reply with quote

Hi,
I am now able to run "emerge -pv --depclean"

Here is the results.

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9680
Location: almost Mile High in the USA

PostPosted: Wed Apr 03, 2024 4:52 pm    Post subject: Reply with quote

If you don't need those packages then go ahead and depclean them I guess?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Wed Apr 03, 2024 5:51 pm    Post subject: Reply with quote

Hi,
I presume it is safe to do so...

And no, I don't.

Thank you.

P.S.: OK, so I did the depclean, then @preserved-rebuild didn't find anything. And the virtualbox is going to merge successfully.

P.P.S.: Hopefully everything will work after that. ;-)
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Wed Apr 03, 2024 9:30 pm    Post subject: Reply with quote

Hi,
The depclean cleaned the kernel and when I tried to re-emerge VirtulBox with Qt the latter required kernel sources and so I had to idate tht as well.

So I opened the guide and everything was good until I had to do the "make install".

That's what I got:

Code:

WaylandGnome /usr/src/linux # make install
  INSTALL /boot
Cannot find LILO.


which is true because I use GRUB.

My newly compiled kernel os:

WaylandGnome /usr/src/linux # ls -la ../
total 16
drwxr-xr-x 4 root root 4096 Apr 3 14:15 .
drwxr-xr-x 12 root root 4096 Aug 8 2021 ..
-rw-r--r-- 1 root root 0 Aug 8 2021 .keep
lrwxrwxrwx 1 root root 19 Apr 3 14:15 linux -> linux-6.6.21-gentoo
drwxr-xr-x 21 root root 4096 Apr 3 13:31 linux-5.10.52-gentoo
drwxr-xr-x 27 root root 4096 Apr 3 15:27 linux-6.6.21-gentoo
WaylandGnome /usr/src/linux #
[/code]

And:

Code:

WaylandGnome /usr/src/linux # mount
/dev/sda3 on / type ext4 (rw,noatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=949969,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=1534176k,nr_inodes=819200,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=767084k,nr_inodes=191771,mode=700,uid=1000,gid=1000)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=767084k,nr_inodes=191771,mode=700)
/dev/sda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
WaylandGnome /usr/src/linux #


As you can see /dev/sda1 is mounted with the boot partition.

Code:

WaylandGnome /usr/src/linux # ls -la /boot
total 37099
drwxr-xr-x  4 root root    1024 Dec 31  1969 .
drwxr-xr-x 21 root root    4096 Aug 21  2021 ..
-rwxr-xr-x  1 root root  110629 Aug 31  2021 config-5.10.52-gentoo
-rwxr-xr-x  1 root root  113090 Aug 31  2021 config-5.10.52-gentoo.old
drwxr-xr-x  3 root root     512 Aug 15  2021 EFI
drwxr-xr-x  6 root root     512 Aug 19  2021 grub
-rwxr-xr-x  1 root root 5504026 Apr  3 17:11 System.map
-rwxr-xr-x  1 root root 4264743 Aug 31  2021 System.map-5.10.52-gentoo
-rwxr-xr-x  1 root root 4264743 Aug 31  2021 System.map-5.10.52-gentoo.old
-rwxr-xr-x  1 root root 9139200 Apr  3 17:11 vmlinuz
-rwxr-xr-x  1 root root 7292416 Aug 31  2021 vmlinuz-5.10.52-gentoo
-rwxr-xr-x  1 root root 7292384 Aug 31  2021 vmlinuz-5.10.52-gentoo.old
WaylandGnome /usr/src/linux #



Any idea on what to do?

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Wed Apr 03, 2024 10:36 pm    Post subject: Reply with quote

Hi,
It looks like merging installkernel fixes the problem...

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9680
Location: almost Mile High in the USA

PostPosted: Wed Apr 03, 2024 10:37 pm    Post subject: Reply with quote

I've never used installkernel ... no idea what it does...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Wed Apr 03, 2024 11:54 pm    Post subject: Reply with quote

Hi,
After installing new kernel and updating the grub tried rebooting.

Unfortunately the machine started with the BIOS setup screen.

So I guess I will need to pull the install CD, boot from it, chroot and fix it.. ;-)

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9680
Location: almost Mile High in the USA

PostPosted: Thu Apr 04, 2024 2:30 am    Post subject: Reply with quote

EFI machine? Grub had an unfortunate feature creep that caused machines to get into firmware setup if a new grub.cfg was used with the new tools but the core grub image was not updated...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
flysideways
Guru
Guru


Joined: 29 Jan 2005
Posts: 437

PostPosted: Thu Apr 04, 2024 2:52 am    Post subject: Reply with quote

It seems to me, that I remember losing an install for a while because I had not added the grub use flag to the current version of sys-kernel/installkernel.

It was install that I don't regularly use. I did an update and it wouldn't boot. I came back to it later and chrooted in to fix it from the minimal install iso.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Sun Apr 14, 2024 3:41 am    Post subject: Reply with quote

Hi,
I went and bought myself an external CD-ROM.
Booted, chrooted and fixed "installkernel".

Now I don't remember if the GRUB also was updated, but I don't think so.

However - just in case I want to reinstall it.
But the HB is now contains too much information and I don't remember what/how the GRUB was installed.

Is there a way to find out?

I think I used EFI with GPT label but I'm not sure...

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Sun Apr 14, 2024 9:29 pm    Post subject: Reply with quote

Hi,
I tried to do:

Code:

mount /bot /dev/sda
grub-install /dev/sda


and got:

Code:

grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory


What is this and what is the way forward?

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9680
Location: almost Mile High in the USA

PostPosted: Sun Apr 14, 2024 11:46 pm    Post subject: Reply with quote

For EFI you don't install to the raw device, you install to the filesystem mounted.

So if you mounted /dev/sdESPpartition /boot

you'd grub-install --efi-directory=/boot

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Mon Apr 15, 2024 12:55 am    Post subject: Reply with quote

Hi,
Is ghere way to check if it is an EFI or an old BIOS?

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9680
Location: almost Mile High in the USA

PostPosted: Mon Apr 15, 2024 12:59 am    Post subject: Reply with quote

I see you have efivarfs mounted so I assume you have EFI set up...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Mon Apr 15, 2024 1:46 am    Post subject: Reply with quote

Hi,
Where do you see it?

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9680
Location: almost Mile High in the USA

PostPosted: Mon Apr 15, 2024 1:57 am    Post subject: Reply with quote

ONEEYEMAN wrote:
Code:

WaylandGnome /usr/src/linux # mount
/dev/sda3 on / type ext4 (rw,noatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=949969,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=1534176k,nr_inodes=819200,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)✅✅✅
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=767084k,nr_inodes=191771,mode=700,uid=1000,gid=1000)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=767084k,nr_inodes=191771,mode=700)
/dev/sda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
WaylandGnome /usr/src/linux #


_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Mon Apr 15, 2024 2:42 am    Post subject: Reply with quote

Hi,
Same error:

/usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please use -- target or --directory

Thank you.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9680
Location: almost Mile High in the USA

PostPosted: Mon Apr 15, 2024 2:49 am    Post subject: Reply with quote

grub-install --target x86_64-efi ... ?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3611

PostPosted: Mon Apr 15, 2024 3:45 am    Post subject: Reply with quote

Hi,
Quote:

Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgrfailed to register the boot entry: No such file or directory.


Thank you.
Back to top
View user's profile Send private message
flysideways
Guru
Guru


Joined: 29 Jan 2005
Posts: 437

PostPosted: Mon Apr 15, 2024 6:18 am    Post subject: Reply with quote

ONEEYEMAN wrote:
Hi,
Is ghere way to check if it is an EFI or an old BIOS?

Thank you.


dmidecode -t bios produces a line that mentions UEFI support and BIOS boot support.

Code:
amdfx ~ # dmidecode -t bios
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
   Vendor: American Megatrends Inc.
   Version: P1.60
   Release Date: 06/17/2016
   Address: 0xF0000
   Runtime Size: 64 kB
   ROM Size: 4 MB
   Characteristics:
      PCI is supported
      BIOS is upgradeable
      BIOS shadowing is allowed
      Boot from CD is supported
      Selectable boot is supported
      BIOS ROM is socketed
      EDD is supported
      5.25"/1.2 MB floppy services are supported (int 13h)
      3.5"/720 kB floppy services are supported (int 13h)
      3.5"/2.88 MB floppy services are supported (int 13h)
      Print screen service is supported (int 5h)
      8042 keyboard services are supported (int 9h)
      Serial services are supported (int 14h)
      Printer services are supported (int 17h)
      ACPI is supported
      USB legacy is supported
      BIOS boot specification is supported
      Targeted content distribution is supported
      UEFI is supported
   BIOS Revision: 4.6


That is the latest release for my old AMD 8350FX computer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3 ... , 14, 15, 16  Next
Page 15 of 16

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum