Re: [gentoo-user] Console scrollback is back again!

2021-04-06 Thread John Covici


On Tue, 06 Apr 2021 09:14:23 -0400,
Peter Humphrey wrote:
> 
> On Monday, 5 April 2021 19:13:18 BST Alan Mackenzie wrote:
> 
> > We'll see how people react to it here, first.
> 
> You're my hero!

Would this patch work on 5.4.96 and following?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: problem mounting windows share on samba

2021-03-18 Thread John Covici


On Thu, 18 Mar 2021 11:48:46 -0400,
Grant Edwards wrote:
> 
> On 2021-03-18, John Covici  wrote:
> 
> > Hi.  I have a strange problem mounting a windows share on my gentoo
> > box.  I have two windows disks that I can share c and d drive.  If I
> > write
> > mount.smb3 //ccs2/c the c drive is mounted.  If I say mount.smb3
> > //ccs2/d  the system does not complain, but I get the c drive
> > instead.  In both cases it asks for the password and I give it.
> >
> > Windows version is 20h2 and samba version is 4.13.4.
> 
> This is probably irrelevant, but I thought everybody switched from the
> samba client to cifs many years ago. Is there some particular reason
> you're using samba instead of the kernel's cifs support?
> 
> --
> Grant
> 
> 
> 

I was using the samba client, but I also tried the cifs using
mount.cifs with the same result.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problem mounting windows share on samba

2021-03-18 Thread John Covici
Hi.  I have a strange problem mounting a windows share on my gentoo
box.  I have two windows disks that I can share c and d drive.  If I
write
mount.smb3 //ccs2/c the c drive is mounted.  If I say mount.smb3
//ccs2/d  the system does not complain, but I get the c drive
instead.  In both cases it asks for the password and I give it.

Windows version is 20h2 and samba version is 4.13.4.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] how to install mailman3 on gentoo

2021-03-12 Thread John Covici


On Fri, 12 Mar 2021 02:47:46 -0500,
Matthias Hanft wrote:
> 
> John Covici wrote:
> > Hi.  I have to convert my mailman2 to mailman3 because of the python
> > business.  I installed the appropriate packages, but their
> > documentation as to how to set it up and upgrade mailman2 is quite
> > inscrutible -- also it assumes ubunto and some strange python things
> > such as installing in a virtual environment, and assumes postgresql
> > which I might or might not want to do.  Anyway, I have no idea what I
> > am doing here, so if anyone has figured this out, I would appreciate
> > some assistance.
> 
> Same here.  My solution: I changed to mlmmj - http://mlmmj.org/ (available
> with Portage) - and everything works fine.  Configuration is done by
> simple text files, and transferring the list members is just copy-and-paste.
> 
> If you're not stuck to mailman, you could take this into consideration.

I will look into that one.  I would like to use mailman, but it seems
difficult and obscure.

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] how to install mailman3 on gentoo

2021-03-11 Thread John Covici
Hi.  I have to convert my mailman2 to mailman3 because of the python
business.  I installed the appropriate packages, but their
documentation as to how to set it up and upgrade mailman2 is quite
inscrutible -- also it assumes ubunto and some strange python things
such as installing in a virtual environment, and assumes postgresql
which I might or might not want to do.  Anyway, I have no idea what I
am doing here, so if anyone has figured this out, I would appreciate
some assistance.

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: What is the best way forward? - Update 2 - SUCCESS! - CURRENT!!!

2021-03-08 Thread John Covici
On Mon, 08 Mar 2021 18:37:21 -0500,
Grant Taylor wrote:
> 
> On 3/8/21 4:03 PM, Grant Edwards wrote:
> > How do you feel it compares to just installing from scratch
> > while preserving whatever config and user data you care about?
> > I've done that quite a few times and it usually takes about 2-3
> > hours for the initial install and then overnight to build a
> > desktop environment (if one is needed).
> 
> I feel like installing from scratch misses a lot of things.  Even
> wholesale overwriting the new /etc with the old /etc is
> questionable. You'd have to make sure that all the same software
> was installed.
> 
> Aside:  I've spent too much time around other SAs that would
> ""recover a down server by doing fresh installs in hours and then
> spending weeks to get everything back to the way that it needed
> to be verses spending ~18 hours to restore from tape and have
> things work the way they were 24 hours prior.  I also never cared
> for in place upgrades (installing over top of itself) in the
> Windows world.
> 
> I feel *MUCH* /more/ comfortable with what I did than other
> solutions. I trust that this is the same install with patches
> applied.  I couldn't and wouldn't say the same for an
> installation over the top or fresh installation.
> 
> Don't get me wrong.  I believe there are places for fresh
> installations.  They usually happen coordinate with new machines
> and / or new drives for me.
> 
> After all, I effectively have the same thing that I would have if
> I had done updates over the last year like they should have been
> done.
> 
> 

hmmm, I had to do a sort of fresh install, I did it on my running
system and I did it because portage and other stuff was messed up in
some way I could not fix, so I did the install, copied parts of my
/etc, emerged part of my world file -- that needed cleaning up too --
and kept doing this till I was done and then copied from my chroot to
my main system.  I don't necessarily recomend this, but it did get
things cleaned up and working again.  At least I didn't have to change
profiles and gcc versions several times.  I guess different situations
require different methods.



-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] bgo seems to be down

2021-03-05 Thread John Covici
Hi.  I just wanted to let someone know bgo is not reachable, cannot
ping or connect with https.  Traceroute ends at
15  172.255.53.212 (172.255.53.212)  84.606 ms  86.238 ms  85.071 ms

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] make[1]: *** [kernel/Makefile:134: kernel/kheaders_data.tar.xz] Error 127

2021-03-04 Thread John Covici


On Thu, 04 Mar 2021 22:22:47 -0500,
Walter Dnes wrote:
> 
>   I'm doing a fresh install on another Lenovo Thinkpad.  First attempt
> at a kernel build ends with...
> 
> 
>   CC  kernel/kallsyms.o
>   CC  kernel/acct.o
>   CC  kernel/crash_core.o
>   CC  kernel/utsname.o
>   CC  kernel/pid_namespace.o
>   GZIPkernel/config_data.gz
>   CC  kernel/configs.o
>   CHK kernel/kheaders_data.tar.xz
>   GEN kernel/kheaders_data.tar.xz
> make[1]: *** [kernel/Makefile:134: kernel/kheaders_data.tar.xz] Error 127
> make: *** [Makefile:1726: kernel] Error 2
> 
> 
>   I ran the build from within "time".  I know that this problem occured
> 3 minutes 41 seconds into the build.  I'm not a kernel hacker.  Any
> ideas?

I wonder if you ran out of space or memory.  What .config did you use?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] fcrontab -e: ERROR Could not init PAM account management (9)

2021-03-03 Thread John Blinka
Hello, Gentooers,

I have 3 amd64 Gentoo systems.  Somewhat different hardware, but all
running the same Gentoo profile, same world file, same /etc/portage.
All up to date, all using the same binpkgs for all installed hardware.
At least as far as I can tell. I don't have a robust mechanism for
enforcing consistency among the machines, but I try to maintain them
as identically as possible.  Little differences sneak in.

I've been using fcron for years, and I rarely need to touch it.
Recently I discovered that it works differently on the 3
machines.  Only for my personal user account "john", but not for root.

On 1 machine, fcrontab -e works as expected for "john".  On the other
2, it generates this error when invoked:
ERROR Could not init PAM account management (9): Authentication
service cannot retrieve authentication info

This message comes from inside fcrontab.  The source code indicates
that it occurs from a failure of a call to pam_acct_mgmt().  That's
the part of the pam interface which checks for a valid account.

The "john" account has no other pam issues.  It's the account I have
used for all normal activity for the 20+ years I've used Gentoo.  It
has the same /etc/passwd and /etc/group entries on all machines.
/etc/pamd.d is identical on all machines: content, timestamps, and
ownership included.  So, I'm at a loss for what to examine next.  I'm
thinking that atching what pam does on the working/nonworking machines
may provide some clues.

There's a pam_debug module that I assume is written to do just this.
But I find the man page confusing, and Google sheds more darkness than
light.

Can anyone explain how they debug pam problems?

Thanks,

John



Re: [RESOLVED] [gentoo-user] zfs repair needed (due to fingers being faster than brain)

2021-03-02 Thread John Blinka
To all who replied to my distress signal,

The repair turned out to be pretty painless.  In two ways:

First, getting quality advice from all of you sans the roasting I deserved
;), and

Second, gdisk fixed the gpt header and partition table easily (details
below).  After that, I rebooted, zfs recognized the disk, and then it
started a resilver automatically.  It was done a few minutes later, and now
everything’s back to normal.

Gdisk noted that both the main gpt header and main partition table were
damaged, but the backups were ok.  I bypassed gdisk’s offer to use either
the current gpt or to create a blank gpt, because I didn’t understand
exactly what “current” or “blank” meant.

Instead, I invoked the recovery & transformation menu with “r”.  Then I
used “b” to rebuild the damaged main gpt header with the good backup,
followed by “c” to restore the partition table from the good backup.  I
then printed the partition table.  It looked exactly like the partition
tables on the other disks of the same make and model in the zfs pool
(modulo what looked like a unique zfs partition name).  That made me
comfortable, so I wrote the changes to disk, rebooted, and found everything
back to normal after the resilver.

Appreciate all the help.  Thanks!

John


[gentoo-user] zfs repair needed (due to fingers being faster than brain)

2021-03-01 Thread John Blinka
HI, Gentooers!

So, I typed dd if=/dev/zero of=/dev/sd, and despite
hitting ctrl-c quite quickly, zeroed out some portion of the initial
part of a disk.  Which did this to my zfs raidz3 array:

NAME STATE READ WRITE CKSUM
zfs  DEGRADED 0 0 0
  raidz3-0   DEGRADED 0 0 0
ata-HGST_HUS724030ALE640_PK1234P8JJJVKP  ONLINE   0 0 0
ata-HGST_HUS724030ALE640_PK1234P8JJP3AP  ONLINE   0 0 0
ata-ST4000NM0033-9ZM170_Z1Z80P4C ONLINE   0 0 0
ata-ST4000NM0033-9ZM170_Z1ZAZ8F1 ONLINE   0 0 0
14296253848142792483 UNAVAIL  0 0
   0  was /dev/disk/by-id/ata-ST4000NM0033-9ZM170_Z1ZAZDJ0-part1
ata-ST4000NM0033-9ZM170_Z1Z80KG0 ONLINE   0 0 0

Could have been worse.  I do have backups, and it is raid3, so all
I've injured is my pride, but I do want to fix things.I'd
appreciate some guidance before I attempt doing this - I have no
experience at it myself.

The steps I envision are

1) zpool offline zfs 14296253848142792483 (What's that number?)
2) do something to repair the damaged disk
3) zpool online zfs 

Right now, the device name for the damaged disk is /dev/sda.  Gdisk
says this about it:

Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!

Warning: Invalid CRC on main header data; loaded backup partition table.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.

Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!

Warning! One or more CRCs don't match. You should repair the disk!
Main header: ERROR
Backup header: OK
Main partition table: ERROR
Backup partition table: OK

Partition table scan:
  MBR: not present
  BSD: not present
  APM: not present
  GPT: damaged

Found invalid MBR and corrupt GPT. What do you want to do? (Using the
GPT MAY permit recovery of GPT data.)
 1 - Use current GPT
 2 - Create blank GPT

Your answer: ( I haven't given one yet)

I'm not exactly sure what this is telling me.  But I'm guessing it
means that the main partition table is gone, but there's a good
backup.  In addition, some, but not all disk id info is gone:
1) /dev/disk/by-id still shows ata-ST4000NM0033-9ZM170_Z1ZAZDJ0 (the
damaged disk) but none of its former partitions
2) /dev/disk/by-partlabel shows entries for the undamaged disks in the
pool, but not the damaged one
3) /dev/disk/by-partuuid similar to /dev/disk/by-partlabel
4) /dev/disk/by-uuid does not show the damaged disk

This particular disk is from a batch of 4 I bought with the same make
and specification and very similar ids (/dev/disk/by-id).  Can I
repair this disk by copying something off one of those other disks
onto this one?  Is repair just repartitioning - as in the Gentoo
handbook?  Is it as simple as running gdisk and typing 1 to accept
gdisk's attempt at recovering the gpt?  Is running gdisk's recovery
and transformation facilities the way to go (the b option looks like
it's made for exactly this situation)?

Anybody experienced at this and willing to guide me?

Thanks,

John Blinka



Re: [gentoo-user] Is the "Messages for package ..." output from emerge logged somewhere?

2021-02-28 Thread John Covici


On Sun, 28 Feb 2021 16:35:58 -0500,
Grant Taylor wrote:
> 
> Hi,
> 
> Is the "Messages for package ..." output from emerge logged somewhere?
> 
> I'd like to re-read the "Messages for package ..." output from
> emerge after the fact.  Is there a concise collection of that
> somewhere?  Or do I have to pilfer through logs of each and every
> package to find it?
> 
> I'm hoping that the "Messages for package ..." output that shows
> up at the end of an emerge (e.g. @system or @world) is
> conveniently available.
> 
> 

If you have save_summary (check spelling) in your make.conf then they
are in /var/log/portage/elog/summary.txt .

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] What is the best way forward?

2021-02-24 Thread John Covici
On Wed, 24 Feb 2021 21:20:05 -0500,
Grant Taylor wrote:
> 
> On 2/24/21 6:48 PM, John Covici wrote:
> > What you could try to do, if you are syncing using git, is to
> > roll it back to those dates by checking out a commit each time
> > and doing an update.  I don't guarantee it would work, but its
> > worth a shot, otherwise reinstall time.
> 
> I hit send too soon.
> 
> Thank you for the reply John.
> 

The portdir has to be the one gotten from git, not rsync, and remember
I think there was a major profile  change during that time period
along with changes in the C compiler.  Unless you have a lot of
customizations, reinstall would be much better.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] What is the best way forward?

2021-02-24 Thread John Covici


On Wed, 24 Feb 2021 20:43:39 -0500,
Grant Taylor wrote:
> 
> I need to update a system that hasn't been updated in 337 days
> (March 24th 2020.  --  Life has been ... trying.
> 
> What is the best way forward?
> 
> It seems as if there have been a lot of changes in the interim;
> glibc, Python 2.7 being deprecated, default Python going to
> 3.7(?), other breaking changes
> 
> Is there a way that I can sync portage to something from April,
> May, or even June of 2020, do a full update (including "-DUNe
> @world")? Iterating through multiple rounds to get current?
> 
> Any help would be appreciated.

What you could try to do, if you are syncing using git, is to roll it
back to those dates by checking out a commit each time and doing an
update.  I don't guarantee it would work, but its worth a shot,
otherwise reinstall time.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Moving from Lastpass to Bitwarden

2021-02-18 Thread John Covici
On Thu, 18 Feb 2021 10:04:21 -0500,
Neil Bothwick wrote:
> 
> On Thu, 18 Feb 2021 15:22:52 +0100, Frank Steinmetzger wrote:
> 
> > Call me Ishmael^wold-fashioned. I don’t trust the Internet with anything
> > sensitive. Even if the other party behaves trustworthy (trustwortily?).
> > If it’s on someone else’s system, it’s out of my reach. A password
> > database not only contains the passwords themselves, but naturally also
> > what I have passwords for in the first place.
> 
> [snip]
> 
> > So the natural answer for my password needs is keepass (by now the XC
> > variant). I sync it between my Linux machines with all other files using
> > unison.
> 
> That's what I was using, but I now run my own BitWarden server, so I get
> the convenience and the security.

If I were to run my own bitwarden server,  which seems not to be in
the tree, is there a way I can use windows, mac and ios to get
passwords from it?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] routine maintenance.

2021-02-18 Thread John Covici
On Thu, 18 Feb 2021 08:12:02 -0500,
Michael wrote:
> 
> [1  ]
> On Thursday, 18 February 2021 06:54:29 GMT Alan Grimes wrote:
> 
> > The other discovery was that my /home drive is a 3.0 tb Toshiba unit
> > from 2014... man time flies!!! =P This means that the thing should
> > probably be replaced due to being old as hell...
> 
> I've got disks spinning around for more than 10 years before yours had 
> started.  One has been showing similar errors for almost half its life.
> 
> 
> > I'm not going to get too excited about 24 reallocated sectors on a drive
> > this large... Actually I have a drive in my NAS that's going down hill
> > rapidly, I think the power supply to the slot its in is weaker than the
> > others and well...
> > 
> > Any thoughts about running a drive this old, and what I should be
> > looking at as a replacement?
> 
> I can't advise on a replacement, other than say check if any candidate uses 
> Shingled Magnetic Recording (SMR) technology and avoid it unless your use 
> case 
> involves writing rarely, reading often.  Conventional drives use 
> Perpendicular 
> Magnetic Recording and will not suffer from the performance degradation of 
> SMRs when written to frequently and extensively.
> 
> 
> > Root is a 256gb SATA Samsung SSD, no concerns about lifespan on that
> > drive. I hadn't heard of M.2 yet when I bought it...
> 
> You'll be able to replace your spinning SATA with an SSD SATA using AHCI over 
> the same port.  You won't be able to get an M.2 NVMe (M-key socket 3) doing 
> its magic without a PCIe 3.0x4 port on your MoBo.
> 
> Sadly my hardware is too old and it won't boot using NVMe.
> 
> 
> > /dev/sdb1  2884152536 955486476 1782136424  35% /home
> > 
> > SMART Attributes Data Structure revision number: 16
> > Vendor Specific SMART Attributes with Thresholds:
> > ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE 
> > UPDATED  WHEN_FAILED RAW_VALUE
> >   1 Raw_Read_Error_Rate 0x000b   083   083   016Pre-fail 
> > Always   -   262570
> >   2 Throughput_Performance  0x0005   139   139   054Pre-fail 
> > Offline  -   72
> >   3 Spin_Up_Time0x0007   159   159   024Pre-fail 
> > Always   -   405 (Average 316)
> >   4 Start_Stop_Count0x0012   100   100   000Old_age  
> > Always   -   244
> >   5 Reallocated_Sector_Ct   0x0033   100   100   005Pre-fail 
> > Always   -   24
> >   7 Seek_Error_Rate 0x000b   100   100   067Pre-fail 
> > Always   -   0
> >   8 Seek_Time_Performance   0x0005   119   119   020Pre-fail 
> > Offline  -   35
> >   9 Power_On_Hours  0x0012   093   093   000Old_age  
> > Always   -   53677
> >  10 Spin_Retry_Count0x0013   100   100   060Pre-fail 
> > Always   -   0
> >  12 Power_Cycle_Count   0x0032   100   100   000Old_age  
> > Always   -   243
> > 192 Power-Off_Retract_Count 0x0032   100   100   000Old_age  
> > Always   -   271
> > 193 Load_Cycle_Count0x0012   100   100   000Old_age  
> > Always   -   271
> > 194 Temperature_Celsius 0x0002   181   181   000Old_age  
> > Always   -   33 (Min/Max 14/44)
> > 196 Reallocated_Event_Count 0x0032   100   100   000Old_age  
> > Always   -   27
> > 197 Current_Pending_Sector  0x0022   029   029   000Old_age  
> > Always   -   1456
> 
> This value is worth considering further.  Start with a backup of your data, 
> but do not overwrite your older backups.
> 
> Then consider zeroing the defective sectors.
> 
> https://www.thomas-krenn.com/en/wiki/
> Analyzing_a_Faulty_Hard_Disk_using_Smartctl
> 
> With 1456 pending sectors you'll be there for a while.  Alternatively ditch 
> it 
> and get a new drive as you intend to do anyway.

Or, get spinwrite and when the beta comes out, which is very soon now,
you may be able to fix your drive!

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Moving from Lastpass to Bitwarden

2021-02-17 Thread John Covici
On Tue, 16 Feb 2021 19:04:01 -0500,
Dale wrote:
> 
> Howdy,
> 
> Lastpass is forcing people to use only one device type or pay a fee. 
> I've used the free version of Lastpass for years and it works well for
> me.  I use it on my desktop and my cell phone too.  However, I don't
> want to be limited to one device type and I also don't care much for
> paying for the service either. After doing some searching, it seems
> Bitwarden is pretty close to Lastpass.  Anyone here used both that can
> tell me if there is any differences between the two, bad differences for
> sure?  The new restrictions don't start for a while, March I think, so I
> have time to switch.  According to search info, I can even export from
> Lastpass and import to Bitwarden pretty easily. 
> 
> The only downside I've found so far is that Bitwarden isn't available
> for Seamonkey.  Thing is, Lastpass hasn't updated the addon for
> Seamonkey in 2 or 3 years either so I'm using a older legacy version
> anyway.  I'm not sure how much of a downside that is but I won't be able
> to use a password manager at all for Seamonkey.  I hate to say this but
> Seamonkey is going to die if people don't start getting addons working
> with it.  Firefox has tons of addons that Seamonkey doesn't.  I like
> that it is a browser and email all in one but it is getting more limited
> every day. 
> 
> Anyone have info on switching from Lastpass to Bitwarden?  Thoughts? 

hmmm, I never got a notice like that, but I am a premium user, so
maybe that is the reason.  It was worth it so I could give emergency
access.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] ruby problem preventing my world update

2021-02-14 Thread John Covici
On Sun, 14 Feb 2021 15:04:43 -0500,
Ionen Wolkens wrote:
> 
> [1  ]
> On Sun, Feb 14, 2021 at 02:41:31PM -0500, John Covici wrote:
> > Hi.  In trying to do my world update today, I have run into some kind
> > of ruby problem.
> > 
> > When doing the update portage had me add changes, seems mostly to do
> > with add ruby 3.0 as a ruby_target.  Now, I get the following at the
> > end of my world update log
> [...] 
> > 1: from /usr/lib64/ruby/2.5.0/rubygems.rb:17:in `'
> 
> Unlike python, ruby is not very good at selecting a version that works
> so eselect ruby actually matters. Here it's trying to 2.5.0 while it's
> half uninstalled and unsurprisingly fail.
> 
> Have a look at "eselect ruby list" and set a version that's actually in
> RUBY_TARGETS
> 
> With profile's default that'd be "eselect ruby set ruby26" or 30 if
> that's what you're using now.
> 

Thanks a lot, thatdidit, I wonder if ruby25 is used for anything,
maybe after this is done I will see if depclean can  unmerge it.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] ruby problem preventing my world update

2021-02-14 Thread John Covici
Hi.  In trying to do my world update today, I have run into some kind
of ruby problem.

When doing the update portage had me add changes, seems mostly to do
with add ruby 3.0 as a ruby_target.  Now, I get the following at the
end of my world update log

>>> Emerging (57 of 237) dev-ruby/racc-1.5.2-r1::gentoo
 * racc-1.5.2.tar.gz BLAKE2B SHA512 size ;-) ...

 [ ok ]
>>> Unpacking source...
 * Running unpack phase for all ...
>>> Unpacking racc-1.5.2.tar.gz to 
>>> /var/tmp/portage/dev-ruby/racc-1.5.2-r1/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/racc-1.5.2-r1/work
>>> Preparing source in /var/tmp/portage/dev-ruby/racc-1.5.2-r1/work ...
 * Running prepare phase for all ...
 * Running prepare phase for all ...
Traceback (most recent call last):
3: from :2:in `'
2: from :2:in `require'
1: from /usr/lib64/ruby/2.5.0/rubygems.rb:17:in `'
/usr/lib64/ruby/2.5.0/rubygems.rb:17:in `require': cannot load such file -- 
rubygems/compatibility (LoadError)
 * ERROR: dev-ruby/racc-1.5.2-r1::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 * ebuild.sh, line  125:  Called src_prepare
 *   environment, line 2205:  Called ruby-ng_src_prepare
 *   environment, line 1861:  Called _ruby_invoke_environment 'all' 
'_ruby_apply_patches'
 *   environment, line  717:  Called _ruby_apply_patches
 *   environment, line  552:  Called all_ruby_prepare
 *   environment, line  817:  Called die
 * The specific snippet of code:
 *   rake lib/racc/parser-text.rb || die;
 * 
 * If you need support, post the output of `emerge --info 
'=dev-ruby/racc-1.5.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv 
'=dev-ruby/racc-1.5.2-r1::gentoo'`.
 * The complete build log is located at 
'/var/log/portage/dev-ruby:racc-1.5.2-r1:20210214-164845.log'.
 * For convenience, a symlink to the build log is located at 
'/var/tmp/portage/dev-ruby/racc-1.5.2-r1/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/dev-ruby/racc-1.5.2-r1/temp/environment'.
 * Working directory: 
'/var/tmp/portage/dev-ruby/racc-1.5.2-r1/work/all/racc-1.5.2'
 * S: '/var/tmp/portage/dev-ruby/racc-1.5.2-r1/work/all/racc-1.5.2'

>>> Failed to emerge dev-ruby/racc-1.5.2-r1, Log file:

>>>  '/var/log/portage/dev-ruby:racc-1.5.2-r1:20210214-164845.log'
*** Resuming merge...

These are the packages that would be merged, in order:

Calculating dependencies  . done!
 * One or more packages are either masked or have missing dependencies:
 * 
 *   >=dev-ruby/minitest-5.10.3[ruby_targets_ruby25] pulled in by:
 * (dev-lang/ruby-2.5.8-r1:2.5/2.5::gentoo, installed)
 * 
 *   >=dev-ruby/bundler-2.1.4[ruby_targets_ruby30] pulled in by:
 * (dev-lang/ruby-3.0.0-r1:3.0/3.0::gentoo, installed)
 * 
 *   virtual/rubygems[ruby_targets_ruby25(-)] pulled in by:
 * (dev-ruby/bundler-2.2.4:2/2::gentoo, installed)
 * 
 *   virtual/rubygems[ruby_targets_ruby25(-)] pulled in by:
 * (dev-ruby/did_you_mean-1.2.1:2.5/2.5::gentoo, installed)
 * 
 *   virtual/ruby-ssl[ruby_targets_ruby25(-)] pulled in by:
 * (dev-ruby/racc-1.5.2:0/0::gentoo, installed)
 * 
 *   virtual/rubygems[ruby_targets_ruby25(-)] pulled in by:
 * (dev-ruby/rdoc-6.3.0:0/0::gentoo, installed)
 * 
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies.
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (dev-ruby/racc-1.5.2-r1:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/dev-ruby:racc-1.5.2-r1:20210214-164845.log'

I tried to emerge dev-ruby/racc, after re-installing
dev-ruby/rubygens, but no joy.

How can I proceed?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with dracut

2021-02-14 Thread John Covici
On Sat, 13 Feb 2021 12:19:42 -0500,
Rich Freeman wrote:
> 
> On Fri, Feb 12, 2021 at 9:39 AM John Covici  wrote:
> >
> > Hi.  I am having problems running dracut 0.51-r2 and 0.50-r2.  The
> > problem is that I have two  install_items lines like this
> > install_items+= /etc/modprobe.d/zfs.conf
> > install_items+= /etc/systemd/system/initrd-switch-root.service
> >
> 
> I'd keep the two separate lines and add --debug to the command line
> (and anything else verbosity-related, consider strace if that doesn't
> give you clues).  Your issue is with generation and not boot (right
> now), so just focus on the actual build process.
> 
> Haven't seen this issue and will take a look as I run dracut+zfs, but
> any debugging output you can get out of this will probably help.
> 

I got private mail from someone -- I also posted to the initramfs
mailing list, and he suggested to do --install followed by the string
from the command line and dracut took it!  Have not tried to reboot
with that kernel yet, but I thought I'd put this out in case someone
else runs into this.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with dracut

2021-02-13 Thread John Covici
On Sat, 13 Feb 2021 12:19:42 -0500,
Rich Freeman wrote:
> 
> On Fri, Feb 12, 2021 at 9:39 AM John Covici  wrote:
> >
> > Hi.  I am having problems running dracut 0.51-r2 and 0.50-r2.  The
> > problem is that I have two  install_items lines like this
> > install_items+= /etc/modprobe.d/zfs.conf
> > install_items+= /etc/systemd/system/initrd-switch-root.service
> >
> 
> I'd keep the two separate lines and add --debug to the command line
> (and anything else verbosity-related, consider strace if that doesn't
> give you clues).  Your issue is with generation and not boot (right
> now), so just focus on the actual build process.
> 
> Haven't seen this issue and will take a look as I run dracut+zfs, but
> any debugging output you can get out of this will probably help.

I did a debug and even the highest log level, but this is so early in
the process that was not much to go on.  I also did an strace, but
could not find where it was trying to open the files in question --
lots of child processes, so maybe I missed it -- I will have to see if
there is a way to have strace look at those.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with dracut

2021-02-13 Thread John Covici
I have some more information.   If I  chmod 777 on
/etc/modprobe.d/zfs.conf  it says options command not found, options
is the first word in the file which is
options zfs zfs_arc_max=0x1

Now if I put the files together on one line I get
/etc/dracut.conf:install_items+= "/etc/modprobe.d/zfs.conf
/etc/systemd/system/initrd-switch-root.service"

dracut: WARNING: +="  ":  should have surrounding
white spaces!
dracut: WARNING: This will lead to unwanted side effects! Please fix
the configuration file.

/etc/dracut.conf: line 54: /etc/modprobe.d/zfs.conf
/etc/systemd/system/initrd-switch-root.service: No such file or
directory

It seems to be treating it as one file.  If I separate the files into
two install_items lines, I get what I described in the original
message.

On Fri, 12 Feb 2021 09:39:38 -0500,
John Covici wrote:
> 
> Hi.  I am having problems running dracut 0.51-r2 and 0.50-r2.  The
> problem is that I have two  install_items lines like this
> install_items+= /etc/modprobe.d/zfs.conf
> install_items+= /etc/systemd/system/initrd-switch-root.service
> 
> and dracut says permission denied on both of them.  They are owned by
> root and are world readable and containing directories look good.  I
> even did an strace, but did not find where it tried to open those
> files.  I have been using dracut for years and never had this problem
> till recent versions.
> 
> Thanks in advance for any suggestions.
> 
> -- 
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
> 
>  John Covici wb2una
>  cov...@ccs.covici.com
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problems with dracut

2021-02-12 Thread John Covici
Hi.  I am having problems running dracut 0.51-r2 and 0.50-r2.  The
problem is that I have two  install_items lines like this
install_items+= /etc/modprobe.d/zfs.conf
install_items+= /etc/systemd/system/initrd-switch-root.service

and dracut says permission denied on both of them.  They are owned by
root and are world readable and containing directories look good.  I
even did an strace, but did not find where it tried to open those
files.  I have been using dracut for years and never had this problem
till recent versions.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] how to maintain and successfully compile inn

2021-02-09 Thread John Covici
Hi.  I see that inn is no longer in the tree and I have a local ebuild
for inn2.6.3, but it won't work because  of the following line
PYTHON_COMPAT=( python2_7 )

The error I get is:
 * ERROR: net-nntp/inn-2.6.3::local_ebuilds failed (depend phase):
  *   No supported implementation in PYTHON_COMPAT.
   *
* Call stack:
 * ebuild.sh, line 609:  Called source
 * '/usr/local/portage/net-nntp/inn/inn-2.6.3.ebuild'
 *  inn-2.6.3.ebuild, line   8:  Called inherit
 * 'autotools' 'eutils' 'multilib'
 * 'python-single-r1' 'toolchain-funcs'
 * ebuild.sh, line 314:  Called __qa_source
 * '/var/db/repos/gentoo/eclass/python-single-r1.eclass'
 * ebuild.sh, line 112:  Called source
 * '/var/db/repos/gentoo/eclass/python-single-r1.eclass'
 *   python-single-r1.eclass, line 269:  Called
 * _python_single_set_globals
 *   python-single-r1.eclass, line 209:  Called _python_set_impls
  *python-utils-r1.eclass, line 156:  Called die
   * The specific snippet of code:
*  die "No supported implementation in
 * PYTHON_COMPAT."
 
I still have python 2.7 probably because of issues in building
chrome, so how do I fix things to keep portage happy and what should I
do going forward  because I obviously don't want to depend on
python2.7 for actually running things.

I have mailman which I have to do something about as well, so I will
have to use their new ecosystem or switch to another mailing list
manager.

Thanks for any advice and thoughts on this subject.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

     John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problems with an ebuild for brltty

2020-12-24 Thread John Covici
Hi.  I have an ebuild for app-accessibility/brltty-6.2.ebuild -- I
 copied it from the 6.1, but the install fails, it compiles OK.  The
 ebuild is attached for your convenience.
 

Here is what I get and what the developer told me.

ectory
'/var/tmp/portage/app-accessibility/brltty-6.2/work/brltty-6.2-python3_8/Programs'
set -- --quiet build --build-temp .; \
[ "linux-gnu" != "mingw32" ] || set -- "${@}" --compiler mingw32; \
"/usr/bin/python3.8" ./setup.py "${@}"
[ "linux-gnu" != "mingw32" ] || "/usr/bin/python3.8" ./setup.py
--quiet bdist_wininst --skip-build
set -- --quiet install --skip-build --record "installed-files"; \
[ -z "/var/tmp/portage/app-accessibility/brltty-6.2/image" ] || set --
"${@}" --root "/var/tmp/portage/app-accessibility/brltty-6.2/image"; \
[ -z "" ] || set -- "${@}" --prefix ""; \
"/usr/bin/python3.8" ./setup.py "${@}"
 * ERROR: app-accessibility/brltty-6.2::local_ebuilds failed (install
  phase):
*   !!! newins: Autostart/Udev/rules does not exist
   *

Here is what the developer said:

>  *   !!! newins: Autostart/Udev/rules does not exist

That file has been renamed to device.rules. That's because there are
now two
ruells files - device.rules and uinput.rules. They should both be
installed.
Why doesn't gentoo just use brltty's make install-udev?

   udev_newrules Autostart/Udev/rules 70-brltty.rules

It should be: Autostart/Udev/device.rules

Note that there's another file now that also needs to be installed:

   Autopstart/Udev/uinput.rules newinitd
   "${FILESDIR}"/brltty.rc brltty

>systemd_dounit Autostart/Systemd/brltty@.service

Note that there's a new systemd instance unit that also needs to be
installed:

   Autostart/Systemd/brltty-device@.service

>systemd_dotmpfilesd "${FILESDIR}/${PN}.tmpfiles.conf"

I'm not sure of the precise syntax, here, but this file should be
installed as
brltty.conf (i.e. named after the package) when it's installed into
the
tmpfiles.d/ subdirectory.

There's also another systemd file, sysusers, which should be named
brltty.conf
(again named after the package) when it's installed into the
sysusers.d/
subdirectory.

>I wonder what to change to get this working?

Explained above. What I'm wondering, however, is why this is being
done outside
of the make file that brltty already comes to do all of this. Why not
just do:

   make install-systemd install-udev

I should also make sure to mention that there are two more systemd
units -
brltty.path and brltty@.path - that also need to be installed.

Really, we provide make files that do all of these things. How can any
distribution ever get it right when it wants to try to get it all
right its own
way? Code duplication is never good!


Please bear with me -- although I have used gentoo for years, I have
not done much with writing ebuilds.

Thanks in advance for any suggestions.

And, Merry Christmas to all on this list, you folks have been a great
help over the years.



brltty-6.2.ebuild
Description: Binary data

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com


Re: [gentoo-user] [SOLVED] How do I remove pam during/after an install.

2020-12-19 Thread John Covici
On Sat, 19 Dec 2020 20:52:48 -0500,
Walter Dnes wrote:
> 
>   Apologies for wasting peoples' time.  I was also inserting a rather
> large USE variable whilst removing pam.  This was a shock for the system
> and the real reason for system breakage..  Removing pam had nothing to
> do with it.  See
> http://wikigentoo.ksiezyc.pl/HOWTO_Remove_PAM.htm for pam-removal
> nstructions.  It's somewhat outdated but the basic instructions are OK.
> 
> ==
> Note: Don't do anything else while removing PAM. Do not log out of
> existing console sessions
> 
> First, edit make.conf and add -pam to the USE flags. Then:
> 
> # emerge -C pam pam-login && emerge -N shadow
> # emerge -uDN world
> 
> That's it! Your system is now PAM free.
> ==
OK, pardon my ignorance, what is wrong with pam?  Aside from the fact
that when you change versions you have to reboot or restart just about
everything.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Gobbledegook error message from emerge.

2020-12-11 Thread John Covici
On Fri, 11 Dec 2020 13:08:55 -0500,
Alan Mackenzie wrote:
> 
> Hello, Gentoo.
> 
> I'm angry, because I've wasted several hours trying to decypher a wholly
> unintuitive error "message" from emerge.  Because of this, it's been too
> long since I've been able to update.  Help, please!
> 
> The command I typed in was
> 
> # time emerge -auND @world.
> 
> I got back a horrendously long list of packages to merge (most of them
> re-merges), followed by:
> 
> emerge: there are no ebuilds built with USE flags to satisfy 
> "dev-python/pycparser[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)]".
> !!! One of the following packages is required to complete your request:
> - dev-python/pycparser-2.20-r1::gentoo (Change USE: +python_targets_python3_7)
> - dev-python/cffi-1.14.0-r3::gentoo (Change USE: -python_targets_python3_7)
> (dependency required by "dev-python/cffi-1.14.0-r3::gentoo" [ebuild])
> (dependency required by "dev-python/bcrypt-3.2.0::gentoo" [installed])
> (dependency required by "dev-python/paramiko-2.7.1::gentoo" [installed])
> (dependency required by "dev-vcs/bzr-2.7.0::gentoo" [installed])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
> 
> .  What is the syntax and semantics of that first line?  Is it explained
> somewhere in the emerge manual?  What do the square brackets mean?  What
> do the commas within these square brackes mean?  AND?  OR?  What about
> the question marks following minus signs inside parentheses?
> 
> What does "(Change USE: +python_targets_python3_7)" mean?  Is it a
> suggestion to me that I should change some USE flag somewhere?  Or is it
> telling me that a changed USE flag is the reason for all the trouble?  Or
> does it mean something else?
> 
> What is "dependency required by" supposed to mean?  I can understand a
> dependency of A on B.  I can understand A being required by B.  But a
> dependency being required?  what does this mean?
> 
> Presumably to get out of the mess I've got to do something with one of
> the packages which "is required to complete your request".
> 
> Surely somebody in the Gentoo portage team must see that printing human
> readable error messages is a worthwhile thing to do.  Surely?

Well, what portage is trying to tell you is that you need to change or
add a file  in your /etc/portage/package.use directory to specify
dev-python/pycparser python_targets_python3_7
and that should fix it  -- and if you have --autounmask-use =y (which
is the default) it should write the changes for you and after fixing
up your package.use file or directlry if necessary, you can proceed.

I hope that helps.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot emerge chromium 89.0.4343.0

2020-12-10 Thread John Covici
On Wed, 09 Dec 2020 13:58:01 -0500,
David Haller wrote:
> 
> Hello,
> 
> On Wed, 09 Dec 2020, John Covici wrote:
> >On Wed, 09 Dec 2020 11:20:06 -0500, Mark Knecht wrote:
> [..]
> >FAILED: obj/v8/v8_base_without_compiler/intl-objects.o 
> [..] -O2 -pipe -c ../../v8/src/objects/intl-objects.cc -o 
> obj/v8/v8_base_without_compiler/intl-objects.o
> >../../v8/src/objects/intl-objects.cc:52:28: error: static assertion failed: 
> >v8 is required to build with ICU 68 and up
> >   52 | V8_MINIMUM_ICU_VERSION <= U_ICU_VERSION_MAJOR_NUM,
> 
> The wording though is, ahm, backwards. You need dev-libs/icu >= 68.0,
> which is still unstable. Or set '-system-icu' as useflag.
> 
> HTH,
> -dnh
> 
> -- 
> printk(KERN_DEBUG "adintr: Why?\n");
>   linux-2.6.19/sound/oss/ad1848.c
> 
> 

Just to let people know, setting the use flag solved the problem --
Thanks to all who responded.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot emerge chromium 89.0.4343.0

2020-12-09 Thread John Covici
On Wed, 09 Dec 2020 12:39:16 -0500,
Michael wrote:
> 
> [1  ]
> On Wednesday, 9 December 2020 17:31:29 GMT John Covici wrote:
> > On Wed, 09 Dec 2020 11:20:06 -0500,
> > 
> > Mark Knecht wrote:
> > > [1  ]
> > > 
> > > On Wed, Dec 9, 2020 at 8:16 AM John Covici  wrote:
> > > > Hi.  In my latest update I cannot emerge Chromium 89.0.4343.0.  I am
> > > > finding it very hard to tell even where the error is, so I am asking
> > > > for help to figure this out.  I am attaching the entire build log to
> > > > this message because someone smarter than myself may be able to tell
> > > > me what is happpening here.
> > > > 
> > > > Thanks in advance for any suggestions.
> > > > 
> > > > --
> > > > Your life is like a penny.  You're going to lose it.  The question is:
> > > > How do
> > > > you spend it?
> > > > 
> > > >  John Covici wb2una
> > > >  cov...@ccs.covici.com
> > > 
> > > Down near the bottom it says (something like - I cannot copy it for some
> > > reason) v8_base_without_compiler/intl-objects failed.
> > > 
> > > It seems V8 is Google's Javascript stuff.
> > > 
> > > Building with -j1 would likely fail exactly where the problem is. I think
> > > it's building with -j2 which means this error is 1 back.
> > > 
> > > No idea how to solve.
> > 
> > OK, here it is with -j1, still not sure where the exact error is:
> 
> I think it complains about the internationalisation components for unicode - 
> are you building it with USE="+system-icu"?  Perhaps without it the bundled 
> code will work better.  Or, run a @world update first and then come back to 
> it 
> in case everything falls in line and completes without an error.

the only chromium related use flag I have is
>=net-libs/nodejs-13.7.0-r1 inspector

Otherwise I am using the defaults -- is there something I should
change?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] update fails, but I don't see why

2020-12-07 Thread John Covici
On Mon, 07 Dec 2020 07:59:13 -0500,
Arve Barsnes wrote:
> 
> On Mon, 7 Dec 2020 at 13:31, John Covici  wrote:
> > dev-python/paramiko:0
> >
> >   (dev-python/paramiko-2.7.1:0/0::gentoo, installed) USE="-doc
> >   -examples (-server) -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7
> >   python3_7 -python3_6 -python3_8" pulled in by
> >   
> > dev-python/paramiko[python_targets_python2_7(-),-python_single_target_python2_7(-)]
> >   required by (dev-vcs/bzr-2.7.1_pre:0/0::gentoo, installed) USE="sftp
> >   -curl -doc -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7"
> 
> This seems to be the first problem to solve right now. You have
> dev-vcs/bzr installed, which only supports python 2.7, and it keeps
> you back at the last dev-python/paramiko version which supported
> python 2.7. None of which are in the tree any more. Do you use bzr? If
> not, simply uninstall it.

Thanks much, that did it!!  I also had to use the mailman overlay
mentioned in the bug report, but for now, at least I can continue with
the update.  We will have to see what happens in another month!

Thanks again.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] update fails, but I don't see why

2020-12-07 Thread John Covici
On Fri, 04 Dec 2020 03:13:19 -0500,
n952162 wrote:
> 
> [1  ]
> On 12/3/20 10:11 PM, Adam Carter wrote:
> > On Fri, Dec 4, 2020 at 8:06 AM tastytea  > <mailto:gen...@tastytea.de>> wrote:
> > 
> > On 2020-12-03 21:33+0100 n952162  > <mailto:n952...@web.de>> wrote:
> > 
> > > I'm trying to update the gentoo system that I last updated 6 weeks
> > > ago, but it seems not to work.  Can somebody explain to me why?
> > 
> > Python 3.8 is the new default target and not all packages support it
> > yet. You can put
> >   */* PYTHON_TARGETS: python3_7
> > into /etc/portage/package.use as a workaround. Don't forget to remove
> > it in a month or so.
> > 
> > 
> > Try emerge -avuUD @world (the U is the critical bit). For me, it
> > pulled in a bunch of extra rebuilds (with -python3_7 and +python3_8).
> > After that depclean removed 3.7
> 
> 
> Here is the command I use (where target is @system @world) (somebody
> once said here it can be useful to first do @system):
> 
> time emerge \
>     $pretend \
>     -v \
>     --deep \
>     --update \
>     --changed-use \
>     --verbose-conflicts \
>     --keep-going \
>     --with-bdeps=y \
>     --changed-deps \
>     --backtrack=100 \
>     $target

hmm, so I put the following line in my package.use file at the end
*/* python_targets_python3_7 python_single_target_python_3_7

but I still get
!!! Multiple package instances within a single package slot have been
pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-python/paramiko:0

  (dev-python/paramiko-2.7.1:0/0::gentoo, installed) USE="-doc
  -examples (-server) -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7
  python3_7 -python3_6 -python3_8" pulled in by
  
dev-python/paramiko[python_targets_python2_7(-),-python_single_target_python2_7(-)]
  required by (dev-vcs/bzr-2.7.1_pre:0/0::gentoo, installed) USE="sftp
  -curl -doc -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7"


  (dev-python/paramiko-2.7.1:0/0::gentoo, ebuild scheduled for merge)
  USE="-doc -examples (-server) -test" ABI_X86="(64)"
  PYTHON_TARGETS="python3_7 python3_8 -python3_6 -python3_9" pulled in
  by
  
dev-python/paramiko[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)]
  required by (app-admin/ansible-base-2.10.3:0/0::gentoo, ebuild
  scheduled for merge) USE="-doc -test" ABI_X86="(64)"
  PYTHON_TARGETS="python3_7 python3_8 -python3_6 -python3_9"



dev-python/paramiko[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)]
required by (app-admin/ansible-2.10.1:0/0::gentoo, ebuild
scheduled for merge) USE="-doc -test" ABI_X86="(64)"
PYTHON_TARGETS="python3_7 python3_8 -python3_6 -python3_9"



dev-python/paramiko[python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)]
required by (app-emulation/docker-compose-1.28.0_rc1:0/0::gentoo,
ebuild scheduled for merge) USE="-test" ABI_X86="(64)"
PYTHON_TARGETS="python3_7 python3_8 -python3_6 -python3_9"




It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


I  masked 2.7.2 in the hope that it would help, but it did not.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] unable to do world update --problem may be caused by mailman

2020-12-07 Thread John Covici
On Mon, 07 Dec 2020 02:11:20 -0500,
Arve Barsnes wrote:
> 
> On Mon, 7 Dec 2020 at 00:11, John Covici  wrote:
> > hmmm, I am running a ~ setup, but I do need to keep mailman, so how to
> > tell which packages to keep, exactly?
> 
> Then you should be able to update to the latest version in the tree?
> Maybe you have masked newer versions somewhere? Maybe there's a manual
> upgrade job that you've put off until you had time.

I updated a month ago with no problems but I cannot update now.  If I
remove the ebuild I have from my local ebuild repository and just try
to do it plain, I get the following:

emerge: there are no ebuilds to satisfy
"dev-python/dnspython[python_targets_python2_7(-)]".
(dependency required by "net-mail/mailman-2.1.33::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Should I change the ebuild so the compat line includes python27?.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] unable to do world update --problem may be caused by mailman

2020-12-06 Thread John Covici
On Sun, 06 Dec 2020 16:57:46 -0500,
Arve Barsnes wrote:
> 
> On Sun, 6 Dec 2020 at 22:28, John Covici  wrote:
> > So, since mailman 2.1.33 seems to be the latest version in the tree
> 
> The opposite seems to be true? 2.1.33 was removed from the tree in
> September, and the latest version in the tree is 3.3.2. It is only
> keyworded ~amd64 though, so I expect your problem here is that you run
> a stable setup.
> 
> Either you need to keep local copies of the old mailman ebuild, as
> well as its dependencies, or you need to keyword the new version.

hmmm, I am running a ~ setup, but I do need to keep mailman, so how to
tell which packages to keep, exactly?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] unable to do world update --problem may be caused by mailman

2020-12-06 Thread John Covici
Hi.  In trying to do my world update today, I ran into the following
problem which I am not sure how to solve.

I got the following:

The first thing I got was that there was no ebuilds to satisfy
dev-python/dnspython  so I copied an ebuild which I installed about 3
weeks ago to my local ebuilds and made a manifest for it and now I get
the following:

emerge: there are no ebuilds to satisfy
"dev-python/dnspython[python_targets_python2_7(-)]".
(dependency required by "net-mail/mailman-2.1.33::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
In the ebuild, python27 is not listed in the python_compat list, so I
am puzzled as to how I did manage to install it at all.

So, since mailman 2.1.33 seems to be the latest version in the tree
and I have heard on other lists that mailman 3 is not ready for prime
time, I am put in a dilema -- I certainly want to be able to update my
system, but keep this version of mailman till the new version is
ready.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] duplicate gentoo system

2020-11-19 Thread john vera
John_


El mar., 17 nov. 2020 a las 18:47,  escribió:

> I'm looking for an idea to duplicate my old gentoo system.
> I'm using old programs that require older version php, ( PHP Version
> 5.6) the program is not compatible with newer php. 7.4 and apache 2.2
>
> Gentoo is install on 1TB  SSD  (/dev/sda)
> The new 2TB  SSD is M.2 (so it has a strange name)
>
> 1.) Is my option only:
> dd if=/dev/sdX of=/dev/sdY bs=64K conv=noerror,sync
>
> If I duplicate the drive this way I'll end-up with two partitions, as
> I'll have 1TB free on a new drive.  Or is there a way to resize
> partition on M.2 SSD
>
> 2.) Another options, I could dig-out the old programs from "attic", but
> that will not be an easy job.
>
> --
> Thelma
>
>


Re: [gentoo-user] kergen package

2020-11-06 Thread John Covici


On Fri, 06 Nov 2020 10:25:11 -0500,
Jude DaShiell wrote:
> 
> It appears helpful in adding options to my .config file.  However once
> options are added, it's very difficult to enable espeak.  So is my order
> of operations in which kergen gets run first followed by make menuconfig
> wrong?  If so I can reverse and see if that works better.  Another
> possibility is for those would-be screen reader installers kergen should
> not be used at all.
There are two main ways to generat4e a kernel, genkernel or do the
steps manually.  I never heard of kergen.  Genkernel is controlled by
a .conf file, see the manpage for details.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] wiki alsa article

2020-11-06 Thread John Covici
On Fri, 06 Nov 2020 07:21:40 -0500,
Jude DaShiell wrote:
> 
> Has anyone figured out how to get usb speakers playing after a boot into a
> new gentoo system?  If so, please update that alsa article in gentoo wiki.
> With speakup.synth=soft as boot parameter usb speakers work fine but not
> after boot into new gentoo install.  If I do what I can, I can get the
> 3.5mm jack speakers to work.  Use of alsamixer finds the usb speakers but
> cannot enable them.
> 

I wonder are you  using espeakup or speech dispatcher?  Maybe espeakup
does not release the alsa device, just a guess.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: console size/display anomaly

2020-11-01 Thread John Blinka
On Sat, Oct 31, 2020 at 11:39 AM Walter Dnes  wrote:

> i
>   The way I read it,  is to go into "Picture Wizard II" menu and
> select "Aspect Ratio" option "Just scan".  Hopefully this solves your
> problem.


Just had to go directly to “Aspect Ratio” and select “Just scan”.  Worked
like a charm!  Thank you so much for spotting this!  I’d been through the
“Picture Wizard II” menu many times without seeing anything that I thought
would be useful.  This makes a huge difference in usability!

John

>
>


Re: [gentoo-user] Re: console size/display anomaly

2020-10-30 Thread John Blinka
On Fri, Oct 30, 2020 at 1:03 PM Grant Edwards 
wrote:

> On 2020-10-30, John Blinka  wrote:
>
> Some TVs don't provide a remedy. Others do, but it may be something
> pretty obscure. One of my LG TVs allows you to assign a "label" to
> each input. The labels are selected from a pre-defined list. If you
> select the "PC" label, it disables overscan. IIRC, this wasn't
> documented anywhere (I stumbled across the info in a home-theater
> forum). On my other LG, that doesn't work (there appears to be no way
> to eliminate overscan).


This beast is an LG 42 LS 5700.  Some documentation hints that PC
connections may not use overscan.  I’m using HDMI.  Haven’t seen any input
labeling facility, but then haven’t been on the lookout for it, either.
Potentially useful.

Thanks!

John

>


Re: [gentoo-user] console size/display anomaly

2020-10-30 Thread John Blinka
On Thu, Oct 29, 2020 at 8:23 AM Walter Dnes  wrote:

> On Wed, Oct 28, 2020 at 09:54:04AM -0400, John Blinka wrote
>
> > Any ideas?
>
>   The 1940's called... they want their overscan back.


Walter,

Thanks so much!  That explanation would account for what I’m seeing.  A
quick tour of the tv’s setup menu and a glance at the documentation didn’t
offer an obvious remedy, but your suggestions and knowing now to Google for
“overscan” will help immensely.

You have no idea (or maybe you do) how frustrating it was to set up Gentoo
on that box using that tv for a monitor.  Often couldn’t see critical parts
of what I was typing, nor the shell’s response.  And I’m not a good
typist...

Thanks again!

John


[gentoo-user] console size/display anomaly

2020-10-28 Thread John Blinka
Hi, everyone,

One of my gentoo boxes is mostly used headless, but now and then I connect
it to a display - a nearby large screen tv.  When I use the tv as a
console, the tv screen does not display the first few lines of text that
would normally appear, nor the last few, nor the leftmost few characters of
text, nor (if I type a really long line), the last few.  It’s like a
picture framed with a mat that cuts off the image uniformly on all sides:
top, bottom, left, right.

It does this with any gentoo box that I connect to it, but not when the
same box is running Windows.

It also does this when I run  X11.  If I make the mistake of maximizing a
window, then all the tools around the periphery of the window that normally
would allow me to resize the window are offscreen, making life with that
window difficult.

Everything else about the display is completely normal.

Clearly the tv and gentoo box are communicating something about the size of
the screen, but somehow misunderstanding each other.  Windows and the tv
don’t misunderstand each other.

There must be some place where I can intervene to correct this behavior.
But I have no idea where that place is, or what to Google for help.

Any ideas?

Thanks for your help!

John Blinka


Re: [gentoo-user] ssh login, passing local user environment

2020-10-25 Thread John Covici


On Sun, 25 Oct 2020 05:04:38 -0400,
J. Roeleveld wrote:
> 
> On Saturday, October 24, 2020 11:05:45 PM CET the...@sys-concept.com wrote:
> > If I login from the command "ifconfig" now works from command line at
> > the terminal but if I login over "ssh", "ifconfig" is not working only
> > "/bin/ifconfig"
> > 
> > I was thinking it is the option in sshd_config: PermitUserEnvironment
> > but enabling it didn't help.
> 
> Which USE-flags did you use for ssh?
> 
> # eix net-misc/openssh
> 
> should provide this.
> 
> Also, do you have the following in your sshd_config:
> 
> " UsePAM yes "
> 
> This is normally used to configure the environment as well.

The simplest thing is to change your path environment variable in your
.bashsrc so its always the same, no matter what the user is, that
would solve your problem.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] gentoo install speechless

2020-10-22 Thread John Covici
On Thu, 22 Oct 2020 05:09:53 -0400,
Jude DaShiell wrote:
> 
> On Wed, 21 Oct 2020, John Covici wrote:
> 
> > Date: Wed, 21 Oct 2020 23:18:14
> > From: John Covici 
> > Reply-To: gentoo-user@lists.gentoo.org
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user] gentoo install speechless
> >
> > On Wed, 21 Oct 2020 13:08:51 -0400,
> > Jude DaShiell wrote:
> > >
> > > I got gentoo to boot and espeak although in the default run level with
> > > speakup-soft=soft enabled in the kernel espeak is silent.  I know the
> > > system booted since I uncommented the TUNE line in grub and also added in
> > > pcspkr into the kernel so was able to do a root login and then hit
> > > backspace and the pc speaker beeps.  I did not yet emerge alsa-utils if
> > > such a package exists in gentoo yet.  I'll have to use the install disk
> > > again and get to chroot /mnt/gentoo environment again and try to emerge
> > > alsa-utils to run speaker-test.  I did hear speakers click twice during
> > > the boot process so those probably work.
> > > For me it takes about 2 days to do this kind of linux install with gentoo
> > > and even with fedora moonshine that took less time to install and have
> > > come up talking.
> > > I did not go the systemd route, systemd looked lots more complex and I'm
> > > having plenty of trouble with openrc as things stand.
> > > More later as I find it out.  Probably good an accessibility podcast for
> > > gentoo is never done, I think such a podcast would deter any potential
> > > accessibility users from ever attempting an install of gentoo.
> >
> > Did you load the speakup-soft module during boot using /etc/modules or
> > maybe /etc/conf.d/modules or whatever the correct name is?  This
> > should get the module loaded and if using espeak, you execute that
> > command, maybe in your rc.local or some convenient place and you
> > should be good to go, provided alsa is working.  No worse than other
> > distros.  I have speakup built into the kernel and use a hardware
> > synth, so I am a bit better off, but you should still be able to get
> > things going.
> >
> I didn't load that module yet I built it into the kernel.  Maybe this is
> one that has to be compiled as a module then loaded in though why this
> should differ from  your hardware module I don't know.

ssh into the system and see if speakup-soft is loaded, but you need
alsa and espeak for speech to be available.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] gentoo install speechless

2020-10-21 Thread John Covici
On Wed, 21 Oct 2020 13:08:51 -0400,
Jude DaShiell wrote:
> 
> I got gentoo to boot and espeak although in the default run level with
> speakup-soft=soft enabled in the kernel espeak is silent.  I know the
> system booted since I uncommented the TUNE line in grub and also added in
> pcspkr into the kernel so was able to do a root login and then hit
> backspace and the pc speaker beeps.  I did not yet emerge alsa-utils if
> such a package exists in gentoo yet.  I'll have to use the install disk
> again and get to chroot /mnt/gentoo environment again and try to emerge
> alsa-utils to run speaker-test.  I did hear speakers click twice during
> the boot process so those probably work.
> For me it takes about 2 days to do this kind of linux install with gentoo
> and even with fedora moonshine that took less time to install and have
> come up talking.
> I did not go the systemd route, systemd looked lots more complex and I'm
> having plenty of trouble with openrc as things stand.
> More later as I find it out.  Probably good an accessibility podcast for
> gentoo is never done, I think such a podcast would deter any potential
> accessibility users from ever attempting an install of gentoo.

Did you load the speakup-soft module during boot using /etc/modules or
maybe /etc/conf.d/modules or whatever the correct name is?  This
should get the module loaded and if using espeak, you execute that
command, maybe in your rc.local or some convenient place and you
should be good to go, provided alsa is working.  No worse than other
distros.  I have speakup built into the kernel and use a hardware
synth, so I am a bit better off, but you should still be able to get
things going.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] kernel bad scheduling from idle thread

2020-10-13 Thread John Covici
On Tue, 13 Oct 2020 03:39:48 -0400,
J. Roeleveld wrote:
> 
> On Tuesday, October 13, 2020 9:26:08 AM CEST John Covici wrote:
> > Hi.  I am getting a very bad problem on my new kernel that I did after
> > my last update.  It gave me the following sequence over and over for a
> > while, and then stopped with the messages, but the system crashed.  I
> > then went back to my old kernel which had been working for more than a
> > month and got a couple of the same traces, but I hope its stopped, so
> > I can write this message.  A google search finds nothing relevant.
> > 
> > Here is what I get:
> > 
> > Oct 13 02:34:40 ccs.covici.com kernel: bad: scheduling from the idle
> > thread!
> > Oct 13 02:34:40 ccs.covici.com kernel: CPU: 5 PID: 0 Comm: swapper/5
> > Tainted: PW  O  5.4.69-gentoo #1
> > Oct 13 02:34:40 ccs.covici.com kernel: Hardware name: Supermicro Super
> > Server/X11SCA-W, BIOS 1.2 12/05/2019
> > Oct 13 02:34:40 ccs.covici.com kernel: Call Trace:
> > Oct 13 02:34:40 ccs.covici.com kernel:  dump_stack+0x71/0x98
> > Oct 13 02:34:40 ccs.covici.com kernel:  dequeue_task_idle+0x1f/0x28
> > Oct 13 02:34:40 ccs.covici.com kernel:  __schedule+0x167/0x5d6
> > Oct 13 02:34:40 ccs.covici.com kernel:  schedule_idle+0x2a/0x33
> > Oct 13 02:34:40 ccs.covici.com kernel:  do_idle+0x1d0/0x1f2
> > Oct 13 02:34:40 ccs.covici.com kernel:  cpu_startup_entry+0x1d/0x1f
> > Oct 13 02:34:40 ccs.covici.com kernel:  start_secondary+0x17b/0x198
> > Oct 13 02:34:40 ccs.covici.com kernel:  secondary_startup_64+0xa4/0xb0
> > Oct 13 02:34:40 ccs.covici.com kernel: bad: scheduling from the idle
> > thread!
> > Oct 13 02:34:40 ccs.covici.com kernel: CPU: 5 PID: 0 Comm: swapper/5
> > Tainted: PW  O  5.4.69-gentoo #1
> > Oct 13 02:34:40 ccs.covici.com kernel: Hardware name: Supermicro Super
> > Server/X11SCA-W, BIOS 1.2 12/05/2019
> > Oct 13 02:34:40 ccs.covici.com kernel: Call Trace:
> > Oct 13 02:34:40 ccs.covici.com kernel:  dump_stack+0x71/0x98
> > Oct 13 02:34:40 ccs.covici.com kernel:  dequeue_task_idle+0x1f/0x28
> > Oct 13 02:34:40 ccs.covici.com kernel:  __schedule+0x167/0x5d6
> > Oct 13 02:34:40 ccs.covici.com kernel:  schedule_idle+0x2a/0x33
> > Oct 13 02:34:40 ccs.covici.com kernel:  do_idle+0x1d0/0x1f2
> > Oct 13 02:34:40 ccs.covici.com kernel:  cpu_startup_entry+0x1d/0x1f
> > Oct 13 02:34:40 ccs.covici.com kernel:  start_secondary+0x17b/0x198
> > Oct 13 02:34:40 ccs.covici.com kernel:  secondary_startup_64+0xa4/0xb0
> > 
> > 
> > How would I even be able to find out what is happening here?
> > 
> > Any thoughts appreciated.
> 
> Which kernel versions have you tried?
> And which additional kernel modules have you added?
> 
> I myself am using 5.4.66 as previous versions were causing kernel panics.
> 

This is the first 5.4 kernel I have tried.  I did a make oldconfig and
added a number of modules, but I would think the kernel would only
load the ones that are needed.  I could not tell you the exact ones,
as I try to make the kernel somewhat general, so I may add things
which may not be necessary for my particular situation.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] kernel bad scheduling from idle thread

2020-10-13 Thread John Covici
Hi.  I am getting a very bad problem on my new kernel that I did after
my last update.  It gave me the following sequence over and over for a
while, and then stopped with the messages, but the system crashed.  I
then went back to my old kernel which had been working for more than a
month and got a couple of the same traces, but I hope its stopped, so
I can write this message.  A google search finds nothing relevant.

Here is what I get:

Oct 13 02:34:40 ccs.covici.com kernel: bad: scheduling from the idle
thread!
Oct 13 02:34:40 ccs.covici.com kernel: CPU: 5 PID: 0 Comm: swapper/5
Tainted: PW  O  5.4.69-gentoo #1
Oct 13 02:34:40 ccs.covici.com kernel: Hardware name: Supermicro Super
Server/X11SCA-W, BIOS 1.2 12/05/2019
Oct 13 02:34:40 ccs.covici.com kernel: Call Trace:
Oct 13 02:34:40 ccs.covici.com kernel:  dump_stack+0x71/0x98
Oct 13 02:34:40 ccs.covici.com kernel:  dequeue_task_idle+0x1f/0x28
Oct 13 02:34:40 ccs.covici.com kernel:  __schedule+0x167/0x5d6
Oct 13 02:34:40 ccs.covici.com kernel:  schedule_idle+0x2a/0x33
Oct 13 02:34:40 ccs.covici.com kernel:  do_idle+0x1d0/0x1f2
Oct 13 02:34:40 ccs.covici.com kernel:  cpu_startup_entry+0x1d/0x1f
Oct 13 02:34:40 ccs.covici.com kernel:  start_secondary+0x17b/0x198
Oct 13 02:34:40 ccs.covici.com kernel:  secondary_startup_64+0xa4/0xb0
Oct 13 02:34:40 ccs.covici.com kernel: bad: scheduling from the idle
thread!
Oct 13 02:34:40 ccs.covici.com kernel: CPU: 5 PID: 0 Comm: swapper/5
Tainted: PW  O  5.4.69-gentoo #1
Oct 13 02:34:40 ccs.covici.com kernel: Hardware name: Supermicro Super
Server/X11SCA-W, BIOS 1.2 12/05/2019
Oct 13 02:34:40 ccs.covici.com kernel: Call Trace:
Oct 13 02:34:40 ccs.covici.com kernel:  dump_stack+0x71/0x98
Oct 13 02:34:40 ccs.covici.com kernel:  dequeue_task_idle+0x1f/0x28
Oct 13 02:34:40 ccs.covici.com kernel:  __schedule+0x167/0x5d6
Oct 13 02:34:40 ccs.covici.com kernel:  schedule_idle+0x2a/0x33
Oct 13 02:34:40 ccs.covici.com kernel:  do_idle+0x1d0/0x1f2
Oct 13 02:34:40 ccs.covici.com kernel:  cpu_startup_entry+0x1d/0x1f
Oct 13 02:34:40 ccs.covici.com kernel:  start_secondary+0x17b/0x198
Oct 13 02:34:40 ccs.covici.com kernel:  secondary_startup_64+0xa4/0xb0


How would I even be able to find out what is happening here?

Any thoughts appreciated.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] app-shells/gentoo-zsh-completions no longer working

2020-10-12 Thread John Covici
On Mon, 12 Oct 2020 16:43:15 -0400,
Ashley Dixon wrote:
> 
> [1  ]
> On Mon, Oct 12, 2020 at 02:42:10PM -0400, John Covici wrote:
> > _gentoo_repos:8: command not found: _gentoo_repos_conf
> > [...]
> 
> The errors are coming from [1], referencing the function provided by the file 
> at
> [2] (`_gentoo_repos_conf`).  It's likely that you aren't loading these 
> functions
> into your shell. Have you seen the post-install message of ZSH [3]? Try 
> running
> the following and see if it fixes your problem:
> 
> % autoload -U compinit promptinit
> % compinit
> % promptinit; prompt gentoo
> 
> [1] https://gitweb.gentoo.org/proj/zsh-completion.git/tree/src/_gentoo_repos
> [2] 
> https://gitweb.gentoo.org/proj/zsh-completion.git/tree/src/_gentoo_repos_conf
> [3] 
> https://gitweb.gentoo.org/repo/gentoo.git/tree/app-shells/zsh/zsh-5.8.ebuild#n197
Thanks for the hint -- I had compinit already, but not promptinit and
that seems to have fixed it.

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] app-shells/gentoo-zsh-completions no longer working

2020-10-12 Thread John Covici
On Mon, 12 Oct 2020 13:50:10 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Mon, 12 Oct 2020 12:43:17 -0400, John Covici wrote:
> 
> > Hi.  I use the completions a lot to emerge or unmerge various versions
> > in the tree and this is no longer working.  I use zsh all the time and
> > if I hit, for instance emerge -1 \=sys-apps/systemd and hit tab I get
> > something like this:
> > I am on zsh 5.8.  Not sure what this output means.
> 
> You haven't posted any output, but it still works for me:
> 
> % emerge -1 \=sys-apps/systemd-
> systemd-245.7-r1   systemd-246-r1   systemd-   systemd-readahead-216

Sorry, must have forgot to include.

_gentoo_repos:8: command not found: _gentoo_repos_conf
_gentoo_repos:10: command not found: _gentoo_repos_conf
_gentoo_repos:7: command not found: _gentoo_repos_conf
_gentoo_repos:8: command not found: _gentoo_repos_conf
_gentoo_repos:10: command not found: _gentoo_repos_conf
_gentoo_repos:7: command not found: _gentoo_repos_conf
_gentoo_repos:8: command not found: _gentoo_repos_conf
_gentoo_repos:10: command not found: _gentoo_repos_conf
_gentoo_repos:7: command not found: _gentoo_repos_conf
_gentoo_repos:8: command not found: _gentoo_repos_conf
_gentoo_repos:10: command not found: _gentoo_repos_conf
_gentoo_repos:7: command not found: _gentoo_repos_conf
_gentoo_repos:8: command not found: _gentoo_repos_conf
_gentoo_repos:10: command not found: _gentoo_repos_conf
_gentoo_repos:7: command not found: _gentoo_repos_conf
_gentoo_repos:8: command not found: _gentoo_repos_conf
_gentoo_repos:10: command not found: _gentoo_repos_conf
 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] app-shells/gentoo-zsh-completions no longer working

2020-10-12 Thread John Covici
Hi.  I use the completions a lot to emerge or unmerge various versions
in the tree and this is no longer working.  I use zsh all the time and
if I hit, for instance emerge -1 \=sys-apps/systemd and hit tab I get
something like this:
I am on zsh 5.8.  Not sure what this output means.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] gentoo handbook

2020-10-11 Thread John Covici
On Sun, 11 Oct 2020 07:55:46 -0400,
Dale wrote:
> 
> [1  ]
> Neil Bothwick wrote:
> > On Sat, 10 Oct 2020 22:09:00 -0400, Jude DaShiell wrote:
> >
> >> A feature that would be useful for menuconfig would be the ability once
> >> a search is done to jump onto the desired search item directly (if the
> >> item were available at all).
> > That's already there. Options that are available have a number next to
> > them. Press that to jump to the option.
> >
> >
> 
> 
> Wow!!!  O_O  I never noticed that.  It works too.  I did a search for
> speak and saw a number next to the results and hit it, 1 in my case, and
> it went right to it.  I'm not going to mention how many times I went
> digging to find something in the past.  It embarrassing.  ;-) 
> 
> Now that is cool.  I just hope I remember to use it the next time.  :/

I didn't know that either and have been doing this for years!

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user]

2020-10-10 Thread John Covici
On Sat, 10 Oct 2020 19:49:54 -0400,
Jude DaShiell wrote:
> 
> On Sat, 10 Oct 2020, Neil Bothwick wrote:
> 
> > Date: Sat, 10 Oct 2020 13:34:43
> > From: Neil Bothwick 
> > Reply-To: gentoo-user@lists.gentoo.org
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user]
> >
> > On Sat, 10 Oct 2020 10:00:04 -0400, Jude DaShiell wrote:
> >
> > > I did make menuconf in /usr/src/linux and in devices->staging drivers I
> > > found nothing to enable.  Speakup got moved out of staging so that's
> > > understandable.  in device drivers->accessibility all I found was enable
> > > app-accessibility which I turned on.  Is speakup.synth=soft stored in
> > > the runtime driver for espeak now?
> >
> > Press / in menuconf to search for options. This also shows options that
> > are currently unavailable, and what you need to enable to get at them.
> >
> >
> >
> 
> -- 
> 
> A search through options made no mention of anything connected to
> accessibility.  Trying to install a different kernel source has everything
> masked.  I'll read up on masking next, but it's looking like I'm going to
> have to erase everything back to the get stage3 step again and get a less
> current stage3 to get anything installed at all.

You don't need to do that, you can unmask anything depending on the
reason.  Didn't the autounmask  option fix your problem?

You can also use the 5.4.66 stable version.
Also, even in 5.8.13 speakup is still in staging and I did a search
and found it in  drivers/staging/speakup, so you can certainly try
that or whatever version of 5.8 you have.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] kernel-5.4.69

2020-10-10 Thread John Covici
On Sat, 10 Oct 2020 13:36:26 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Sat, 10 Oct 2020 13:20:09 -0400, Jude DaShiell wrote:
> 
> > How can I emerge the sources for this version of the kernel?  I think
> > John suggested 5.4.69.
> 
> emerge -1a gentoo-sources:5.4.69
> 
> You need to be running ~arch for this, or have gentoo-sources in
> package.accept_keywords, 5.4.66 is the latest in stable.
> 
.66 is certainly OK as well, I am on the ~arch which I happen to find
useful.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] kernel-5.4.69

2020-10-10 Thread John Covici
On Sat, 10 Oct 2020 13:20:09 -0400,
Jude DaShiell wrote:
> 
> How can I emerge the sources for this version of the kernel?  I think John
> suggested 5.4.69.
> 
> 

Just emerge =sys-kernel/gentoo-sources-5.4.69  The = sign is
important, you can emerge any specific version in the tree this way.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user]

2020-10-10 Thread John Covici
On Sat, 10 Oct 2020 10:00:04 -0400,
Jude DaShiell wrote:
> 
> On Sat, 10 Oct 2020, Ashley Dixon wrote:
> 
> > Date: Sat, 10 Oct 2020 08:17:07
> > From: Ashley Dixon 
> > Reply-To: gentoo-user@lists.gentoo.org
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user]
> >
> > On Sat, Oct 10, 2020 at 07:45:14AM -0400, Jude DaShiell wrote:
> > > I didn't emerge portaudio or pulseaudio before emerging espeak so will
> > > have to reemerge espeak to pick those USE variables up.
> >
> > You don't *need* portaudio or Pulse, but then you'll only be able to create 
> >  WAV
> > files, and not have the audio played live [1].  The developers  should  
> > probably
> > set one of them to be enabled by default in IUSE, since only creating WAV  
> > files
> > is a very unusual use-case for a screen-reader.
> >
> > > Another mistake I made was emerging espeak before emerging
> > > sys-kernel/gentoo-sources but since I'll have to reemerge, the
> > > sys-kernel/gentoo-sources package has been emerged on the system now.  The
> > > right order of operations here is critical!
> >
> > That's quite rare for Gentoo; Portage usually takes care of  all  that  
> > type  of
> > thing without requiring manual  user  interaction.   The  gentoo-sources  
> > ebuild
> > doesn't really do much,  aside  from  calling  a  couple  of  functions  in 
> >  the
> > `kernel-2` eclass [2, 3] to extract the  sources,  generate  the  symlinks, 
> >  and
> > check for any potential versioning issues.
> >
> > Can you provide some more details? Why is the order relevant?
> >
> > [1] 
> > https://gitweb.gentoo.org/repo/gentoo.git/tree/app-accessibility/espeak/espeak-1.48.04-r1.ebuild#n93
> > [2] 
> > https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/kernel-2.eclass#n1603
> > [3] 
> > https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/kernel-2.eclass#n1005
> >
> >
> 
> -- 
> 
> If you have portaudio or pulseaudio and alsa in your USE variables already
> then espeak will pull those in and build so it can do more than make wav
> files.  Same with speech-dispatcher for other screen readers.  I was being
> conservative with what I put in my USE variable and added things to it as
> I found things out.
> 
> I did make menuconf in /usr/src/linux and in devices->staging drivers I
> found nothing to enable.  Speakup got moved out of staging so that's
> understandable.  in device drivers->accessibility all I found was enable
> app-accessibility which I turned on.  Is speakup.synth=soft stored in the
> runtime driver for espeak now?
> 
> 
> 

In kernel 5.4.69 its in staging, I would suggest you get that shource
-- no need to get the absolutely latest driver.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] preparing for make menuconfig

2020-10-08 Thread John Covici
On Thu, 08 Oct 2020 16:26:19 -0400,
Ashley Dixon wrote:
> 
> [1  ]
> On Thu, Oct 08, 2020 at 01:55:04PM -0400, John Covici wrote:
> > modules.alias  modules.builtin
> > modules.builtin.binmodules.dep.binmodules.order
> > modules.symbols
> > modules.alias.bin  modules.builtin.alias.bin  modules.dep
> > modules.devnamemodules.softdep
> > modules.symbols.bin
> 
> That's fine.
> 
> > and the error message is
> > 
> > lspci: Unable to load libkmod resources: error -12
> 
> That error message is printed by lspci [1], although it is  the  result  of  
> the
> libkmod `kmod_load_resources` function returning less than zero [2].  With a 
> -12
> error, this suggests a failing with the `index_mm_open` function [3]. It's 
> quite
> a beast of a function; the failure could be due to a multitude of reasons.
> 
> Considering the nature of the error (memory allocation  failure),  I  reckon  
> it
> must be either the following call to mmap(2), or the preceding call to  
> open(2):
> (paraphrasing for formatting):
> 
> 
>   if ((fd = open(filename, O_RDONLY|O_CLOEXEC)) < 0) {
>   DBG(ctx, "open(%s, O_RDONLY|O_CLOEXEC): %m\n", filename);
>   err = -errno;
>   goto fail_open;
>   }
> 
> /* [...] */
> 
>   if ( ( idx->mm = mmap ( NULL, st.st_size, PROT_READ,
> MAP_PRIVATE, fd, 0 ) ) == MAP_FAILED) 
> {
>   ERR(ctx, "mmap (NULL, %"PRIu64", PROT_READ, %d, " \
> "MAP_PRIVATE, 0 ): %m\n", st.st_size, fd);
>   err = -errno;
>   goto fail_nommap;
>   }
> 
> I might you need to debug this on your machine, as I can't reproduce it  
> myself.
> You'll need to clone, recompile,  and  relink  libkmod  and  pciutils  with  
> the
> maximum debugging settings, to keep all symbols in  the  executable.   I  
> assume
> you're using GCC, although I suspect the same should work with Clang.
> 
> git clone both repos: [4] and [5].
> 
> libkmod:
> - Save the old symlink, by renaming /lib64/libkmod. to
>   something temporary, like libkmod.old.
> - Execute ./autogen.sh to create a configure script.
> - Run the configure script to enable maximum debugging:
> ./configure CFLAGS='-ggdb3' --prefix=/usr --sysconfdir=/etc \
> --libdir=/usr/lib64 --with-rootprefix= 
> --with-rootlibdir=/lib64
> - Compile and install the shared objects (you need to be root):
> make && make install
> - Ensure the `make install` has recreated the major version symlink in
>   /lib64 to the new shared object file.
> 
> pciutils:
> - Compile; there is no need to install:
> make CFLAGS="-ggdb3"
> 
> Now you have an lspci executable which is linked with the new libkmod, just 
> need
> to attach a debugger, such as gdb, and break on the troublesome function:
> 
> $ gdb ./lspci
> Reading symbols from ./lspci...
> (gdb) b index_mm_open
> Function "index_mm_open" not defined.
> Make breakpoint pending on future shared library load? (y or [n]) y
> Breakpoint 1 (index_mm_open) pending.
> (gdb) run -k
> 
> ... after a while, you'll encounter the first invocation of the troublemaker:
> 
> Breakpoint 1, index_mm_open (ctx=0x55583340, 
> filename=0x7fffc920
> "/lib/modules/5.4.60-gentoo/modules.dep.bin", 
> stamp=0x555833a0,
> pidx=0x55583378) at libkmod/libkmod-index.c:744
> 
> Before going any further, I want to confirm that  `filename`  does  point  to 
>  a
> correct file?  I doubt the open(2) call would fail with ENOMEM if the  file  
> was
> invalid, although you never know.  Assuming `filename` is valid,  we  can  
> start
> stepping through the function to determine which inner function is failing.   
> My
> bets are on mmap.
> 
> Hope to hear from you soon.
> 
> [1] 
> https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/tree/ls-kernel.c#n42
> [2] 
> https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/libkmod/libkmod.c#n842
> [3] 
> https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/libkmod/libkmod-index.c#n742
> [4] git://git.kernel.org/pub/scm/utils/pciutils/pciutils.git
> [5] git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
> 


Since I compile most packages with split-debug and my default flags
contain -gdb, could I use  the existing packages?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] preparing for make menuconfig

2020-10-08 Thread John Covici
On Thu, 08 Oct 2020 11:07:44 -0400,
Ashley Dixon wrote:
> 
> [1  ]
> On Thu, Oct 08, 2020 at 07:04:46AM -0400, John Covici wrote:
> > I always get this error, but the flag indicating which driver is being
> > used still works, so I have not paid too much attention to this one.
> > I do have a running system with /lib/modules and the error still
> > occurrs.
> 
> What is the exact error?  Is it accompanied by an error code?  libkmod looks 
> for
> the following files, typically  located  in  `/lib/modules/$(uname  -r)/`,  
> when
> client applications request a context [1]; most of these can be  generated  
> with
> depmod(8):
> 
>  - modules.dep
>  - modules.alias
>  - modules.symbols
>  - modules.builtin.alias
>  - modules.builtin
> 
> struct _index_files {
> const char *fn;
> const char *prefix;
> }
> 
> The most interesting for kernel modules is `modules.alias`, which  is  the  
> more
> modern representation of `modules.{pci,usb}map` [2].  Are all these files 
> intact
> on your system? What happens when you run `lsmod`?
> 
> [1] 
> https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/libkmod/libkmod.c#n53
> [2] https://stackoverflow.com/a/25644147/

I have the following in my running kernel:

modules.alias  modules.builtin
modules.builtin.binmodules.dep.binmodules.order
modules.symbols
modules.alias.bin  modules.builtin.alias.bin  modules.dep
modules.devnamemodules.softdep
modules.symbols.bin

and the error message is

lspci: Unable to load libkmod resources: error -12


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] preparing for make menuconfig

2020-10-08 Thread John Covici
On Thu, 08 Oct 2020 02:51:49 -0400,
Ashley Dixon wrote:
> 
> [1  ]
> On Thu, Oct 08, 2020 at 07:30:45AM +0100, Ashley Dixon wrote:
> > This is just a total guess, but I can suppose that lspci uses it to convey
> > which kernel modules are being used by each PCI device.
> 
> Clarification: kmod is used specifically with the `-k` switch of lspci:
> 
> $ ash-euses -o pciutils:kmod
> sys-apps/pciutils:kmod - Enable sys-apps/kmod support for the -k 
> switch
> in lspci command
> 
> This causes the LIBKMOD variable to be passed to the Makefile [1, 2]:
> 
> pemake() {
> emake \
> [...]
> LIBKMOD=$(multilib_native_usex kmod) \
> [...]
> "$@"
> }
> 
> Anyway, with regards to your problem: if you're just installing your system 
> now,
> then you're probably getting this error  because  `/lib/modules`  doesn't  
> exist
> inside your chroot.  This path is hardcoded into pciutils  [3];  this  has  
> been
> modified by some vendors of the package, but not Gentoo [4].  You needn't  
> worry
> unless you're still getting this error  outside  of  your  chroot,  once  
> you've
> completed the installation. Just focus on building a kernel for now.
> 
> [1] 
> https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/pciutils/pciutils-3.7.0.ebuild#n81
> [2] https://devmanual.gentoo.org/eclass-reference/multilib-build.eclass/#lbAE
> [3] 
> https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/tree/ls-kernel.c#n134
> [4] 
> https://github.com/NixOS/nixpkgs/commit/286c836b3f1421553c103758537929e596256e65#diff-0a685886728285db8aa0594d87cb29b4

I always get this error, but the flag indicating which driver is being
used still works, so I have not paid too much attention to this one.
I do have a running system with /lib/modules and the error still
occurrs.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with installing zfs-kmod under new kernel

2020-10-07 Thread John Covici
On Wed, 07 Oct 2020 20:48:29 -0400,
Rich Freeman wrote:
> 
> On Wed, Oct 7, 2020 at 10:36 AM John Covici  wrote:
> >
> > I was on 0.8.4 and it upgraded me to 22.0.0_rc1.  I have not upgraded
> > my pools, so I think I can go back to 0.8.4 or 5.  The kernel I am
> > upgrading is not the running kernel, so would any of this effect my
> >  running kernel which is 4.19.144 -- unfortunately on 2.0.0_rc1, but I
> >  agree maybe I should mask it off and go to 0.8.5.
> 
> Yeah, or just stay on 0.8.4.  0.8.5 was only released upstream this
> week.  With my root and multiple TB of data on zfs I really don't want
> to face a restore situation.  I do have backups but it would take days
> to restore everything.
> 
> As long as you never ran zpool upgrade you should be able to downgrade
> the version you're running.  That said, anytime I change kernels I
> keep some old ones lying around just in case, including their modules.
Yep, not a bid idea at all, I usually do that as well.

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with installing zfs-kmod under new kernel

2020-10-07 Thread John Covici
On Wed, 07 Oct 2020 09:53:42 -0400,
Rich Freeman wrote:
> 
> On Wed, Oct 7, 2020 at 9:28 AM John Covici  wrote:
> >
> > Hi.  I am having problems installing zfs-kmod on my new kernel
> > 5.4.69.  Originally I got this:
> >
> > !!! Multiple package instances within a single package slot have been
> > pulled
> > !!! into the dependency graph, resulting in a slot conflict:
> >
> > sys-fs/zfs-kmod:0
> >
> >   (sys-fs/zfs-kmod-2.0.0_rc3:0/0::gentoo, ebuild scheduled for merge)
> >   USE="rootfs -custom-cflags -debug" ABI_X86="(64)" pulled in by
> >   (no parents that aren't satisfied by other packages in this
> >   slot)
> >
> >   (sys-fs/zfs-kmod-2.0.0_rc1:0/0::gentoo, installed) USE="rootfs
> >   -custom-cflags -debug" ABI_X86="(64)" pulled in by
> >   ~sys-fs/zfs-kmod-2.0.0_rc1 required by
> >   (sys-fs/zfs-2.0.0_rc1-r1:0/0::gentoo, installed) USE="nls pam rootfs
> >   (split-usr) -custom-cflags -debug (-kernel-builtin) -libressl
> >   -minimal -python (-static-libs) -test-suite" ABI_X86="(64)"
> >   PYTHON_TARGETS="python3_7 -python3_6 -python3_8"
> >   ^^
> >
> 
> This is because you're attempting to upgrade zfs-kmod and not zfs.
> You didn't paste your command line but chances are you didn't have
> both packages on it.
> 
> > Then I masked off the -rc3 version thinking that would help and I got
> > this:
> >
> >
> >
> > !!! Multiple package instances within a single package slot have been
> > pulled
> > !!! into the dependency graph, resulting in a slot conflict:
> >
> > sys-fs/zfs-kmod:0
> >
> >   (sys-fs/zfs-kmod-0.8.5:0/0::gentoo, ebuild scheduled for merge)
> >   USE="rootfs -custom-cflags -debug" ABI_X86="(64)" pulled in by
> >   (no parents that aren't satisfied by other packages in this
> >   slot)
> >
> >   (sys-fs/zfs-kmod-2.0.0_rc1:0/0::gentoo, installed) USE="rootfs
> >   -custom-cflags -debug" ABI_X86="(64)" pulled in by
> >   ~sys-fs/zfs-kmod-2.0.0_rc1 required by
> >   (sys-fs/zfs-2.0.0_rc1-r1:0/0::gentoo, installed) USE="nls pam rootfs
> >   (split-usr) -custom-cflags -debug (-kernel-builtin) -libressl
> >   -minimal -python (-static-libs) -test-suite" ABI_X86="(64)"
> >   PYTHON_TARGETS="python3_7 -python3_6 -python3_8"
> >   ^^
> >
> 
> That is because masking rc3 forces it to downgrade to an older version
> of zfs (which may or may not be compatible with what you have on-disk
> so you might be in for a surprise when you reboot).  But, since you're
> only updating one package but not the other you still get the same
> error.
> 
> What version of zfs do you WANT to use?  Are you already running on
> the v2 release candidate?  (Probably not what most people should be
> doing...)  If so you need to figure out if your pools are even
> compatible with v0.8.5 (I'm not sure offhand if new features were
> added, and if they were it would probably depend on whether you
> upgraded your pools).
> 
> If you are on the v2rc and want to stick with it, then undo whatever
> masking you did and just update both packages together:
> emerge -1au zfs-kmod zfs
> 
> Really though that should already happen if you did an emerge -u
> @world assuming both are in your world.
> 
> If you want to run v0.8.5 then I would mask both zfs-kmod and zfs
> >=0.9 and then run the same command.
> 
> If you're on 0.8.4 though you might seriously consider just accepting
> only stable keywords on zfs though - it is a filesystem and maybe not
> something you want to be cutting edge.
> 
> And you definitely don't want to go uninstalling zfs-kmod as now the
> module will be gone and once again you'll get a surprise when you
> reboot.
> 
> In the future though I'd probably avoid installing release candidates
> if you are running one.  That is, unless it is your goal to beta-test
> filesystems.

I was on 0.8.4 and it upgraded me to 22.0.0_rc1.  I have not upgraded
my pools, so I think I can go back to 0.8.4 or 5.  The kernel I am
upgrading is not the running kernel, so would any of this effect my
 running kernel which is 4.19.144 -- unfortunately on 2.0.0_rc1, but I
 agree maybe I should mask it off and go to 0.8.5.
 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problems with installing zfs-kmod under new kernel

2020-10-07 Thread John Covici
Hi.  I am having problems installing zfs-kmod on my new kernel
5.4.69.  Originally I got this:

!!! Multiple package instances within a single package slot have been
pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-fs/zfs-kmod:0

  (sys-fs/zfs-kmod-2.0.0_rc3:0/0::gentoo, ebuild scheduled for merge)
  USE="rootfs -custom-cflags -debug" ABI_X86="(64)" pulled in by
  (no parents that aren't satisfied by other packages in this
  slot)

  (sys-fs/zfs-kmod-2.0.0_rc1:0/0::gentoo, installed) USE="rootfs
  -custom-cflags -debug" ABI_X86="(64)" pulled in by
  ~sys-fs/zfs-kmod-2.0.0_rc1 required by
  (sys-fs/zfs-2.0.0_rc1-r1:0/0::gentoo, installed) USE="nls pam rootfs
  (split-usr) -custom-cflags -debug (-kernel-builtin) -libressl
  -minimal -python (-static-libs) -test-suite" ABI_X86="(64)"
  PYTHON_TARGETS="python3_7 -python3_6 -python3_8"
  ^^



It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.

Then I masked off the -rc3 version thinking that would help and I got
this:


 
!!! Multiple package instances within a single package slot have been
pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-fs/zfs-kmod:0

  (sys-fs/zfs-kmod-0.8.5:0/0::gentoo, ebuild scheduled for merge)
  USE="rootfs -custom-cflags -debug" ABI_X86="(64)" pulled in by
  (no parents that aren't satisfied by other packages in this
  slot)

  (sys-fs/zfs-kmod-2.0.0_rc1:0/0::gentoo, installed) USE="rootfs
  -custom-cflags -debug" ABI_X86="(64)" pulled in by
  ~sys-fs/zfs-kmod-2.0.0_rc1 required by
  (sys-fs/zfs-2.0.0_rc1-r1:0/0::gentoo, installed) USE="nls pam rootfs
  (split-usr) -custom-cflags -debug (-kernel-builtin) -libressl
  -minimal -python (-static-libs) -test-suite" ABI_X86="(64)"
  PYTHON_TARGETS="python3_7 -python3_6 -python3_8"
  ^^



It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.

So, how do I fix -- I was thinking of uninstalling zfs-kmod, but was
afraid it would delete from my running kernel (4.19.144) or some other
fcatastrophe, so I thought I'd ask here first.

I am on the zfs-discuss list and a few months ago they were talking
about a necessary patch to install in 5.4 kernels because of not
exporting some symhbols as well.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] pcre build failure

2020-10-05 Thread John Covici
fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_config.lo `test -f 'pcre_config.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_config.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_config.c  -fPIC 
> -DPIC -o .libs/libpcre_la-pcre_config.o
> /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44   
>  -fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_dfa_exec.lo `test -f 'pcre_dfa_exec.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_dfa_exec.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_dfa_exec.c  -fPIC 
> -DPIC -o .libs/libpcre_la-pcre_dfa_exec.o
> /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44   
>  -fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_exec.lo `test -f 'pcre_exec.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_exec.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_exec.c  -fPIC 
> -DPIC -o .libs/libpcre_la-pcre_exec.o
> /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44   
>  -fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_fullinfo.lo `test -f 'pcre_fullinfo.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_fullinfo.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_fullinfo.c  -fPIC 
> -DPIC -o .libs/libpcre_la-pcre_fullinfo.o
> /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44   
>  -fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_get.lo `test -f 'pcre_get.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_get.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_get.c  -fPIC -DPIC 
> -o .libs/libpcre_la-pcre_get.o
> /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44   
>  -fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_globals.lo `test -f 'pcre_globals.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_globals.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_globals.c  -fPIC 
> -DPIC -o .libs/libpcre_la-pcre_globals.o
> /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44   
>  -fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_jit_compile.lo `test -f 'pcre_jit_compile.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_jit_compile.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_jit_compile.c  
> -fPIC -DPIC -o .libs/libpcre_la-pcre_jit_compile.o
> {standard input}: Assembler messages:
> {standard input}:264: Warning: end of file not at end of a line; newline 
> inserted
> {standard input}:265: Error: expecting operand after ','; got nothing
> {standard input}: Error: open CFI at the end of file; missing .cfi_endproc 
> directive
> x86_64-pc-linux-gnu-gcc: fatal error: Killed signal terminated program cc1
> compilation terminated.
> make[1]: *** [Makefile:1793: libpcre_la-pcre_exec.lo] Error 1
> make[1]: *** Waiting for unfinished jobs
> make[1]: Leaving directory 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64'
> make: *** [Makefile:1403: all] Error 2
>  * ERROR: dev-libs/libpcre-8.44::gentoo failed (compile phase):
>  *   emake failed
>  *
>  * If you need support, post the output of `emerge --info 
> '=dev-libs/libpcre-8.44::gentoo'`,
>  * the complete build log and the output of `emerge -pqv 
> '=dev-libs/libpcre-8.44::gentoo'`.
>  * The complete build log is located at 
> '/var/tmp/portage/dev-libs/libpcre-8.44/temp/build.log'.
>  * The ebuild environment file is located at 
> '/var/tmp/portage/dev-libs/libpcre-8.44/temp/environment'.
>  * Working directory: 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64'
>  * S: '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44'
> 
> >>> Failed to emerge dev-libs/libpcre-8.44, Log file:
>
I have truncated the output a bit, you usually don't need the config
log.  This sounds like a bug in the package, you might try
bugs.gentoo.org and see if you find anything.  Also, you might want to
go to the ~ tre -- I have no trouble compiling, but I have version
10.35 which is much newer than what you are trying to compile.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: installation problems

2020-10-02 Thread John Covici


On Fri, 02 Oct 2020 11:47:26 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Fri, 02 Oct 2020 09:51:22 -0400, John Covici wrote:
> 
> > OK, one problem is going to be, I need a command l ine, not a gui and
> > I need speakup, so I will have to check and see if the Ubunto latest
> > has that in the kernel.
> 
> What about something like Vinux. It's an Ubuntu respin for visually
> impaired users, with plenty of options for screen reading and
> magnification.

I have heard of that distro, there are some others like it as well, I
doubt it has zfs, but thanks for the thought.
I will see if the ubuntu live has what I need.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: installation problems

2020-10-02 Thread John Covici


On Fri, 02 Oct 2020 09:38:54 -0400,
Rich Freeman wrote:
> 
> On Fri, Oct 2, 2020 at 9:32 AM John Covici  wrote:
> >
> > Is there anything more recent I c an use as a rescue disk?  I have
> > version 5.1 but after that, not sure what they did, but could not even
> > get a  decent root prompt and I do need zfs, otherwise there are many
> > options.
> >
> 
> Don't want to beat a dead horse, but zfs is also one of the reasons I
> use the ubuntu cds.  It is easy to get zfs running on an ubuntu
> livecd.  I forget if it is preinstalled, but I'm pretty sure it is all
> packaged so it is basically a 1-2 liner to add it.  I haven't looked
> at it recently but the Funtoo docs suggest doing the same which is
> where I got the tip.
> 
> At the time systemrescuecd didn't support zfs out of copyright
> concerns.  Perhaps that has changed.  People have strong feelings on
> zfs.  I get them, though it is 100% FOSS (even if the licensing was
> engineered to cause GPL issues).  IMO the biggest technical issue with
> using it on linux is that it basically pulls in a bunch of other BSD
> logic around stuff like caching so it isn't super-clean from a kernel
> perspective.  However, that is also part of why it is so stable - they
> basically containerized the thing so that they didn't have a bazillion
> regressions, and I think they've been slowly working on getting rid of
> the middle layers.
> 

OK, one problem is going to be, I need a command l ine, not a gui and
I need speakup, so I will have to check and see if the Ubunto latest
has that in the kernel.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: installation problems

2020-10-02 Thread John Covici
On Fri, 02 Oct 2020 09:23:57 -0400,
Peter Humphrey wrote:
> 
> (Kmail seems to have stopped quoting the message I'm replying to.)
> 
> I always use SystemRescueCD to install a new Gentoo system. Never a single 
> problem with it, other than having to set up my own working conditions every 
> time.
> 
> I don't know what version it is, but it must have been about the last they 
> issued before switching to Arch.

Is there anything more recent I c an use as a rescue disk?  I have
version 5.1 but after that, not sure what they did, but could not even
get a  decent root prompt and I do need zfs, otherwise there are many
options.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] installation problems

2020-10-02 Thread John Covici


On Fri, 02 Oct 2020 08:51:52 -0400,
Jude DaShiell wrote:
> 
> I've never used a gentoo-live-cd and the reason I use the gentoo-minimal
> -cd is it's possible to bring speakup up on boot and for those few of us
> who can't see the screen and haven't got sighted help nearby, that makes
> all manner of independent computer operations possible.
> 
> On Fri, 2 Oct 2020, Rich Freeman wrote:
> 
> > Date: Fri, 2 Oct 2020 08:09:32
> > From: Rich Freeman 
> > Reply-To: gentoo-user@lists.gentoo.org
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user] installation problems
> >
> > On Fri, Oct 2, 2020 at 4:53 AM Dale  wrote:
> > >
> > > Neil Bothwick wrote:
> > >
> > >> I haven't used the Gentoo installer discs for years, but you should be
> > >> able to create your own mount points.
> > >
> > > Is it still supported?  I thought it was abandoned again a good while 
> > > back.  That thing has come and gone so many times, I can't keep up with 
> > > when it is active or isn't.
> > >
> >
> > The minimal CD, or creating mountpoints?  The former has always
> > existed, and the latter has existed since the 70s.
> >
> > And please add non-html quotes - I really don't want to have to edit 
> > replies...
> >
> > As far as the minimal CD goes, you an just create mountpoints, but
> > really I'm not sure why anybody uses it in the first place.  I just
> > use a liveCD from ubuntu or whatever - there are a bazillion liveCDs
> > (including Gentoo-based ones), and just about all of them are more
> > useful than the Gentoo minimal iso.  I'm not sure why we even produce
> > one, except maybe for the same reasons everybody sets the default
> > editor to nano.  :)
> >
> >

I have used the minimal cd, but I would think any gentoo cd would have
the speakup module in it, you can always check by downloading the iso,
getting to the /lib/modules directory -- which might involve mounting
a squashfs file system -- and checking if the speakup module is there.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Environment variables on package granularity

2020-10-02 Thread John Covici
On Fri, 02 Oct 2020 05:14:01 -0400,
Daniel Armbruster wrote:
> 
> [1  ]
> Hi gentoo-user,
> 
> is there a way to set environment variables on package/ebuild granularity? I'm
> aware, that plenty of portage related environment variables are configurable 
> by
> means of the package.env feature
> (https://wiki.gentoo.org/wiki//etc/portage/package.env). However, I didn't 
> find
> a way to set additional environment variables.
> 
> The actual reason, why I'm asking is the following: When compiling
> app-emulation/qemu, package installation fails when calling the preprocessor.
> Though, I'm able to manually solve the issue when setting the CPP environment
> variable:
> 
> # export CPP="gcc -E"
> 
> before running emerge. Instead of running the command again and again i.e.
> before every reinstallation of app-emulation/qemu, I'd like to set this
> environment variable for the package once (in e.g. a configuration file) and
> it's done for every future reinstallation.

You can use the env feature to set any environment variable you want,
they don't have to be portage related.  You can drill down to the
category/package quite nicely.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] emerge @world output unfamiliar. Am I updated?

2020-10-02 Thread John Covici
   (/, media-libs/libogg:0)
>    (/, media-libs/libvorbis:0)
>    (/, dev-scheme/guile:12)
>    (/, dev-libs/boehm-gc:0)
>    (/, dev-libs/libltdl:0)
>    (/, media-libs/tiff:0)
>    (/, media-gfx/mypaint-brushes:2.0)
>    (/, media-libs/libmypaint:0)
>    (/, net-libs/libproxy:0)
>    (/, media-gfx/exiv2:0)
>    (/, dev-db/lmdb:0)
>    (/, dev-libs/libutf8proc:0)
>    (/, dev-libs/libpcre2:0)
>    (/, dev-libs/double-conversion:0)
>    (/, app-arch/xz-utils:0)
>    (/, sys-apps/util-linux:0)
>    (/, dev-db/sqlite:3)
>    (/, gnome-extra/libgsf:0)
>    (/, x11-libs/pango:0)
>    (/, app-text/libspectre:0)
>    (/, x11-libs/libXrender:0)
>    (/, app-text/ghostscript-gpl:0)
>    (/, dev-libs/glib:2)
>    (/, dev-libs/libgudev:0)
>    (/, dev-libs/libmspack:0)
>    (/, net-libs/libnsl:0)
>    (/, dev-libs/mpc:0)
>    (/, sys-apps/acl:0)
>    (/, sys-libs/pam:0)
>    (/, sys-apps/attr:0)
>    (/, net-firewall/iptables:0)
>    (/, virtual/libcrypt:0)
>    (/, virtual/jpeg:0)
>    (/, virtual/libudev:0)
>    (/, virtual/libusb:1)
>    (/, dev-libs/libgit2:0)
>    (/, net-libs/libssh2:0)
>    (/, net-libs/http-parser:0)
>    (/, net-misc/curl:0)
>    (/, virtual/libintl:0)
>    (/, virtual/libelf:0)
> 
> 
> forced rebuilds:
> 
> 
> 
> 
> 

Did you actually do the emerge i.e. answer the question  at the end
about do you wish to emerge these packages?

Also, I would not get quite so much detail in your output by emering
like this:
script -c "emerge --update --deep --changed-use --with-bdeps=y
--keep-going --backtrack=500 --verbose-conflicts world"
/usr/src/world_update.txt

I always like to use a script because I like to look at output before
emerging.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Getting past captchas with vision issues.

2020-09-29 Thread John Covici


On Mon, 28 Sep 2020 22:05:23 -0400,
Matt Connell (Gmail) wrote:
> 
> On Mon, 2020-09-28 at 20:50 -0500, Dale wrote:
> > 
> > Anyone find a way around those things yet?
> > 
> 
> I've had mixed (~75%) success with Captcha Buster.
> 
> https://addons.mozilla.org/en-US/firefox/addon/buster-captcha-solver/
> 
> The general idea is that the addon will try to use the audio captcha,
> with the sound piped into a text-to-speech engine.  That way, you
> (ideally) get through a captcha with a single click and a couple of
> seconds waiting.
> 
> 

I have found pretty good results, because a lot of these captchas use
a Google library and if you are signed into google on the browser in
question, all you need to do is check the box that says I am not a
robot.  This does not work all the time, but about 90% of the time it
works.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems running emerge @module-rebuild on new kernel

2020-09-12 Thread John Covici


On Fri, 11 Sep 2020 21:48:45 -0400,
Ashley Dixon wrote:
> 
> [1  ]
> On Fri, Sep 11, 2020 at 09:42:25PM -0400, John Covici wrote:
> > So, I then tried to do emerge @module-rebuild and got strange results.  I 
> > get
> > when emerging wireguard  endlessly repeated lines like the following:
> > # Do not try to update included dependency files
> > and when I try to emerge sys-zfs/zfs-kmod it hangs on checking on whether
> > modules can be rebuilt.
> 
> Please attach the script of emerge, from the invocation (include the command) 
> to
> when it starts to hang.

Just in case anyone runs into this problem, I solved by making sure my
umask was set to 002 and then I unmerged and re-emerged the kernel and
recompiled and all was well.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems running emerge @module-rebuild on new kernel

2020-09-11 Thread John Covici
On Fri, 11 Sep 2020 21:48:45 -0400,
Ashley Dixon wrote:
> 
> [1  ]
> On Fri, Sep 11, 2020 at 09:42:25PM -0400, John Covici wrote:
> > So, I then tried to do emerge @module-rebuild and got strange results.  I 
> > get
> > when emerging wireguard  endlessly repeated lines like the following:
> > # Do not try to update included dependency files
> > and when I try to emerge sys-zfs/zfs-kmod it hangs on checking on whether
> > modules can be rebuilt.
> 
> Please attach the script of emerge, from the invocation (include the command) 
> to
> when it starts to hang.
> 


OK, here it  is, not a script, just a command at the console.
Script started on 2020-09-11 23:03:55-04:00 [TERM="linux" TTY="/dev/tty1" 
COLUMNS="240" LINES="67"]
Error during set creation: Could not import 
'smartliverebuild.sets.SmartLiveRebuildSet' for section 'smart-live-rebuild'

These are the packages that would be merged, in order:

Calculating dependencies   done!
[ebuild U  ] net-vpn/wireguard-modules-1.0.20200908::gentoo 
[1.0.20200729-r1::gentoo] USE="module -debug -module-src" 0 KiB
[ebuild   R] sys-fs/zfs-kmod-0.8.4-r1::gentoo  USE="rootfs -custom-cflags 
-debug" 0 KiB

Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency 
conflict:

sys-fs/zfs-kmod:0

  (sys-fs/zfs-kmod-2.0.0_rc1:0/0::gentoo, ebuild scheduled for merge) 
USE="rootfs -custom-cflags -debug" ABI_X86="(64)" conflicts with
~sys-fs/zfs-kmod-0.8.4 required by (sys-fs/zfs-0.8.4-r2:0/0::gentoo, 
installed) USE="rootfs (split-usr) -custom-cflags -debug (-kernel-builtin) 
-libressl -python (-static-libs) -test-suite" ABI_X86="(64)" 
PYTHON_TARGETS="python3_7 -python3_6"
^^


!!! The following installed packages are masked:
- dev-python/paver-1.3.4-r1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Michał Górny  (2020-08-09)
# Build tool with no revdeps left.
# Removal in 30 days.  Bug #736517.

- net-mail/mailman-2.1.33::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Michał Górny  (2020-08-22)
# These packages (or package versions) still require Python 2.7.
# They are either dead upstream, their Python 3 porting efforts are
# not progressing or their maintainers are simply unresponsive.
# Please do not remove any packages from this list unless you actually
# port it to Python 3.
# Removal in 30 days.  Tracker bug #694800.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests


>>> Emerging (1 of 2) net-vpn/wireguard-modules-1.0.20200908::gentoo

 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * wireguard-linux-compat-1.0.20200908.tar.xz BLAKE2B SHA512 size ;-) ...   

 [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found sources for kernel version:
 * 4.19.144-gentoo
 * Checking for suitable kernel configuration options...
 [ ok ]
>>> Unpacking source...
>>> Unpacking wireguard-linux-compat-1.0.20200908.tar.xz to 
>>> /var/tmp/portage/net-vpn/wireguard-modules-1.0.20200908/work
>>> Source unpacked in 
>>> /var/tmp/portage/net-vpn/wireguard-modules-1.0.20200908/work
>>> Preparing source in 
>>> /var/tmp/portage/net-vpn/wireguard-modules-1.0.20200908/work/wireguard-linux-compat-1.0.20200908
>>>  ...
>>> Source prepared.
>>> Configuring source in 
>>> /var/tmp/portage/net-vpn/wireguard-modules-1.0.20200908/work/wireguard-linux-compat-1.0.20200908
>>>  ...
>>> Source configured.
>>> Compiling source in 
>>> /var/tmp/portage/net-vpn/wireguard-modules-1.0.20200908/work/wireguard-linux-compat-1.0.20200908
>>>  ...
 * Preparing wireguard module
make -j1 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 
'LDFLAGS=-m elf_x86_64' KERNELDIR=/usr/src/linux module 
# Do not try to update included dependency files
# Do not try to update included dependency files
# Do not try to update included dependency files
# Do not try to update included dependency files
^C

Exiting on signal 2

Script done on 2020-09-11 23:04:38-04:00 [COMMAND_EXIT_CODE="130"]

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problems running emerge @module-rebuild on new kernel

2020-09-11 Thread John Covici
Hi.  I am having problems doing emerge @module-rebuild to update my
kernel to linux-4.19.144-gentoo.  I copied my previous .config from
128-gentoo, did make oldconfig then did make bzimage, modules and
modules_install without problems.  So, I then tried to do emerge
@module-rebuild and got strange results.  I get when emerging
wireguard  endlessly repeated lines like the following:
# Do not try to update included dependency files
and when I try to emerge sys-zfs/zfs-kmod it hangs on checking on
whether modules can be rebuilt.

I thought it might be some kind of permission question, but updating
all directories in the kernel tree to o+x, or even changing the
ownership of the entire tree to portage.portage, but no joy.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] mailman 2.1 replacement? (Python 2.7 issue)

2020-09-06 Thread John Covici
Well, when trying to emerge mailman, I do get the masked packages
warning, but I can't get the bug, bugs.gentoo.org seems to be down.

On Sun, 06 Sep 2020 09:39:41 -0400,
John Covici wrote:
> 
> hmmm, in my /var/db/repos/gentoo/profile/packages.mask, I only have
> mailman3 as unmasked.  I am on the ~ tree, so that may make some
> difference.
> 
> On Sun, 06 Sep 2020 05:55:48 -0400,
> Matthias Hanft wrote:
> > 
> > Neil Bothwick wrote:
> > > 
> > > Have you read https://bugs.gentoo.org/710134 ?
> > 
> > *Now* I have - thank you :-)
> > 
> > Unfortunately, there's no answer either. But I've added myself
> > to the Cc list and will monitor that thread.
> > 
> > -Matt
> > 
> 
> -- 
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
> 
>  John Covici wb2una
>  cov...@ccs.covici.com
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] mailman 2.1 replacement? (Python 2.7 issue)

2020-09-06 Thread John Covici
hmmm, in my /var/db/repos/gentoo/profile/packages.mask, I only have
mailman3 as unmasked.  I am on the ~ tree, so that may make some
difference.

On Sun, 06 Sep 2020 05:55:48 -0400,
Matthias Hanft wrote:
> 
> Neil Bothwick wrote:
> > 
> > Have you read https://bugs.gentoo.org/710134 ?
> 
> *Now* I have - thank you :-)
> 
> Unfortunately, there's no answer either. But I've added myself
> to the Cc list and will monitor that thread.
> 
> -Matt
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] tuning desktop appearance for legibility

2020-09-03 Thread John Blinka
On Thu, Sep 3, 2020 at 1:45 PM Caveman Al Toraboran <
toraboracave...@protonmail.com> wrote:

> ‐‐‐ Original Message ‐‐‐
>
> On Thursday, September 3, 2020 6:50 PM, John Blinka 
> wrote:
>
>
>
> > Hi, Everyone,
>
>
>
> hello big dawg!
>
>
>
> quick point: imo the problem of gray texts on
>
> white backgrounds, or scrollbars or whatever, that
>
> you have, is not related to aging.  imo it's
>
> rather related to stupid web developers.  not even
>
> a mutant with infrared vision can use these
>
> websites.
>
>
>
>
>
> > 1) How  do you cope with this problem?
>
>
>
> i cope by these:
>
>
>
> - use pixel-based fonts for everything as much
>
>   as possible, specially for key apps like:
>
>   terminal, window manager and browser.
>
>
>
>   they become so much readable.  i use
>
>   "terminus-font" (and previously used "dina")
>
>   in my urxvt as well as my other apps as much
>
>   as i can.
>
>
>
>   i notice one of the major problems with
>
>   fonts is actually not our eyes, but in many
>
>   cases how fancy fonts blur.  i was
>
>   personally amazed by how i could use much
>
>   smaller fonts, while maintaining
>
>   readability, by simply switching to
>
>   pixel-based fonts, such as terminus.


I think I’m ok on fonts with my very hi-res monitor plus noto sans mono
font and white-on-black text wherever possible.  Discovered that during my
“tuning” efforts and like the look.  Used to use terminus but prefer my
current recipe.  Admittedly the clarity is probably only infinitesimally
different from terminus.


>
>
>
> - for my browser, i use custom user css for
>
>   different modes.  i also configured
>
>   shortcuts for my browser, so that i change
>
>   these user css files based on which ones
>
>   work best with the site.  generally, i have
>
>   "night.css" and "wiki.css" that i change by
>
>   keyboard shortcuts.  the "night.css" is very
>
>   generic and changes background/foreground
>
>   texts for pretty much 90% of sites properly.


Could you elaborate on this?  Don’t know css, but could pick it up.  I’m
assuming that web pages already contain css code to direct their
appearance.  So you apparently have some alternate appearance you prefer,
with your own alternate coding, and you somehow tell the browser to use
yours instead.  Am I anywhere close to getting the broad outlines of the
process correct?  If so, how does this intercept and substitute process
work?  (I see you provide a link below, but it doesn’t work here...)

>
>
>
>
>   this way, i am no longer bound by bad colors
>
>   chosen by web designers.
>
>
>
> - i use i3 as window manager, with lots of
>
>   shortcuts.  i also use qutebrowser (a
>
>   browser with good vim shortcuts).
>
>
>
>   this way, throughout the day, i rarely end
>
>   up needing to use the mouse to do things.  i
>
>   only use the mouse for ultra quirky websites
>
>   with fancy javascript links that are not
>
>   clickable by qutebrowser's shortcuts.


I cut my teeth on vi on 4.2 bsd on a vax.  That actually sounds appealing.

>
>
>   so thanks to using keyboard shortcuts, a
>
>   website can have thin gray scrollbar on a
>
>   gray background and i don't care.  because i
>
>   scroll by shortcuts, not by bars.  in fact,
>
>   my qutebrowser's interface has scrollbars
>
>   disabled altogether to use pixels, which i
>
>   paid dear money for, for real use.
>
>
>
>
>
> > 2) Is there an xfce theme and icon package you
>
> > recommend?  Or maybe something other than xfce?
>
> > I like xfce, and have never been attracted to
>
> > integrated desktops like kde and gnome, but if
>
> > they’ve got a credible solution, I’m willing to
>
> > try.
>
>
>
> i would suggest try keyboard-based window
>
> managers.  my 1st suggestion is i3.  it's actually
>
> perfectly usable for all applications.  it's
>
> tiling-based, but also has floating functionality,
>
> and does a fine job eliminating need of clicking
>
> around on tiny things.
>
>
>
> > 3) Are there lower level ways of tweaking my
>
> > current desktop?  For example, changing colors
>
> > in the 2 examples I gave above from black on
>
> > dark gray to black on white?  Could that be done
>
> > with a little judicious editing of color
>
> > settings somewhere, or adjusting colors on an
>
> > icon?  I don’t know how desktop appearances are
>
> > programmed, so I don’t know where on the
>
> > spectrum of trivial->apocalyptic this lies.
>
>
>
> user style sheets.  maybe have a look here
>
> (i also talked about it above):
>
> https://userstyles.org/styles/browse/css


Not promising.  The page doesn’t load except for a rotating colorwheel in
the center followed by a 504 gateway timeout.  Will try again later.

Thanks - lots of stuff to try.

John


[gentoo-user] tuning desktop appearance for legibility

2020-09-03 Thread John Blinka
Hi, Everyone,

As I have gotten older, reading what’s on my computer screen has become
more challenging.  I’ve adjusted with a big, high resolution monitor,
bigger fonts, better fonts, and ophthalmologists.  All helpful steps.

Recently, I’ve been playing with different desktop appearance options.  I
run xfce, and choose these appearance options in Settings->Appearance.  I
think I’ve explored everything relevant in /usr/portage/x11-themes but not
sure because it’s not clear to me what the various packages do.

I’ve tried a number of themes and icon packages.  All of them have
significant problems.  In some combos, I lose functionality.  (E.g.,  the
little up-down arrows at the top and bottom of scrollbars that allow you to
step up and down disappear on many combinations.)

The BlackMATE theme and Adwaita icon set are the most useful I’ve found.
But not without problems.

Today I was using Gnucash, and the BlackMATE/Adwaita combination presented
me with dark gray backgrounds on which to type black numbers.  Not the
clearest color combination.

Another example:   black window scroll bars on dark gray backgrounds.
Challenging to see.

There are other issues, such as websites that like to present medium gray
text on light gray backgrounds (sorry, can’t provide a specific example
right now).  Firefox, in Preferences->Fonts and Colors->Colors, has some
limited ability to override website color schemes with other colors, but
that hasn’t worked well for me in general, because it often gives many
websites a bizarre appearance.

I’m guessing this group has a number of folks who’ve encountered similar
problems.  I have several questions for you.

1) How  do you cope with this problem?

2) Is there an xfce theme and icon package you recommend?  Or maybe
something other than xfce?  I like xfce, and have never been attracted to
integrated desktops like kde and gnome, but if they’ve got a credible
solution, I’m willing to try.

3) Are there lower level ways of tweaking my current desktop?  For example,
changing colors in the 2 examples I gave above from black on dark gray to
black on white?  Could that be done with a little judicious editing of
color settings somewhere, or adjusting colors on an icon?  I don’t know how
desktop appearances are programmed, so I don’t know where on the spectrum
of trivial->apocalyptic this lies.

Thanks for your suggestions!

John Blinka


Re: [gentoo-user] systemd 246 gives strange messages

2020-08-12 Thread John Covici
On Wed, 12 Aug 2020 10:55:14 -0400,
Rich Freeman wrote:
> 
> On Wed, Aug 12, 2020 at 9:32 AM John Covici  wrote:
> >
> > Does this indicate a problem, and if not, how can I stop these
> > messages?
> >
> 
> I'm guessing it is just log spam, but I don't use Gnome so I can't
> really be sure.  You might do well to ask on a Gnome mailing list, or
> maybe ping one of the gnome maintainers on Gentoo.
> 
> It looks like Gnome is integrating with systemd via xdg and a new
> systemd generator to have systemd automatically launch some services
> based on events.  If I had to take a wild guess some of these services
> are managed by systemd, and others are not, and systemd is being noisy
> about the ones that aren't.
> 
> But it is also possible something is broken.  I bet a Gnome maintainer
> would know what is going on offhand.  They may not monitor this list
> but if you pinged one on IRC/email and asked them to look they
> probably would.  The Gentoo maintainer is probably your best first
> bet, but we probably run relatively close to upstream since that's how
> Gentoo does stuff, so upstream might also help you.  I know on the
> systemd front we try to stay close to upstream (much closer to
> something like Arch than something like Ubuntu).

OK, I will check, thanks a lot.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] systemd 246 gives strange messages

2020-08-12 Thread John Covici
Hi.  After the latest update to systemd 246, I get periodic messages
like these:

systemd[7985]: Not generating service for XDG autostart
app-nm\x2dapplet-autostart.service, it is hidden.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.XSettings-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Wacom-autostart.service, startup phases
are not supported.
systemd[7985]: Not generating service for XDG autostart
app-pulseaudio-autostart.service, startup phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.ScreensaverProxy-autostart.service,
startup phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Housekeeping-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Smartcard-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-orca\x2dautostart-autostart.service, only Type=Application is
supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Sharing-autostart.service, startup phases
are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.UsbProtection-autostart.service, startup
phases are not supported.
systemd[7985]: gnome-systemd-autostart-condition not found: No such
file or directory
systemd[7985]: Not generating service for XDG autostart
app-xdg\x2duser\x2ddirs-autostart.service, startup phases are not
supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Power-autostart.service, startup phases
are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Color-autostart.service, startup phases
are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.A11ySettings-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Keyboard-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.MediaKeys-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-gnome\x2dkeyring\x2dssh-autostart.service, startup phases are not
supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Datetime-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-gnome\x2dkeyring\x2dsecrets-autostart.service, startup phases are
not supported.
systemd[7985]: Not generating service for XDG autostart
app-at\x2dspi\x2ddbus\x2dbus-autostart.service, startup phases are not
supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Sound-autostart.service, startup phases
are not supported.
systemd[7985]: Not generating service for XDG autostart
app-gnome\x2dkeyring\x2dpkcs11-autostart.service, startup phases are
not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Rfkill-autostart.service, startup phases
are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.PrintNotifications-autostart.service,
startup phases are not supported.

Does this indicate a problem, and if not, how can I stop these
messages?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] oauth2 and apache web pages

2020-08-01 Thread John Covici
Hi.  I would like to set up my apache configuration such that for
certain web pages, someone must log in with credentials.  I know how
to set up basic authentication, but I would like to set up so the user
needs oauth2 or similar to log into the page, as I understand basic
authentication is not very secure these days.

I did not see anything in the tree to do this, I saw an apache module
on github, but still not sure how to do this, so any tips along these
lines would be appreciated.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problem getting wifi card to route to internet

2020-07-27 Thread John Covici
I wil have to check, I ran into some other problems with wlan0 and
will get back when I have straightened that out.

Thanks.


On Sun, 26 Jul 2020 23:17:24 -0400,
Adam Carter wrote:
> 
> [1  ]
> > > Have you set the default route and enabled ip forwarding?
> > >
> > > Also you don’t need to add a route for connected interfaces
> > Thanks for your quick response.  Packet forwarding is enabled and I am
> > using shorewall to have normal firewall settings.
> >
> 
> Ok so can the WLAN clients ping the internet facing interface of your new
> linux/wlan/internet router? If not, do they get a DHCP IP address? Do they
> have a default route?
> [2  ]

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problem getting wifi card to route to internet

2020-07-25 Thread John Covici
On Sat, 25 Jul 2020 05:31:32 -0400,
Adam Carter wrote:
> 
> [1  ]
> On Saturday, July 25, 2020, John Covici  wrote:
> 
> > Hi.  This is not strictly a gentoo problem, but I would like advise
> > from people on how to get my wifi card to see the internet.
> >
> > On my new box I have the following card:
> > 00:14.3 Network controller: Intel Corporation Wireless-AC 9560
> > [Jefferson Peak] (rev 10)
> > Subsystem: Intel Corporation Wireless-AC 9560 [Jefferson Peak]
> >Kernel driver in use: iwlwifi
> >
> > Now, I wanted to serve other computers with this device
> >
> 
> Have you set the default route and enabled ip forwarding?
> 
> Also you don’t need to add a route for connected interfaces
Thanks for your quick response.  Packet forwarding is enabled and I am
using shorewall to have normal firewall settings.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problem getting wifi card to route to internet

2020-07-25 Thread John Covici
Hi.  This is not strictly a gentoo problem, but I would like advise
from people on how to get my wifi card to see the internet.

On my new box I have the following card:
00:14.3 Network controller: Intel Corporation Wireless-AC 9560
[Jefferson Peak] (rev 10)
Subsystem: Intel Corporation Wireless-AC 9560 [Jefferson Peak]
   Kernel driver in use: iwlwifi

Now, I wanted to serve other computers with this device and so emerged
hostapd.  Then after some configuration fooling around with
/etc/hostap/hostapd.conf, I got things to the point where the card
comes up and is seen by other devices.

I set the device up on its own network at 192.168.3.1 by using the
following unit file:

[Unit]
Description=Network Connectivity for %i
Documentation=man:ip
Before=network.target
Wants=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/conf.d/network@%i
ExecStart=/bin/ip link set dev %i up
ExecStart=/bin/ip addr add ${address}/${netmask} broadcast ${broadcast} dev %i
ExecStart=-/bin/bash -c "test -n ${gateway} && /bin/ip route add default via 
${gateway}"
ExecStart=-/bin/bash -c "test -f /etc/conf.d/postup@%i.sh&&/bin/bash  -c 
/etc/conf.d/postup@%i.sh"
ExecStop=/bin/ip addr flush dev %i
ExecStop=/bin/ip link set dev %i down
ExecStop=-/bin/bash -c "test -f /etc/conf.d/postdown@%i.sh&&/bin/bash  -c 
/etc/conf.d/postdown@%i.sh"

[Install]
WantedBy=multi-user.target

and the following in /etc/conf.d/network@wlan0
address=192.168.3.1
netmask=24
broadcast=192.168.3.255

and also added the following route
route add -net 192.168.3.0 netmask 255.255.255.0 dev eno1
but still I cannot get packets out to the internet.  I can ping
the device  from my console, but that is it.

I am not sure whether I am missing something in my hostapd.conf or
somewhere else.

Thanks in advance for any suggestions.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Joining PDF files together.

2020-07-09 Thread John Blinka
On Thu, Jul 9, 2020 at 9:31 AM Alan Mackenzie  wrote:

> Hello, Gentoo.
>
> I've just scanned in a two-page document using sane, and it's given me
> as output two separate files.  I would like to join these together into
> a single document.
>
> Would somebody please suggest to me an appropriate package to do this
> with.
>
> Thanks!
>
> Other than that, Gentoo just keeps working for me, so I've not much to
> say on this list.  ;-)
>
> --
> Alan Mackenzie (Nuremberg, Germany).
>
> app-text/pdftk

pdftk page-1.pdf page-2.pdf cat output both.pdf

Lots of other useful tricks it can do with pdf files.

hth -

John Blinka


Re: [gentoo-user] xorg-server without suid still runs as root?

2020-06-25 Thread John Covici
On Thu, 25 Jun 2020 08:58:30 -0400,
Nikos Chantziaras wrote:
> 
> There's a news item about disabling the "suid" use flag on
> x11-base/xorg-server, which makes it runs as a normal user rather
> than root. Version 1.20.8-r1 of the ebuild disables "suid" by
> default. After updating to that and rebooting, X still runs as
> root though:
> 
>   $ ps aux | grep X
>   root 270 1.7 0.6 226892 107052 tty1 Ssl+ 13:52 2:08 /usr/bin/X
> 
>   $ emerge --info xorg-server
>   [...]
>   x11-base/xorg-server-1.20.8-r1::gentoo was built with the following:
> USE="ipv6 libglvnd systemd udev xorg -debug -dmx -doc (-elogind)
> -kdrive -libressl -minimal (-selinux) -static-libs -suid -unwind
> -wayland -xcsecurity -xephyr -xnest -xvfb" ABI_X86="(64)"
> 
> Am I missing something? I'm using systemd. If it matters, the
> "kms" use flag in x11-drivers/nvidia-drivers is enabled.

If I do ls -l /proc/ both of them are not root, 1 as gdm
and the other as me which got created after I logged in.  Try doing
that and see what you see.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Memory cards and deleting files.

2020-06-21 Thread John Covici
On Sun, 21 Jun 2020 10:50:46 -0400,
Franz Fellner wrote:
> 
> On Sun Jun 21 09:21:36 2020, Dale  wrote:
> > The cards I use are class 10, slow but pretty fast for the type of
> > card.  Generally, I can download several hundred MBs in a minute or
> > two.  Deleting sometimes over a 1,000 pics one at a time just isn't
> > feasible.  That could take a long time.
> 
> That wasn't my intention!
> I thought you should just select one file (remember its name), delete it,
> unmount, remount and see if the file is still there.
> So you can be sure that you really have a different issue than just 
> performance.
> Trying to delete a folder takes ages and you don't see the file names.

Definitely unmount, the sectors sometimes don't write to disk for
quite a while, and your unmount should take a few seconds to more than
a minute and so unmount and wait till it returns, and then remount and
see what happens.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Seagate ST8000NM0065 PMR or SMR plus NAS SAS SATA question

2020-05-23 Thread John Covici
On Sat, 23 May 2020 11:39:40 -0400,
David Haller wrote:
> 
> Hello,
> 
> On Sat, 23 May 2020, Michael wrote:
> >On Saturday, 23 May 2020 00:31:48 BST Rich Freeman wrote:
> >> On Fri, May 22, 2020 at 5:40 PM antlists  wrote:
> >> > On 22/05/2020 19:23, Rich Freeman wrote:
> >> > > A big problem with drive-managed SMR is that it basically has to
> >> > > assume the OS is dumb, which means most writes are in-place with no
> >> > > trims, assuming the drive even supports trim.
> >> > 
> >> > I think the problem with the current WD Reds is, in part, that the ATA-4
> >> > spec is required to support trim, but the ATA-3 spec is the current
> >> > version. Whoops ...
> >> 
> >> Probably was thought up by the same genius who added the 3.3V reset
> >> pin to the SATA standard.
> >
> >Is there a way to determine if a drive on sale is SMR *before*
> >purchase?
> 
> WD Red WD*EFRX are PMR.
> WD Red WD*EFAX are SMR (AFAIK, could be, that some are PMR).
> 
> ISTR, that the "Red Pro" are all PMR (so far).

How about WD4001FFSX-68JNUN0? I hope its pmr.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] zoom not responding

2020-04-28 Thread John Covici
Hi.  I have installed net-im/zoom and I am on  version 5.0.398100.0427
but when I try to run it, I get zoom not responding every time.  I
looked in bgo, but nothing like this is showing.  I am using this with
orca, so I don't know if this is part of the problem.

Any thoughts?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] update remote system in background

2020-04-24 Thread John Covici
On Fri, 24 Apr 2020 08:06:53 -0400,
Rich Freeman wrote:
> 
> On Fri, Apr 24, 2020 at 6:31 AM Neil Bothwick  wrote:
> >
> > On Fri, 24 Apr 2020 10:41:24 +0200, Michele Alzetta wrote:
> >
> > > ... I just hope the remote system isn't running systemd, if so, you
> > > have to do some additional tweaking before screen or tmux work. I know
> > > someone who was bitten hard by this. Apparently systemd by default
> > > closes all running processes of a user on logout.
> >
> > I've never seen this and I regularly update systemd computers using tmux.
> 
> It is a configurable option.  I can't imagine that many distros enable
> it by default since it is likely to be shocking to anybody who
> actually knows how to use screen, and pointless for anybody who does
> not.  :)
> 
> To enable it set KillUserProcesses=yes in /etc/systemd/logind.conf
> 
> If you do use it there are ways to make exceptions for particular processes.
> 
> I can certainly see how it is a useful feature to have available in
> specific contexts, but obviously most people will want to have it
> turned off.

Or simplest of all use the at command possibly using script as the
command line and some way to answer the do you want to emerge
... question.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 13:30:32 -0400,
Michael Orlitzky wrote:
> 
> On 4/22/20 1:19 PM, John Covici wrote:
> > 
> > That makes no sense to me -- portage itself says those files are owned
> > by 14.7.1965(14) so if its telling me that why does it not just
> > replace those files?
> > 
> 
> Aha, you're not doing anything wrong. The old 14.7.x version was slotted:
> 
> https://gitweb.gentoo.org/repo/gentoo.git/diff/net-misc/teamviewer/teamviewer-14.7.1965.ebuild?id=2766d49e7c040d373685775a4515967cd0f1b33e
> 
> The new ones aren't (they're all SLOT=0). But the new ones install to
> the same place as the old 14.7.x versions. Since slotted packages aren't
> supposed to conflict, it's complaining that SLOT=0 and SLOT=14.7 (or
> whatever it was) are trying to install to the same place.
> 
> I guess the developer never noticed the problem because he was on a
> faster upgrade schedule. You can fix it by uninstalling the old version
> manually, and then installing the new one.
> 

OK, manually unmerging and re-emerging did the trick -- thanks all for
your help.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 12:03:39 -0400,
Michael Orlitzky wrote:
> 
> On 4/22/20 11:58 AM, John Covici wrote:
> > 
> > Yes, portage agrees with that statement, maybe I didn't give you the
> > whole log, I thought it said that in there -- I did see that, I am
> > sure.  My question is how does this work normally, when you merge a
> > package and update is this not always the case that there are files
> > owned by the previous version on the system?
> > 
> 
> Yeah, but the package manager knows which files are owned by the version
> being replaced and it doesn't complain about those.

That makes no sense to me -- portage itself says those files are owned
by 14.7.1965(14) so if its telling me that why does it not just
replace those files?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 11:26:20 -0400,
Jack wrote:
> 
> 
> On 4/22/20 11:20 AM, John Covici wrote:
> > On Wed, 22 Apr 2020 11:04:24 -0400,
> > Dale wrote:
> >> [1  ]
> >> John Covici wrote:
> >>> On Wed, 22 Apr 2020 08:53:24 -0400,
> >>> Dale wrote:
> >>> 
> >>>> I did a search on the forums for teamview but didn't find that problem.
> >>>> Did you perhaps install it without using portage at some point?  If not,
> >>>> can you try to emerge it and post the failure here, a new thread might
> >>>> be best.  I bet there is someone here who can fix it even if they don't
> >>>> use that package.  Generally, a file collision for one package is
> >>>> handled much like any other package.  It's been a long time and emerge
> >>>> has changed a LOT but the last time I ran into this, I unmerged the
> >>>> package and then re-emerged it.
> >>>> 
> >>>> Sendmail.  I found this:
> >>>> 
> >>>> 
> >>>> root@fireball / # cat
> >>>> /var/cache/portage/tree/mail-mta/sendmail/metadata.xml
> >>>> 
> >>>> http://www.gentoo.org/dtd/metadata.dtd;>
> >>>> 
> >>>>      
> >>>> 
> >>>> root@fireball / #
> >>>> 
> >>>> 
> >>>> It seems to be maintainer needed at the moment.  Most likely a dev
> >>>> retired or was otherwise unable to maintain it any longer.  I'm not sure
> >>>> who to contact to see if it can be nudged into action tho. You may can
> >>>> talk to a dev, Rich is active on here, and see if he knows or is willing
> >>>> to post on -dev about it needing attention.  Given its widespread use,
> >>>> surely someone who uses it can step up and maintain it.
> >>>> 
> >>>> Ant-core is maintained by the java team.  I'm not sure what their status
> >>>> is at the moment but since it still exists, I'm sure they are active.
> >>>> I've seen posts in the past that the java team is a bit slow, lots of
> >>>> work and not enough time in the day.  Might just take a little time.
> >>>> 
> >>> Here is the relevant section from teamviewer build:
> >>>   * checking 102 files for package collisions
> >>>* This package will overwrite one or more files that may belong to
> >>>other
> >>> * packages (see list below). You can use a command such as
> >>> `portageq
> >>>  * owners / ` to identify the installed package that owns
> >>>  a
> >>>   * file. If portageq reports that only one package owns a file
> >>>   then do
> >>>* NOT file a bug report. A bug report is only useful if it
> >>>identifies at
> >>> * least two or more packages that are known to install the same
> >>> file(s).
> >>>  * If a collision occurs and you can not explain where the file
> >>>  came from
> >>>   * then you should simply ignore the collision since there is
> >>>   not enough
> >>>* information to determine if a real problem exists. Please
> >>>   do NOT file
> >>>* a bug report at https://bugs.gentoo.org/ unless you
> >>>report exactly
> >>> * which two packages install the same file(s). See
> >>>  * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers
> >>>  for tips on how
> >>>   * to solve the problem. And once again, please do NOT
> >>>   file a bug report
> >>>* unless you have completely understood the above
> >>>   message.
> >>>*
> >>> * Detected file collision(s):
> >>>  *
> >>>   *   
> >>> /usr/share/dbus-1/services/com.teamviewer.TeamViewer.service
> >>>*   
> >>> /usr/share/dbus-1/services/com.teamviewer.TeamViewer.Desktop.service
> >>>*   
> >>> /usr/share/polkit-1/actions/com.teamviewer.TeamViewer.policy
> >>> *   
> >>> /usr/share/icons/hicolor/24x24/apps/TeamViewer.png
> >>>  *   
> >>> /usr/sh

Re: [gentoo-user] gentoo accessibility re i'm blind,

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 10:32:12 -0400,
Mark Knecht wrote:
> 
> [1  ]
> On Wed, Apr 22, 2020 at 7:16 AM Majid Hussain 
> wrote:
> >
> > hey there mark,
> > you are ausom!
> > it has cleared things up alot!
> > on the chroot what doo I need?
> > thanks,
> > Majid Hussain
> >
> > On 22/04/2020, Mark Knecht  wrote:
> > > On Wed, Apr 22, 2020 at 5:45 AM Majid Hussain 
> > > wrote:
> > >>
> > >> hi there,
> > >> now er days, the mate desktop is considderd very accessible,
> > >> compared to gnome,
> > >> orca is the screen reader used when a gui is launched,
> > >> espeakup is the screen reader that is used on the tty before xorg and
> > >> friends are launched,
> > >> it's what debian uses on the net install image,
> > >> hence me asking if espeakup would be able to be added to an iso image?
> > >> unless there's away of building your own iso image from a non  gentoo
> > > system?
> > >> Majid
> > >>
> > >
> > > Hi Majid,
> > >I know nothing about accessibility systems but the meat of installing
> > > Gentoo is essentially just you executing a bunch of instructions inside
> of
> > > a chroot. You can start with any distro that currently provides
> > > accessibility for you, set aside some disk space, chroot into it and
> then
> > > do the Gentoo install work there. If the distro you start with can read
> > > what's going on in that terminal as well as the install instructions off
> > > the web pages for this task then I think you should be good to go.
> > >
> > > Hope this helps,
> > > Mark
> > >
> >
> >
> > --
> > kind regards,
> > Majid Hussain
> 
> Hi Majid,
>Again, I know nothing at all about how you deal with these tasks with
> blindness. A few things:
> 
> 1) This list tends to a a bottom posting list. I don't think anyone is
> going to give you much grief about top posting. I certainly won't.
> 
> 2) Fundamentally you just need to follow the isntall guide located here:
> 
> https://wiki.gentoo.org/wiki/Handbook:AMD64
> 
> Under the section "Installing Gentoo" there are a bunch of links. The first
> 5 are basically about getting a new box with no OS booting, setting up a
> network, basic stuff. You should have all of that from any OS you boot. TO
> BE CLEAR: you can do this on your existing system if it's Linux based and
> you have disk space available to play with. You can do this in a Virtualbox
> VM. There is NO requirement to use a new empty system. Find some disk space
> and follow the "Preparing the disks" and "Installing the Gentoo
> installation files" sections to map out the design of your system. Once
> that is done the section "Installing the Gentoo Base system" is where you
> chroot into what will eventually become your machine. At that point you are
> running Gentoo inside the chroot. You just build it p following the
> instructions.
> 
> I hope this helps a little. Once you get started youo can ask questions
> here and I am certain you'll get responses. This is, for the 25 years I've
> been using Linux, the most helpful place on the web for both Gentoo and
> general Linux admin sorts of topics.
> 
>Warm welcomes and best of luck. I'm excited to see how you do.

I use gentoo with speakup (with a hardware synth) gnome and orca all
the time and it works well.  I compile my kernels and have speakup
built in so that I can get the earliest possible speech, but you may
not want to do this.  My system is more complicated since I use zfs,
but that is the great thing about gentoo, you get lots of choices.
So, if you like mate,  you can use that, if you like gnome you can use
that, etc.  Gnome requires you to use systemd, so be warned.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 11:04:24 -0400,
Dale wrote:
> 
> [1  ]
> John Covici wrote:
> > On Wed, 22 Apr 2020 08:53:24 -0400,
> > Dale wrote:
> >
> >> I did a search on the forums for teamview but didn't find that problem. 
> >> Did you perhaps install it without using portage at some point?  If not,
> >> can you try to emerge it and post the failure here, a new thread might
> >> be best.  I bet there is someone here who can fix it even if they don't
> >> use that package.  Generally, a file collision for one package is
> >> handled much like any other package.  It's been a long time and emerge
> >> has changed a LOT but the last time I ran into this, I unmerged the
> >> package and then re-emerged it.
> >>
> >> Sendmail.  I found this:
> >>
> >>
> >> root@fireball / # cat
> >> /var/cache/portage/tree/mail-mta/sendmail/metadata.xml
> >> 
> >> http://www.gentoo.org/dtd/metadata.dtd;>
> >> 
> >>     
> >> 
> >> root@fireball / #
> >>
> >>
> >> It seems to be maintainer needed at the moment.  Most likely a dev
> >> retired or was otherwise unable to maintain it any longer.  I'm not sure
> >> who to contact to see if it can be nudged into action tho. You may can
> >> talk to a dev, Rich is active on here, and see if he knows or is willing
> >> to post on -dev about it needing attention.  Given its widespread use,
> >> surely someone who uses it can step up and maintain it. 
> >>
> >> Ant-core is maintained by the java team.  I'm not sure what their status
> >> is at the moment but since it still exists, I'm sure they are active. 
> >> I've seen posts in the past that the java team is a bit slow, lots of
> >> work and not enough time in the day.  Might just take a little time.
> >>
> > Here is the relevant section from teamviewer build:
> >  * checking 102 files for package collisions
> >   * This package will overwrite one or more files that may belong to
> >   other
> >* packages (see list below). You can use a command such as
> >`portageq
> > * owners / ` to identify the installed package that owns
> > a
> >  * file. If portageq reports that only one package owns a file
> > then do
> >  * NOT file a bug report. A bug report is only useful if it
> >  identifies at
> >   * least two or more packages that are known to install the same
> >   file(s).
> >* If a collision occurs and you can not explain where the file
> >came from
> > * then you should simply ignore the collision since there is
> > not enough
> >  * information to determine if a real problem exists. Please
> > do NOT file
> >  * a bug report at https://bugs.gentoo.org/ unless you
> >  report exactly
> >   * which two packages install the same file(s). See
> >* https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers
> >for tips on how
> > * to solve the problem. And once again, please do NOT
> > file a bug report
> >  * unless you have completely understood the above
> > message.
> >  *
> >   * Detected file collision(s):
> >*
> > *   
> > /usr/share/dbus-1/services/com.teamviewer.TeamViewer.service
> >  *   
> > /usr/share/dbus-1/services/com.teamviewer.TeamViewer.Desktop.service
> >  *   
> > /usr/share/polkit-1/actions/com.teamviewer.TeamViewer.policy
> >   *   
> > /usr/share/icons/hicolor/24x24/apps/TeamViewer.png
> >*   
> > /usr/share/icons/hicolor/48x48/apps/TeamViewer.png
> > *
> >  *   
> > /usr/share/icons/hicolor/32x32/apps/TeamViewer.png
> >  *   
> > /usr/share/icons/hicolor/16x16/apps/TeamViewer.png
> >   *   
> > /usr/share/icons/hicolor/256x256/apps/TeamViewer.png
> >*   /lib/systemd/system/teamviewerd.service
> > *   /opt/bin/teamviewer
> >  *   /opt/bin/teamviewerd
> >  *
> > 

Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 08:53:24 -0400,
Dale wrote:
> 
> [1  ]
> John Covici wrote:
> > On Wed, 22 Apr 2020 04:15:18 -0400,
> > Dale wrote:
> >> [1  ]
> >> John Covici wrote:
> >>> I am seeing a lot more unmaintained packages -- at least in the ones I
> >>> have -- than there used to be and bugs going unanswered probably
> >>> because of that.  Not sure what to do about it, I don't have time to
> >>> get into doing this much, just keeping up with world updates is quite
> >>> time consuming all by itself.
> >>>
> >>
> >> That may be but the packages that are most used are likely maintained
> >> and well maintained at that.  There are some old packages that haven't
> >> been updated in years, upstream is dead or no one uses them much anymore
> >> that are slowly being removed.  If one can't install them, no real point
> >> in them being in the tree.  I might add, the switch from the much older
> >> pythons are really forcing a house cleaning.  But, some packages are
> >> just out of date and something new has taken their place.  Nothing new
> >> there.  I'm sure this happens with every distro out there, even the paid
> >> ones.
> >>
> >> I follow -dev and have recently had to uninstall a package and install
> >> something else that is newer and more up to date.  I saw a message about
> >> that old package that seemed to stop working for me a good while ago. 
> >> What I had still lurking about would sometimes crash and I didn't trust
> >> it.  I used to use that as a GUI to manage LVM.  I use LVM a lot here. 
> >> In that message was them removing the old package and recommending a
> >> replacement I never heard of.  I installed it and it may actually be
> >> better than the old software I used to use.  While the old package may
> >> be gone, the new one seems to be more up to date, stable and appears to
> >> have a better design.  Different for sure, I'll have to learn how the
> >> GUI does its thing but could be better in the end. Since LVM has been
> >> updated a good bit in the past year or so, that old software either
> >> needed a lot of work or just use the newer software.
> >>
> >> There are a lot of packages that are just not used by enough people to
> >> maintain them anymore.  Some are being replaced with more up to date
> >> packages.  There are lots of reasons for that.  If a package you use is
> >> being removed, search -dev and look to see if there is a replacement
> >> mentioned in the last rites message.  If it was removed, they almost
> >> always include a replacement if there is one.  Sometimes another package
> >> absorbs what the old package used to do. While at times -dev can get
> >> quite busy, I'd be lost without it.  Things are mentioned there about
> >> upcoming changes that I don't see mentioned anywhere else.  That
> >> includes this list as well.  It's a great way to keep somewhat up to
> >> date on what's going on.  One doesn't have to read every post either. 
> >> After a while, you can tell by the subject line if that thread will be
> >> anything you would be interested in.  Last rites, things about upgrades
> >> and such get my attention.  I generally know when something big is going
> >> to happen weeks or even months before it hits the tree.
> >>
> >> If you want to share what packages you are missing out on, I'd be glad
> >> to search my -dev archives and see if I can find something that may help. 
> > Well, teamviewer is the worst -- teamviewer 15 won't emerge because it
> > will overwrite files belonging to the previous version (!da).  Someone
> > even slotted the thing, but still no joy.  I filed a bug, but no
> > response.  Also, although I don't think there is a new version, but
> > sendmail seens to be unmaintained.
> > Also, ant-core --  there is a bug against that, but no fix as yet.
> >
> 
> 
> I did a search on the forums for teamview but didn't find that problem. 
> Did you perhaps install it without using portage at some point?  If not,
> can you try to emerge it and post the failure here, a new thread might
> be best.  I bet there is someone here who can fix it even if they don't
> use that package.  Generally, a file collision for one package is
> handled much like any other package.  It's been a long time and emerge
> has changed a LOT but the last time I ran into this, I unmerged the
> package and then re-emerged it.
> 
> Sendmail.  I found this:
> 
> 
> root@fireball / # ca

Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 04:15:18 -0400,
Dale wrote:
> 
> [1  ]
> John Covici wrote:
> >
> > I am seeing a lot more unmaintained packages -- at least in the ones I
> > have -- than there used to be and bugs going unanswered probably
> > because of that.  Not sure what to do about it, I don't have time to
> > get into doing this much, just keeping up with world updates is quite
> > time consuming all by itself.
> >
> 
> 
> That may be but the packages that are most used are likely maintained
> and well maintained at that.  There are some old packages that haven't
> been updated in years, upstream is dead or no one uses them much anymore
> that are slowly being removed.  If one can't install them, no real point
> in them being in the tree.  I might add, the switch from the much older
> pythons are really forcing a house cleaning.  But, some packages are
> just out of date and something new has taken their place.  Nothing new
> there.  I'm sure this happens with every distro out there, even the paid
> ones.
> 
> I follow -dev and have recently had to uninstall a package and install
> something else that is newer and more up to date.  I saw a message about
> that old package that seemed to stop working for me a good while ago. 
> What I had still lurking about would sometimes crash and I didn't trust
> it.  I used to use that as a GUI to manage LVM.  I use LVM a lot here. 
> In that message was them removing the old package and recommending a
> replacement I never heard of.  I installed it and it may actually be
> better than the old software I used to use.  While the old package may
> be gone, the new one seems to be more up to date, stable and appears to
> have a better design.  Different for sure, I'll have to learn how the
> GUI does its thing but could be better in the end. Since LVM has been
> updated a good bit in the past year or so, that old software either
> needed a lot of work or just use the newer software.
> 
> There are a lot of packages that are just not used by enough people to
> maintain them anymore.  Some are being replaced with more up to date
> packages.  There are lots of reasons for that.  If a package you use is
> being removed, search -dev and look to see if there is a replacement
> mentioned in the last rites message.  If it was removed, they almost
> always include a replacement if there is one.  Sometimes another package
> absorbs what the old package used to do. While at times -dev can get
> quite busy, I'd be lost without it.  Things are mentioned there about
> upcoming changes that I don't see mentioned anywhere else.  That
> includes this list as well.  It's a great way to keep somewhat up to
> date on what's going on.  One doesn't have to read every post either. 
> After a while, you can tell by the subject line if that thread will be
> anything you would be interested in.  Last rites, things about upgrades
> and such get my attention.  I generally know when something big is going
> to happen weeks or even months before it hits the tree.
> 
> If you want to share what packages you are missing out on, I'd be glad
> to search my -dev archives and see if I can find something that may help. 

Well, teamviewer is the worst -- teamviewer 15 won't emerge because it
will overwrite files belonging to the previous version (!da).  Someone
even slotted the thing, but still no joy.  I filed a bug, but no
response.  Also, although I don't think there is a new version, but
sendmail seens to be unmaintained.
Also, ant-core --  there is a bug against that, but no fix as yet.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Tue, 21 Apr 2020 22:55:54 -0400,
Dale wrote:
> 
> [1  ]
> Rich Freeman wrote:
> > On Tue, Apr 21, 2020 at 9:49 PM Dale  wrote:
> >> Then they created moderators with people to enforce some rules.  It got 
> >> better.  Actually, a lot better.
> > That is actually really good to hear.  The whole CoC/Proctors thing
> > has been a bit of a mess and incredibly contentious.  It has also been
> > mostly inactive, in part because for the most part these threads have
> > actually done a pretty good job of moderating themselves.  Maybe it is
> > because people fear moderation.  Maybe it is because nobody really
> > wants to have to see us have to deal with it.  Bugs get filed asking
> > for moderation, and maybe that is all it takes for the parties
> > involved to decide to cool things down.
> >
> > As much as some seem to think otherwise, the reality is that most of
> > the Proctors really don't like kicking that hornets nest.  In any case
> > all Proctors actions are completely public in bugzilla so anybody can
> > see for themselves.  If you don't see much it is because there isn't
> > actually much to see...
> >
> 
> I admit, I don't monitor what they do much but I've seen a huge
> improvement.  I moderated a political site for a few years.  Still have
> access but health and life takes up a lot of time.  I always referred to
> it as herding cats.  You can herd up pretty much any animal, cows, pigs,
> sheep and the list goes on but herding cats is a tough thing to
> accomplish.  After being a moderator that has to deal with things that
> can be opinion with no one in the right or wrong, I know first hand how
> difficult and thankless the job can be.  Still, without it, it gets bad
> pretty fast.  I didn't like doing timeouts, banning and such either. 
> Thing is, when it needed doing, I did it.  I was the lead moderator for
> a good long while. 
> 
> I think instead of dying, Gentoo is stronger even if it involves fewer
> people.  Sure, there is packages that need some attention but if they
> are in demand, usually someone steps up and gives them the attention
> they need to get back up to date. I'm not sure why people keep thinking
> Gentoo is dying.  Sometimes I think it is more about the difference
> between binary distros they are coming from and Gentoo being source
> based than Gentoo actually dying.  When people consider switching to
> Gentoo, it's different from what they expect.  They may need to research
> what Gentoo is first.  Gentoo certainly doesn't hold a persons hand
> during the install or even after the install.  Heck, I been around a
> long time and it doesn't hold my hand even today. 
> 
> Compared to the bad times, -dev is like heaven today.  It was beyond
> words to describe during its worst days.
> 

I am seeing a lot more unmaintained packages -- at least in the ones I
have -- than there used to be and bugs going unanswered probably
because of that.  Not sure what to do about it, I don't have time to
get into doing this much, just keeping up with world updates is quite
time consuming all by itself.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] dir or file? >> /etc/portage/package.mask

2020-04-19 Thread John Covici
On Sun, 19 Apr 2020 10:23:28 -0400,
Daniel Frey wrote:
> 
> On 4/18/20 10:56 AM, tu...@posteo.de wrote:
> > Hi,
> > 
> > I /thought/ that /etc/portage/package.mask is a file and using it
> > in this manner works as exspected.
> > Also the docs are of that opinion, too:
> > https://wiki.gentoo.org/wiki//etc/portage/package.mask
> > 
> > BUT!
> > 
> >   * error: please convert //etc/portage/package.mask to a directory
> >   *
> > 
> > 
> > urges me to make a directory out of it.
> > After doing so, the command starts.
> > 
> > I am confusedslightly...
> > 
> 
> The devs are deprecating the flat-file version of package.*, I
> have been gettings warnings during emerges indicating that they
> all need to be changed to the directory layout.
> 
> If you ignore this eventually emerge will stop working. I've
> already taken the few minutes to move all my boxes to the
> directory layout, and split out the packages to individual
> files. You don't have to go that far though, the entries can stay
> in one file under the new directory structure.

I wonder why they are doing this, I find the single file much easier
to deal with and its easier to make sure I don't have duplicate
entries this way.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] Re: [gentoo-user] Re: [gentoo-user] !!! section ‘local’ in repos.conf has name different from ...

2020-04-16 Thread John Blinka
On Thu, Apr 16, 2020 at 2:36 PM Alexey Mishustin  wrote:

>
> Aren't /usr/local/portage and /usr/local/portage/steam-overlay really
> intertwined? What if you move the 'local' overlay to, say,
> /usr/local/portage/local ? (And, sure, edit the corresponding info in
> the configuration files).
>
> --
> Regards,
> Alex
>
> Thanks, Alex, your suggestion worked.  And better than that, helped me
understand how I broke my 3rd installation by misreading and misapplying
the steam overlay installation guide.  It’s a mystery to me why my
misintallation ever worked on the first 2 boxes, but I’ll leave it
unexplored.

John


[gentoo-user] !!! section ‘local’ in repos.conf has name different from ...

2020-04-16 Thread John Blinka
Hi, everyone,

I’m trying to install steam-overlay using https://wiki.gentoo.org/wiki/Steam

I have 3 boxes on which I try to maintain gentoo setups as identical as
possible.  The steam install has gone smoothly on 2 boxes, but is failing
on the 3rd.

When I get to this steam installation step on the 3rd box:
# emaint sync —repo steam-overlay

I get the error
!!! Section ‘local’ in repos.conf has name different from repository
‘steam-overlay’ set inside repository
which prevents me from syncing and installing steam on this machine.

I’m interpreting this as the two repositories (local and steam-overlay)
somehow knowing about each other and somehow getting their configurations
intertwined.

My repos.conf directory on this 3rd machine is identical to the other 2
machines (which don’t exhibit this error).

.../repos.conf/local.conf maintains a local overlay in /usr/local/portage
for a handful of personal packages/ebuilds.

 .../repos.conf/steam-overlay.conf maintains its overlay in
/usr/local/portage/steam-overlay.

Neither of these two files contain the other overlay’s name, i.e.,
local.conf doesn’t refer to steam-overlay nor does steam-overlay.conf refer
to local. The two files point to different storage locations for their
respective repositories.

So I don’t understand how these two repositories know of each other’s
existence.  Or maybe I don’t understand the error message.

Google doesn’t report many instances of this error, and following up with
them hasn’t produced a solution.

Any ideas about what’s happening?

Thanks,

John


Re: [gentoo-user] ...recreating exactly the same applications on a new harddisc?

2020-04-04 Thread John Covici


On Sat, 04 Apr 2020 14:33:21 -0400,
Dale wrote:
> 
> Mark Knecht wrote:
> > Your world file should do that for the Gentoo stuff, with limitations.
> > It assumes you have nothing on the system that was created outside of
> > normal portage/emerge. It would probably duplicate the latest kernel
> > tree but wouldn't build it, and wouldn't copy old kernels that aren't
> > in portage if you still have them on the system. It isn't going to get
> > virtual environment, be they python or things like virtualbox if you
> > use those.
> >
> > I suspect you'll get a 'working' machine (I've done it) but you will
> > still have a lot of stuff to transfer by hand or from backups which
> > you really should do anyway.
> >
> > HTH,
> > Mark
> >
> 
> I recently tried this in a chroot starting with a stage3 tarball.  At
> first, I tried unpacking the tarball, copying over /etc and the world
> file.  I also copied over the binaries and tried using -k.  It was a
> disaster.  I ran into hard blacks that I never was able to get around
> not to mention emerge complaining about USE flags and such.  Then I
> tried unpacking a tarball and just updating the tarball itself with no
> changes on my part, not even the profile, it to ran into hard blocks
> just not as many of them.
> 
> In the 2nd attempt, I think something was off in the tarball itself. 
> When you unpack a tarball and try to sync and update it and it fails,
> something is wrong somewhere.  It's not covered in the install handbook
> either.  In theory, one should be able to unpack a tarball, copy over
> /etc and the world file and do a emerge -e world.  If one copies over
> the binaries from the old system, one could add a -k to speed up the
> process, for most if not all packages.  Thing is, theory meets real
> world real fast and it gets ugly. After multiple attempts, I ended up
> coping my original OS over and that worked better and MUCH faster.
> 
> Way back in the day, I would boot a rescue disk of some type, mount both
> drives and then copy everything over, excluding /home if it is on a
> separate drive or any others that shouldn't be transferred.  Once that
> is done, chroot in and install grub, the old original one not grub2. 
> Once that is done, shutdown and remove old drive, plug new drive into
> old port and then power up, crossing fingers and toes.  It worked first
> time generally.  I have NOT done that with grub2.  It may work the same,
> it may not.  Grub2 is a bit of a beast.
> 
> Theory, should work.  In my real world experience, it does not. Coping
> tends to work if you do it all right.
> 
> Just my thoughts.

I did something like  this a few months ago, I first got the tarball,
did an immediate update,  copied a lot of /etc, particularly
/etc/portage, but not some things like package.use, because I wanted
to let it redetect them, and did parts of the world file at a time,
not all at once, because I had some crud in the world file which I
wanted to be sure I got rid of.  Took a couple of weeks, but did work
and then I had a better system than I had before.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd)

2020-04-02 Thread John Covici
On Thu, 02 Apr 2020 07:03:01 -0400,
Caveman Al Toraboran wrote:
> 
> On Wednesday, April 1, 2020 10:20 AM, Ian Zimmerman  
> wrote:
> 
> > On 2020-04-01 03:51, Caveman Al Toraboran wrote:
> >
> > > why can't `mail` send emails? below is some info.
> >
> > Normally the mail program works by execing /usr/sbin/sendmail to to the
> > hard part :-P Do you have it? It doesn't have to be the "real"
> > sendmail - any MTA program you install usually makes a symlink from
> > /usr/sbin/sendmail to itself.
> 
> i got sendmail around.  but didn't do any configurations.
> 
> what's the minimum configuration to do?  i'm really not
> planning anything ultra-professional.  i hope it to send
> an email the shameless style (just send an smtp message
> to the smtp server where my email is hosted)
> 
> 

Try ssmtp package, I think it will do what you want.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



<    1   2   3   4   5   6   7   8   9   10   >