Re: [gentoo-user] Anyone seeing tons of build errors while compiling sys-devel/autogen ?
On Tue, May 26, 2020 at 11:31:57PM -0300, Francisco Ares wrote: > Just to make sure this ain't purely local: while building > sys-devel/autogen, the build process shows a lot (really) of error messages > from the compiler. > > Is there anyone seeing something like this? Which version of autogen ? Are these build errors preventing the package from being installed, or are they merely errors ? The fact you are seeing a lot of them suggests they're not fatal. Building 5.18.16-r1 with {-libopts and -static-libs}, I get a few warnings on amd64, but nothing I would interpret as severely unusual. The build script is attached. -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA script-out.gz Description: Binary data signature.asc Description: PGP signature
[gentoo-user] Anyone seeing tons of build errors while compiling sys-devel/autogen ?
Hi all, Just to make sure this ain't purely local: while building sys-devel/autogen, the build process shows a lot (really) of error messages from the compiler. Is there anyone seeing something like this? Thanks! Francisco Ares
Re: [gentoo-user] Re: Gentoo RPi boot to ram or read-only FS?
On 27/5/20 3:26 am, Neil Bothwick wrote: > On Tue, 26 May 2020 20:13:29 +0100, antlists wrote: > >>> Mounting the card with sync will significantly reduce the likelihood >>> of corruption, at a cost of reduced life. >>> >> Well, compared to a dead card, a reduced life is a small price to pay >> :-) > A dead card is a reduced life ;-) > >> I think you're talking about a corrupted filesystem, I'm talking about >> a corrupt/dead card ... > I am. I still think the idea of a soft power button is the least complex > and most reliable approach. > I'll add a "me too" - soft power off rules. Look into a pi-juice Hat or similar - it has a battery and can turn off properly either at low battery, or when power is removed. Alternatively, a pi is very low power anyway ... why not just leave it on in a featureless "black box" with no lights showing and program the remote to to do a fake "standbay/off" that triggers a script to blank the video and or reset the screen to the entry menu? (if you are like me, playing with the gear is way more fun than using it as a media box! :) I have a few different pi's and similar Odroid arm systems running Gentoo on sdcards - the failure rate is a real and constant problem (and seems worse on pi's no matter what brand/type of sdcard so keep an up to date spare+backups) and I am thinking of doing a disk-less NFS using the a minimal sdcard image. Has advantages in centralised management and using small cheap sdcards with possibly better performance. BillK pEpkey.asc Description: application/pgp-keys
Re: [gentoo-user] Defining languages via USE flags for tesseract
Meino, On Tuesday, 2020-05-26 15:53:20 +0200, you wrote: > ... > Why is tessdata are not pulled? On my installation "app-text/tessdata_best-4.0.0" is a direct dependency of "app-text/tesseract-4.1.1". Sincerely, Rainer
Re: [gentoo-user] Defining languages via USE flags for tesseract
Meino, On Tuesday, 2020-05-26 15:28:56 +0200, you wrote: > ... > > I want to include "de" (german) to the USE flags for > app-text/tesseract and all I tried has not worked. That's what I have in "package.use": app-text/tessdata_best l10n_de l10n_en osd app-text/tesseract mathosd Sincerely, Rainer
Re: [gentoo-user] Re: Gentoo RPi boot to ram or read-only FS?
On Tue, 26 May 2020 20:13:29 +0100, antlists wrote: > > Mounting the card with sync will significantly reduce the likelihood > > of corruption, at a cost of reduced life. > > > Well, compared to a dead card, a reduced life is a small price to pay > :-) A dead card is a reduced life ;-) > I think you're talking about a corrupted filesystem, I'm talking about > a corrupt/dead card ... I am. I still think the idea of a soft power button is the least complex and most reliable approach. -- Neil Bothwick I've got a Mickey Mouse PC with a Goofy operating system. pgpoEikgneIc3.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Re: Gentoo RPi boot to ram or read-only FS?
On 26/05/2020 19:27, Neil Bothwick wrote: On Tue, 26 May 2020 19:14:18 +0100, antlists wrote: That's the Gentoo version that I'm using. But I'm looking for a way to make it bullet-proof to having the plug pulled. Don't use an SD card? Seriously, pulling the power on an SD card has been known to corrupt it beyond recovery. BUT. Mounting the card with sync will significantly reduce the likelihood of corruption, at a cost of reduced life. Well, compared to a dead card, a reduced life is a small price to pay :-) I think you're talking about a corrupted filesystem, I'm talking about a corrupt/dead card ... Cheers, Wol
Re: [gentoo-user] Re: Gentoo RPi boot to ram or read-only FS?
On 26/05/2020 19:27, Neil Bothwick wrote: This will mitigate the reduced life as you are hardly writing to the card. Booting from a read-only / has caused problems for me in the past, because of the inability to write to /etc. Well, if we can get a loopback into the boot sequence before you write to /etc (why did it want to write to it?), then it won't realise that it can't. You just have to accept that all writes will get lost on power-down. Cheers, Wol
Re: [gentoo-user] Re: Gentoo RPi boot to ram or read-only FS?
On Tue, May 26, 2020 at 1:27 PM Neil Bothwick wrote: > On Tue, 26 May 2020 19:14:18 +0100, antlists wrote: > > > > That's the Gentoo version that I'm using. But I'm looking for a way > > > to make it bullet-proof to having the plug pulled. > > > > Don't use an SD card? Seriously, pulling the power on an SD card has > > been known to corrupt it beyond recovery. BUT. > > Mounting the card with sync will significantly reduce the likelihood of > corruption, at a cost of reduced life. > > > Is the big worry that the home directory will get corrupted etc etc? I > > don't know if you can partition an SD card, but look at doing a > > kiosk-style install with the OS protected and read-only. Then look at > > sticking a loopback device on top of home, so that any changes exist > > only in ram, and are lost on shutdown. Hopefully, that means you now > > have a system that can boot and run off a write-protected SD card :-) > > This will mitigate the reduced life as you are hardly writing to the > card. Booting from a read-only / has caused problems for me in the past, > because of the inability to write to /etc. > Consider a hybrid approach like how many embedded systems do things. E.g. openwrt. /root is actually a read-only squashfs image, and on top of that there's an overlay fs that uses a second partition as it's backing storage. This way, almost all of your system is purely read-only, but you have the ability to store changes to things you need to store changes for.
Re: [gentoo-user] Re: Gentoo RPi boot to ram or read-only FS?
On Tue, 26 May 2020 19:14:18 +0100, antlists wrote: > > That's the Gentoo version that I'm using. But I'm looking for a way > > to make it bullet-proof to having the plug pulled. > > Don't use an SD card? Seriously, pulling the power on an SD card has > been known to corrupt it beyond recovery. BUT. Mounting the card with sync will significantly reduce the likelihood of corruption, at a cost of reduced life. > Is the big worry that the home directory will get corrupted etc etc? I > don't know if you can partition an SD card, but look at doing a > kiosk-style install with the OS protected and read-only. Then look at > sticking a loopback device on top of home, so that any changes exist > only in ram, and are lost on shutdown. Hopefully, that means you now > have a system that can boot and run off a write-protected SD card :-) This will mitigate the reduced life as you are hardly writing to the card. Booting from a read-only / has caused problems for me in the past, because of the inability to write to /etc. -- Neil Bothwick Politically Incorrect -- and damn proud of it! pgpeILno6FnDZ.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Re: Gentoo RPi boot to ram or read-only FS?
On 26/05/2020 18:28, Frank Tarczynski wrote: That's the Gentoo version that I'm using. But I'm looking for a way to make it bullet-proof to having the plug pulled. Don't use an SD card? Seriously, pulling the power on an SD card has been known to corrupt it beyond recovery. BUT. Is the big worry that the home directory will get corrupted etc etc? I don't know if you can partition an SD card, but look at doing a kiosk-style install with the OS protected and read-only. Then look at sticking a loopback device on top of home, so that any changes exist only in ram, and are lost on shutdown. Hopefully, that means you now have a system that can boot and run off a write-protected SD card :-) Look at the raid wiki site https://raid.wiki.kernel.org/index.php/Linux_Raid#When_Things_Go_Wrogn and especially the stuff on recovering a damaged raid for info about how to set up loopback. Cheers, Wol
Re: [gentoo-user] Re: Gentoo RPi boot to ram or read-only FS?
That's the Gentoo version that I'm using. But I'm looking for a way to make it bullet-proof to having the plug pulled. Frank On Tue, May 26, 2020 at 1:19 PM Michael Jones wrote: > > > On Tue, May 26, 2020 at 12:16 PM Grant Edwards > wrote: > >> On 2020-05-26, Frank Tarczynski wrote: >> >> > I'm building a video conference appliance using a Raspberry Pi 4 for >> > my parents. >> >> Sorry, no advice running Gentoo on RPi. I run OSMC/Kodi on an older >> RPi, and it works fine, but I don't think there are any video >> conference apps for Kodi. >> >> But... >> >> For skype and zoom, I'd probably just buy them a 10" Kindle Fire. >> >> There are Zoom and Skype apps available for it. Main drawback: >> smallish screen and limited to 4 video windows at a time in >> zoom. However, it's portable: you can flip to the back camera and walk >> around the house/yard to show something to people. It's also nice in >> that you can just tap on a Zoom invite url in the email app, and it >> "just works". >> >> I haven't trie Skype on Fire. >> >> You can add hangounts/duo, but you've got to futz around sideloading >> the Google App store first. >> >> -- >> Grant > > > > FYI, this project exists: https://github.com/sakaki-/gentoo-on-rpi-64bit >
Re: [gentoo-user] Re: Gentoo RPi boot to ram or read-only FS?
On Tue, May 26, 2020 at 12:16 PM Grant Edwards wrote: > On 2020-05-26, Frank Tarczynski wrote: > > > I'm building a video conference appliance using a Raspberry Pi 4 for > > my parents. > > Sorry, no advice running Gentoo on RPi. I run OSMC/Kodi on an older > RPi, and it works fine, but I don't think there are any video > conference apps for Kodi. > > But... > > For skype and zoom, I'd probably just buy them a 10" Kindle Fire. > > There are Zoom and Skype apps available for it. Main drawback: > smallish screen and limited to 4 video windows at a time in > zoom. However, it's portable: you can flip to the back camera and walk > around the house/yard to show something to people. It's also nice in > that you can just tap on a Zoom invite url in the email app, and it > "just works". > > I haven't trie Skype on Fire. > > You can add hangounts/duo, but you've got to futz around sideloading > the Google App store first. > > -- > Grant FYI, this project exists: https://github.com/sakaki-/gentoo-on-rpi-64bit
[gentoo-user] Re: Gentoo RPi boot to ram or read-only FS?
On 2020-05-26, Frank Tarczynski wrote: > I'm building a video conference appliance using a Raspberry Pi 4 for > my parents. Sorry, no advice running Gentoo on RPi. I run OSMC/Kodi on an older RPi, and it works fine, but I don't think there are any video conference apps for Kodi. But... For skype and zoom, I'd probably just buy them a 10" Kindle Fire. There are Zoom and Skype apps available for it. Main drawback: smallish screen and limited to 4 video windows at a time in zoom. However, it's portable: you can flip to the back camera and walk around the house/yard to show something to people. It's also nice in that you can just tap on a Zoom invite url in the email app, and it "just works". I haven't trie Skype on Fire. You can add hangounts/duo, but you've got to futz around sideloading the Google App store first. -- Grant
Re: [gentoo-user] Gentoo RPi boot to ram or read-only FS?
On Tue, 26 May 2020 13:39:45 +0100, Ashley Dixon wrote: > On Tue, May 26, 2020 at 08:12:30AM -0400, Frank Tarczynski wrote: > > I'm building a video conference appliance using a Raspberry Pi 4 for > > my parents. > > > > I'm using a RPi 4 that boots from a SD card and an USB > > webcam/microphone. > > > > Gentoo is the only OS I can find that supports the USB webcam in both > > Firefox and Chromium with no issues. > > > > Getting my parents to understand that they need to shutdown the RPi > > before hitting the power button is a challenge. And I've not been > > successful at finding a case for the RPi 4 with a soft power switch > > and a fan. > > Gentoo seems like a terrible choice for those who are not technically > inclined. This is an appliance, the users merely turn it on and off. Administration would presumably be done remotely by the OP, for which Gentoo is well suited. However, that is probably about the only advantage of Gentoo here, your other points are so true. OP: If you cannot find a commercial case that meets your needs, have a look for a model on Thingiverse, then contact a local maker group to get it 3D printed for you. > Perhaps an easier solution, for the case of your parents, > would be to find a simpler and smaller O.S.\ and then > triage/fix the webcam and microphone problems. > > Aside from the perceived resolution of the webcam and microphone > problems, are there any other significant reasons to use Gentoo ? > Especially on a Raspberry Pi, it can be particularly difficult with > the proprietary firmware. > -- Neil Bothwick Use Colgate toothpaste or end up with teeth like a Ferengi. pgpyPdMgDxkgL.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Defining languages via USE flags for tesseract
On 05/26 02:34, Ashley Dixon wrote: > On Tue, May 26, 2020 at 03:28:56PM +0200, tu...@posteo.de wrote: > > I want to include "de" (german) to the USE flags for > > app-text/tesseract and all I tried has not worked. > > > > How can I successfully define the language via USE flags > > for app-text/tesseract? > > How about the following entry in package.use ? > app-text/tessdata_* L10N: de > > -- > > Ashley Dixon > suugaku.co.uk > > 2A9A 4117 > DA96 D18A > 8A7B B0D2 > A30E BF25 > F290 A8AA > Hi Ashley, same flag exists for app-text/tesseract. I tried that form and it does not work... Why is tessdata are not pulled? H... You see, I am already working on "that project"...and may be I have something for you tommorow... Cheers! Meino
Re: [gentoo-user] Defining languages via USE flags for tesseract
On Tue, May 26, 2020 at 03:28:56PM +0200, tu...@posteo.de wrote: > I want to include "de" (german) to the USE flags for > app-text/tesseract and all I tried has not worked. > > How can I successfully define the language via USE flags > for app-text/tesseract? How about the following entry in package.use ? app-text/tessdata_* L10N: de -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA signature.asc Description: PGP signature
[gentoo-user] Defining languages via USE flags for tesseract
Hi, I want to include "de" (german) to the USE flags for app-text/tesseract and all I tried has not worked. How can I successfully define the language via USE flags for app-text/tesseract? Cheers! Meino
Re: [gentoo-user] Gentoo RPi boot to ram or read-only FS?
On Tue, May 26, 2020 at 08:12:30AM -0400, Frank Tarczynski wrote: > I'm building a video conference appliance using a Raspberry Pi 4 for my > parents. > > I'm using a RPi 4 that boots from a SD card and an USB webcam/microphone. > > Gentoo is the only OS I can find that supports the USB webcam in both > Firefox and Chromium with no issues. > > Getting my parents to understand that they need to shutdown the RPi before > hitting the power button is a challenge. And I've not been successful at > finding a case for the RPi 4 with a soft power switch and a fan. Gentoo seems like a terrible choice for those who are not technically inclined. Perhaps an easier solution, for the case of your parents, would be to find a simpler and smaller O.S.\ and then triage/fix the webcam and microphone problems. Aside from the perceived resolution of the webcam and microphone problems, are there any other significant reasons to use Gentoo ? Especially on a Raspberry Pi, it can be particularly difficult with the proprietary firmware. -- Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA signature.asc Description: PGP signature
[gentoo-user] Gentoo RPi boot to ram or read-only FS?
I'm building a video conference appliance using a Raspberry Pi 4 for my parents. I'm using a RPi 4 that boots from a SD card and an USB webcam/microphone. Gentoo is the only OS I can find that supports the USB webcam in both Firefox and Chromium with no issues. Getting my parents to understand that they need to shutdown the RPi before hitting the power button is a challenge. And I've not been successful at finding a case for the RPi 4 with a soft power switch and a fan. Does anyone have pointers for booting Gentoo in to ram? Or a mode with a read-only FS? Like the overlay mode in Raspbian? Thanks. Frank