[gentoo-user] Permanent workaround for x11-libs/libxcb build problem
Some machines (e.g. my laptop) experience problems when building the package x11-libs/libxcb = Traceback (most recent call last): File "/var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py", line 3395, in module.generate() File "/usr/lib/python3.11/site-packages/xcbgen/state.py", line 131, in generate item.out(name) File "/var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py", line 3212, in c_request _man_request(self, name, void=not self.reply, aux=False) File "/var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1/src/c_client.py", line 2676, in _man_request f.write('%s \\- %s\n' % (func_name, brief)) UnicodeEncodeError: 'latin-1' codec can't encode character '\u201c' in position 68: ordinal not in range(256) make[1]: *** [Makefile:1425: composite.c] Error 1 make[1]: *** Waiting for unfinished jobs make[1]: Leaving directory '/var/tmp/portage/x11-libs/libxcb-1.16.1/work/libxcb-1.16.1-abi_x86_64.amd64/src' make: *** [Makefile:799: all-recursive] Error 1 ERROR: x11-libs/libxcb-1.16.1::gentoo failed (compile phase): emake failed = Every so often libxcb gets (re)built and this error pops up. It's always vaguely familiar, so I dig through my gentoo list email, and figure out that libxcb wants 'LC_ALL="C"' and set it for that one time. I got tired of re-doing this all the time. This problem is a textbook example for package.env. Two one-line files solve the error permanently. Make sure that you've created directories "/etc/portage/package.env/" and "/etc/portage/env/". Here are the two one-line files. [thimk2][root][~] cat /etc/portage/env/libxcb.conf LC_ALL="C" [thimk2][root][~] cat /etc/portage/package.env/package.env x11-libs/libxcb libxcb.conf If you're already using package.env, add the line... x11-libs/libxcb libxcb.conf ...to your existing package.env file. -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] Re: New profiles 23.0
Thanks for the help. I've migrated my 3 operating Gentoo machines; main desktop, backup desktop, and an old used Lenovo Thinkpad X201. The poor thing was thrashing away for over 18 hours with 657 packages on the emerge --emptytree!!! And that's after using a homebrew bash script to select the max available speed on the CPU. "time" output... > real1086m47.440s > user1732m29.120s > sys 146m54.026s > > I got the news item when I ran "emerge --sync". My understanding is > > that step 1 in the news item says "Please also update your system > > fully and depclean before proceeding" so I should update world > > first. > > Yes. And depclean. I ended up unmerging specific items manually. Depclean is "rather agressive", and wants to remove all but the latest kernel, *EVEN A KERNEL THAT I'M CURRENTLY USING*. I'm currently on 6.1.67... [x8940][waltdnes][~] eselect kernel list Available kernel symlink targets: [1] linux-6.1.57-gentoo [2] linux-6.1.67-gentoo * [3] linux-6.6.13-gentoo [4] linux-6.6.21-gentoo I ran into the Intel integrated graphics problem described in... https://discussion.fedoraproject.org/t/f39-kernel-6-6-x-no-video-on-intel-integrated-graphics/98360 His solution... > I was filling out the details for a bug report. Under the description, > it asked if I have tried rawhide. I installed 6.7.0-0.rc4.35.fc40 > and it fixed the issue! This appears to be a bug in the 6.6.x kernels, which is fixed in 6.7.x. My 2 desktops and the Thinkpad all have integrated Intel graphics, so I'll sit at 6.1.67 until 6.7.x, or higher, goes stable. /var/db/repos/gentoo/sys-kernel/gentoo-kernel/gentoo-kernel-6.7.10.ebuild is already present, but is keyworded "~amd64". -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] New profiles 23.0
On Tue, Mar 26, 2024 at 04:21:23PM +, Michael wrote > On Tuesday, 26 March 2024 15:21:32 GMT Walter Dnes wrote: > > I assume my system is already "merged-usr". Current profile... > > > > [12] default/linux/amd64/17.1/no-multilib (exp) * > > > > I just ran "emerge --sync" and got the profile news item. So do I > > update world and then update profile? > > No! Good thing I asked. > Please check the migration instructions for profile 23 as provided in > the news item. You must follow the steps suggested in the order they > are written *and* you must select the correct profile. The profile > you show above is split-usr, which was the default. Thanks for the clarification. So my system is considered "split-usr", regardless of everything being on one partition. I got the news item when I ran "emerge --sync". My understanding is that step 1 in the news item says "Please also update your system fully and depclean before proceeding" so I should update world first. Since I'm currently on profile "default/linux/amd64/17.1/no-multilib" then I should migrate to profile "default/linux/amd64/23.0/split-usr/no-multilib" as per the news item. Migrating from there to "default/linux/amd64/23.0/no-multilib" is a separate process as per the Gentoo wiki. Is my understanding correct? -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] New profiles 23.0
On Tue, Mar 26, 2024 at 11:21:32AM -0400, Walter Dnes wrote > I'm AMD64 stable OpenRC. I got tired of dicking around resizing > partitions years ago, so I have all data and binaries in one honking > big partition. Also separate partitions for UEFI and swap. I assume > my system is already "merged-usr". Current profile... > > [12] default/linux/amd64/17.1/no-multilib (exp) * > > I just ran "emerge --sync" and got the profile news item. So do I > update world and then update profile? emerge -pv has 3 interesting > lines... > > dev-libs/libaio-0.3.113-r1::gentoo [0.3.113::gentoo] USE="-static-libs -test > (-split-usr%*)" 0 KiB > > sys-apps/attr-2.5.2-r1::gentoo [2.5.1-r2::gentoo] USE="nls -debug > -static-libs (-split-usr%*)" 327 KiB > > sys-apps/coreutils-9.4-r1::gentoo [9.4::gentoo] USE="nls openssl (split-usr) > xattr -acl -caps -gmp -hostname -kill -multicall (-selinux) -static -test > -vanilla -verify-sig" 0 KiB > > coreutils forces "split-usr" on, while the other 2 force it off. Any > booby-traps to watch out for before proceeding? Oops, also add... net-firewall/iptables-1.8.10:0/1.8.3::gentoo [1.8.9:0/1.8.3::gentoo] USE="(split-usr) -conntrack -netlink -nftables -pcap -static-libs -test%" 627 KiB -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] New profiles 23.0
I'm AMD64 stable OpenRC. I got tired of dicking around resizing partitions years ago, so I have all data and binaries in one honking big partition. Also separate partitions for UEFI and swap. I assume my system is already "merged-usr". Current profile... [12] default/linux/amd64/17.1/no-multilib (exp) * I just ran "emerge --sync" and got the profile news item. So do I update world and then update profile? emerge -pv has 3 interesting lines... dev-libs/libaio-0.3.113-r1::gentoo [0.3.113::gentoo] USE="-static-libs -test (-split-usr%*)" 0 KiB sys-apps/attr-2.5.2-r1::gentoo [2.5.1-r2::gentoo] USE="nls -debug -static-libs (-split-usr%*)" 327 KiB sys-apps/coreutils-9.4-r1::gentoo [9.4::gentoo] USE="nls openssl (split-usr) xattr -acl -caps -gmp -hostname -kill -multicall (-selinux) -static -test -vanilla -verify-sig" 0 KiB coreutils forces "split-usr" on, while the other 2 force it off. Any booby-traps to watch out for before proceeding? -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] How do I zap a specific area of a gnumeric spreadsheet page?
On Fri, Mar 22, 2024 at 05:52:04PM +1100, Paul Colquhoun wrote > Bash can do patern substitution in variable references. > > Replace accum3=$(( ${accum3} + ${dataarray[3]} )) > with accum3=$(( ${accum3} + ${dataarray[3]/'.'/0} )) > > and similarly with the other lines and any array value of '.' will > be replaced with a '0' Replacing "." with a zero is not the problem. I already do this at the top of the script with "sed"... sed "s/\"\.\"/0/g" region_hospital_icu_covid_data.csv > region_hospital_icu_covid_datax.csv The problem is that a certain range of valid-looking zero sums in the summary output is actually invalid and has to be zapped. I was originally hoping to wipe that range with a macro after importing it into gnumeric. "Plan B" is to tweak the way that a certain date range gets written out. Note the difference starting at 2023-09-09... 2023-09-06,28,10,568,31,12,3,2 2023-09-07,30,6,594,33,8,3,2 2023-09-08,33,7,600,31,11,-2,4 2023-09-09,0,0,628,0,0,0,0 2023-09-10,0,0,657,0,0,0,0 2023-09-11,0,0,625,0,0,0,0 2023-09-06,28,10,568,31,12,3,2 2023-09-07,30,6,594,33,8,3,2 2023-09-08,33,7,600,31,11,-2,4 2023-09-09,,,628,0,0,0,0 2023-09-10,,,657,0,0,0,0 2023-09-11,,,625,0,0,0,0 Gnumeric imports it OK with nothing in the cells that have missing data in the source. While this isn't the way I had originally intended, it works, which is what matters. In the revised script, note the filter... if [ "${prevdate}" \< "2023-09-09" ] || [ "${prevdate}" \> "2023-10-20" ] One advantage of -MM-DD date format is that I can do straight string comparisons. Here's the revised script... == # Strip out missing "." that screw up the script sed "s/\"\.\"/0/g" region_hospital_icu_covid_data.csv > region_hospital_icu_covid_datax.csv dos2unix -n region_hospital_icu_covid_datax.csv region_hospital_icu_covid_datay.csv # # tail skips headers at beginning of file # sed deletes Row_ID, and strips out quotes # Output goes to file /dev/shm/temp0.txt tail -n +2 region_hospital_icu_covid_datay.csv | sed "s/\"//g" | sort > /dev/shm/temp0.txt # ## Set up IFS for easier parsing oldifs="${IFS}" IFS="," # # Initialize previous line's date to enter loop smoothly # expando to read first line dataline=$( head -1 /dev/shm/temp0.txt ) dataarray=(${dataline}) prevdate="${dataarray[0]}" # # Zero out accumulators to enter loop smoothly accum2=0 accum3=0 accum4=0 accum5=0 accum6=0 accum7=0 accum8=0 # # Remove previous hospsum.csv and open a new one for writing rm -rf hospsum.csv exec 3>hospsum.csv # # Write header line to output file echo "date,icu_current_covid,icu_current_covid_vented,hospitalizations,icu_crci_total,icu_crci_total_vented,icu_former_covid,icu_former_covid_vented" >&3 # # Main loop # Read the data from one line in /dev/shm/temp0.txt while read do dataarray=(${REPLY}) if [ "${dataarray[0]}" = "${prevdate}" ]; then # # If this line's date is same as previous line's date, add amounts to accumulators. accum2=$(( ${accum2} + ${dataarray[2]} )) accum3=$(( ${accum3} + ${dataarray[3]} )) accum4=$(( ${accum4} + ${dataarray[4]} )) accum5=$(( ${accum5} + ${dataarray[5]} )) accum6=$(( ${accum6} + ${dataarray[6]} )) accum7=$(( ${accum7} + ${dataarray[7]} )) accum8=$(( ${accum8} + ${dataarray[8]} )) else # # If this line's date has changed, output to hospsum.csv, update prevdate, # and update accumulators. ***IMPORTANT*** "echo" TO hospsum.csv MUST BE # EXECUTED BEFORE UPDATING ACCUMULATORS AND prevdate*** # # Data *NOT* in range 2023-09-09 ... 2023-10-20 is written out in full. # Data in that range gets null data for ${accum2} and ${accum3} if [ "${prevdate}" \< "2023-09-09" ] || [ "${prevdate}" \> "2023-10-20" ] then echo "${prevdate},${accum2},${accum3},${accum4},${accum5},${accum6},${accum7},${accum8}" >&3 else echo "${prevdate},,,${accum4},${accum5},${accum6},${accum7},${accum8}" >&3 fi prevdate="${dataarray[0]}" accum2=${dataarray[2]} accum3=${dataarray[3]} accum4=${dataarray[4]} accum5=${dataarray[5]} accum6=${dataarray[6]} accum7=${dataarray[7]} accum8=${dataarray[8]} fi done
Re: [gentoo-user] How do I zap a specific area of a gnumeric spreadsheet page?
On Thu, Mar 21, 2024 at 11:02:21PM +0100, Frank Steinmetzger wrote > Why not make the alteration one step before -- in the CSV? There are > CSV abstraction tools like `q`, which gives you a SQL-like interface > to a csv file. Or you could write a quick transformer in python, > if you know the language a bit. I wrote a quick transformer in bash, because I know the language a bit . There are six "hospital regions" in Ontario. The CSV file does all data for one "hospital region" April 1, 2020 to present, followed by same for next hospital region, etc, etc, for all 6 regions. My first step is to run dos2unix and sort by date, ending up with 6 consecutive lines per day, sorted by date. Then a "while" loop reads through the input CSV file. Accumulators are added up for all 6 lines and a line is written out for each date. Because I'm doing bash arithmetic, the data *MUST* be valid numbers, not ".". So I *MUST* set missing data to somthing like zero. Adding "." to a number causes bash to error out with a CSV file like so... "2023-09-05","CENTRAL",5,2,152,6,3,1,1 "2023-09-06","CENTRAL",5,2,136,6,3,1,1 "2023-09-07","CENTRAL",7,1,158,8,2,1,1 "2023-09-08","CENTRAL",7,3,154,6,3,-1,0 "2023-09-09","CENTRAL",".",".",169,".",".",".","." "2023-09-10","CENTRAL",".",".",169,".",".",".","." "2023-09-11","CENTRAL",".",".",155,".",".",".","." "2023-09-12","CENTRAL",".",".",147,".",".",".","." The magic incantation for CSV files is to set IFS to a comma like so... oldifs="${IFS}" IFS="," This allows parsing CSV files like so... while read do dataarray=(${REPLY}) ...and, kaboom, you have a fully populated array from reading one line of a CSV file. The following "transformer" is my "parsehospicu" script that summarizes the data to "hospsum.csv". Note: I've deleted the leading "shebang slash bin slash bash" line because the Gentoo mailing list software doesn't seem to like "executable emails". I suppose I could have two different versions of the... echo "${prevdate}... ...line inside of an if/then/else/fi construct. It would depend on the date being inside the "missing data range". === # Strip out missing "." that screw up the script sed "s/\"\.\"/0/g" region_hospital_icu_covid_data.csv > region_hospital_icu_covid_datax.csv dos2unix -n region_hospital_icu_covid_datax.csv region_hospital_icu_covid_datay.csv # # tail skips headers at beginning of file # sed deletes Row_ID, and strips out quotes # Output goes to file /dev/shm/temp0.txt tail -n +2 region_hospital_icu_covid_datay.csv | sed "s/\"//g" | sort > /dev/shm/temp0.txt # ## Set up IFS for easier parsing oldifs="${IFS}" IFS="," # # Initialize previous line's date to enter loop smoothly # expando to read first line dataline=$( head -1 /dev/shm/temp0.txt ) dataarray=(${dataline}) prevdate="${dataarray[0]}" # # Zero out accumulators to enter loop smoothly accum2=0 accum3=0 accum4=0 accum5=0 accum6=0 accum7=0 accum8=0 # # Remove previous hospsum.csv and open a new one for writing rm -rf hospsum.csv exec 3>hospsum.csv # # Write header line to output file echo "date,icu_current_covid,icu_current_covid_vented,hospitalizations,icu_crci_total,icu_crci_total_vented,icu_former_covid,icu_former_covid_vented" >&3 # # Main loop # Read the data from one line in /dev/shm/temp0.txt while read do dataarray=(${REPLY}) if [ "${dataarray[0]}" = "${prevdate}" ]; then # # If this line's date is same as previous line's date, add amounts to accumulators. accum2=$(( ${accum2} + ${dataarray[2]} )) accum3=$(( ${accum3} + ${dataarray[3]} )) accum4=$(( ${accum4} + ${dataarray[4]} )) accum5=$(( ${accum5} + ${dataarray[5]} )) accum6=$(( ${accum6} + ${dataarray[6]} )) accum7=$(( ${accum7} + ${dataarray[7]} )) accum8=$(( ${accum8} + ${dataarray[8]} )) else # # If this line's date has changed, output to hospsum.csv, update prevdate, # and update accumulators. ***IMPORTANT*** "echo" TO hospsum.csv MUST BE # EXECUTED BEFORE UPDATING ACCUMULATORS AND prevdate*** echo "${prevdate},${accum2},${accum3},${accum4},${accum5},${accum6},${accum7},${accum8}" >&3 prevdate="${dataarray[0]}" accum2=${dataarray[2]} accum3=${dataarray[3]} accum4=${dataarray[4]} accum5=${dataarray[5]} accum6=${dataarray[6]} accum7=${dataarray[7]} accum8=${dataarray[8]} fi done
[gentoo-user] How do I zap a specific area of a gnumeric spreadsheet page?
The province of Ontario does weekly Covid data updates which I summarize and post on the DSLReports Canchat subforum, e.g. https://www.dslreports.com/forum/r33854514-#google_vignette Note the data gap in the pink and brown lines on the 3rd and 4th graphs. That's actual missing data. In the underlying spreadsheet page those gaps initially show up as zeros. I manually blank out region B1258:C1299 (i.e. 2023/09/09 to 2023/10/20) every week when I update so that it doesn't show up as zero hospitalizations. How do I set up and execute a macro to to zap the contents of region B1258:C1299 on a page? I've recently solved another problem with the COVID data that I mentioned in the past. The data files could be downloaded by a browser but "wget" was being rejected. The data keepers seem to be filtering based on the default "wget" user agent. I've bypassed that by faking a valid browser user agent... any valid browser user agent. #!/bin/bash rm -rf conposcovidloc.csv wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0" https://data.ontario.ca/dataset/f4112442-bdc8-45d2-be3c-12efae72fb27/resource/455fd63b-603d-4608-8216-7d8647f43350/download/conposcovidloc.csv #!/bin/bash rm -rf region_hospital_icu_covid_data.csv wget --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0" https://data.ontario.ca/dataset/8f3a449b-bde5-4631-ada6-8bd94dbc7d15/resource/e760480e-1f95-4634-a923-98161cfb02fa/download/region_hospital_icu_covid_data.csv Note that I have to first remove the previous week's file, because wget won't overwrite it, and skips the download altogether. -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
On Sun, Mar 10, 2024 at 08:43:46PM +0100, ralfconn wrote > Given the warning message reported by Peter ("Enable USE=clang unless > you have a very good reason not to.") That message comes from sys-libs/compiler-rt which is a dedicated runtime lib for clang. It makes sense to use clang if you're building the clang toolchain... just like using gcc if you're building the gcc toolchain. -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] Re: is a global use flag necessary for python?
On Sun, Mar 10, 2024 at 06:43:56PM -, Grant Edwards wrote > Just back up your user data and re-install. Also back up /etc/ for your app configs and stuff like hosts and resolve.conf and make.ccnf and package.use and package.mask etc. And remember /var/lib/. /var/lib/portage/ has your sets including world. /var/lib/iptables and /var/lib/ip6tables have your firewall rules. The files from /etc/ and /var/lib/ should be checked before blindly dumping them into your new machine. -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] is a global use flag necessary for python?
Sorry; that is over my head. When did you last upgrade? The error messages talk about python 3.8. But on my machine it looks like 3.11 and 3.12 are current... [x8940][waltdnes][~] find /usr/bin -name python3\.* /usr/bin/python3.12 /usr/bin/python3.12-config /usr/bin/python3.11 /usr/bin/python3.11-config What do you get when you run... find /usr/bin -name python3\.* -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
On Sat, Mar 09, 2024 at 09:16:37PM +, Peter Humphrey wrote > On Saturday, 9 March 2024 19:37:40 GMT Walter Dnes wrote: > > > On Sat, Mar 09, 2024 at 02:45:02PM +, Peter Humphr > > The real question is what else, besides clang and its libraries, > are you building that requires clang? > > Firefox. Upstream in this same thread... On Sat, Mar 09, 2024 at 08:04:06AM +, Wols Lists wrote > On 03/03/2024 23:13, Carsten Hauck wrote: > > > > Some time ago on one of my machines Thunderbird and Firefox stopped to > > compile with USE="clang". As they can be build with gcc I never digged > > too deep into that problem but maybe it's worth a shot. > > For anyone else who hits this sort of problem, I did an > > USE=-clang emerge --update @world > > (firefox and thunderbird were the only programs I thought this would > touch), and it worked. > > There were a couple of other programs that I guess got pulled in by the > changed use, but they've upgraded which is the main thing. > > Thank you very much So there are at least 2 people who've found out that Firefox can and *MUST* be built with USE="-clang". -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] is a global use flag necessary for python?
On Sat, Mar 09, 2024 at 07:55:13PM +0100, n952162 wrote > Hello all, > > I just synced my system after a long delay, That's your problem right there. > Is there a way to do it globally? First of all python targets should not need to be mentioned in make.conf or package.use. Gentoo manages versions automatically... if you update often enough. First thing to do is update python so programs have somthing up-to-date to build against. Try... emerge -1 python ...and then update world. -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
On Sat, Mar 09, 2024 at 02:45:02PM +, Peter Humphrey wrote > >>> Running pre-merge checks for sys-libs/compiler-rt-18.1.0 > * Building using a compiler other than clang may result in broken atomics > * library. Enable USE=clang unless you have a very good reason not to. According to https://packages.gentoo.org/packages/sys-libs/compiler-rt "sys-libs/compiler-rt" is a "Compiler runtime library for clang (built-in part)" so like... dohhh. Use clang to support clang. The real question is what else, besides clang and its libraries, are you building that requires clang? > Does the compiler-rt ebuild override USE in make.conf? You can build it with USE="-clang", but that defeats the entire purpose of building compiler-rt. -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] Emerge trouble with firefox and thunderbird ...
On Sat, Mar 09, 2024 at 08:04:06AM +, Wols Lists wrote > For anyone else who hits this sort of problem, I did an > > USE=-clang emerge --update @world > > (firefox and thunderbird were the only programs I thought this would > touch), and it worked. I have "-clang" in USE in make.conf and no problems resulting from it. clang seems to be another "solution in search of a problem" along the lines of rust and cups and systemd and hatbuzz, etc, which keep trying to worm their way into everybody's linux system. -- Roses are red Roses are blue Depending on their velocity Relative to you
[gentoo-user] [SOLVED] Problem with "GRUB upgrades" news item
On Wed, Mar 06, 2024 at 07:45:40AM +0100, Arve Barsnes wrote > > Specifically in your case, Walter, that would be --efi-directory=/boot Thank you very much. A screen capture... [i3][root][~] grub-install --efi-directory=/boot Installing for x86_64-efi platform. Installation finished. No error reported. [i3][root][~] grub-install --efi-directory=/boot --removable Installing for x86_64-efi platform. Installation finished. No error reported. -- Roses are red Roses are blue Depending on their velocity Relative to you
[gentoo-user] Problem with "GRUB upgrades" news item
I've got a UEFI system. According to the news item... > Re-runing grub-install both with and without the --removable option > should ensure a working GRUB installation. I tried that... [i3][root][~] grub-install Installing for x86_64-efi platform. grub-install: error: cannot find EFI directory. [i3][root][~] grub-install --removable Installing for x86_64-efi platform. grub-install: error: cannot find EFI directory. Oops! My EFI directory... [i3][root][~] ll /boot/EFI/ total 2 drwxr-xr-x 3 root root 512 Jun 11 2021 . drwxr-xr-x 4 root root 1024 Dec 31 1969 .. drwxr-xr-x 2 root root 512 Jun 11 2021 gentoo Any ideas? -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] "xset dpms" not working
On Sun, Feb 18, 2024 at 09:01:04AM +, Michael wrote > > Are you using a Display Port, or HDMI connection perhaps? Modern > monitors come with their own onboard chipset which may lose sync with > the PC. I've experience the opposite with mine when I first bought it > and thought the PC had crashed ... :-) HDMI port according to the message on the display. Another quirk when the blanking works and the screen is dark. Every several minutes the entire screen goes bright blue for a few seconds and then returns to dark for the next several minutes. -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] "xset dpms" not working
On Sat, Feb 17, 2024 at 08:21:42PM -0500, Walter Dnes wrote > Regardless of the above, the monitor does not blank after 10 minutes > (i.e. 600 seconds). If I run "xset dpms force off" from xterm (both as > local user and as root), the display goes dark... for approximately 1 > second... and then returns to normal. So I turned the monitor off with the physical switch, took a nap, and turned it on when I got up. Now the blanking works again. Cue the Microsoft support jokes. What gives??? -- Roses are red Roses are blue Depending on their velocity Relative to you
[gentoo-user] "xset dpms" not working
My settings... [x8940][waltdnes][~] xset q Keyboard Control: auto repeat: onkey click percent: 0LED mask: 0002 XKB indicators: 00: Caps Lock: off01: Num Lock:on 02: Scroll Lock: off 03: Compose: off04: Kana:off05: Sleep: off 06: Suspend: off07: Mute:off08: Misc:off 09: Mail:off10: Charging:off11: Shift Lock: off 12: Group 2: off13: Mouse Keys: off auto repeat delay: 660repeat rate: 25 auto repeating keys: 00ffdbbf fadfffefffed 9fff fff7 bell percent: 50bell pitch: 400bell duration: 100 Pointer Control: acceleration: 2/1threshold: 4 Screen Saver: prefer blanking: yesallow exposures: yes timeout: 600cycle: 600 Colors: default colormap: 0x20BlackPixel: 0x0WhitePixel: 0xff Font Path: /usr/share/fonts/misc,/usr/share/fonts/100dpi,built-ins,/usr/share/fonts/misc DPMS (Display Power Management Signaling): Standby: 600Suspend: 601Off: 602 DPMS is Enabled Monitor is On Regardless of the above, the monitor does not blank after 10 minutes (i.e. 600 seconds). If I run "xset dpms force off" from xterm (both as local user and as root), the display goes dark... for approximately 1 second... and then returns to normal. Don't know if this is relavant, but yesterday I was fighting a grocery delivery website for the better part of an hour trying to place a simple order. In the course of that, X crashed to a text tty commandline a few times. Calling support confirmed a nationwide problem at their end. The help desk guy was surprised that I managed to get my order through at all; it was that bad at their end. Anyhow, my order was delivered OK this morning. The DPMS issue started yesterday, so I wonder if it's related to the X crashes. -- Roses are red Roses are blue Depending on their velocity Relative to you
[gentoo-user] Re: [SOLVED?] Upgrade old laptop kernel 5.15.69 ==> 6.6.13; no console
On Sat, Feb 03, 2024 at 10:18:41AM +, Michael wrote > Try > switching to [*] the following: > > # CONFIG_SYSFB_SIMPLEFB is not set > > # CONFIG_DRM_SIMPLEDRM is not set > > # CONFIG_FB_SIMPLE is not set > > Then hopefully you'll get a console kicking in. It teased me. Text console present first part of bootup with the fast-scrolling output, then it disappears. It may be a kernel bug that's solved in the 6.7.x series, so I'll revert the changes and wait fpr a 6.7.x kernel to show up in "emerge --sync". See... https://discussion.fedoraproject.org/t/f39-kernel-6-6-x-no-video-on-intel-integrated-graphics/98360 ] I was filling out the details for a bug report. Under the description, ] it asked if I have tried rawhide. I installed 6.7.0-0.rc4.35.fc40 and ] it fixed the issue! > Also, unless you use an initrd don't forget any firmware blobs which > may be be needed by your graphics card and while you're at it add > your CPU microcode there too. The graphics is a bog standard Intel i915 integrated chip that's been running on the laptop for years without blobs. -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] Upgrade old laptop kernel 5.15.69 ==> 6.6.13; no console
I got linux-6.1.57-gentoo kernel built and working, but linux-6.6.13-gentoo still comes up with no console. Here's my latest .config attempt for 6.6.13 attached. Any ideas? -- Roses are red Roses are blue Depending on their velocity Relative to you config.gz Description: application/gzip
Re: [gentoo-user] Upgrade old laptop kernel 5.15.69 ==> 6.6.13; no console
On Fri, Feb 02, 2024 at 11:54:49AM -0500, Walter Dnes wrote > As per the subject line, I upgraded kernel 5.15.69 ==> 6.6.13. No > console on bootup, but I can ssh in. Fortunately I make it a habit to > keep the previous kernel around, so I can fall back to it. But I'd like > to get the latest kernel working. This is an old BIOS-boot Lenovo. > File-attached is the diff between the .config files from 5.15.69 to > 6.6.13 kernels. In "vim" or "less" go "/2191a2330,2331" and you'll get > to the beginning of the video stuff. Any ideas? Oops, forgot the attachment. Here it is... -- Roses are red Roses are blue Depending on their velocity Relative to you diff.txt.gz Description: application/gzip
[gentoo-user] Upgrade old laptop kernel 5.15.69 ==> 6.6.13; no console
As per the subject line, I upgraded kernel 5.15.69 ==> 6.6.13. No console on bootup, but I can ssh in. Fortunately I make it a habit to keep the previous kernel around, so I can fall back to it. But I'd like to get the latest kernel working. This is an old BIOS-boot Lenovo. File-attached is the diff between the .config files from 5.15.69 to 6.6.13 kernels. In "vim" or "less" go "/2191a2330,2331" and you'll get to the beginning of the video stuff. Any ideas? -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] Gentoo-kernel 6.6 -- how to install?
On Sat, Jan 27, 2024 at 08:09:03PM +0100, Arsen Arsenović wrote > Try installing installkernel with USE=grub and reporting what happens > when you try to config a dist-kernel. I run grub. My flags... [x8940][root][~] emerge -pv installkernel [ebuild R] sys-kernel/installkernel-18::gentoo USE="-dracut -grub -module-rebuild -systemd -uki -ukify" 0 KiB After building the kernel, I usually run a script that includes... the commands... cp arch/x86_64/boot/bzImage /boot/vmlinuz-experimental cp System.map /boot/System.map-experimental cp .config /boot/config-experimental WTF does this require a separate program now??? -- Roses are red Roses are blue Depending on their velocity Relative to you
[gentoo-user] Qustions about installkernel news item
https://www.gentoo.org/support/news-items/2024-01-18-installkernel-merge.html for those who haven't run across it yet. The news item mentions... > Previously sys-kernel/installkernel-gentoo provided kernel > installation automation for users of GRUB via USE=grub. I run grub (no dracut) under openrc but "emerge -pv installkernel" shows... [ebuild U ] sys-kernel/installkernel-18::gentoo [12::gentoo] USE="-dracut* -grub -module-rebuild% -systemd% -uki -ukify" 8 KiB Does this mean I can safely ignore it in my case? -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] [SOLVED] [OT] Anyone running mutt outbound smtp on port 587?
I'm back after several minutes backing up to two USB drives. On Tue, Jan 23, 2024 at 09:41:16PM +, Michael wrote > For SMTP server use: > > set smtp_url = "smtp://your_user_n...@www.cotse.net:465" Just one change... change "smtp://" to "smtps://", otherwise mutt won't connect... set smtp_pass="cotse_password" set smtp_url="smtps://cotse_use...@www.cotse.net:465" Sending a test message I got a prompt... This certificate belongs to: Sectigo RSA Domain Validation Secure Server CA Sectigo Limited Salford Greater Manchester GB yada, yada, yada It asked whether I wanted to (r)eject, accept (o)nce, accept (a)lways and I chose always. This post is coming to you via port 587 via fibre and via cotse.net. Thank you very much. I couldn't have done it without your deatailed help. -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] [SOLVED] [OT] Anyone running mutt outbound smtp on port 587?
On Tue, Jan 23, 2024 at 04:12:05PM +, Michael wrote > You can also try to set deprecated TLS protocols in ~/.muttrc > to see if this will allow for a successful connection: > > http://mutt.org/doc/manual/#ssl-use-tlsv1 Thanks. I commented out the "no" lines. TLS 1.1 failed, but TLS 1.0 seems to work... # set ssl_starttls=no # set ssl_force_tls=no set ssl_use_tlsv1=yes set smtp_url=smtp://smtp.ebox.ca:587 > You had a good crack at this, but TBH it would be easier and safer to > find an email hosting company who use up to date TLS certificates. ;-) I currently use cotse.net to handle incoming email. It's served me well, allowing me to keep the same email address over the years as I've changed ISPs. I could do outbound email through them, but I don't like webmail interfaces. Notice the mention of "mutt" in the subject. This post is coming to you via port 587 *VIA FIBRE*... whe! The support desk phoned this morning, and we went spelunking through the config menus of the fibre modem, and set it up. -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] [SOLVED] [OT] Anyone running mutt outbound smtp on port 587?
On Tue, Jan 23, 2024 at 09:36:13AM +, Michael wrote > Since gnutls is playing up with mutt, you can try setting USE="-gnutls" > and re-emerge mutt to see if it succeeds establishing a connection. If I emerge mutt with USE="-gnutls" and comment out "set ssl_starttls=no", email fails... [2024-01-23 09:38:07] Looking up smtp.ebox.ca... [2024-01-23 09:38:07] Connecting to smtp.ebox.ca... [2024-01-23 09:38:07] Connected to smtp.ebox.ca:587 on fd=4 [2024-01-23 09:38:07] 4< 220 smtp.ebox.ca ESMTP Postfix (Debian/GNU) [2024-01-23 09:38:07] 4> EHLO waltdnes.org [2024-01-23 09:38:07] 4< 250-smtp.ebox.ca [2024-01-23 09:38:07] 4< 250-PIPELINING [2024-01-23 09:38:07] 4< 250-SIZE 2000 [2024-01-23 09:38:07] 4< 250-VRFY [2024-01-23 09:38:07] 4< 250-ETRN [2024-01-23 09:38:07] 4< 250-STARTTLS [2024-01-23 09:38:07] 4< 250-ENHANCEDSTATUSCODES [2024-01-23 09:38:07] 4< 250-8BITMIME [2024-01-23 09:38:07] 4< 250 DSN [2024-01-23 09:38:07] 4> STARTTLS [2024-01-23 09:38:07] 4< 220 2.0.0 Ready to start TLS [2024-01-23 09:38:07] ssl_load_certificates: loading trusted certificates [2024-01-23 09:38:07] mutt_ssl_starttls: Error loading trusted certificates [2024-01-23 09:38:07] SSL failed: error:0A000102:SSL routines::unsupported protocol [2024-01-23 09:38:08] Could not negotiate TLS connection ssl_starttls (and ssl_force_tls) default to "yes" in muttrc. If ssl_starttls and ssl_force_tls are not explicitly set to "no", mutt *WILL* attempt a TLS connection if advertised. Whem mutt is built with USE="-gnutls" and attempts a TLS connection, let's just say "it does not end well". tldr; It's easier for me to build in gnutls support and then (un)comment one or two lines in ~/.mutt/muttrc as needed rather than... * pop up an xterm * su - (and enter password to root) * emerge mutt with appropriate flag(s) * exit to regular user -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] [SOLVED] [OT] Anyone running mutt outboung smtp on port 587?
On Mon, Jan 22, 2024 at 10:08:38PM +, Michael wrote > If your ISP *only* offers access from their own block of IPs, do > they refuse access to their SMTP server for legitimate subscribers > who move around and want to send messages from a different network? I don't know the answer to that one. > Anyway, if you disable TLS encryption then your communication with > the server is sent in the clear. It would be prudent to consider it > as a form of public communication, rather than private. I thought > email comms encryption and server authentication was ubiquitous for > decades now, but obviously I am wrong! :-) The message from my ISP about port 587 said... >> It has to be set with SSL, without any authentication. Does SSL help privacy at all? BTW, if mutt does *ANY* external ccommunication it seems to require the "ssl" USE flag. Trying... USE="-ssl" emerge -pv mutt ...on my system dies with... The following REQUIRED_USE flag constraints are unsatisfied: imap? ( ssl ) pop? ( ssl ) smtp? ( ssl ) This message coming to you via port 587 -- Roses are red Roses are blue Depending on their velocity Relative to you
[gentoo-user] [SOLVED] [OT] Anyone running mutt outboung smtp on port 587?
On Mon, Jan 22, 2024 at 03:24:44PM -0500, Walter Dnes wrote > On Tue, Jan 09, 2024 at 02:01:34PM -0500, Walter Dnes wrote > > I'll soon be switching over from cable to fibre. It's the same ISP, > > but I'll be needing to authenticate outbound email on port 587 (long > > story). > > Let's start this over again, because I was barking up the wrong > tree. Rather than ASS-uming stuff, I finally asked in my ISP's support > forum and they said... > > > Regarding the SMTP server, the port 587 works on any type of > > technology we are offering. It has to be set with SSL, without > > any authentication. Well, that was easy. *IN MY PARTICULAR CASE* I added 3 lines to muttrc... set ssl_starttls=no set ssl_force_tls=no set smtp_url=smtp://smtp.ebox.ca:587 ...and it works, at least on cable. -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] [OT] Anyone running mutt outboung smtp on port 587?
On Tue, Jan 09, 2024 at 02:01:34PM -0500, Walter Dnes wrote > I'll soon be switching over from cable to fibre. It's the same ISP, > but I'll be needing to authenticate outbound email on port 587 (long > story). Let's start this over again, because I was barking up the wrong tree. Rather than ASS-uming stuff, I finally asked in my ISP's support forum and they said... > Regarding the SMTP server, the port 587 works on any type of > technology we are offering. It has to be set with SSL, without > any authentication. It looks like they know the IP address ranges of their customers. I'll try again without authentication, and see what happens and get back with my results. "emerge -pv gnutls mutt" shows... [ebuild R] net-libs/gnutls-3.8.0:0/30.30::gentoo USE="cxx idn nls openssl seccomp tls-heartbeat tools zlib -brotli -dane -doc -examples -pkcs11 (-sslv2) (-sslv3) -static-libs -test (-test-full) -verify-sig -zstd" 0 KiB [ebuild R] mail-client/mutt-2.2.12::gentoo USE="debug gnutls gpgme hcache imap lmdb mbox nls pop sasl smtp ssl -autocrypt -berkdb -doc -gdbm -gsasl -idn -kerberos -pgp-classic (-prefix) -qdbm (-selinux) -slang -smime-classic -tokyocabinet -vanilla" 0 KiB I'm busy tonight, so I'll probably get back tomorrow. -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] [OT] Anyone running mutt outboung smtp on port 587?
On Sun, Jan 21, 2024 at 12:05:45PM +, Michael wrote > > Anyway, to take you forward you can: > > 1. Keyword the latest gnutls package in case the gnutls verification criteria > have been loosened. > > 2. Copy the Root CA into the users ~/ and point muttrc to it: > > set certificate_file = "~/.mutt/certificates" > > 3. If everything else fails, having verified yourself the server's > Root CA and child certificates are all legit you can set: > > unset ssl_verify_host > > Obviously this would not be satisfactory from a security perspective. Nothing above works, and I wonder if it's something at my end. I keep getting the same message... > gnutls_handshake: A packet with illegal or unsupported version was received. The current net-libs/gnutls-3.8.0 ebuild (and 3.8.1 and 3.8.2) has sslv2 and sslv3 enabled in IUSE ...but... "emerge -pv gnutls" shows them hard-masked. Is my system forcing sslv1 and the server rejecting me??? [ebuild R] net-libs/gnutls-3.8.0:0/30.30::gentoo USE="cxx idn nls openssl seccomp tls-heartbeat tools zlib -brotli -dane -doc -examples -pkcs11 (-sslv2) (-sslv3) -static-libs -test (-test-full) -verify-sig -zstd" 0 KiB Do you get the same? Do I have to set something in... make menuconfig -*- Cryptographic API ---> "emerge -pv mutt" [ebuild R] mail-client/mutt-2.2.12::gentoo USE="debug gnutls gpgme hcache imap lmdb mbox nls pop sasl smtp ssl -autocrypt -berkdb -doc -gdbm -gsasl -idn -kerberos -pgp-classic (-prefix) -qdbm (-selinux) -slang -smime-classic -tokyocabinet -vanilla" 0 KiB I copied certificates from x.txt to .mutt/certificates (see attachment). Is this correct? And how do I securely pass credentials? -- Roses are red Roses are blue Depending on their velocity Relative to you -BEGIN CERTIFICATE- MIIGgDCCBWigAwIBAgIIQdcTd20TTxAwDQYJKoZIhvcNAQELBQAwgbQxCzAJBgNV BAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMRow GAYDVQQKExFHb0RhZGR5LmNvbSwgSW5jLjEtMCsGA1UECxMkaHR0cDovL2NlcnRz LmdvZGFkZHkuY29tL3JlcG9zaXRvcnkvMTMwMQYDVQQDEypHbyBEYWRkeSBTZWN1 cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IC0gRzIwHhcNMjMwOTI2MDEwMDI1WhcN MjQxMDI3MDEwMDI1WjAUMRIwEAYDVQQDDAkqLmVib3guY2EwggEiMA0GCSqGSIb3 DQEBAQUAA4IBDwAwggEKAoIBAQC1kgJlaAqSUNfZd2jPfxSlH0HTzvFV344iJdd3 zf01XwSySxtAKB3bwrmxfq0ppmVU4CTlj1IOTaY7uA3Fpy5V0CAE38HOpT/xsv1n 7ZXAm7jVA8UOJbFMtCwCtLArhEeGZS8ssrO51uzZquj6O2zCQeoG7cYqeQTh0Z3X x1DmsdP5Tvyot82p3SKiCoFurk/ZIMXeDbG3K+Vxw+wiFgmYYl1rBAOJpyqxIwuX NFlkNCU2K7M2LqohyO10FI/RJOn0hwuY+t7a6kZbNKLGWuuUXg29Y9TrqUXAa5yN mmJtTD6UsHfGKPZN5n1GlqgNSUDlxLKBedA7gTzHQKh+BYBhAgMBAAGjggMzMIID LzAMBgNVHRMBAf8EAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAO BgNVHQ8BAf8EBAMCBaAwOAYDVR0fBDEwLzAtoCugKYYnaHR0cDovL2NybC5nb2Rh ZGR5LmNvbS9nZGlnMnMxLTk0MDUuY3JsMF0GA1UdIARWMFQwSAYLYIZIAYb9bQEH FwEwOTA3BggrBgEFBQcCARYraHR0cDovL2NlcnRpZmljYXRlcy5nb2RhZGR5LmNv bS9yZXBvc2l0b3J5LzAIBgZngQwBAgEwdgYIKwYBBQUHAQEEajBoMCQGCCsGAQUF BzABhhhodHRwOi8vb2NzcC5nb2RhZGR5LmNvbS8wQAYIKwYBBQUHMAKGNGh0dHA6 Ly9jZXJ0aWZpY2F0ZXMuZ29kYWRkeS5jb20vcmVwb3NpdG9yeS9nZGlnMi5jcnQw HwYDVR0jBBgwFoAUQMK9J47MNIMwojPX+2yz8LQsgM4wHQYDVR0RBBYwFIIJKi5l Ym94LmNhggdlYm94LmNhMB0GA1UdDgQWBBQKTRI2+yZaO2QIMLlRwVy3A5EslTCC AX4GCisGAQQB1nkCBAIEggFuBIIBagFoAHUA7s3QZNXbGs7FXLedtM0TojKHRny8 7N7DUUhZRnEftZsAAAGKzwBtGQAABAMARjBEAiB+c8AeqWVcH6tLIN3K+jxvyrcS bezMfVwxregY56O9uwIgfdjEFhw0w7dvv6O7kyrYFLXd1KmLtZZUBkg/pSr72ScA dgBIsONr2qZHNA/lagL6nTDrHFIBy1bdLIHZu7+rOdiEcwAAAYrPAG3/AAAEAwBH MEUCIGniWz36pvx9BThv4yxeEqoAk1pEqJz9vggQfm1nsABKAiEA4DE0bNlpa90J JBpJk+ane6GP3Ycu0zG/kfjPRKGWaT4AdwDatr9rP7W2Ip+bwrtca+hwkXFsu1GE hTS9pD0wSNf7qwAAAYrPAG55AAAEAwBIMEYCIQCnqbkMcFiLX1Gc9EHlyo4Rm/T7 pCmjJV1ylgVQhk5tMQIhALGmRhmJmH77RRh0+CBKX+MZ6EtKBnci+j6jGHus7Xj4 MA0GCSqGSIb3DQEBCwUAA4IBAQBK852eVZVAZmuKFg/37ywvp1p3Otq1Iy6093pR QEoKUN5OVxLcAYJTcQSrGMZdytVNGuOe9F3mm2tP4NxOT32ERyowAFx3DOIFIJRP 6XDO9V2tUgoJ4hxMdNnzoAcnXh/naTLtWD29OpjEzsMYjFQuaeeKXa0Nk4/1bUhm Nugmmm3z2DLOumVKILzi/uZLDYdrO4vOkIxXLgBdHZFV+6ZZVR26bffvS3q3owRG 8d/eXulLowCoblX8PbNBedRVll18+t2j/FzVD7N7L7qF5076/LODbfk6fRHEXN/w 65NjrQ1RiRekUHXMjFrlTraSIEWQOAaGaDCOmcOyjcjfuk7/ -END CERTIFICATE- -BEGIN CERTIFICATE- MIIE0DCCA7igAwIBAgIBBzANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMCVVMx EDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxGjAYBgNVBAoT EUdvRGFkZHkuY29tLCBJbmMuMTEwLwYDVQQDEyhHbyBEYWRkeSBSb290IENlcnRp ZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTExMDUwMzA3MDAwMFoXDTMxMDUwMzA3 MDAwMFowgbQxCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQH EwpTY290dHNkYWxlMRowGAYDVQQKExFHb0RhZGR5LmNvbSwgSW5jLjEtMCsGA1UE CxMkaHR0cDovL2NlcnRzLmdvZGFkZHkuY29tL3JlcG9zaXRvcnkvMTMwMQYDVQQD EypHbyBEYWRkeSBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IC0gRzIwggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC54MsQ1K92vdSTYuswZLiBCGzD BNliF44v/z5lz4/OYuY8UhzaFkVLVat4a2ODYpDOD2lsmcgaFItMzEUz6ojcnqOv K/6AYZ15V8TPLvQ/MDxdR/yaFrzDN5ZBUY4RS1T4KL7QjL7wMDge87Am+GZHY23e cSZHjzhHU9FGHbTj3ADqRay9vHHZqm8A29vNMDp5T19MR/gd71vCxJ1gO7GyQ5HY pDNO6rPWJ0+tJYqlxvTV0KaudAVkV4i1RFXULSo6Pvi4vekyCgKUZMQWOlDxSq7n
Re: [gentoo-user] [OT] Anyone running mutt outboung smtp on port 587?
On Thu, Jan 18, 2024 at 06:42:48PM +, Michael wrote > openssl s_client -connect smtp.ebox.ca\:587 -starttls smtp -showcerts openssl s_client -connect smtp.ebox.ca\:587 -starttls smtp -showcerts > x.txt For output to x.txt, see file x.txt in attachment logs.tgz Output to the terminal (stderr ???) is... depth=2 C = US, ST = Arizona, L = Scottsdale, O = "GoDaddy.com, Inc.", CN = Go Daddy Root Certificate Authority - G2 verify return:1 depth=1 C = US, ST = Arizona, L = Scottsdale, O = "GoDaddy.com, Inc.", OU = http://certs.godaddy.com/repository/, CN = Go Daddy Secure Certificate Authority - G2 verify return:1 depth=0 CN = *.ebox.ca verify return:1 40F73DC2087F:error:0A00014D:SSL routines:tls_process_key_exchange:legacy sigalg disallowed or unsupported:../openssl-3.0.12/ssl/statem/statem_clnt.c:2254: That last line about "legacy sigalg disallowed or unsupported:" looks rather ominous. > or with gnutls-cli: > > gnutls-cli --starttls-proto smtp smtp.ebox.ca -p 587 > > then try to negotiate a connection: > > ehlo there > ... > Ctrl+D > > Gnutls should run starttls and when you enter "Ctrl+D" it will print out what See file y.txt in logs.tgz My fibre upgrade is delayed, so I'm testing an unneceassary handoff to port 587 on cable when an "insecure" handoff to port 25 will do. I just asked the ISP's direct support to confirm that I'm using the correct credentials. And one last try at "mutt -d 4". Here's a snippet... [2024-01-20 23:08:56] mwoh: buf[Subject: Test message 1] is short enough [2024-01-20 23:08:56] Looking up smtp.ebox.ca... [2024-01-20 23:08:56] Connecting to smtp.ebox.ca... [2024-01-20 23:08:56] Connected to smtp.ebox.ca:587 on fd=4 [2024-01-20 23:08:56] 4< 220 smtp.ebox.ca ESMTP Postfix (Debian/GNU) [2024-01-20 23:08:56] 4> EHLO waltdnes.org [2024-01-20 23:08:56] 4< 250-smtp.ebox.ca [2024-01-20 23:08:56] 4< 250-PIPELINING [2024-01-20 23:08:56] 4< 250-SIZE 2000 [2024-01-20 23:08:56] 4< 250-VRFY [2024-01-20 23:08:56] 4< 250-ETRN [2024-01-20 23:08:56] 4< 250-STARTTLS [2024-01-20 23:08:56] 4< 250-ENHANCEDSTATUSCODES [2024-01-20 23:08:56] 4< 250-8BITMIME [2024-01-20 23:08:56] 4< 250 DSN [2024-01-20 23:08:56] 4> STARTTLS [2024-01-20 23:08:56] 4< 220 2.0.0 Ready to start TLS [2024-01-20 23:08:56] gnutls_handshake: A packet with illegal or unsupported version was received. [2024-01-20 23:08:58] Could not negotiate TLS connection "illegal or unsupported version" ominous again. -- Roses are red Roses are blue Depending on their velocity Relative to you logs.tgz Description: GNU Unix tar archive
Re: [gentoo-user] [OT] Anyone running mutt outboung smtp on port 587?
I haven't been switched over to fibre yet due to config problems, but I'm trying to test port 587 using your settings. I recompiled mutt adding USE="debug gnutls". With "mutt -d 2" I get the a lot of debug output, including the following. To further complicate things, when I switch back to the old muttrc, I get something about "no From:" I had to rebuild without gnutls to get it working again. What do the last 2 lines imply? [2024-01-18 11:36:00] Sending message... [2024-01-18 11:36:00] Looking up smtp.ebox.ca... [2024-01-18 11:36:00] Connecting to smtp.ebox.ca... [2024-01-18 11:36:00] Connected to smtp.ebox.ca:587 on fd=4 [2024-01-18 11:36:00] 4< 220 smtp.ebox.ca ESMTP Postfix (Debian/GNU) [2024-01-18 11:36:00] 4> EHLO waltdnes.org [2024-01-18 11:36:00] 4< 250-smtp.ebox.ca [2024-01-18 11:36:00] 4< 250-PIPELINING [2024-01-18 11:36:00] 4< 250-SIZE 2000 [2024-01-18 11:36:00] 4< 250-VRFY [2024-01-18 11:36:00] 4< 250-ETRN [2024-01-18 11:36:00] 4< 250-STARTTLS [2024-01-18 11:36:00] 4< 250-ENHANCEDSTATUSCODES [2024-01-18 11:36:00] 4< 250-8BITMIME [2024-01-18 11:36:00] 4< 250 DSN [2024-01-18 11:36:00] 4> STARTTLS [2024-01-18 11:36:00] 4< 220 2.0.0 Ready to start TLS [2024-01-18 11:36:00] gnutls_handshake: A packet with illegal or unsupported version was received. [2024-01-18 11:36:02] Could not negotiate TLS connection -- Roses are red Roses are blue Depending on their velocity Relative to you
[gentoo-user] [SOLVED] Re: Google Chrome going nuts with L10N ?
Thank you. In package.use I entered... www-client/google-chrome L10N: -* ...and it did the trick. Actually, Pale Moon is my "daily driver" browser. I use Chrome for Netflix and the occasional braindead Chrome-reliant website. -- Roses are red Roses are blue Depending on their velocity Relative to you
[gentoo-user] Google Chrome going nuts with L10N ?
I seem to remember that Google Chrome used to build with all L10N locales disabled. But I just ran a pretend emerge and I got... www-client/google-chrome-120.0.6099.199::gentoo [119.0.6045.199::gentoo] USE="-qt5 -qt6 (-selinux)" L10N="af am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk ur vi zh-CN zh-TW" Is it really necessary, and if not how can I turn it off? -- Roses are red Roses are blue Depending on their velocity Relative to you
Re: [gentoo-user] [OT] Anyone running mutt outboung smtp on port 587?
On Tue, Jan 09, 2024 at 02:54:06PM -0500, Philip Webb wrote > > IIRC we both live in/near Toronto, so no doubt Big Bad Bell is > responsible. I'm currently on EBOX cable. Bell bought them https://www.newswire.ca/news-releases/bell-acquires-longueuil-based-internet-provider-ebox-819104090.html but EBOX still operates as a separate brand. After the purchase Bell is now a TPIA customer of Rogers (giggle) for EBOX cable customers. Bell obviously doesn't like this and wants to route my traffic over their own fibre so they don't have to pay Rogers. > My notes tell me (set up Mutt in new machine ANB6) : > > /etc/group : add '' to 'ssmtp' Wierd; I've been running for years without that. mutt passes email to ssmtp which passes it on to the EBOX smtp server. > and (authenticate for mail access) : > > Send mail via Wifi : new procedure, as prev'ly no security needed ; >now CIN has to be told who it's dealing w. I think something similar is happening to me. Because their networks are probably still separate, the EBOX smtp server sees Bell fibre traffic as coming from "an external network", requiring authentication. > 'set ssl_starttls=yes > set ssl_force_tls=yes > set smtp_url="smtp://@smtp.ca.inter.net:25" > set smtp_pass=""' > > I don't know anything re Port 587 : how do I find out my port number ? Thanks for the settings. From my Google searches, the ":25" in "smtp_url" indicates port 25. User posts on the EBOX DSLReports forum all seem to talk about port 587 for fibre customers. Wikipedia https://en.wikipedia.org/wiki/SMTP_Authentication says "generally on port 587", so apparently it can work on other ports. In your case, "if it ain't broke, don't fix it". > BTW I do recommend ca.inter.net (their name) for I/net + e-mail : > I've used them happily for 15 years ; they are in Waterloo, Ont. As an incentive to go fibre, EBOX/Bell is offering me somewhat faster fibre service for the same price I'm paying now. My invoice for Dec 2023 is the same price as for Nov 2020, unlike Bell who constantly raise prices. I'd like to hang around if EBOX keeps their rates static. I checked the ca.inter.net website. There are asterisks beside the monthly price... which goes up $10 after the first 12 months. -- Roses are red Roses are blue Depending on their velocity Relative to you
[gentoo-user] [OT] Anyone running mutt outboung smtp on port 587?
I'll soon be switching over from cable to fibre. It's the same ISP, but I'll be needing to authenticate outbound email on port 587 (long story). Is anybody else doing this? If so, what changes does ~/.mutt/muttrc need? I've "asked Mr. Google" but the hits are ancient, often referring to dead URLs. I'm sure that mutt's config has changed over the years. -- Roses are red Roses are blue Depending on their velocity Relative to you
[gentoo-user] [SOLVED] Problem building x11-libs:libxcb-1.16
On Tue, Oct 24, 2023 at 08:29:51AM +0100, Neil Bothwick wrote d> On Mon, 23 Oct 2023 23:13:36 -0400, Walter Dnes wrote: > > > UnicodeEncodeError: 'latin-1' codec can't encode character '\u201c' in > > position 68: ordinal not in range(256) > > https://bugs.gentoo.org/913655 appears to have a solution in comment 5. Thanks. From the commandline... export LC_ALL="C" emerge --changed-use --deep --update @world ...did the trick. But I did have to log out and in and try it a couple of times before that sequence worked. The very definition of insanity. -- Roses are red Roses are blue Depending on their velocity Relative to you
[gentoo-user] Problem building x11-libs:libxcb-1.16
I have a desktop PC and and a "hot backup" ready to take over on a moment's notice. I keep the configs and settings the same. Today I tried to update both machines. The main desktop was OK, but the hot backup ran into a prolem with x11-libs:libxcb-1.16 Before anybody asks, /etc/locale.gen is identical on both. The uncommented lines are... en_US ISO-8859-1 en_US.UTF-8 UTF-8 Not sure about the error message UnicodeEncodeError: 'latin-1' codec can't encode character '\u201c' in position 68: ordinal not in range(256) Build log attached. Any ideas?. -- Roses are red Roses are blue Depending on their velocity Relative to you x11-libs:libxcb-1.16:20231024-010713.log.gz Description: application/gzip
Re: [gentoo-user] tar exclude files question
On Wed, Sep 06, 2023 at 10:48:29AM +0100, Michael wrote > > IKR, it's as if the usage of this mechanism is meant to remain secret > and a test of the patience and detective skills of the user. I've filed a documentation bug with bug-...@gnu.org We'll see what happens. -- 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] tar exclude files question
On Tue, Sep 05, 2023 at 08:36:00PM +0200, Alan McKinnon wrote > > Try it and see. My concern is that the man page implies that with > --exclude-caches-under the subdirectories are excluded recursively, > but the directory with the file called CACHEDIR.TAG is not. I'm sure > that's wrong but the man page says what it says. Starting off with... [x8940][waltdnes][~] ll .cache total 68 drwx-- 12 waltdnes users 4096 Sep 5 17:45 . drwxr-xr-x 141 waltdnes users 20480 Sep 5 18:38 .. -rw-r--r-- 1 waltdnes users44 Sep 5 17:42 CACHEDIR.TAG drwx-- 2 waltdnes users 4096 Aug 29 15:34 babl drwxr-xr-x 2 waltdnes users 4096 Sep 5 08:52 fontconfig drwxr-xr-x 3 waltdnes users 4096 Jun 11 2021 geeqie drwx-- 3 waltdnes users 4096 May 29 2021 gegl-0.4 drwxr-xr-x 3 waltdnes users 4096 May 29 2021 gimp drwx-- 3 waltdnes users 4096 May 27 2021 google-chrome drwx-- 2 waltdnes users 4096 Sep 5 10:23 mc drwxr-xr-x 258 waltdnes users 4096 Mar 24 2022 mesa_shader_cache drwx-- 3 waltdnes users 4096 Sep 5 17:12 'moonchild productions' drwx-- 3 waltdnes users 4096 Nov 16 2021 thumbnails tar --exclude-caches -cvzf x1.tgz .cache ...archives the following... drwx-- waltdnes/users0 2023-09-05 17:45 .cache/ -rw-r--r-- waltdnes/users 44 2023-09-05 17:42 .cache/CACHEDIR.TAG tar --exclude-caches-all -cvzf x2.tgz .cache ...archives absolutely nothing; zip... zilch... nada tar --exclude-caches-under -cvzf x3.tgz .cache ...archives... drwx-- waltdnes/users0 2023-09-05 17:45 .cache/ I'll gladly take any of them. One more thing; in this mode, you *MUST* use a leading minus for "-cvzf". The lazy "cvzf" will *NOT* work, and throws a misleading error message. See also my post to Michael about the contents of the CACHEDIR.TAG file. -- 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] tar exclude files question
On Tue, Sep 05, 2023 at 07:38:54PM +0100, Michael wrote > > Have a look at this page which explains what you need to do: > > https://bford.info/cachedir/ Thank you! Thank you! Thank you! That page explains that any random CACHEDIR.TAG file won't suffice, and why my attempts were all failing. This file must be an ordinary file, not for example a symbolic link. Additionally, the first 43 octets of this file *MUST* *MUST* *MUST* consist of the following ASCII header string: Signature: 8a477f597d28d172789f06886806bc55 Otherwise it wil *NOT* work. This *NOT* mentioned in "man tar". https://www.gnu.org/software/tar/manual/tar.html#index-cachedir mentions http://www.brynosaurus.com/cachedir/spec.html in passing, which redirects to https://bford.info/cachedir/ -- 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] Is distfile partial mirror with failover possible?
On Tue, Sep 05, 2023 at 04:07:16PM +0100, Michael wrote > On Tuesday, 5 September 2023 15:58:05 BST Walter Dnes wrote: > > > > And while we're at it, howsabout "emerge --sync" on one host, and then > > remote-mounting /var/db/repos/gentoo ? > > Take a look here: > > https://wiki.gentoo.org/wiki/Local_Mirror That's what I do right now. I figure that remote-mounting might make things easier. -- 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.
[gentoo-user] tar exclude files question
Every so often I tar up my home directory on my main machine, and push it over to my "hot backup" machine, and then do a tap-dance with the .ssh directory. I notice oodles of cache files being tarred. Do I understand the man page correctly about the CACHEDIR.TAG "magic file"? Assume I have a .cache directory like so... [x8940][waltdnes][~] ll .cache total 64 drwx-- 12 waltdnes users 4096 Sep 5 10:50 . drwxr-xr-x 141 waltdnes users 20480 Sep 5 10:58 .. -rw-r--r-- 1 waltdnes users 0 Sep 5 10:50 CACHEDIR.TAG drwx-- 2 waltdnes users 4096 Aug 29 15:34 babl drwxr-xr-x 2 waltdnes users 4096 Sep 5 08:52 fontconfig drwxr-xr-x 3 waltdnes users 4096 Jun 11 2021 geeqie drwx-- 3 waltdnes users 4096 May 29 2021 gegl-0.4 drwxr-xr-x 3 waltdnes users 4096 May 29 2021 gimp drwx-- 3 waltdnes users 4096 May 27 2021 google-chrome drwx-- 2 waltdnes users 4096 Sep 5 10:23 mc drwxr-xr-x 258 waltdnes users 4096 Mar 24 2022 mesa_shader_cache drwx-- 3 waltdnes users 4096 May 25 2021 'moonchild productions' drwx-- 3 waltdnes users 4096 Nov 16 2021 thumbnails Would a script in /home like... #!/bin/bash tar --exclude-caches-under cvzf wdexport.tgz waltdnes ...skip files in that directory? I don't mind a few empty directories. -- 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] Is distfile partial mirror with failover possible?
On Tue, Sep 05, 2023 at 08:04:19AM +0100, Neil Bothwick wrote > On Mon, 4 Sep 2023 22:54:38 -0400, Walter Dnes wrote: > > > It looks like remote-mounting /var/cache/distfiles might be the > > quick-n-dirty solution like Alan suggested. And I never have a need to > > have emerge run simultaneously on more than one machine. > > It seems the simplest suitable solution for your needs. And while we're at it, howsabout "emerge --sync" on one host, and then remote-mounting /var/db/repos/gentoo ? -- 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] Is distfile partial mirror with failover possible?
On Mon, Sep 04, 2023 at 06:21:27PM +0100, Neil Bothwick wrote > On Mon, 04 Sep 2023 14:04:53 +0100, Michael wrote: > > The reference to a host makes me think Walter wants one machne to hold > the distfiles for all on the network. Correct. > I use apt-cacher-ng for this and it does what you are looking for. https://wiki.gentoo.org/wiki/Local_distfiles_cache#Open_issues says... > Open issues > > * Apt-cacher-ng installs a cron job to delete unreferenced files > from the cache. Since the Gentoo cache contains no index files, > this probably deletes either everything or nothing from it. Have you run into ptoblems with this? It looks like remote-mounting /var/cache/distfiles might be the quick-n-dirty solution like Alan suggested. And I never have a need to have emerge run simultaneously on more than one machine. -- 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.
[gentoo-user] Is distfile partial mirror with failover possible?
I may be misunderstanding, but it seems to me that local mirrors are all-or-nothing. In the interests of saving bandwidth, I'd like to have a client first check the host's /var/cache/distfiles directory for a source tarball file. If not found, then fail over to another mirror as per GENTOO_MIRRORS in /etc/portage/make.conf. This would require emerge doing the lookup and potential failover for each file. Is this possible? -- 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] he's baaaaaaack :-D
On Thu, Aug 31, 2023 at 08:15:00PM +0200, Alan McKinnon wrote > > Going through the list archives, I see a whole bunch of familiar > names like Dale, Helmut, Peter, Rich, Grant, Walter, William and more. Welcome back. Gentoo has smoothed off the rough edges, and emerge rarely dies anymore. As a control freak, the thing that annoys me is all the gratuitous libs (cups/ghostscript/harfbuzz/etc) that apstreams insist on forcing as dependancies. But that's not Gentoo's fault. -- 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.
[gentoo-user] Re: [SOLVED] Re: dosbox 0.74.3 can't init SDL: No audio device on one machine
On Thu, Aug 31, 2023 at 10:45:54PM +0100, Nuno Silva wrote > > What about sdl-related packages, same flags and versions there too? Turns out that I had libsdl and libsdl2 flagged "-alsa" in package.use on the non-working machine (don't know why). Flipping the flags to "alsa", and then re-emerging, solved the problem. -- 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.
[gentoo-user] Re: [SOKVED] dosbox 0.74.3 can't init SDL: No audio device on one machine
On Thu, Aug 31, 2023 at 09:21:40PM +0100, Michael wrote > > Do both machines have alsa built the same way and working? I don't know. From the looks of it, probably not. > > Does it work without error if you specify it on the CLI? CLI doesn't make a difference. > > SDL_AUDIODRIVER=alsa /usr/bin/dosbox That changes the error message... [waltdnes][~] SDL_AUDIODRIVER=alsa /usr/bin/dosbox DOSBox version 0.74-3 Copyright 2002-2019 DOSBox Team, published under GNU GPL. --- Exit to error: Can't init SDL Audio target 'alsa' not available Later... that very same evening... After some spelunking I noticed that I had libsdl and libsdl2 flagged with "-alsa" in package.use on the non-working machine (don't know why), and "alsa" on the working machine. Changing the flags to "alsa" and updating world with "--changed-use" fixed things on the non-working machine. Thanks for everybody's help. -- 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.
[gentoo-user] dosbox 0.74.3 can't init SDL: No audio device on one machine
This is the most frustrating type of problem. On one machine I can run dosbox fine. On a second machine... [waltdnes][~] /usr/bin/dosbox DOSBox version 0.74-3 Copyright 2002-2019 DOSBox Team, published under GNU GPL. --- Exit to error: Can't init SDL No available audio device The regular user (waltdnes) is a member of the audio group on both machines. The files in ~/.dosbox are identical, and "emerge -pv dosbox" spits out identical output. The directory /dev/snd is identical on both machines. Any ideas? -- 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] VPN newbie questions
On Sat, Aug 19, 2023 at 10:27:37PM -0500, Dale wrote > I been using Surfshark and openvpn for over a year. They have a pretty > large list of countries, multiple cities in some countries, to pick > from. I deal with torrents and that is my reason for the need of a VPN, > just in case some may be questionable. > > I suspect that some features are not available because I use openvpn > instead of the software Surfshark provides for other binary distros but > it does work with openvpn software. Once I start openvpn and give it a > minute to set up the connection and all, it works great. ??? You're saying you run Surfshark on top of OpenVPN ??? I'm confused here. Why the extra layer? OpenVPN looks rather complex. According to https://linux.die.net/man/8/openvpn > OpenVPN is a robust and highly flexible VPN daemon. OpenVPN supports > SSL/TLS security, ethernet bridging, TCP or UDP tunnel transport > through proxies or NAT, support for dynamic IP addresses and DHCP, > scalability to hundreds or thousands of users, and portability to > most major OS platforms. I basically want browsers (Pale Moon browser and Google Chrome) to show up with an IP address in a different country. The major players that "support linux" do Ubuntu/Debian/Mint. I assume we're looking at unpacking a .deb. -- 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.
[gentoo-user] VPN newbie questions
I've been on Gentoo for years and years, but I've never used a VPN, so consider me an absolute newbie. Canadian big news media has successfully lobbied our government to implement a link tax. Google has decided to avoid the tax by not linking to it in Google search. This morning I tried to find some news about the Russian invasion from my desktop PC, and the results were brutal. No links from any Canadian sources (as expected) or US (CNN) or UK (BBC). Talk about draconian. I need a VPN to make me "self-identify" as being in the USA, or wherever, so that Google doesn't censor news on me. Many commercial VPNs claim to support linux. Do they do this at the OS level as an executable, or at the browser level as an extension? Extension would be bad for me, because Chrome and Firefox extensions don't work on Pale Moon (my "daily driver"). I notice the existance of a "net-vpn" category in the repo, too. What works for people here, and how well? What are your experiences? -- 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.
[gentoo-user] Re: [SOLVED] [OT] Read date input from text file problem
On Sun, Aug 06, 2023 at 01:38:21PM +1000, Paul Colquhoun wrote > > The date in the text file shoudn't have the quotes around it. Thank you very much. That works. The actual data file I'm working with has quotes around the dates, so I have to insert an extra step to strip out the quotes with sed. Using the same ztest.txt file... #!/bin/bash xtoday=$( date --date="August 14, 2021" +%F ) echo ${xtoday} read < ztest.txt ytoday=$( echo ${REPLY} | sed "s/\"//g" ) xtoday=$( date --date="${ytoday}" +%F ) echo ${xtoday} ...produces... 2021-08-14 2021-08-14 -- 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.
[gentoo-user] [OT] Read date input from text file problem
I have a situation where something that works as a literal but doesn't work when reading from a text file. Here's the problem, simplified... I have a text file ztest.txt consisting of one line... "August 14, 2021" ...and I have a script ztest consisting of... #!/bin/bash xtoday=$( date --date="August 14, 2021" +%F ) echo ${xtoday} read < ztest.txt echo "${REPLY}" xtoday=$( date --date="${REPLY}" +%F ) echo ${xtoday} Running the script produces three lines of output... 2021-08-14 "August 14, 2021" date: invalid date ‘"August 14, 2021"’ What am I doing wrong? -- 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] Bespoke terminal font
On Mon, Jun 05, 2023 at 04:35:41PM +0100, Peter Humphrey wrote > Hello list, > > I'm still trying to find a terminal font (not an X font) to suit my > deteriorating sight. Every terminal font I've found includes either > a dot in the centre of the /zero/ character or a diagonal bar across > it. Either of these makes a zero resemble an eight: 0, 8. I often > need a magnifying glass to see which it is. I suppose it's meant to > distinguish a zero from a capital o: 0, O, but this can be handled > better in moderate to large font sizes such as I use, by sloping the > shoulders of the zero to resemble those used in the publishing trade. Set... consolefont="solar24x32" ...in /etc/conf.d/consolefont It is Y-U-U-U-G-E, coming in at 80 columns by 33 rows on my 1920x1080 text console. And no dot in the centre. But you may have problems distinguishing zero from O and o. -- 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] Portage load control
On Sat, May 06, 2023 at 12:50:08PM +0100, Peter Humphrey wrote > Second, the two pages contribute actively to the confusion between the emerge > jobs submitted in parallel by portage and the concurrent tasks that may be > launched by each of those. > > The test: > > I ran 'emerge -e @world' with EMERGE_DEFAULT_OPTS="--jobs=10 --load- > average=40 ...". It took 350m46s. > > Then I ran the same -e with --load-average=40, but no --jobs and no -j. That > took 351m21s - 35 seconds longer! What's worse, the load average was > controlled at about 72, not 40. I watched it for some time, and even though > all three load averages were at 72-75, portage kept on starting more packages. > > As far as I could see, swap was not touched. > > The machine has 24 threads and 64GB RAM (not to mention plenty of swap), so > how was the 72 figure arrived at? I think you're over-complicating things here. Forget --jobs and --load-average and their interactions. First of all the Gentoo install handbook has a dire warning that each *THREAD* requires *AT LEAST* 2 GiB of ram. https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#MAKEOPTS You've got 24 threads and 64 GB RAM, so try... MAKEOPTS="-j20" ...to leave a few threads for your system if your'e playing freecell or whatever. How fast do the builds go? Don't sweat +/- 30 seconds. -- 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.
[gentoo-user] Can some config files be automatically protected from etc-update?
Now that the (no)multilib problem in my latest update has been solved, I have a somewhat minor complaint. Can I get etc-update to skip certain files? My latest emerge world wanted to "update"... 1) /etc/hosts (1) 2) /etc/inittab (1) 3) /etc/mtab (1) 4) /etc/conf.d/consolefont (1) 5) /etc/conf.d/hwclock (1) 6) /etc/default/grub (1) 7) /etc/ssh/sshd_config (1) ...hosts is critical for networking. consolefont allows me tp use the true text console with a readable font, etc, etc. I have my reasons for making certain settings, and keeping them that way. -- 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.
[gentoo-user] [SOLVED] Can I safely switch (no)multilib profile???
On Mon, Apr 17, 2023 at 09:48:09AM -0400, Walter Dnes wrote > The update is running. I'll check the emerge results after I get back > from some shopping and fish-n-chips. To answer the question in the subject... YES! emerge update ran smoothly, including etc-update and depclean. I'm still baffled as to how/why my profile got changed in the first place. I've got another minor complaint, but that'll be a separate thread. -- 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] Can I safely switch (no)multilib profile???
On Sun, Apr 16, 2023 at 06:56:35PM -0400, Walter Dnes wrote > > ***I CAN'T EVEN BUILD THE CURRENT GLIBC ON MY MACHINE***. It looks > more and more like somewhere somehow my profile selection got changed > after my previous glibc update. > > I regularly back up incrementally to two large standalone backup > drives. Every so often, I tarball my $HOME dir and push the copy over > to my "hot backup" machine. I intend to do that tonight, followed by > selecting profile... > > [15] default/linux/amd64/17.1/no-multilib (stable) > > ...and then running... > > emerge --changed-use --deep --update @world Having backed up, I selected the no-multilib (stable) profile. I checked out how glibc would build... [x8940][root][~] emerge -pv1 glibc These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 3.33 s. [ebuild U ] sys-libs/glibc-2.36-r7:2.2::gentoo [2.36-r5:2.2::gentoo] USE="multiarch ssp (static-libs) -audit -caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only (-multilib*) -multilib-bootstrap -nscd -perl% -profile (-selinux) (-stack-realign*) -suid -systemd -systemtap -test (-vanilla)" 0 KiB The forced (multilib) flag has changed to forced (-multilib). The other USE flag change is (-stack-realign). emerge -pv --changed-use --deep --update @world calls for glibc to to be updated (-multilib*) and (-stack-realign*) In addition, the profile change appears to cause 5 rebuilds... sys-libs/ncurses (-stack-realign*) sys-apps/sandbox (-32*) virtual/libcrypt (-32*) sys-libs/libxcrypt (-32*) sys-devel/gcc (-multilib*) The update is running. I'll check the emerge results after I get back from some shopping and fish-n-chips. -- 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] Can I safely switch (no)multilib profile???
On Sun, Apr 16, 2023 at 01:29:46AM -0400, Walter Dnes wrote > When I installed Gentoo on my desktop PC, I could've sworn that I > selected... > > [15] default/linux/amd64/17.1/no-multilib (stable) > > ...as the profile. ***THINGS HAVE BEEN WORKING FINE FOR A COUPLE OF > YEARS.*** Things get curiouser and curiouser. Start with a pretend emerge = emerge -pv --changed-use --deep --update @world These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 11.19 s. [ebuild U ] sys-libs/glibc-2.36-r7:2.2::gentoo [2.36-r5:2.2::gentoo] USE="multiarch (multilib) ssp stack-realign (static-libs) -audit -caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only -multilib-bootstrap -nscd -perl% -profile (-selinux) -suid -systemd -systemtap -test (-vanilla)" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB = This says that my current glibc is 2.36-r5 which would be replaced with 2.36-r7. Now let's try asking for my current glibc version to be built... = emerge -pv =sys-libs/glibc-2.36-r5 These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 1.43 s. [ebuild R] sys-libs/glibc-2.36-r5:2.2::gentoo USE="multiarch (multilib) ssp stack-realign (static-libs) -audit -caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only -multilib-bootstrap -nscd -profile (-selinux) -suid -systemd -systemtap -test (-vanilla)" 0 KiB = Note the "(multilib)" in USE. If I remove the "-pv" it too dies early with... = >>> Failed to emerge sys-libs/glibc-2.36-r5, Log file: >>> '/var/tmp/portage/sys-libs/glibc-2.36-r5/temp/build.log' * Messages for package sys-libs/glibc-2.36-r5: * ERROR: sys-libs/glibc-2.36-r5::gentoo failed (unpack phase): * CONFIG_IA32_EMULATION must be enabled in the kernel to compile a multilib glibc. = ***I CAN'T EVEN BUILD THE CURRENT GLIBC ON MY MACHINE***. It looks more and more like somewhere somehow my profile selection got changed after my previous glibc update. I regularly back up incrementally to two large standalone backup drives. Every so often, I tarball my $HOME dir and push the copy over to my "hot backup" machine. I intend to do that tonight, followed by selecting profile... [15] default/linux/amd64/17.1/no-multilib (stable) ...and then running... emerge --changed-use --deep --update @world -- 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.
[gentoo-user] Can I safely switch (no)multilib profile???
When I installed Gentoo on my desktop PC, I could've sworn that I selected... [15] default/linux/amd64/17.1/no-multilib (stable) ...as the profile. ***THINGS HAVE BEEN WORKING FINE FOR A COUPLE OF YEARS.*** While updating tonight, glibc dies with a build error... .[31;01m*.[0m ERROR: sys-libs/glibc-2.36-r7::gentoo failed (unpack phase): .[31;01m*.[0m CONFIG_IA32_EMULATION must be enabled in the kernel to compile a multilib glibc. ...Digging deeper, I ran "eselect profile list" and got... [1] default/linux/amd64/17.1 (stable) * WTF?!? Can I safely eselect profile [15] and emerge update to get back to normal? Also what could possibly change my profile in the first place? -- 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] Is it OK to get rid of app-alternatives/* ?
On Wed, Feb 15, 2023 at 07:20:37PM +, Wol wrote > what are they going to do about "eselect kernel set ..." then? > > It's bad enough depclean deleting the active kernel if you don't watch > out, without something deciding to install a non-existent kernel and > deleting the live one :-) I have my own hand-coded script that runs "emerge --pretend --depclean" and tweaks/filters the output into another script called "cleanscript". I've set it to filter out "gentoo-sources". I then inspect "cleanscript" before running it. And, oh yeah, depclean wants to remove nano. I had to "emerge -n nano" to protect it. -- 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] Is it OK to get rid of app-alternatives/* ?
On Tue, Feb 14, 2023 at 08:57:48PM -0500, Michael Cook wrote > On 2/14/23 20:47, Walter Dnes wrote: > > > >Am I missing something obvious that would cause problems? > > > You're missing a lot of manual busy work you would have to do > maintaining a package.provided since packages depend on stuff in > that category. After thoroughly reading the docs at... https://www.gentoo.org/support/news-items/2022-12-27-alternatives-introduction.html it looks like the hand of him-who-must-not-be-named. Rather than provide special support for the 1% extreme edge cases, the remaining 99% of regular users will be dragged through the change. More bloat; and eselect is on the road to eventual deprecation. With that in mind, I don't really have any choice but to go along. I'll have to change my sig to include something about a fully functional linux on a 16 *MEGA*byte machine running X (Yes, I actually was doing that back in 2000)... sigh. -- 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.
[gentoo-user] Is it OK to get rid of app-alternatives/* ?
A whole bunch of busy-work for emerge, and nothing in the news item indicates it's really necessary for the average user. Howsabout... * manually zapping with "rm -rf /var/db/repos/gentoo/app-alternatives" * and then include "app-alternatives" in the file pointed to by PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=" Am I missing something obvious that would cause problems? -- 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] [SOLVED... THE HARD WAY] Major problems with libpcre / UTF8
On Tue, Dec 27, 2022 at 03:36:38PM -0500, Walter Dnes wrote > I fear that I may have to do the same with the backup machine. I run > the same configs on both machines. I haven't updated the backup machine > for 63 days, according to the warnings. Hopefully correcting make.conf > right now will save me a second reinstall. I corrected make.conf, ran emptytree, and then updated the backup/successor machine. The warnings were now 66 days since last sync. The backup runs behind the main desktop, so I seem to have caught the problem in time on this machine. After the update, X runs OK with window titles showing every letter, and no warnings about libpcre. All is good. The backup machine will be updated once a month "whether it needs it or not". Generally the same for my main desktop, but... I have Netflix which requires Google-Chrome, which will beg for updates at random intervals, so the main machine will have extra updates. Pale Moon is my "daily driver" web browser. Google-Chrome is for Netflix only. -- 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] Missing line-drawing characters on re-install
On Fri, Dec 30, 2022 at 06:37:59PM +, Michael wrote > I rarely use xterm and can't recall how it behaves with mutt, so I'm > not sure if the above flags would make any difference. If xterm is > your favourite terminal you may want to give these flags a spin. I've already tried xterm with +/- unicode. No difference. I may have to migrate to urxvt. -- 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] Missing line-drawing characters on re-install
On Fri, Dec 30, 2022 at 01:05:26PM +, Michael wrote > I can't recall what else you have eliminated as the cause of this > rendering problem. Have you checked: > > 1. VT console. > 2. Different terminal (urxvt, xterm, gnome terminal, konsole, etc.). > 3. Different DE/Window Manager. A bit of digging. For text tty's (tty1, tty2, etc) I use solar24x32 as the font. On a text tty both mc and mutt work fine (line-drawing) natively without any hacks. They also work fine on urxvt without any hacks. Note that the ebuild that provides urxvt is called, wait for it, rxvt-unicode It looks like urxvt is designed from square 1 to handle unicode, and xterm is not. -- 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.
[gentoo-user] Missing line-drawing characters on re-install
I'm b-a-a-a-a-ck... on my regular desktop. I re-installed with unicode enabled and locale corrected. Some rough edges, specifically no line-drawing characters. See attached image. Mutt is supposed to have horizontal lines from right after the ")" up to the ">". Similarly mc is supposed to have vertical and horizontal line drawing characters separating and surrounding the two panels. I can use "mc -a" to get a decent emulation with "+", "_", and "|" in place of line-drawing characters. Similarly mutt has the "set ascii_chars" option to get an ugly version of line-threading. Since this problem shows up on more than one app, I assume that it's a general system problem. Any ideas on how to get real line-drawing characters back? -- 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] Looking for simple GUI MUA that works with ssmtp
One more thing... can Claws spit out email to port 25 so that ssmtp can pass it on to my ISP's mailserver? -- 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] Looking for simple GUI MUA that works with ssmtp
On Tue, Dec 27, 2022 at 08:17:42PM +, Neil Bothwick wrote > > Another vote for Claws here, although i use the liteHTML plugin, which > seems to handle more than Dillo, but without the overhead of webkit. > > It can also open HTML emails in your preferred browser. Does Claws work with Maildir directories? -- 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] Looking for simple GUI MUA that works with ssmtp
On Mon, Dec 26, 2022 at 09:04:07PM -0500, Jack wrote > Can't mutt open an html message or attachment in a browser? You can specify a program to use on attachments. But this doesn't work where the email itself is HTML. -- 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] [SOLVED... THE HARD WAY] Major problems with libpcre / UTF8
On Wed, Dec 28, 2022 at 10:12:51AM +1100, Paul Colquhoun wrote > Did you try the not quite so hard "emerge --emptytree -a world" first? Yes; that was one of my attempts to fix the problem. -- 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.
[gentoo-user] [SOLVED... THE HARD WAY] Major problems with libpcre / UTF8
I gave up on searching Google, and decided to nuke+repave. I'm sending from my backup ("successor") machine. The original machine now has basic install plus xorg-server plus icewm plus xterm. The titles on the xterm window bars are OK, i.e. they are *NOT* missing every second letter. I still have to install 74 apps from the backup copy I made of "world" and configure them. I fear that I may have to do the same with the backup machine. I run the same configs on both machines. I haven't updated the backup machine for 63 days, according to the warnings. Hopefully correcting make.conf right now will save me a second reinstall. -- 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.
[gentoo-user] Looking for simple GUI MUA that works with ssmtp
mutt has served me well over the years, but thanks to *BRAINDEAD CORPORATE IDIOTS* I need a GUI client to parse 100 K of HTML that replaces 1 page of text. These aren't just plain spammers, but businesses that I deal with regularly. It seems that plaintext email is going the way of cursive writing. Any suggestions for an MUA that can spit out rmail to port 25? -- 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 Sat, Dec 17, 2022 at 09:04:35AM +1100, Paul Colquhoun wrote > > Are you missing a hyphen in "C.UTF8"? Yes. I fixed that and ran locale-gen then re-booted; no difference. I'll dig a bit deeper. -- 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 Fri, Dec 16, 2022 at 06:46:30PM +, Michael wrote > > Have you sorted out your locale to include UTF-8? > > Check this page: > > https://wiki.gentoo.org/wiki/Localization/Guide My /etc/locale.gen has been... en_US ISO-8859-1 en_US.UTF-8 UTF-8 C.UTF8 UTF-8 ...for a long time. -- 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
Thanks everybody. I had "-unicode" in my USE flags all these years. "emerge --changed-use --deep --update @world" has 11 ebuilds scheduled. and is running OK. Again, I apologize for a possible duplicate post or bounces as the mail host I use was down yestersday. A few minutes later... everything rebuilt with "+unicode" in make.conf I have 'unicode="YES"' in /etc/rc.conf. No improvements in my system. "xterm" still hows as "xem". How does "emerge -e @world" sound? That's 615 packages. -- 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.
[gentoo-user] Major problems with libpcre / UTF8
Apologies to those who've already seen this or had their replies bounce. The mail host I use was down yesterday (the big storm?) so I haven't seen any responses to this post. Here's a second try... 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)|(Au +g)|(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)|(A +ugust)|(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.
[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] media-libs/babl-0.1.96-r1 compile dies during emerge @world
On Mon, Dec 12, 2022 at 08:49:12AM +, Michael wrote > > I don't know about the UTF8 error and if it is related to your failure, but > since it complains about the vala compiler, it may be worth rebuilding it > first? > > emerge -1aDv dev-lang/vala It still dies on the media-libs/babl-0.1.96-r1 build. The only change is that launching "emerge --changed-use --deep --update @world" says 11 items to build, rather than 10. -- 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] media-libs/babl-0.1.96-r1 compile dies during emerge @world
On Mon, Dec 12, 2022 at 09:00:42AM +0100, netfab wrote > Le 12/12/22 à 07:30, Walter Dnes a tapoté : > > I don't think they should make any difference, but included for > > completeness. File-attached is the gzipped build log... > > > (vapigen-0.56:375): GLib-CRITICAL **: 00:58:53.271: PCRE library is > > compiled without UTF8 support > > You should try to first upgrade/rebuild the dev-libs/glib package. > > https://bugs.gentoo.org/883877 No change. dev-libs/glib-2.74.1-r1:2::gentoo was a straight rebuild; no upgrade; no USE-flag changes; and the babl compile still dies. What is the "GLib-CRITICAL" bit about PCRE with no UTF8 support? -- 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.
[gentoo-user] media-libs/babl-0.1.96-r1 compile dies during emerge @world
The subject line sums it up. stable 64-bit Gentoo. My rsync_excludes block the following... app-emacs app-leechcraft app-mobilephone app-pda app-xemacs dev-dotnet dev-embedded dev-haskell dev-java dev-qt dev-ros dev-ruby java-virtuals kde-apps kde-base kde-frameworks kde-misc kde-plasma lxde-base lxqt-base mate-base mate-extra net-p2p ros-meta sec-policy www-apache xfce-base xfce-extra I don't think they should make any difference, but included for completeness. File-attached is the gzipped build log... -- 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. buildlog.txt.gz Description: application/gzip
Re: [gentoo-user] Re: btop fails to compile
On Wed, Nov 30, 2022 at 01:50:02PM +0100, Jochen Kirchner wrote > this is my make.conf: (its a web - and mail server) > > MAKEOPTS="-j17 -l17" Ouch!!! How much ram do you have on that machine? The Gentoo install handbook has a dire warning at... https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#MAKEOPTS ...that you need approx 2 gigabytes free ram for each increment in "MAKEOPTS". > * Warning > Using a large number of jobs can significantly impact memory > consumption. A good recommendation is to have at least 2 GiB of RAM > for every job specified (so, e.g. -j6 requires at least 12 GiB). To > avoid running out of memory, lower the number of jobs to fit the > available memory. If you have a fancy-schmancy "desktop environment" allow another 3 or 4 Gigs, especially if you're simultaneously running Chrome or calculating large spreadsheets or processing large documents. For "MAKEOPTS=-j17" you'll need at least 36-to-40 gigabytes. -- 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] x11-bas/xorg-x11 removal
On Sat, Oct 29, 2022 at 11:39:47PM +0100, Neil Bothwick wrote > > qlist -IC | grep -e x11-base -e x11-apps -e x11-fonts >/etc/portage/sets/x11 > emerge -n @x11 > > Saves filling @world with dozens of x11 entries. 1) Has /var/lib/portage/set_name been deprecated? 2) Will items in /etc/portage/sets/ be automatically updated each time you update world? -- 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] [SOLVED] rsync local mirror question
On Wed, Oct 26, 2022 at 05:42:24PM +0100, Michael wrote > On Wednesday, 26 October 2022 16:48:29 BST Walter Dnes wrote: > > * In https://wiki.gentoo.org/wiki/Local_Mirror the file to change is > > given as /etc/portage/repos.conf/gentoo-mirror.conf There is no such > > file on my system. Should I file a documentation bug? > > Yes, I think it should be updated. Problem; "https://bugs.gentoo.org/enter_bug.cgi; specifically says "Documentation: Documentation other than Wiki and translations." The documentation problem is on the wiki page. Now what? -- 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.
[gentoo-user] [SOLVED] rsync local mirror question
On Tue, Oct 25, 2022 at 11:07:14PM +0100, Michael wrote > > No, you shouldn't have to do any such thing. Just make sure you > have set up in your '/etc/portage/repos.conf/gentoo.conf' the correct > rsync mirror and commented out the server on the Internet; e.g.: OK, I tried it on my other used Lenovo laptop (thimk2) and it works. But "inquiring minds want to know"... * In your instructions '/etc/portage/repos.conf/gentoo.conf' is the file to change sync-uri in (and it works). * In https://wiki.gentoo.org/wiki/Local_Mirror the file to change is given as /etc/portage/repos.conf/gentoo-mirror.conf There is no such file on my system. Should I file a documentation bug? -- 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] Update to /etc/sudoers disables wheel users!!!
On Wed, Oct 26, 2022 at 05:04:35AM +0200, Ramon Fischer wrote > Hello Walter, > > I do not think, that this is a bug, since it is the default file, which > should not be edited by the user. Firstly "grep -i uncomment /etc/sudoers" results in... ## Uncomment to enable special input methods. Care should be taken as ## Uncomment to use a hard-coded PATH instead of the user's to find commands ## Uncomment to send mail if the user does not enter the correct password. ## Uncomment to enable logging of a command's output, except for ## Uncomment to allow members of group wheel to execute any command ## Uncomment to allow members of group sudo to execute any command ## Uncomment to allow any user to run sudo if they know the password ...I.e. the file is explicitly telling you to edit it if required!!! > All changes should be done in "/etc/sudoers.d/" to avoid such cases. My regular user has script "settime" in ${HOME}/bin #!/bin/bash date /usr/bin/sudo /usr/bin/rdate -nsv ca.pool.ntp.org /usr/bin/sudo /sbin/hwclock --systohc date /etc/sudoers.d/001 has, amongst other things, two lines... waltdnes x8940 = (root) NOPASSWD: /sbin/hwclock --systohc waltdnes x8940 = (root) NOPASSWD: /usr/bin/rdate -nsv ca.pool.ntp.org User "waltdnes" is a member of "wheel". If the "wheel" line is uncommented in /etc/sudoers, sudo works for me. If the "wheel" line is commented, then sudo breaks for my regular user. > I kept mine unchanged from 2nd October and only have two uncommented lines: > > [...] > root ALL=(ALL:AlL) ALL > [...] > @includedir /etc/sudoers.d > > I am using version "1.9.11_p3-r1". Me too. There seem to be two different approaches here. The loose approach is to allow a user to run "sudo ". A more locked down approach allows regular users to run "sudo ". This guards against "fat-finger-syndrome". I go with the more locked down approach -- 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.
[gentoo-user] Update to /etc/sudoers disables wheel users!!!
I had the following in my /etc/sudoers before tonight's update... ## Uncomment to allow members of group wheel to execute any command %wheel ALL=(ALL:ALL) ALL ## Same thing without a password %wheel ALL=(ALL:ALL) NOPASSWD: ALL ...and my regular user was able to run commands and scripts via /usr/bin/sudo which had been authorized in files in the /etc/sudoers.d directory. Tonight's update changed /etc/sudoers to... ## Uncomment to allow members of group wheel to execute any command # %wheel ALL=(ALL:ALL) ALL ## Same thing without a password # %wheel ALL=(ALL:ALL) NOPASSWD: ALL I was "like WTF?!?" but I let it through. sudo stopped working for my regular user. As root, I went in and manually reverted the update with visudo. Is this a bug? -- 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] rsync local mirror question
On Tue, Oct 25, 2022 at 11:07:14PM +0100, Michael wrote > > sync-type = rsync > #sync-uri = rsync://rsync.gentoo.org/gentoo-portage > sync-uri = rsync://192.168.1.252/gentoo-portage Thanks Michael (and Adam). I did indeed forget to update sync-uri. I subscribe to Netflix, which requires Google-Chrome. It nags for security updates every few days, so I'll soon find out how well the corrected mirror setup works. Question: Can I leave "GENTOO_MIRRORS" uncommented in make.conf? The minimal change for my laptop would be... ...when at home on my LAN... #sync-uri = rsync://rsync.gentoo.org/gentoo-portage sync-uri = rsync://192.168.1.252/gentoo-portage ...when taking the laptop out of my apartment... sync-uri = rsync://rsync.gentoo.org/gentoo-portage #sync-uri = rsync://192.168.1.252/gentoo-portage -- 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.
[gentoo-user] rsync local mirror question
I followed https://wiki.gentoo.org/wiki/Local_Mirror instructions for doing a local rsync mirror. I ran commented the rsync mirrors line in the client's make.conf and ran "emerge --sync". The client still synced from a server on the internet. Do I need to manually force rsync to go local, e.g... [thimk][root][~] rsync 192.168.1.252:: gentoo-portage Gentoo ebuild repository -- 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.
[gentoo-user] Re: [SOLVED] hibernate... /bin/echo: write error: No such device
On Wed, Jul 27, 2022 at 05:53:08PM -0400, Walter Dnes wrote > One of the last few items on the laptop setup. I emerged hibernate > and copied over the /etc/hibernate/ directory from my desktop. When I > try to hibernate the laptop, I get... > > [thimk][root][~] hibernate > /bin/echo: write error: No such device > > ...with a beep, and the machine comes back. PEBKAC++. Multiple facepalm. I outdid myself here. I got lazy on the laptop install by copying config files from another machine... and it came back to bite me. Here was my /etc/fstab ... /dev/sda1 /boot vfat defaults,noatime1 2 /dev/sda2 / ext3 noatime,nodiratime,async,user_xattr 0 1 /dev/sda3 noneswap sw 0 0 ...but, but, but... this is a used Lenovo laptop, too old for UEFI, with only 75 gigs of disk and I've only got two partitions on it. I corrected fstab to the proper... /dev/sda1 / ext3 noatime,nodiratime,async,user_xattr 0 1 /dev/sda2 noneswap sw 0 0 I'm surprised that LILO booted at all with the bad fstab. There were only some error message lines that scrolled by really fast at bootup. Otherwise a perfectly normal bootup. I finally got around to stopping the laptop in mid-bootup tonight, and looking at the error message. Something about fsck.ext3 not finding a magic superblock on /dev/sda2. This prompted me to dig through the system and find the problem. And, oh yeah, hibernate now works with one quirk. I assume hibernate was reading the swap partition name from /etc/fstab for hibernation. Of course it got "write error: No such device" when trying to save to a non-existant swap partition /dev/sda3. The one quirk is that bootup comes from the first menu item in LILO, unless I manually over-ride. I can parse the boot image name from /proc/cmdline and feed it into "lilo -R". Then I'll have to insert it into the hibernate shutdown scripts. -- 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.
[gentoo-user] [SOLVED] Problem logging on to wifi
On Fri, Sep 09, 2022 at 10:40:04AM -0400, Walter Dnes wrote > Here are the first 4 lines from scan_result at an establishment. I've > replaced the 3-word ccompany name with " ". Note that they > share the same bssids with "BELL342". > > Selected interface 'wlan0' > bssid / frequency / signal level / flags / ssid > 26:20:c7:c2:b7:a7 5220-53 [WPA2-PSK-CCMP][ESS] > 24:20:c7:c2:b7:a7 5220-53 [WPA2-PSK-CCMP][ESS]BELL342 > 24:20:c7:c2:b7:a6 2462-28 [WPA2-PSK-CCMP][ESS]BELL342 > 26:20:c7:c2:b7:a6 2462-46 [WPA2-PSK-CCMP][ESS] > > I've tried... > > wpa_cli password " " > wpa_cli password \ \ > > ...and they both return "FAIL". Any ideas on what to try next? PEBKAC. I was mis-reading the instructions. Since the sign at the breakfast place mentioned "password", in the wpa_cli dialogue I entered... > set password 0 " " "password" ...when I should've been entering... > set_network 0 ssid " " > set_network 0 psk "password" The flags "[WPA2-PSK-CCMP][ESS]" should've been the hint. https://wiki.archlinux.org/title/wpa_supplicant#Connecting_with_wpa_passphrase set me straight. BTW, wpa_cli is "the hard way" of doing things. What's "the easy way", you ask? It's a short script like so... #!/bin/bash /etc/init.d/wpa_supplicant stop wpa_supplicant -B -i wlan0 -c <(wpa_passphrase "ssid" "password") No need for a stanza in wpa_supplicant.conf. Note: *THE SCRIPT MUST BE RUN FROM A ROOT SHELL. "SUDO" WILL NOT WORK.* The "wpa_passphrase" tool is installed as part of "wpa_cli" install, no extra setup needed. I was the first customer in for breakfast, so I had the wifi network capacity all to myself. https://www.speedtest.net/result/13728930233 is the result from Speedtest Net, over 31 mbits down and 10 mbits up. -- 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] Cannot shutdown or reboot because of logind disconnection
On Sat, Sep 17, 2022 at 10:40:53AM +0800, johnstrass wrote > Compiling gcc uses alot of memory, sometimes only less then 10MB > left free ( I am doing this on a small yeeloong netbook with only > 1GB memory). Ouch, I'm surprised it compiles at all. The Gentoo install handbook https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#MAKEOPTS has a dire warning about memory usage... > Warning > Using a large number of jobs can significantly impact memory > consumption. A good recommendation is to have at least 2 GiB of RAM > for every job specified (so, e.g. -j6 requires at least 12 GiB). To > avoid running out of memory, lower the number of jobs to fit the > available memory. You simply don't have enough ram. You might reduce the pain and the swapping by trying something like the following in make.conf (assuming you haven't already done it) MAKEOPTS="-j1" > If this happens, what is the best way to reboot or shutdown? Try ye olde {CTRL}{ALT}{DEL} -- 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.
[gentoo-user] Problem logging on to wifi
Here are the first 4 lines from scan_result at an establishment. I've replaced the 3-word ccompany name with " ". Note that they share the same bssids with "BELL342". Selected interface 'wlan0' bssid / frequency / signal level / flags / ssid 26:20:c7:c2:b7:a7 5220-53 [WPA2-PSK-CCMP][ESS] 24:20:c7:c2:b7:a7 5220-53 [WPA2-PSK-CCMP][ESS]BELL342 24:20:c7:c2:b7:a6 2462-28 [WPA2-PSK-CCMP][ESS]BELL342 26:20:c7:c2:b7:a6 2462-46 [WPA2-PSK-CCMP][ESS] I've tried... wpa_cli password " " wpa_cli password \ \ ...and they both return "FAIL". Any ideas on what to try next? -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] Lenovo T400 wifi scan and connect questions
During launch, wpa_supplicant blows up on... DIR=/var/run/wpa_supplicant GROUP=wheel DIR=/var/run/wpa_supplicant GROUP=0 https://wiki.gentoo.org/wiki/Wpa_supplicant#Configuration recommends... ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel The 3 lines in my wpa_supplicant.conf that are not commented out are... ctrl_interface_group=0 ap_scan=1 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel Thank you for your help. It works. I live in a condo building. As a regular user "wpa_cli scan" followed by "wpa_cli scan_result" shows approximately a couple of dozen machines. BTW I've disabled MVM and wifi still works. One last question; I occasionally see signs in various places saying Our network name is "foo" and password is "bar". My reading of the wpa_cli man page indicates I should use... wpa_cli password foo bar ...to log on. Is that correct? -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] Lenovo T400 wifi scan and connect questions
I'm having problems, even running as root. As per the previous message, the system is detecting the hardware, but wpa_aupplicant cannot get going. I have a minimal /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant update_config=1 From https://wiki.gentoo.org/wiki/Wpa_supplicant#Using_wpa_cli the command for debugging is... wpa_supplicant -Dnl80211 -iwlan0 -C/var/run/wpa_supplicant/ -c/etc/wpa_supplicant/wpa_supplicant.conf -dd ...to which I appended ">>logfile.txt 2>&1" to grab all output. I waited for a minute or so, and got the logfile which I've attached. Any ideas? -- Walter Dnes I don't run "desktop environments"; I run useful applications logfile.txt.gz Description: application/gzip
[gentoo-user] Lenovo T400 wifi scan and connect questions
1) the output of "dmesg | grep iwlwifi" is... [0.640780] iwlwifi :03:00.0: can't disable ASPM; OS doesn't have ASPM control [0.641112] Loading firmware: iwlwifi-5000-5.ucode [0.641332] iwlwifi :03:00.0: loaded firmware version 8.83.5.1 build 33692 5000-5.ucode op_mode iwldvm [0.641360] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEBUG disabled [0.641364] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled [0.641367] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled [0.641370] iwlwifi :03:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54 [ 17.311014] iwlwifi :03:00.0: Radio type=0x1-0x2-0x0 [ 17.424989] iwlwifi :03:00.0: Radio type=0x1-0x2-0x0 Nice to see that it detects the 5100 AGN just like lspci. As the old saying goes, "use it or lose it"; I used to be able to run wifi on this machine manually (command line) in the past, but now I've completely forgotten how. I've emerged "iw" and "wpa_supplicant". "iw dev" shows phy#0 Interface wlan0 ifindex 3 wdev 0x1 addr 00:26:c6:4a:b4:92 type managed txpower 15.00 dBm Questions... 1) what do I do to scan and get a list of available networks? 2) how do I connect to one of the listed networks (assuming either it's public, or I have the password) ? 3) minor detail... The Google hits I've found all show both DVM and MVM support enabled. Given that dmesg output shows "op_mode iwldvm", can I safely get rid of MVM support ? -- Walter Dnes I don't run "desktop environments"; I run useful applications