[gentoo-user] Compiling/loading problem
Hello list, I'm having problems with libreoffice. I thought at first it was a space problem, after the recent thread on running out of it, but I now have /tmp as part of /, not separate, and /var/tmp/portage on a 100GB partition of a SATA SSD. The root partition has 35GB spare. Before I try again with /tmp on its own partition, does the following extract from the emerge log file ring any bells? --->8 [CAT] CustomTarget/sysui/share/libreofficedev/create_tree.sh mkdir -p /mnt/scratch/tmp/portage/app-office/libreoffice-6.4.7.2/work/ libreoffice-6.4.7.2/ workdir/CustomTarget/sysui/share/libreofficedev/ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ ld: /usr/lib/g cc/x86_64-pc-linux-gnu/10.3.0/../../../../lib64/libpoppler.so: undefined reference to `std ::__throw_bad_array_new_length()@GLIBCXX_3.4.29' echo "#!/bin/sh" > /mnt/scratch/tmp/portage/app-office/libreoffice-6.4.7.2/work/ libreoffic e-6.4.7.2/workdir/CustomTarget/sysui/share/libreoffice/create_tree.sh collect2: error: ld returned 1 exit status --->8 There's also qtwebengine to get through when I have this one fixed. -- Regards, Peter.
Re: [gentoo-user] Compiling/loading problem
On Tuesday, 11 May 2021 15:47:40 BST Peter Humphrey wrote: > Hello list, > > I'm having problems with libreoffice. I thought at first it was a space > problem, after the recent thread on running out of it, but I now have /tmp > as part of /, not separate, and /var/tmp/portage on a 100GB partition of a > SATA SSD. The root partition has 35GB spare. > > Before I try again with /tmp on its own partition, does the following > extract from the emerge log file ring any bells? There's no benefit in having the whole /tmp on disk, just /var/tmp/portage will do. Also you can leave /var/tmp/portage on RAM and just mount-bind it when big packages are expected to exhaust available RAM; e.g. something like this would work: mkdir /var_tmp_portage chown -v portage:portage /var_tmp_portage mount -o bind /var/tmp/portage /var_tmp_portage You would probably need '-o exec' too. 35G on / fs is more than enough for LO. > --->8 > [CAT] CustomTarget/sysui/share/libreofficedev/create_tree.sh > mkdir -p /mnt/scratch/tmp/portage/app-office/libreoffice-6.4.7.2/work/ > libreoffice-6.4.7.2/ > workdir/CustomTarget/sysui/share/libreofficedev/ > /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ > ld: /usr/lib/g > cc/x86_64-pc-linux-gnu/10.3.0/../../../../lib64/libpoppler.so: undefined > reference to `std > > ::__throw_bad_array_new_length()@GLIBCXX_3.4.29' I don't know why poppler complains, unless someone more knowledgeable chimes in, it may be worth rebuilding glibc, poppler and trying again. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Compiling/loading problem
On Tue, 11 May 2021 16:08:13 +0100, Michael wrote: > > Before I try again with /tmp on its own partition, does the following > > extract from the emerge log file ring any bells? > > There's no benefit in having the whole /tmp on disk, just > /var/tmp/portage will do. Also you can leave /var/tmp/portage on RAM > and just mount-bind it when big packages are expected to exhaust > available RAM; e.g. something like this would work: > > mkdir /var_tmp_portage > chown -v portage:portage /var_tmp_portage > mount -o bind /var/tmp/portage /var_tmp_portage Or just PORTAGE_TMPDIR="/lots/of/space" emerge -1a bigpackage -- Neil Bothwick Of course it's not your day, With 7 billion people on earth chances are slim it will ever be *your* day. pgpa5LwnndPpE.pgp Description: OpenPGP digital signature
[gentoo-user] sysrescue+new asus mobo+secure boot=0
Hello, Gentooers, I just acquired a new Asus board (b560m tuf gaming+wifi) to replace a failed gigabyte board on my main Gentoo machine. Assembly went well, it powered up flawlessly first time, it recognized all the hardware... and then nothing. Cannot get it to boot. On all my other machines, there’s a bios setting that allows me to turn off secure boot, which allows me to boot Sysrescue from usb, or Gentoo from a hard drive. Not so (as far as I can tell) on this mobo/bios. There’s the usual bios boot menu and a secure boot submenu. However, the secure boot submenu only allows me to select between Windows UEFI (with, presumably, secure boot enabled) and “other OS”. I have no clue what “other OS” implies about secure boot. It also offers the ability to accept the standard Microsoft-supplied secure boot keys, or to change or delete them. There are a few claims on the web that clearing the PK key (and only that key) or clearing all of the keys is the way to turn off secure boot. I’ve tried all the combinations; none of them allow me to boot. The farthest I’ve gotten is to display the Sysrescue usb boot choices. Selecting any of them seems to (briefly, for a second) start a boot and then the screen goes blank. Nothing after that. I haven’t found any mention on the web that Asus boards are particularly linux hostile, nor much discussion implying that turning off secure boot is particularly tricky. Most of what I’ve seen is, say, Ubuntu oriented. I gather that they have gone through the process of getting their secure boot keys authorized by Microsoft. Anybody have success getting Gentoo to boot from a recent Asus mobo? Thanks! John Blinka
Re: [gentoo-user] sysrescue+new asus mobo+secure boot=0
On 5/11/21 4:08 PM, John Blinka wrote: > Hello, Gentooers, > > I just acquired a new Asus board (b560m tuf gaming+wifi) to replace a failed > gigabyte board on my main Gentoo machine. Assembly went well, it powered up > flawlessly first time, it recognized all the hardware... and then nothing. > Cannot get it to boot. > > On all my other machines, there’s a bios setting that allows me to turn off > secure boot, which allows me to boot Sysrescue from usb, or Gentoo from a > hard drive. > > Not so (as far as I can tell) on this mobo/bios. There’s the usual bios boot > menu and a secure boot submenu. However, the secure boot submenu only allows > me to select between Windows UEFI (with, presumably, secure boot enabled) and > “other OS”. I have no clue what “other OS” implies about secure boot. It > also offers the ability to accept the standard Microsoft-supplied secure boot > keys, or to change or delete them. There are a few claims on the web that > clearing the PK key (and only that key) or clearing all of the keys is the > way to turn off secure boot. I’ve tried all the combinations; none of them > allow me to boot. > > The farthest I’ve gotten is to display the Sysrescue usb boot choices. > Selecting any of them seems to (briefly, for a second) start a boot and then > the screen goes blank. Nothing after that. > > I haven’t found any mention on the web that Asus boards are particularly > linux hostile, nor much discussion implying that turning off secure boot is > particularly tricky. Most of what I’ve seen is, say, Ubuntu oriented. I > gather that they have gone through the process of getting their secure boot > keys authorized by Microsoft. > > Anybody have success getting Gentoo to boot from a recent Asus mobo? > > Thanks! > > John Blinka Try to watch this clip it might help. https://www.google.com/search?sxsrf=ALeKk039uHXT9NuDloVx1Rvp0Mw3kBzEXg:1620773038736&q=asus+board+%22b560m%22+turn+off+secure+boot&sa=X&ved=2ahUKEwjSsfCJ2sLwAhXCpJ4KHdr6Bz4Q5t4CMAx6BAgeEA0&biw=1263&bih=660#kpvalbx=_ygibYJexK87E-gT-gLaYDw55
Re: [gentoo-user] sysrescue+new asus mobo+secure boot=0
I have an Asus TUF Gaming X570 and have the secure boot OS type as "Other OS". I've been using rEFInd to dual boot with Windows. On Tue, May 11, 2021, 6:49 PM wrote: > On 5/11/21 4:08 PM, John Blinka wrote: > > Hello, Gentooers, > > > > I just acquired a new Asus board (b560m tuf gaming+wifi) to replace a > failed gigabyte board on my main Gentoo machine. Assembly went well, it > powered up flawlessly first time, it recognized all the hardware... and > then nothing. Cannot get it to boot. > > > > On all my other machines, there’s a bios setting that allows me to turn > off secure boot, which allows me to boot Sysrescue from usb, or Gentoo from > a hard drive. > > > > Not so (as far as I can tell) on this mobo/bios. There’s the usual bios > boot menu and a secure boot submenu. However, the secure boot submenu only > allows me to select between Windows UEFI (with, presumably, secure boot > enabled) and “other OS”. I have no clue what “other OS” implies about > secure boot. It also offers the ability to accept the standard > Microsoft-supplied secure boot keys, or to change or delete them. There > are a few claims on the web that clearing the PK key (and only that key) or > clearing all of the keys is the way to turn off secure boot. I’ve tried > all the combinations; none of them allow me to boot. > > > > The farthest I’ve gotten is to display the Sysrescue usb boot choices. > Selecting any of them seems to (briefly, for a second) start a boot and > then the screen goes blank. Nothing after that. > > > > I haven’t found any mention on the web that Asus boards are particularly > linux hostile, nor much discussion implying that turning off secure boot is > particularly tricky. Most of what I’ve seen is, say, Ubuntu oriented. I > gather that they have gone through the process of getting their secure boot > keys authorized by Microsoft. > > > > Anybody have success getting Gentoo to boot from a recent Asus mobo? > > > > Thanks! > > > > John Blinka > > Try to watch this clip it might help. > > > https://www.google.com/search?sxsrf=ALeKk039uHXT9NuDloVx1Rvp0Mw3kBzEXg:1620773038736&q=asus+board+%22b560m%22+turn+off+secure+boot&sa=X&ved=2ahUKEwjSsfCJ2sLwAhXCpJ4KHdr6Bz4Q5t4CMAx6BAgeEA0&biw=1263&bih=660#kpvalbx=_ygibYJexK87E-gT-gLaYDw55 > >