Re: [gentoo-user] NAS and replacing with larger drives
Dale wrote: > Howdy, > > <<< SNIP >>> > > Thoughts? Info to share? Ideas on a best path forward? Buy already > built or build? > > Thanks. > > Dale > > :-) :-) > I have a couple questions. I currently have the NAS thingy on a older Dell machine. It has a 4 core CPU and 8GBs of ram so it is acceptable, for the time being at least. Bad thing is, only two drive bays. :/ I have a few questions that I can't quite find answers to with google. 1: I have the OS on a USB stick. From what I've read, they do fail due to wear at some point. If I reinstall TrueNAS on a new USB stick, will it automatically see the previous pools and such or do I have to set everything up again fresh? In other words, will I lose data? This also includes if it is encrypted. Right now it is not, but I plan to restart and set it up as encrypted shortly. I suspect that it will work like LVM does. I just can't see a OS failure causing a loss of all data. 2: Hardware change. The Dell comes with a 100MB network card. I ordered a 1GB card. I plan to put it in when it gets here. Will it see the new card and work automatically or will it take some work to get the network going? On my Gentoo rig, I have to enable drivers in the kernel and recompile. I'm not sure about BSD tho. Since it is sort of a binary thing, does TrueNAS handle hardware changes such as a network card well? I also found out something power wise. The Dell when booted and sitting idle consumes about 120 watts monitor and all. My main rig consumes just under 200 watts. Not to bad but a Raspberry Pi would likely consume 15, 20 watts max according to what I've read. Given the number of hard drives, it could pull 25 or 30 watts max but doubtful it would get that high. I'm looking at 4 bays but also found a 6 bay. I think 6 is overkill tho. Eventually, I plan to build a Raspberry Pi NAS. When I do, I'll post everything major I needed, boards, case etc for everyone to look at. I'll even try to upload some pics, or share as attachments if there is interest. Unless I find one heck of a deal on a used NAS that is. Still may build one even then. ;-) Thanks. Dale :-) :-)
Re: [gentoo-user] Major problems with libpcre / UTF8
On Thu, Dec 15, 2022 at 03:52:46PM -0500, Walter Dnes wrote: > I just finished solving my babl problems, but more stuff shows up in > libpcre. First, here are my USE flags. I don't see "utf8" anywhere. > > Calculating dependencies... done! > [ebuild R] dev-libs/libpcre-8.45-r1:3::gentoo USE="bzip2 cxx jit > readline (split-usr) (unicode) zlib -libedit -pcre16 -pcre32 -static-libs" 0 > KiB > > Can someone give me their output from "emerge -pv1 dev-libs/libpcre" > > mc (Midnight Commander) spews out a lot of... > > (mc:5796): GLib-CRITICAL **: 15:19:15.617: PCRE library is compiled without > UTF8 support glib switched to libpcre2 recently, so that's the wrong package. I don't seem to get these messages with mc unless I disable unicode (which is normally enabled by default in profiles). [ebuild R] dev-libs/libpcre2-10.42:0/3::gentoo USE="jit pcre16 readline (split-usr) unicode zlib -bzip2 -libedit -pcre32 -static-libs -verify-sig" ABI_X86="32 (64) (-x32)" 0 KiB -- ionen signature.asc Description: PGP signature
Re: [gentoo-user] Major problems with libpcre / UTF8
Not sure what your problem is but it looks like Glib is complaining, not mc. Having unicode in your flags would seem to infer UTF-8 support but I'm no expert. There's an assumption that you've already run an emerge --sync, emerge --update @world and a depclean and that you don't have any unusual entries in package.mask, package.accept_keywords, or friends. Also that you don't have any overlays that could be muddying the waters. Then I'd try the following and check your pcre and glib libraries are consistent. # ldd /usr/bin/mc|egrep "glib|pcre" libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x7f6672c58000) libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0 (0x7f66728c7000) # ls -l /usr/lib64/{libpcre2-8*,libglib-2*} lrwxrwxrwx 1 root root 16 Dec 14 13:49 /usr/lib64/libglib-2.0.so -> libglib-2.0.so.0 lrwxrwxrwx 1 root root 23 Dec 14 13:49 /usr/lib64/libglib-2.0.so.0 -> libglib-2.0.so.0.7400.3 -rwxr-xr-x 1 root root 1291352 Dec 14 13:50 /usr/lib64/libglib-2.0.so.0.7400.3 lrwxrwxrwx 1 root root 20 Dec 13 16:31 /usr/lib64/libpcre2-8.so -> libpcre2-8.so.0.11.2 lrwxrwxrwx 1 root root 20 Dec 13 16:31 /usr/lib64/libpcre2-8.so.0 -> libpcre2-8.so.0.11.2 -rwxr-xr-x 1 root root 641544 Dec 13 16:31 /usr/lib64/libpcre2-8.so.0.11.2
Re: [gentoo-user] Major problems with libpcre / UTF8
On 2022.12.15 15:52, Walter Dnes wrote: I just finished solving my babl problems, but more stuff shows up in libpcre. First, here are my USE flags. I don't see "utf8" anywhere. Calculating dependencies... done! [ebuild R] dev-libs/libpcre-8.45-r1:3::gentoo USE="bzip2 cxx jit readline (split-usr) (unicode) zlib -libedit -pcre16 -pcre32 -static-libs" 0 KiB Can someone give me their output from "emerge -pv1 dev-libs/libpcre" Calculating dependencies... done! [ebuild R] dev-libs/libpcre-8.45-r1:3::gentoo USE="bzip2 cxx jit readline (split-usr) static-libs (unicode) zlib -libedit -pcre16 -pcre32" ABI_X86="32 (64) (-x32)" 0 KiB and for mc: Calculating dependencies... done! [ebuild R] app-misc/mc-4.8.28-r2::gentoo USE="X edit gpm slang spell unicode -nls -sftp -test" 0 KiB mc (Midnight Commander) spews out a lot of... mc gives me no complaints. (mc:5796): GLib-CRITICAL **: 15:19:15.617: PCRE library is compiled without UTF8 support Application windows have every second character missing in the window title; e.g. "xterm" shows as "xem". I have a spreasheet that tracks my Presto card usage. The title has gone from "presto.gnumeric-Gnumeric" to "pet.nmrc-Guei'. Various PCRE-based searches fail in vaious apps. HELP! BTW, here's what I get when opening a complex spreadsheet in gnumeric... ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^((January)|(February)|(March)|(April)|(May)|(June)|(July)|(August)|(September)|(October)|(November)|(December)|(Jan)|(Feb)|(Mar)|(Apr)|(May)|(Jun)|(Jul)|(Aug)|(Sep)|(Oct)|(Nov)|(Dec))(-|/|\s)(\d+)((,?\s+|-|/)(\d+))?\b": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d+)(-|/|\.?\s*)((January)|(February)|(March)|(April)|(May)|(June)|(July)|(August)|(September)|(October)|(November)|(December)|(Jan)|(Feb)|(Mar)|(Apr)|(May)|(Jun)|(Jul)|(Aug)|(Sep)|(Oct)|(Nov)|(Dec))((,?\s*|-|/)(\d+))?\b": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d\d\d\d)(\d\d)(\d\d)(:\d\d\d\d\d\d(\.\d*)?)?\s*$": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d\d\d\d)(-?)(\d\d)\2(\d\d)T\d+(:?)\d+(\5\d+(\.\d*)?)?(Z)\s*$": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d\d\d\d)[-/.](\d+)[-/.](\d+)\b": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d\d\d\d)[-/.]((Jan)|(Feb)|(Mar)|(Apr)|(May)|(Jun)|(Jul)|(Aug)|(Sep)|(Oct)|(Nov)|(Dec))[-/.](\d+)\b": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d+)[-/.](\d+)[-/.](\d+)\b": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d+)([-/.])(\d+)\b": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(((\d+):)?(\d+):)?(\d+\.\d*)\s*$": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d+):(\d+)(:(\d+))?\s*$": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d\d)(\d\d)(\d\d)?(\.\d*)?\s*$": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d+)(:(\d+)(:(\d+(\.\d*)?))?)?\s*((am)|(pm))\s*$": Invalid pattern. -- I've seen things, you people wouldn't believe; Gopher, Netscape with frames, the first Browser Wars. Searching for pages with AltaVista, pop-up windows self-replicating, trying to uninstall RealPlayer. All those moments, will be lost in time like tears in rain... time to die.
Re: [gentoo-user] Major problems with libpcre / UTF8
On 12/15/22 21:52, Walter Dnes wrote: > I just finished solving my babl problems, but more stuff shows up in > libpcre. First, here are my USE flags. I don't see "utf8" anywhere. > > Calculating dependencies... done! > [ebuild R ] dev-libs/libpcre-8.45-r1:3::gentoo USE="bzip2 cxx jit readline (split-usr) (unicode) zlib -libedit -pcre16 -pcre32 -static-libs" 0 KiB > > Can someone give me their output from "emerge -pv1 dev-libs/libpcre" > > mc (Midnight Commander) spews out a lot of... > > (mc:5796): GLib-CRITICAL **: 15:19:15.617: PCRE library is compiled without UTF8 support > > Application windows have every second character missing in the window > title; e.g. "xterm" shows as "xem". I have a spreasheet that tracks my > Presto card usage. The title has gone from "presto.gnumeric-Gnumeric" to > "pet.nmrc-Guei'. Various PCRE-based searches fail in vaious apps. HELP! # emerge -pv1 dev-libs/libpcre These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/libpcre-8.45-r1:3::gentoo USE="bzip2 cxx jit readline (split-usr) (unicode) zlib -libedit -pcre16 -pcre32 -static-libs" ABI_X86="(64) -32 (-x32)" 1,542 KiB # cat /etc/locale.gen en_US ISO-8859-1 en_US.UTF-8 UTF-8 it_IT ISO-8859-1 it_IT.UTF-8 UTF-8
Re: [gentoo-user] Major problems with libpcre / UTF8
On Thu, 2022-12-15 at 15:52 -0500, Walter Dnes wrote: > Can someone give me their output from "emerge -pv1 dev-libs/libpcre" I don't have advice for your specific issue, but, as requested: [ebuild R] dev-libs/libpcre-8.45-r1:3::gentoo USE="bzip2 cxx jit -libedit -pcre16 -pcre32 readline (split-usr) -static-libs (unicode) zlib" ABI_X86="-32 (64) (-x32)" 0 KiB equery depends libpcre shows: app-admin/syslog-ng-3.38.1 (>=dev-libs/libpcre-6.1) dev-libs/rasqal-0.9.33 (pcre ? dev-libs/libpcre) media-libs/libpulse-16.1-r1 (elibc_mingw ? dev-libs/libpcre:3) media-sound/pulseaudio-daemon-16.1-r3 (elibc_mingw ? dev- libs/libpcre:3) net-analyzer/nmap-7.93 (dev-libs/libpcre) sys-apps/grep-3.7 (pcre ? >=dev-libs/libpcre-7.8-r1) (pcre ? >=dev-libs/libpcre-7.8-r1[static-libs(+)]) xfce-base/thunar-4.16.11 (pcre ? >=dev-libs/libpcre-6)
[gentoo-user] Major problems with libpcre / UTF8
I just finished solving my babl problems, but more stuff shows up in libpcre. First, here are my USE flags. I don't see "utf8" anywhere. Calculating dependencies... done! [ebuild R] dev-libs/libpcre-8.45-r1:3::gentoo USE="bzip2 cxx jit readline (split-usr) (unicode) zlib -libedit -pcre16 -pcre32 -static-libs" 0 KiB Can someone give me their output from "emerge -pv1 dev-libs/libpcre" mc (Midnight Commander) spews out a lot of... (mc:5796): GLib-CRITICAL **: 15:19:15.617: PCRE library is compiled without UTF8 support Application windows have every second character missing in the window title; e.g. "xterm" shows as "xem". I have a spreasheet that tracks my Presto card usage. The title has gone from "presto.gnumeric-Gnumeric" to "pet.nmrc-Guei'. Various PCRE-based searches fail in vaious apps. HELP! BTW, here's what I get when opening a complex spreadsheet in gnumeric... ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^((January)|(February)|(March)|(April)|(May)|(June)|(July)|(August)|(September)|(October)|(November)|(December)|(Jan)|(Feb)|(Mar)|(Apr)|(May)|(Jun)|(Jul)|(Aug)|(Sep)|(Oct)|(Nov)|(Dec))(-|/|\s)(\d+)((,?\s+|-|/)(\d+))?\b": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d+)(-|/|\.?\s*)((January)|(February)|(March)|(April)|(May)|(June)|(July)|(August)|(September)|(October)|(November)|(December)|(Jan)|(Feb)|(Mar)|(Apr)|(May)|(Jun)|(Jul)|(Aug)|(Sep)|(Oct)|(Nov)|(Dec))((,?\s*|-|/)(\d+))?\b": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d\d\d\d)(\d\d)(\d\d)(:\d\d\d\d\d\d(\.\d*)?)?\s*$": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d\d\d\d)(-?)(\d\d)\2(\d\d)T\d+(:?)\d+(\5\d+(\.\d*)?)?(Z)\s*$": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d\d\d\d)[-/.](\d+)[-/.](\d+)\b": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d\d\d\d)[-/.]((Jan)|(Feb)|(Mar)|(Apr)|(May)|(Jun)|(Jul)|(Aug)|(Sep)|(Oct)|(Nov)|(Dec))[-/.](\d+)\b": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d+)[-/.](\d+)[-/.](\d+)\b": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d+)([-/.])(\d+)\b": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(((\d+):)?(\d+):)?(\d+\.\d*)\s*$": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d+):(\d+)(:(\d+))?\s*$": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d\d)(\d\d)(\d\d)?(\.\d*)?\s*$": Invalid pattern. ** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx "^(\d+)(:(\d+)(:(\d+(\.\d*)?))?)?\s*((am)|(pm))\s*$": Invalid pattern. -- I've seen things, you people wouldn't believe; Gopher, Netscape with frames, the first Browser Wars. Searching for pages with AltaVista, pop-up windows self-replicating, trying to uninstall RealPlayer. All those moments, will be lost in time like tears in rain... time to die.
RE: [gentoo-user] Gaming on gentoo
Note that some programs will dynamically load libraries at runtime, in addition to being linked against them at build time. These don’t necessarily show up in ldd. (Qt is horrible about this) Enabling core dumps or running under a debugger might shed some light on what’s going on. If that doesn’t work easily then check the project documentation to see if they have a special debugging workflow. Some game engines require a very specific debugging setup for the output to make any sense. LMP From: Artur Tamm Sent: Wednesday, December 14, 2022 1:13 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Gaming on gentoo Hi, I finally had the time to test quakespasm. I tried both the binary from the project as well as the version compiled by me from the project page on github. After copying the binary into quake folder (GoG version) and making symlinks to pak0.pak and pak1.pak (filesystem is case sensitive and the software cannot handle it). It worked fine. Artur Here is the ldd output (don't know if it helps) ldd quakespasm_compiled linux-vdso.so.1 (0x7ffe3bd52000) libm.so.6 => /lib64/libm.so.6 (0x7f2cd37c) libGL.so.1 => /usr/lib64/libGL.so.1 (0x7f2cd373a000) libvorbisfile.so.3 => /usr/lib64/libvorbisfile.so.3 (0x7f2cd373) libvorbis.so.0 => /usr/lib64/libvorbis.so.0 (0x7f2cd3702000) libogg.so.0 => /usr/lib64/libogg.so.0 (0x7f2cd36f7000) libmad.so.0 => /usr/lib64/libmad.so.0 (0x7f2cd36d4000) libSDL-1.2.so.0 => /usr/lib64/libSDL-1.2.so.0 (0x7f2cd3668000) libc.so.6 => /lib64/libc.so.6 (0x7f2cd346b000) /lib64/ld-linux-x86-64.so.2 (0x7f2cd3db6000) libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x7f2cd33b3000) libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x7f2cd337f000) libasound.so.2 => /usr/lib64/libasound.so.2 (0x7f2cd328f000) libdl.so.2 => /lib64/libdl.so.2 (0x7f2cd328a000) libpthread.so.0 => /lib64/libpthread.so.0 (0x7f2cd3283000) libX11.so.6 => /usr/lib64/libX11.so.6 (0x7f2cd313f000) libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x7f2cd3115000) libXau.so.6 => /usr/lib64/libXau.so.6 (0x7f2cd311) libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x7f2cd3108000) libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x7f2cd30ef000) libmd.so.0 => /usr/lib64/libmd.so.0 (0x7f2cd30e1000) On Tue, 13 Dec 2022 at 14:24, Alan Ianson mailto:agian...@gmail.com>> wrote: On Tue, 13 Dec 2022 13:49:54 + Artur Tamm mailto:artur.tamm...@gmail.com>> wrote: > sourceforge tarball was a prebuilt binary (at least the one I downloaded). The source is there too in a different directory. > I saw that the source code is here: > https://github.com/sezero/quakespasm/tree/master/Quake > The default Makefile might need some editing for a successful compilation. I just grabbed the linux-64 archive from sourceforge. I have never run the prebuilt binaries before but I tried it just to see what would happen. The quakespasm-sdl2 segfaulted the same as my own build but the quakespasm (sdl I suppose?) does run here. So that is something! I can run their sdl quakespasm but not my own built here. That is better than nothing but I'd still like to hear about your experience. I'd be happy if I could build and run my own if I can figure out what the issue is.