Re: [gentoo-user] can anybody recommend any VoIP package?

2021-06-03 Thread Hund
On June 1, 2021 4:52:51 PM GMT+02:00, n952162  wrote:
>Has anybody good luck with any gentoo VoIP package?
>
>I imagine the skype package is binary, right?
>
>I've tried linphone and some others over the years, but they didn't
>perform acceptably.  Has there been any progress in that regard?
>
>

I would put my vote on Mumble. It's easy, lightweight, libre software, secure, 
good quality and available on pretty much every platform.

--
Hund



Re: [gentoo-user] GTK Graphical Problems

2021-06-03 Thread zcml
On Thu, Jun 03, 2021 at 10:01:43AM +0100, jdm wrote:
> On Wed, 2 Jun 2021 11:14:40 +0100
> jdm  wrote:
> 
> > Hi,
> > 
> > At the weekend I updated my system and after reboot some of my apps
> > have lots of black black squares/rectangles all over the place,
> > covering all of the app window and making email difficult to write. 
> > 
> > Initially I thought this was a Wayland problem as using Wayfire but
> > switched to X11 desktop and still had same issue.
> > 
> > Trying all my apps this looks to be a GTK related issues as happening
> > with claws-mail (worst), gkrellm, gcolor2, Bluefish etc. QT/EFL apps
> > seem to be fine (qtfm, keepass). Firefox-bin works just fine, oddly.
> > 
> > Anyone else seen this. I see a thread talking about GTK slots but not
> > sure if this is related.
> > 
> > I've rebuilt all gtk related packages which has not helped.
> > 
> > John
> > 
> 
> Noticed a minor oddity with sddm where text not rendering correctly so
> decided not a gtk problem but strange that qt apps where hardly
> affected.
> 
> Updated mesa to latest version (currently masked) and issue
> has gone away.
> 
> John
> 

What version of mesa was causing the problem, what version did you
upgrade to, and what are your useflags? I've been having similar issues,
but I'm on the current (21.1.1) version of mesa.

Did you upgrade drivers anywhere?



Re: [SOLVED] [gentoo-user] Less available memory than installed

2021-06-03 Thread Wols Lists
On 03/06/21 21:20, Toldi Balázs wrote:
> I tried booting from Minimal install disk. It had the same problem.
> 
> Then I tried pulling the two ram sticks out and put them back. It seems
> like this fixed my issue (Although I don't really know what caused it in
> the first place).
> 
Could it be that the 7 has a higher clock speed than the 5? Maybe one
stick was badly seated (seems like it) and something like that could
easily cause it to "disappear".

> Thanks for everyone's suggestions :)
> 
Cheers,
Wol




Re: [SOLVED] [gentoo-user] Less available memory than installed

2021-06-03 Thread Toldi Balázs

I tried booting from Minimal install disk. It had the same problem.

Then I tried pulling the two ram sticks out and put them back. It seems 
like this fixed my issue (Although I don't really know what caused it in 
the first place).


Thanks for everyone's suggestions :)





Re: [gentoo-user] strange messages in emerge(1) output: "sandbox" broken? [ RESOLVED ]

2021-06-03 Thread n952162

On 6/2/21 5:02 PM, n952162 wrote:

Is this an error?  The messages don't even say what pgm they come from:


>>> Installing (1 of 103) sys-devel/automake-1.16.3-r1::gentoo
 * ACCESS DENIED:  open_wr:  /dev/tty
 * ACCESS DENIED:  open_wr:  /dev/tty
 * ACCESS DENIED:  open_wr:  /dev/null
/...



The problem was ... of course ... that /etc/sandbox.conf was clobbered
by my binary install without having used --include-unmodified-config=y
when I'd previously run quickpkg.

I copied that file from the host and can finally continue updating the
199 packages remaining to be updated this month.




Re: [gentoo-user] Less available memory than installed

2021-06-03 Thread thelma
On 6/3/21 11:16 AM, Toldi Balázs wrote:
> Hello!
> 
> In my current PC I have 16 GB of RAM installed. It worked fine until today, 
> when I upgraded my CPU from a Ryzen 5 1500X to a Ryzen 7 2700. The system 
> boots up just fine, but when I use the free command the total memory is only 
> 8 GB. When I looked into the BIOS, it showed me the correct amount. What 
> should I do?
> 
> Output of some relevant commands:
> 
> free -h
> 
>    total    used    free  shared buff/cache   
> available
> Mem:   7,8Gi   4,4Gi   874Mi   192Mi 2,5Gi   3,1Gi
> 
> cat /proc/meminfo
> 
> MemTotal:    8158220 kB
> MemFree:  910036 kB
> MemAvailable:    3275008 kB

[snip]

boot from min-install Getnoo disk and check what is it showing/reporting.



Re: [gentoo-user] Less available memory than installed

2021-06-03 Thread Dale
Toldi Balázs wrote:
> Hello!
>
> In my current PC I have 16 GB of RAM installed. It worked fine until
> today, when I upgraded my CPU from a Ryzen 5 1500X to a Ryzen 7 2700.
> The system boots up just fine, but when I use the free command the
> total memory is only 8 GB. When I looked into the BIOS, it showed me
> the correct amount. What should I do?
>
> Output of some relevant commands:
>
> free -h
>
>    total    used    free  shared buff/cache  
> available
> Mem:   7,8Gi   4,4Gi   874Mi   192Mi 2,5Gi  
> 3,1Gi
>
> cat /proc/meminfo
>
> MemTotal:    8158220 kB
> MemFree:  910036 kB
> MemAvailable:    3275008 kB
> Buffers:    2848 kB
> Cached:  2492392 kB
> SwapCached:  260 kB
> Active:  1622988 kB
> Inactive:    4198676 kB
> Active(anon):   9500 kB
> Inactive(anon):  3507660 kB
> Active(file):    1613488 kB
> Inactive(file):   691016 kB
> Unevictable:  64 kB
> Mlocked:  64 kB
> SwapTotal:  16777212 kB
> SwapFree:   16775140 kB
> Dirty:   732 kB
> Writeback: 0 kB
> AnonPages:   3326444 kB
> Mapped:  1322720 kB
> Shmem:    193816 kB
> KReclaimable: 160248 kB
> Slab: 556240 kB
> SReclaimable: 160248 kB
> SUnreclaim:   395992 kB
> KernelStack:   32704 kB
> PageTables:    58964 kB
> NFS_Unstable:  0 kB
> Bounce:    0 kB
> WritebackTmp:  0 kB
> CommitLimit:    20856320 kB
> Committed_AS:   15151980 kB
> VmallocTotal:   34359738367 kB
> VmallocUsed:  260776 kB
> VmallocChunk:  0 kB
> Percpu:    10944 kB
> HugePages_Total:   0
> HugePages_Free:    0
> HugePages_Rsvd:    0
> HugePages_Surp:    0
> Hugepagesize:   2048 kB
> Hugetlb:   0 kB
> DirectMap4k: 1638688 kB
> DirectMap2M: 6699008 kB
> DirectMap1G: 1048576 kB
>
>
>  lshw -C memory
>
> *-memory
>    description: System Memory
>    physical id: 27
>    slot: System board or motherboard
>    size: 7967MiB
>  *-bank:0
>   description: [empty]
>   product: Unknown
>   vendor: Unknown
>   physical id: 0
>   serial: Unknown
>   slot: DIMM 0
>  *-bank:1
>   description: DIMM DDR4 Synchronous Unbuffered (Unregistered)
> 2400 MHz (0,4 ns) [empty]
>   product: 9905702-120.A00G
>   vendor: Kingston
>   physical id: 1
>   serial: EE963485
>   slot: DIMM 1
>   width: 64 bits
>   clock: 2400MHz (0.4ns)
>  *-bank:2
>   description: [empty]
>   product: Unknown
>   vendor: Unknown
>   physical id: 2
>   serial: Unknown
>   slot: DIMM 0
>  *-bank:3
>   description: DIMM DDR4 Synchronous Unbuffered (Unregistered)
> 2400 MHz (0,4 ns) [empty]
>   product: Unknown
>   vendor: Unknown
>   physical id: 3
>   serial: 08240800
>   slot: DIMM 1
>   width: 64 bits
>   clock: 2400MHz (0.4ns)
>
>
> uname -a
>
> Linux GlaDOS 5.10.27-gentoo #4 SMP Thu Jun 3 18:19:23 CEST 2021 x86_64
> AMD Ryzen 7 2700 Eight-Core Processor AuthenticAMD GNU/Linux
>
>
>
>


Could this be a kernel setting issue?  If you boot some other media like
a USB stick, DVD/CD or something, does it show the right amount then? 
If it does, could be a kernel setting.  If not, interesting problem. 

If the BIOS sees it, I doubt it is a hardware issue.  It may not rule it
out 100% but not likely. 

It's amazing that things like this still occur when large amounts of
memory has been around for a good while now. 

Hope that helps?

Dale

:-)  :-)



Re: [gentoo-user] Less available memory than installed

2021-06-03 Thread Wols Lists
On 03/06/21 18:16, Toldi Balázs wrote:
> Hello!
> 
> In my current PC I have 16 GB of RAM installed. It worked fine until
> today, when I upgraded my CPU from a Ryzen 5 1500X to a Ryzen 7 2700.
> The system boots up just fine, but when I use the free command the total
> memory is only 8 GB. When I looked into the BIOS, it showed me the
> correct amount. What should I do?

What does the mobo manual say? Are your memory boards in the correct
banks? It could be the MMU in the Ryzen 7 insists on banks 1 & 2 being
filled before 3 & 4 while the 5 isn't so fussy.

I don't know about this, not having this sort of problem before, but I
do know from building my own systems that the memory boards need to be
paired up correctly, however you define "correct" ...

Cheers,
Wol



[gentoo-user] Less available memory than installed

2021-06-03 Thread Toldi Balázs

Hello!

In my current PC I have 16 GB of RAM installed. It worked fine until 
today, when I upgraded my CPU from a Ryzen 5 1500X to a Ryzen 7 2700. 
The system boots up just fine, but when I use the free command the total 
memory is only 8 GB. When I looked into the BIOS, it showed me the 
correct amount. What should I do?


Output of some relevant commands:

free -h

   total    used    free  shared buff/cache   
available

Mem:   7,8Gi   4,4Gi   874Mi   192Mi 2,5Gi   3,1Gi

cat /proc/meminfo

MemTotal:    8158220 kB
MemFree:  910036 kB
MemAvailable:    3275008 kB
Buffers:    2848 kB
Cached:  2492392 kB
SwapCached:  260 kB
Active:  1622988 kB
Inactive:    4198676 kB
Active(anon):   9500 kB
Inactive(anon):  3507660 kB
Active(file):    1613488 kB
Inactive(file):   691016 kB
Unevictable:  64 kB
Mlocked:  64 kB
SwapTotal:  16777212 kB
SwapFree:   16775140 kB
Dirty:   732 kB
Writeback: 0 kB
AnonPages:   3326444 kB
Mapped:  1322720 kB
Shmem:    193816 kB
KReclaimable: 160248 kB
Slab: 556240 kB
SReclaimable: 160248 kB
SUnreclaim:   395992 kB
KernelStack:   32704 kB
PageTables:    58964 kB
NFS_Unstable:  0 kB
Bounce:    0 kB
WritebackTmp:  0 kB
CommitLimit:    20856320 kB
Committed_AS:   15151980 kB
VmallocTotal:   34359738367 kB
VmallocUsed:  260776 kB
VmallocChunk:  0 kB
Percpu:    10944 kB
HugePages_Total:   0
HugePages_Free:    0
HugePages_Rsvd:    0
HugePages_Surp:    0
Hugepagesize:   2048 kB
Hugetlb:   0 kB
DirectMap4k: 1638688 kB
DirectMap2M: 6699008 kB
DirectMap1G: 1048576 kB


 lshw -C memory

*-memory
   description: System Memory
   physical id: 27
   slot: System board or motherboard
   size: 7967MiB
 *-bank:0
  description: [empty]
  product: Unknown
  vendor: Unknown
  physical id: 0
  serial: Unknown
  slot: DIMM 0
 *-bank:1
  description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 
2400 MHz (0,4 ns) [empty]

  product: 9905702-120.A00G
  vendor: Kingston
  physical id: 1
  serial: EE963485
  slot: DIMM 1
  width: 64 bits
  clock: 2400MHz (0.4ns)
 *-bank:2
  description: [empty]
  product: Unknown
  vendor: Unknown
  physical id: 2
  serial: Unknown
  slot: DIMM 0
 *-bank:3
  description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 
2400 MHz (0,4 ns) [empty]

  product: Unknown
  vendor: Unknown
  physical id: 3
  serial: 08240800
  slot: DIMM 1
  width: 64 bits
  clock: 2400MHz (0.4ns)


uname -a

Linux GlaDOS 5.10.27-gentoo #4 SMP Thu Jun 3 18:19:23 CEST 2021 x86_64 
AMD Ryzen 7 2700 Eight-Core Processor AuthenticAMD GNU/Linux






Re: [gentoo-user] Curious about order that emerge -u builds/installs

2021-06-03 Thread Walter Dnes
On Wed, Jun 02, 2021 at 03:22:58PM -, Grant Edwards wrote
> I've noticed something surprising (to me) about the order that 'emerge -auvND 
> world'
> decides to install/upgrade/reinstall packages. The situation is as follows:
> 
>  * A large number of packages need to be build/installed/reinstalled
>  * Hit control-C during the build of package X
>  * Restart 'emerge -auvND world'
> 
> I expect that it will start by building package X and resume with the
> remainder of the packages in the same order as before. Often it does
> not.  The order of package bilds often seems to be quite different
> after the interruption than it was the first time -- often X is a fair
> ways down the list.
> 
> Why is that?

  See the "Emerge order not deterministic !?" thread from way back in 2015.
https://linux.gentoo.user.narkive.com/YlGA5QBQ/gentoo-user-emerge-order-not-deterministic
I remember it, because I was the OP on that thread.  Basically, if there
isn't a dependancy requirement between two packages, there's no
guarantee which one gets emerged first.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] quickpkg nice-to-have

2021-06-03 Thread Matt Connell (Gmail)
On Thu, 2021-06-03 at 16:58 +0200, n952162 wrote:
> On 6/3/21 4:52 PM, Neil Bothwick wrote:
> > 
> > alias quickpkg='quickpkg --include-unmodified-config=y' ;-)
> > 
> > 
> yeah, that's a good idea.  But I think my suggestion is also good.
> 
> The problem with such cover-my-ass aliases is they're never there when
> you need them - and dependent on them.

This is why I keep my bashrc in a git repository and just deploy it
onto any machine I have to manage, because I also rely quite heavily on
aliases, functions, et cetera.




Re: [gentoo-user] Issues with Python 3.8?

2021-06-03 Thread Jack

On 6/3/21 4:19 AM, J. Roeleveld wrote:

I've got several packages complaining about "PYTHON_TARGETS" missing
"python3_8":
In my case, all such packages were leftovers that would have been (and 
were) removed by an "emerge -c" which I forgot to do after the preceding 
world update.  It seems they had previously been deps of other packages, 
but their functionality was moved elsewhere or into the base python.




Re: [gentoo-user] quickpkg nice-to-have

2021-06-03 Thread n952162

On 6/3/21 4:52 PM, Neil Bothwick wrote:

On Thu, 3 Jun 2021 15:14:31 +0200, n952162 wrote:


It sure would be nice if quickpkg would at least save config files by
default, like to inittab.saved, for when you forget to supply
--include-unmodified-config

empty file because --include-config=n when 'quickpkg' was used.

alias quickpkg='quickpkg --include-unmodified-config=y' ;-)



yeah, that's a good idea.  But I think my suggestion is also good.

The problem with such cover-my-ass aliases is they're never there when
you need them - and dependent on them.





Re: [gentoo-user] quickpkg nice-to-have

2021-06-03 Thread Neil Bothwick
On Thu, 3 Jun 2021 15:14:31 +0200, n952162 wrote:

> It sure would be nice if quickpkg would at least save config files by
> default, like to inittab.saved, for when you forget to supply
> --include-unmodified-config
> 
> empty file because --include-config=n when 'quickpkg' was used.

alias quickpkg='quickpkg --include-unmodified-config=y' ;-)


-- 
Neil Bothwick

Talk is cheap because supply exceeds demand.


pgpI36vsnub8L.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] quickpkg nice-to-have

2021-06-03 Thread n952162

On 6/3/21 3:14 PM, n952162 wrote:

It sure would be nice if quickpkg would at least save config files by
default, like to inittab.saved, for when you forget to supply
--include-unmodified-config

empty file because --include-config=n when 'quickpkg' was used.

If the installation can test if the target config file is modified, then
it could go ahead and save it at the same time.




I this case, I copied /etc/inittab from the host




[gentoo-user] quickpkg nice-to-have

2021-06-03 Thread n952162

It sure would be nice if quickpkg would at least save config files by
default, like to inittab.saved, for when you forget to supply
--include-unmodified-config

empty file because --include-config=n when 'quickpkg' was used.

If the installation can test if the target config file is modified, then
it could go ahead and save it at the same time.




Re: [gentoo-user] Issues with Python 3.8?

2021-06-03 Thread Neil Bothwick
On Thu, 3 Jun 2021 10:48:25 +0200, Arve Barsnes wrote:

> > I've got several packages complaining about "PYTHON_TARGETS" missing
> > "python3_8":
> >
> >   The following REQUIRED_USE flag constraints are unsatisfied:
> > python_targets_python3_8
> >
> >   The above constraints are a subset of the following complete
> > expression: any-of ( python_targets_python3_8 )
> >
> > I saw the news-item, but it doesn't specify what to do with packages
> > that only list 3.8 and occasionally 3.7.  
> 
> You can add 3.8 as a target on a specific package by specifying the
> USE flag 'python_targets_python3_8' for it.
> 
> If you decide to go that route, I recommend doing that only on a
> specific package version. You will then be required to keep up with
> the package if a new version is released that still does not have 3.9
> available, but you will automatically be rid of the 3.8 dependency on
> that package whenever a version is released that can be upgraded to
> 3.9.

I'd also put them in a separate file in /etc/portage/package.use, that
way you can review and remove the changes easily.


-- 
Neil Bothwick

ASSISTANT MANAGER: Feminine form of the word manager (q.v.).


pgpCsfPuJ_9bk.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] is "scp" reliable?

2021-06-03 Thread J. Roeleveld
On Tuesday, June 1, 2021 6:21:52 PM CEST n952162 wrote:
> On 6/1/21 6:42 AM, J. Roeleveld wrote:
> > If there are differences, I would definitely suspect memory and CPU.
> > 
> > --
> > Joost
> 
> CPU?  USB was mentioned which set off alarm bells for me.  In general
> though, I would suspect the media  - either source of destination.

The issue was first seen using SCP-copies. Eg, over network.
USB was only mentioned as being used as an alternative, which also didn't 
work.

--
Joost





Re: [gentoo-user] Issues with Python 3.8?

2021-06-03 Thread Adam Carter
>
> I have no "python_target" entries anywhere under " /etc/portage/ " (apart
> from
> what I have to add now to get the upgrade to actually work).
>
>
It may have been possible to use --changed-use and not add any python
target entries, or, it may be that you only need a very small number of
entries when using --changed-use.

You could try commenting out the target entries then running emerge -pvuUD
world to see what, if anything, remains.


Re: [gentoo-user] app-misc/ca-certificates

2021-06-03 Thread Adam Carter
On Tue, Jun 1, 2021 at 11:29 PM Rich Freeman  wrote:

> On Tue, Jun 1, 2021 at 7:59 AM Adam Carter  wrote:
> >>
> >> And another "wondering" - all the warnings about trusting self signed
> >> certs seem a bit self serving. Yes, they are trying to certify who you
> >> are, but at the expense of probably allowing access to your
> >> communications by "authorised parties" (such as commercial entities
> >> purchasing access for MITM access - e.g. certain router/firewall
> >> companies doing deep inspection of SSL via resigning or owning both end
> >> points).
> >
> > AFAIK in an enterprise MITM works by having a local CA added to the cert
> stores of the workstation fleet, and having that CA auto generate the certs
> for MITM. That didn't work with certificate pinning, but pinning has been
> deprecated.
>
> So, I don't know all the ways that pinning is implemented, but if
> you're talking about using MITM to snoop on enterprise devices on the
> enterprise network I'd think that pinning wouldn't be an issue,
> because you control the devices from cradle to grave.  Just ensure the
> pinned certificates are the ones that let you MITM the connections.
>

After seeing Grant's mention of CAA records I think I may have conflated
pinning with them, or perhaps there were some special controls in Chrome to
check that google certs were issued by the correct CA? Sorry i'm not clear
on this now (and may have never been).


Re: [gentoo-user] Issues with Python 3.8?

2021-06-03 Thread J. Roeleveld
On Thursday, June 3, 2021 10:53:45 AM CEST Adam Carter wrote:
> On Thu, Jun 3, 2021 at 6:19 PM J. Roeleveld  wrote:
> > All,
> > 
> > I've got several packages complaining about "PYTHON_TARGETS" missing
> > "python3_8"
> 
> You should add --changed-use to your emerge flags and clean any
> PYTHON_TARGETS cruft out of package.use. On ~arch the default python has
> just changed from 3.8 to 3.9. You may well find --depclean will remove 3.8
> after that.

I have no "python_target" entries anywhere under " /etc/portage/ " (apart from 
what I have to add now to get the upgrade to actually work).

--
Joost





Re: [gentoo-user] GTK Graphical Problems

2021-06-03 Thread jdm
On Wed, 2 Jun 2021 11:14:40 +0100
jdm  wrote:

> Hi,
> 
> At the weekend I updated my system and after reboot some of my apps
> have lots of black black squares/rectangles all over the place,
> covering all of the app window and making email difficult to write. 
> 
> Initially I thought this was a Wayland problem as using Wayfire but
> switched to X11 desktop and still had same issue.
> 
> Trying all my apps this looks to be a GTK related issues as happening
> with claws-mail (worst), gkrellm, gcolor2, Bluefish etc. QT/EFL apps
> seem to be fine (qtfm, keepass). Firefox-bin works just fine, oddly.
> 
> Anyone else seen this. I see a thread talking about GTK slots but not
> sure if this is related.
> 
> I've rebuilt all gtk related packages which has not helped.
> 
> John
> 

Noticed a minor oddity with sddm where text not rendering correctly so
decided not a gtk problem but strange that qt apps where hardly
affected.

Updated mesa to latest version (currently masked) and issue
has gone away.

John






Re: [gentoo-user] Issues with Python 3.8?

2021-06-03 Thread Adam Carter
On Thu, Jun 3, 2021 at 6:19 PM J. Roeleveld  wrote:

> All,
>
> I've got several packages complaining about "PYTHON_TARGETS" missing
> "python3_8"


You should add --changed-use to your emerge flags and clean any
PYTHON_TARGETS cruft out of package.use. On ~arch the default python has
just changed from 3.8 to 3.9. You may well find --depclean will remove 3.8
after that.


Re: [gentoo-user] Issues with Python 3.8?

2021-06-03 Thread Arve Barsnes
On Thu, 3 Jun 2021 at 10:20, J. Roeleveld  wrote:
> I've got several packages complaining about "PYTHON_TARGETS" missing
> "python3_8":
>
>   The following REQUIRED_USE flag constraints are unsatisfied:
> python_targets_python3_8
>
>   The above constraints are a subset of the following complete expression:
> any-of ( python_targets_python3_8 )
>
> I saw the news-item, but it doesn't specify what to do with packages that only
> list 3.8 and occasionally 3.7.

You can add 3.8 as a target on a specific package by specifying the
USE flag 'python_targets_python3_8' for it.

If you decide to go that route, I recommend doing that only on a
specific package version. You will then be required to keep up with
the package if a new version is released that still does not have 3.9
available, but you will automatically be rid of the 3.8 dependency on
that package whenever a version is released that can be upgraded to
3.9.

Cheers,
Arve



[gentoo-user] Issues with Python 3.8?

2021-06-03 Thread J. Roeleveld
All,

I've got several packages complaining about "PYTHON_TARGETS" missing 
"python3_8":

  The following REQUIRED_USE flag constraints are unsatisfied:
python_targets_python3_8

  The above constraints are a subset of the following complete expression:
any-of ( python_targets_python3_8 )

I saw the news-item, but it doesn't specify what to do with packages that only 
list 3.8 and occasionally 3.7.

Thanks,

Joost