Re: [gentoo-user] How to compress lots of tarballs

2021-09-26 Thread Adam Carter
On Sun, Sep 26, 2021 at 8:57 PM Peter Humphrey 
wrote:

> Hello list,
>
> I have an external USB-3 drive with various system backups. There are 350
> .tar
> files (not .tar.gz etc.), amounting to 2.5TB. I was sure I wouldn't need
> to
> compress them, so I didn't, but now I think I'm going to have to. Is there
> a
> reasonably efficient way to do this?
>

find  -name \*tar -exec zstd -TN {} \;

Where N is the number of cores you want to allocate. zstd -T0 (or just
zstdmt) if you want to use all the available cores. I use zstd for
everything now as it's as good as or better than all the others in the
general case.

Parallel means it uses more than one core, so on a modern machine it is
much faster.


Re: [gentoo-user] How to compress lots of tarballs

2021-09-27 Thread Peter Humphrey
On Monday, 27 September 2021 14:30:36 BST Peter Humphrey wrote:
> On Monday, 27 September 2021 02:39:19 BST Adam Carter wrote:
> > On Sun, Sep 26, 2021 at 8:57 PM Peter Humphrey 

> > 
> > wrote:
> > > Hello list,
> > > 
> > > I have an external USB-3 drive with various system backups. There are
> > > 350
> > > .tar files (not .tar.gz etc.), amounting to 2.5TB. I was sure I wouldn't
> > > need to compress them, so I didn't, but now I think I'm going to have
> > > to.
> > > Is there a reasonably efficient way to do this?
> > 
> > find  -name \*tar -exec zstd -TN {} \;
> > 
> > Where N is the number of cores you want to allocate. zstd -T0 (or just
> > zstdmt) if you want to use all the available cores. I use zstd for
> > everything now as it's as good as or better than all the others in the
> > general case.
> > 
> > Parallel means it uses more than one core, so on a modern machine it is
> > much faster.
> 
> Thanks to all who've helped. I can't avoid feeling, though, that the main
> bottleneck has been missed: that I have to read and write on a USB-3 drive.
> It's just taken 23 minutes to copy the current system backup from USB-3 to
> SATA SSD: 108GB in 8 .tar files.

I was premature. In contrast to the 23 minutes to copy the files from USB-3 to 
internal SSD, zstd -T0 took 3:22 to compress them onto another internal SSD. I 
watched /bin/top and didn't see more than 250% CPU (this is a 24-CPU box) with 
next-to-nothing else running. The result was 65G of .tar.zst files.

So, at negligible cost in CPU load*, I can achieve a 40% saving in space. Of 
course, I'll have to manage the process myself, and I still have to copy the 
compressed files back to USB-3 - but then I am retired, so what else do I have 
to do? :)

Thanks again, all who've helped.

*  ...so I can continue running my 5 BOINC projects at the same time.

-- 
Regards,
Peter.






RE: [gentoo-user] How to compress lots of tarballs

2021-09-28 Thread Laurence Perkins
Regular xzutils now does multiple threads with the -T option.

> -Original Message-
> From: Ramon Fischer  
> Sent: Sunday, September 26, 2021 5:23 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] How to compress lots of tarballs
> 
> In addition to this, you may want to use the parallel implementations of 
> "gzip", "xz", "bzip2" or the new "zstd" (zstandard), which are "pigz"[1], 
> "pixz"[2], "pbzip2"[3], or "zstmt" (within package "app-arch/zstd")[4] in 
> order to increase performance:
> 
> $ cd 
> $ for tar_archive in *.tar; do pixz "${tar_archive}"; done
> 
> -Ramon
> 
> [1]
> * https://www.zlib.net/pigz/
> 
> [2]
> * https://github.com/vasi/pixz
> 
> [3]
> * https://launchpad.net/pbzip2
> * http://compression.ca/pbzip2/
> 
> [4]
> * https://facebook.github.io/zstd/
> 
> 
> On 26/09/2021 13:36, Simon Thelen wrote:
> > [2021-09-26 11:57] Peter Humphrey 
> >> part   text/plain 382
> >> Hello list,
> > Hi,
> >
> >> I have an external USB-3 drive with various system backups. There are 
> >> 350 .tar files (not .tar.gz etc.), amounting to 2.5TB. I was sure I 
> >> wouldn't need to compress them, so I didn't, but now I think I'm 
> >> going to have to. Is there a reasonably efficient way to do this? I 
> >> have 500GB spare space on /dev/sda, and the machine runs constantly.
> > Pick your favorite of gzip, bzip2, xz or lzip (I recommend lzip) and
> > then:
> > mount USB-3 /mnt; cd /mnt; lzip *
> >
> > The archiver you chose will compress the file and add the appropriate 
> > extension all on its own and tar will use that (and the file magic) to 
> > find the appropriate decompresser when you want to extract files later 
> > (you can use `tar tf' to test if you want).
> >
> > --
> > Simon Thelen
> >
> 
> --
> GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF
> 



Re: [gentoo-user] How to compress lots of tarballs

2021-09-27 Thread Peter Humphrey
On Monday, 27 September 2021 02:39:19 BST Adam Carter wrote:
> On Sun, Sep 26, 2021 at 8:57 PM Peter Humphrey 
> 
> wrote:
> > Hello list,
> > 
> > I have an external USB-3 drive with various system backups. There are 350
> > .tar files (not .tar.gz etc.), amounting to 2.5TB. I was sure I wouldn't
> > need to compress them, so I didn't, but now I think I'm going to have to.
> > Is there a reasonably efficient way to do this?
> 
> find  -name \*tar -exec zstd -TN {} \;
> 
> Where N is the number of cores you want to allocate. zstd -T0 (or just
> zstdmt) if you want to use all the available cores. I use zstd for
> everything now as it's as good as or better than all the others in the
> general case.
> 
> Parallel means it uses more than one core, so on a modern machine it is
> much faster.

Thanks to all who've helped. I can't avoid feeling, though, that the main 
bottleneck has been missed: that I have to read and write on a USB-3 drive. 
It's just taken 23 minutes to copy the current system backup from USB-3 to 
SATA SSD: 108GB in 8 .tar files.

Perhaps I have things out of proportion.

-- 
Regards,
Peter.






Re: [gentoo-user] How to compress lots of tarballs

2021-09-26 Thread Ramon Fischer
In addition to this, you may want to use the parallel implementations of 
"gzip", "xz", "bzip2" or the new "zstd" (zstandard), which are 
"pigz"[1], "pixz"[2], "pbzip2"[3], or "zstmt" (within package 
"app-arch/zstd")[4] in order to increase performance:


   $ cd 
   $ for tar_archive in *.tar; do pixz "${tar_archive}"; done

-Ramon

[1]
* https://www.zlib.net/pigz/

[2]
* https://github.com/vasi/pixz

[3]
* https://launchpad.net/pbzip2
* http://compression.ca/pbzip2/

[4]
* https://facebook.github.io/zstd/


On 26/09/2021 13:36, Simon Thelen wrote:

[2021-09-26 11:57] Peter Humphrey 

part   text/plain 382
Hello list,

Hi,


I have an external USB-3 drive with various system backups. There are 350 .tar
files (not .tar.gz etc.), amounting to 2.5TB. I was sure I wouldn't need to
compress them, so I didn't, but now I think I'm going to have to. Is there a
reasonably efficient way to do this? I have 500GB spare space on /dev/sda, and
the machine runs constantly.

Pick your favorite of gzip, bzip2, xz or lzip (I recommend lzip) and
then:
mount USB-3 /mnt; cd /mnt; lzip *

The archiver you chose will compress the file and add the appropriate
extension all on its own and tar will use that (and the file magic) to
find the appropriate decompresser when you want to extract files later
(you can use `tar tf' to test if you want).

--
Simon Thelen



--
GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF




OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] How to compress lots of tarballs

2021-09-26 Thread Ramon Fischer

Addendum:

To complete the list. Here the parallel implementation of "lzip":

   "plzip": https://www.nongnu.org/lzip/plzip.html

-Ramon

On 26/09/2021 14:23, Ramon Fischer wrote:
In addition to this, you may want to use the parallel implementations 
of "gzip", "xz", "bzip2" or the new "zstd" (zstandard), which are 
"pigz"[1], "pixz"[2], "pbzip2"[3], or "zstmt" (within package 
"app-arch/zstd")[4] in order to increase performance:


   $ cd 
   $ for tar_archive in *.tar; do pixz "${tar_archive}"; done

-Ramon

[1]
* https://www.zlib.net/pigz/

[2]
* https://github.com/vasi/pixz

[3]
* https://launchpad.net/pbzip2
* http://compression.ca/pbzip2/

[4]
* https://facebook.github.io/zstd/


On 26/09/2021 13:36, Simon Thelen wrote:

[2021-09-26 11:57] Peter Humphrey 

part   text/plain 382
Hello list,

Hi,

I have an external USB-3 drive with various system backups. There 
are 350 .tar
files (not .tar.gz etc.), amounting to 2.5TB. I was sure I wouldn't 
need to
compress them, so I didn't, but now I think I'm going to have to. Is 
there a
reasonably efficient way to do this? I have 500GB spare space on 
/dev/sda, and

the machine runs constantly.

Pick your favorite of gzip, bzip2, xz or lzip (I recommend lzip) and
then:
mount USB-3 /mnt; cd /mnt; lzip *

The archiver you chose will compress the file and add the appropriate
extension all on its own and tar will use that (and the file magic) to
find the appropriate decompresser when you want to extract files later
(you can use `tar tf' to test if you want).

--
Simon Thelen





--
GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF




OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] How to compress lots of tarballs

2021-09-26 Thread Peter Humphrey
On Sunday, 26 September 2021 13:25:24 BST Ramon Fischer wrote:
> Addendum:
> 
> To complete the list. Here the parallel implementation of "lzip":
> 
> "plzip": https://www.nongnu.org/lzip/plzip.html
> 
> -Ramon
> 
> On 26/09/2021 14:23, Ramon Fischer wrote:
> > In addition to this, you may want to use the parallel implementations
> > of "gzip", "xz", "bzip2" or the new "zstd" (zstandard), which are
> > "pigz"[1], "pixz"[2], "pbzip2"[3], or "zstmt" (within package
> > "app-arch/zstd")[4] in order to increase performance:
> > 
> >$ cd 
> >$ for tar_archive in *.tar; do pixz "${tar_archive}"; done
> > 
> > -Ramon
> > 
> > [1]
> > * https://www.zlib.net/pigz/
> > 
> > [2]
> > * https://github.com/vasi/pixz
> > 
> > [3]
> > * https://launchpad.net/pbzip2
> > * http://compression.ca/pbzip2/
> > 
> > [4]
> > * https://facebook.github.io/zstd/
> > 
> > On 26/09/2021 13:36, Simon Thelen wrote:
> >> [2021-09-26 11:57] Peter Humphrey 
> >> 
> >>> part   text/plain 382
> >>> Hello list,
> >> 
> >> Hi,
> >> 
> >>> I have an external USB-3 drive with various system backups. There
> >>> are 350 .tar
> >>> files (not .tar.gz etc.), amounting to 2.5TB. I was sure I wouldn't
> >>> need to
> >>> compress them, so I didn't, but now I think I'm going to have to. Is
> >>> there a
> >>> reasonably efficient way to do this? I have 500GB spare space on
> >>> /dev/sda, and
> >>> the machine runs constantly.
> >> 
> >> Pick your favorite of gzip, bzip2, xz or lzip (I recommend lzip) and
> >> then:
> >> mount USB-3 /mnt; cd /mnt; lzip *
> >> 
> >> The archiver you chose will compress the file and add the appropriate
> >> extension all on its own and tar will use that (and the file magic) to
> >> find the appropriate decompresser when you want to extract files later
> >> (you can use `tar tf' to test if you want).

Thank you both. Now, as it's a single USB-3 drive, what advantage would a 
parallel implementation confer? I assume I'd be better compressing from 
external to SATA, then writing back, or is that wrong?

Or, I could connect a second USB-3 drive to a different interface, then read 
from one and write to the other, with or without the SATA between.

-- 
Regards,
Peter.






Re: [gentoo-user] Rusty problems

2021-04-29 Thread Adam Carter
On Wednesday, April 28, 2021, Alan Mackenzie  wrote:

> Hello, Gentoo.
>
> I'm having problems building rust.


On systems that I setup assuming I wouldn’t need swap, I set swappiness low
and add a swap file (on ssd if possible) so the bigger builds can at least
finish, albeit more slowly. Generally swap never gets touched. I also use
zswap with zstd or lz4, which perform better than the old lzo deflate/zlib
options, sometimes by a wide margin.

I don’t bother with /var/tmp/portage on tmpfs any more as it seemed to be
more trouble than it was worth.


RE: [gentoo-user] How to compress lots of tarballs

2021-09-28 Thread Laurence Perkins



>On Monday, 27 September 2021 14:30:36 BST Peter Humphrey wrote:
>> On Monday, 27 September 2021 02:39:19 BST Adam Carter wrote:
>> > On Sun, Sep 26, 2021 at 8:57 PM Peter Humphrey
>
>> > 
>> > wrote:
>> > > Hello list,
>> > > 
>> > > I have an external USB-3 drive with various system backups. There 
>> > > are
>> > > 350
>> > > .tar files (not .tar.gz etc.), amounting to 2.5TB. I was sure I 
>> > > wouldn't need to compress them, so I didn't, but now I think I'm 
>> > > going to have to.
>> > > Is there a reasonably efficient way to do this?
>> > 
>> > find  -name \*tar -exec zstd -TN {} \;
>> > 
>> > Where N is the number of cores you want to allocate. zstd -T0 (or 
>> > just
>> > zstdmt) if you want to use all the available cores. I use zstd for 
>> > everything now as it's as good as or better than all the others in 
>> > the general case.
>> > 
>> > Parallel means it uses more than one core, so on a modern machine it 
>> > is much faster.
>> 
>> Thanks to all who've helped. I can't avoid feeling, though, that the 
>> main bottleneck has been missed: that I have to read and write on a USB-3 
>> drive.
>> It's just taken 23 minutes to copy the current system backup from 
>> USB-3 to SATA SSD: 108GB in 8 .tar files.
>
>I was premature. In contrast to the 23 minutes to copy the files from USB-3 to 
>internal SSD, zstd -T0 took 3:22 to compress them onto another internal SSD. I 
>watched /bin/top and didn't see more than 250% CPU (this is a 24-CPU box) with 
>next-to-nothing else running. The result was 65G of .tar.zst files.
>
>So, at negligible cost in CPU load*, I can achieve a 40% saving in space. Of 
>course, I'll have to manage the process myself, and I still have to copy the 
>compressed files back to USB-3 - but then I am retired, so what else do I have 
>to do? :)
>
>Thanks again, all who've helped.
>
>*  ...so I can continue running my 5 BOINC projects at the same time.
>
>--
>Regards,
>Peter.

There are also backup tools which will handle the compression step for you.

app-backup/duplicity uses a similar tar file and index system with periodic 
full and then incremental chains.  Plus it keeps a condensed list of file 
hashes from previous runs so it doesn't have to re-read the entire archive to 
determine what changed the way rsync does.

app-backup/borgbackup is more complex, but is very, very good at deduplicating 
file data, which saves even more space.  Furthermore, it can store backups for 
multiple systems and deduplicate between them, so if you have any other 
machines you can have backups there as well, potentially at negligble space 
cost if you have a lot of redundancy.

LMP



Re: [gentoo-user] New profile - gentoo and binutils ...

2024-04-07 Thread Wols Lists

On 07/04/2024 11:00, Wols Lists wrote:
What do I do here - "emerge binutils" (step 9) wants to emerge gcc, 
which the instructions say "emerge AFTER binutils".


With gcc it says "don't let it emerge glibc", should I apply the same 
logic and not let binutils emerge gcc?


Just to follow up to myself, I've just done a complete update, but a lot 
of the dependencies are pulled in by "change-use", namely lzma, zstd. Is 
that fallout from the XZ debacle? Would a --no-deps be safe?


Cheers,
Wol




[gentoo-user] kicad failed to compile after update

2020-05-10 Thread tuxic
Hi,

this morning I had a massive update of my system.

Beside others kicad failed to recompile with this message

Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 * 
 *   >=dev-libs/boost-1.61:0/1.72.0=[context,nls,threads] pulled in by:
 * sci-electronics/kicad-5.1.5-r1
 * 
 *   
>=dev-libs/boost-1.61:0/1.72.0=[context,nls,threads,python,python_targets_python3_6(-)]
 pulled in by:
 * sci-electronics/kicad-5.1.5-r1
 * 
 *   
>=dev-libs/boost-1.61:=[context,nls,threads,python,python_targets_python3_6(-)] 
pulled in by:
 * sci-electronics/kicad-5.1.5-r1
 * 
 *   dev-python/wxpython:4.0[python_targets_python3_6(-)] pulled in by:
 * sci-electronics/kicad-5.1.5-r1
 * 
 *   media-libs/glew:0/2.1= pulled in by:
 * sci-electronics/kicad-5.1.5-r1


:
[I] dev-libs/boost
 Available versions:  1.72.0-r1(0/1.72.0)^t (~)1.73.0(0/1.73.0)^t {bzip2 
context debug doc icu lzma mpi +nls numpy python static-libs +threads tools 
zlib zstd ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" 
ABI_X86="32 64 x32" PYTHON_TARGETS="python2_7 python3_6 python3_7 python3_8"}
 Installed versions:  1.73.0(0/1.73.0)^t(06:38:51 AM 05/10/2020)(bzip2 
context nls python threads zlib -debug -doc -icu -lzma -mpi -numpy -static-libs 
-tools -zstd ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 
-64" ABI_X86="64 -32 -x32" PYTHON_TARGETS="python2_7 python3_7 -python3_6 
-python3_8")
 Homepage:https://www.boost.org/
 Description: Boost Libraries for C++


Is it possible to install the older version of boost somehow "in
parallel" withouth screwing up the rest of the system?

Cheers!
Meino





Re: [gentoo-user] Re: How to move ext4 partition

2023-09-21 Thread Victor Ivanov
On Thu, 21 Sept 2023 at 02:01, Frank Steinmetzger  wrote:
> > $ tar -cpf /path/to/backup.tar --xattrs --xattrs-include='*.*' -C / .
>
> Does that stop at file system boundaries (because you tar up '/')? I think
> it must be, otherwise you wouldn’t use it that way.
No, it doesn't. It will archive everything recursively including
mounted directories, so fair point for raising this. It's something
that I do not normally consider, as I tend not to do full root backup
on the running system itself. But how cool is using bind mount for
this situation as you suggest? Simple and effective, I like it.

Actually, the presence of -C in the above example is purely out of
habit. I use it when pointing to a full path, e.g. "/path/to/dir" so
it doesn't end up creating the "path/to/dir" path prefix inside the
archive and only archives the contents of the path.

It's effectively changing to that directory and archiving everything
there, but saves you from doing the "cd".

Naturally, for "/" this is superfluous and "-C / ." can be replaced
with just "/".

> > Provided backup space isn't an issue, I wouldn't bother with
> > compression. It could be a lot quicker too depending on the size of
> > your root partition.
>
> Or not, depending on the speed of the backup device. ;-)
> LZO compression (or zstd with a low setting) has negligible CPU cost, but
> can lower the file size quite nicely, specially with large binaries or debug
> files.
>
That's true :) I had somehow forgotten of tar's support for LZO and
zstd as my default finger memory approach is to use -J for xz. Good
memory nudge here!

Regards,
V



Re: [gentoo-user] file system for new machine

2023-04-29 Thread Frank Steinmetzger
Am Thu, Apr 27, 2023 at 04:58:02PM +0200 schrieb tastytea:

> > Does the transparent compression incur an overhead cost in processing,
> > memory use, or disk writes?  I feel like it certainly has to at least
> > use more memory.  Sorry if that's an RTFM question.
> 
> it'll use more cpu and memory, but disk writes and reads will be lower,
> because it compresses it on the fly.

The lzo algorithm which is used by default incurs a negligible performance 
penalty. Give it a try: take some big file, e.g. a video and then:
(with $FILE being the name of the file to compress)

Compression-optimised algorithms:
time gzip -k $FILE  # will take long with medium benefit
time xz -k $FILE# will take super long
time bzip2 -k $FILE # will take also long-ish

Runtime-optimised algorithms:
time lz -k $FILE# will go very very fast, but compression is relat. low
time zstd $FILE # will go fast with better compression (comp. effort 3)
time zstd -6 $FILE  # will go fast-ish with more compression

> it should detect early if a file is not compressible and stop.

AFAIK, zfs compresses the beginning of a file and only if that yields a 
certain benefit, the entire file will be compressed.

-- 
Grüße | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

The realist knows what he wants; the idealist wants what he knows.


signature.asc
Description: PGP signature


Re: [gentoo-user] AMD microcode error?

2024-01-28 Thread ralfconn

Il 28/01/24 17:39, Peter Humphrey ha scritto:

Hello list,

For the first time ever, I received an mce error today:

[11473.528812] mce: [Hardware Error]: CPU 1: Machine Check: 0 Bank 14: 
9090909090909090
[11473.529657] mce: [Hardware Error]: TSC 0
[11473.530146] mce: [Hardware Error]: PROCESSOR 2:a20f10 TIME 1706457141 SOCKET 
0 APIC 2 microcode a201009

This is an AMD Ryzen M9 5900X.

Hits on the web suggest downgrading linux-firmware, which I've now done and
will await results. The latest upgrade was to version 20240115-r1, four days
ago.

Has anyone else experienced this?


No:

$ eix -I linux-firmware
[I] sys-kernel/linux-firmware
 Available versions:  (~)2023-r1^bstd 20231211^bstd 
20240115^bstd (~)20240115-r1^bstd ***l^bstd {compress-xz 
compress-zstd deduplicate initramfs +redistributable savedconfig 
unknown-license}
 Installed versions:  20240115-r1^bst(10:52:28 
01/27/24)(redistributable savedconfig -compress-xz -compress-zstd 
-deduplicate -initramfs -unknown-license)


$ grep -e "microcode\|model name" /proc/cpuinfo
model name    : AMD Ryzen 9 5900X 12-Core Processor
microcode    : 0xa20120e

raf




Re: [gentoo-user] Please help me understand this emerge error message.

2023-08-11 Thread Dale
Alan Mackenzie wrote:
> Hello, Gentoo.
>
> For the past couple of days, after $ emerge --sync, I've tried
>
> $ emerge -auND @world
>
> ..  It has come back very quickly with the error message:
>
> #
>
> !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet 
> requirements.
> - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap pop3 
> progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn -kerberos 
> -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba -ssh (-sslv3) 
> -static-libs -telnet
> -test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)" 
> CURL_SSL="openssl -gnutls -mbedtls -nss (-rustls)"
>
>   The following REQUIRED_USE flag constraints are unsatisfied:
> curl_ssl_openssl? ( openssl )
>
>   The above constraints are a subset of the following complete expression:
> ssl? ( exactly-one-of ( curl_ssl_gnutls curl_ssl_mbedtls curl_ssl_nss 
> curl_ssl_openssl curl_ssl_rustls ) ) curl_ssl_gnutls? ( gnutls ) 
> curl_ssl_mbedtls? ( mbedtls ) curl_ssl_nss? ( nss ) curl_ssl_openssl? ( 
> openssl ) curl_ssl_rustls? (
> rustls )
>
> #
>
> ..  I don't understand what is meant by "curl_ssl_openssl? ( openssl )" in
> the above message.  I assume it's talking about some USE flag, but which?
> openssl?  curl_ssl_openssl?  As a matter of interest, I have
> =dev-libs/openssl-3.0.9-r2 installed.
>
> Please help me understand what's happening.
>
> Thanks for the help!
>

I think I got that a while back.  This is what I have for my USE flags
for that package. 


root@fireball / # equery u net-misc/curl
[ Legend : U - final flag setting for installation]
[    : I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for net-misc/curl-8.0.1:
 U I
 - - abi_x86_32   : 32-bit (x86) libraries
 + + adns : Add support for asynchronous DNS resolution
 - - alt-svc  : Enable alt-svc support
 - - brotli   : Enable brotli compression support
 - - curl_ssl_gnutls  : Use GnuTLS
 - - curl_ssl_mbedtls : Use mbed TLS
 - - curl_ssl_nss : Use Mozilla's Network Security Services
 + + curl_ssl_openssl : Use OpenSSL
 + + ftp  : Enable FTP support
 - - gnutls   : Enable gnutls ssl backend
 - - gopher   : Enable Gopher protocol support
 - - hsts : Enable HTTP Strict Transport Security
 + + http2    : Enable HTTP/2.0 support
 - - idn  : Enable support for Internationalized Domain Names
 + + imap : Enable Internet Message Access Protocol support
 - - kerberos : Add kerberos support
 - - ldap : Add LDAP support (Lightweight Directory Access
Protocol)
 - - mbedtls  : Enable mbedtls ssl backend
 - - nss  : Enable nss ssl backend
 + + openssl  : Enable openssl ssl backend
 + + pop3 : Enable Post Office Protocol 3 support
 + + progress-meter   : Enable the progress meter
 - - rtmp : Enable RTMP Streaming Media support
 - - samba    : Add support for SAMBA (Windows File and Printer
sharing)
 + + smtp : Enable Simple Mail Transfer Protocol support
 - - ssh  : Enable SSH urls in curl using libssh2
 + + ssl  : Enable crypto engine support (via openssl if
USE='-gnutls -nss')
 - - static-libs  : Build static versions of dynamic libraries as well
 - - telnet   : Enable Telnet protocol support
 - - test : Enable dependencies and/or preparations
necessary to run tests (usually controlled by FEATURES=test but can be
toggled independently)
 + + tftp     : Enable TFTP support
 - - verify-sig   : Verify upstream signatures on distfiles
 - - websockets   : Enable websockets support
 - - zstd : Enable zstd compression
root@fireball / #



I think it wants you to enable openssl or one of the other USE flag
options.  Since I seem to recall having openssl installed already, I
just picked it.  I'd try enabling that and see if the error goes away. 

Hope that helps.

Dale

:-)  :-) 



Re: [gentoo-user] Machine hangs up with out of memory

2021-04-29 Thread Adam Carter
On Wed, Apr 28, 2021 at 7:58 PM Kai Peter  wrote:

> Hi,
>
> I have an issue with a machine where I'm not able to detect the real
> root cause. It hangs up totally. It seems like it was running out of
> memory - but why? Hopefully somebody can give me some insight. As far I
> can see right now, it hangs up a few hours after an `emerge --update
> --newuse --deep --with-bdeps=y @world`.
>
> The machine is an Intel Atom with 8 GB RAM (physical, max) and 24 GB
> swap (a file). So 32 GB RAM in total.
>

Might be worth adding zswap using zstd or lz4 to your config (uses more CPU
for less IO)
https://www.kernel.org/doc/html/latest/vm/zswap.html

If you want to see which processes are using the most memory, run top then
type 'M' to have top sort by memory instead of CPU. You can also type 'm'
to make top show the memory numbers as an ascii bar graph. The man page
explains what VIRT RES SHR mean.


Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."

2021-04-04 Thread Michael
On Sunday, 4 April 2021 23:31:50 BST Alarig Le Lay wrote:
> Hello,
> 
> Has the 5.10 LTS has been stablised, I tried to upgrade it on some of my
> boxes, but `make oldconfig` doesn’t want to use my old config:
> Here is my make output: https://paste.swordarmor.fr/raw/2rRh
> And here is my config:  https://paste.swordarmor.fr/raw/YHaG
> 
> Does anyone else has to redo its configuration, and did you manage to
> reuse the old one?
> 
> Thanks,

The 'make oldconfig' script steps through the previous configuration 
selections and stops at any new options which require your input.  In the 
pasted output you provided the first option asking for your input is your 
preferred compression algorithm for the kernel image.  Choose any one of the 
list below, or leave it to default (gzip):

Kernel compression mode
> 1. Gzip (KERNEL_GZIP)
  2. Bzip2 (KERNEL_BZIP2)
  3. LZMA (KERNEL_LZMA)
  4. XZ (KERNEL_XZ)
  5. LZO (KERNEL_LZO)
  6. LZ4 (KERNEL_LZ4)
  7. ZSTD (KERNEL_ZSTD) (NEW)
choice[1-7?]: 

Then proceed to the next kernel option and so on.

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] How to compress lots of tarballs

2021-09-28 Thread Peter Humphrey
On Sunday, 26 September 2021 11:57:43 BST Peter Humphrey wrote:
> Hello list,
> 
> I have an external USB-3 drive with various system backups. There are 350
> .tar files (not .tar.gz etc.), amounting to 2.5TB. I was sure I wouldn't
> need to compress them, so I didn't, but now I think I'm going to have to.
> Is there a reasonably efficient way to do this? I have 500GB spare space on
> /dev/sda, and the machine runs constantly.

To complete the topic, and in case anyone's interested, I've settled on the 
following method, which could have been made more general, but this way I 
have a complete set of compressed tarballs in two places in case I need to 
recover something.

This is the command to compress one week's backups:

# (cd /mnt/sdc/wstn/main/vvv.old && time (for tar_archive in *.tar; do zstd -
T0 --rm "${tar_archive}" -o /mnt/bu-space/vvv.old/"${tar_archive}.zst"; done 
&& cp /mnt/bu-space/vvv.old/* /mnt/sdc/wstn/main/vvv.old/ && sync))

This was 36GB and took 20 minutes.

-- 
Regards,
Peter.






Re: [gentoo-user] Long boot time after kernel update

2021-12-27 Thread Michael
On Monday, 27 December 2021 11:32:39 GMT Wols Lists wrote:
> On 27/12/2021 11:07, Jacques Montier wrote:
> > Well, i don't know if my partitions are aligned or mis-aligned... How
> > could i get it ?
> 
> fdisk would have spewed a bunch of warnings. So you're okay.
> 
> I'm not sure of the details, but it's the classic "off by one" problem -
> if there's a mismatch between the kernel block size and the disk block
> size any writes required doing a read-update-write cycle which of course
> knackered performance. I had that hit a while back.
> 
> But seeing as fdisk isn't moaning, that isn't the problem ...
> 
> Cheers,
> Wol

I also thought of misaligned boundaries when I first saw the error, but the 
mention of Seagate by the OP pointed me to another edge case which crept up 
with zstd compression on ZFS.  I'm mentioning it here in case it is relevant:

https://livelace.ru/posts/2021/Jul/19/unaligned-write-command/

HTH,

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: [gentoo-dev] Current unavoidable use of xz utils in Gentoo

2024-03-31 Thread Alexandru N. Barloiu
No argument from me. That JiaTan dude had other projects forked he was 
looking at. And none of them are good news. zstd. lz4. libarchive. 
squashfs-tools. But still, I think its good news if people already 
figured how to turn it off in a few days.




On 4/1/2024 1:36 AM, Michael Orlitzky wrote:

On Mon, 2024-04-01 at 01:32 +0300, Alexandru N. Barloiu wrote:

https://piaille.fr/@zeno/112185928685603910

There's an ENV var you can set that is a kill switch for the whole thing :)


For the part that we found :)

The author of the backdoor had commit access to the upstream repository
for a long time:

   https://git.tukaani.org/?p=xz.git;a=search;s=Jia+Tan;st=author

Personally I would be skeptical of running any version of any package
that he has touched.






Re: [gentoo-user] New profile - gentoo and binutils ...

2024-04-07 Thread Michael
On Sunday, 7 April 2024 11:21:00 BST Wols Lists wrote:
> On 07/04/2024 11:00, Wols Lists wrote:
> > What do I do here - "emerge binutils" (step 9) wants to emerge gcc,
> > which the instructions say "emerge AFTER binutils".
> > 
> > With gcc it says "don't let it emerge glibc", should I apply the same
> > logic and not let binutils emerge gcc?
> 
> Just to follow up to myself, I've just done a complete update, but a lot
> of the dependencies are pulled in by "change-use", namely lzma, zstd. Is
> that fallout from the XZ debacle? Would a --no-deps be safe?
> 
> Cheers,
> Wol

Are you still on your original profile, or have you used eselect to change it 
to profile 23.0?

If the latter, change back to your old profile, update @world, depclean and 
then start with the rest of the migration instructions.

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] New profile - gentoo and binutils ...

2024-04-07 Thread Wols Lists

On 07/04/2024 11:23, Michael wrote:

On Sunday, 7 April 2024 11:21:00 BST Wols Lists wrote:

On 07/04/2024 11:00, Wols Lists wrote:

What do I do here - "emerge binutils" (step 9) wants to emerge gcc,
which the instructions say "emerge AFTER binutils".

With gcc it says "don't let it emerge glibc", should I apply the same
logic and not let binutils emerge gcc?


Just to follow up to myself, I've just done a complete update, but a lot
of the dependencies are pulled in by "change-use", namely lzma, zstd. Is
that fallout from the XZ debacle? Would a --no-deps be safe?

Cheers,
Wol


Are you still on your original profile, or have you used eselect to change it
to profile 23.0?

If the latter, change back to your old profile, update @world, depclean and
then start with the rest of the migration instructions.


Just done that. See my other email.

NOTHING TO UPDATE (unless I've messed up my emerge ...)

Cheers,
Wol



Re: [gentoo-user] kicad failed to compile after update

2020-05-10 Thread Jack

On 2020.05.10 02:49, tu...@posteo.de wrote:

Hi,

this morning I had a massive update of my system.

Beside others kicad failed to recompile with this message

Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   >=dev-libs/boost-1.61:0/1.72.0=[context,nls,threads] pulled in  
by:

 * sci-electronics/kicad-5.1.5-r1
 *
  
*   >=dev-libs/boost-1.61:0/1.72.0=[context,nls,threads,python,python_targets_python3_6(-)]  
pulled in by:

 * sci-electronics/kicad-5.1.5-r1
 *
  
*   >=dev-libs/boost-1.61:=[context,nls,threads,python,python_targets_python3_6(-)]  
pulled in by:

 * sci-electronics/kicad-5.1.5-r1
 *
 *   dev-python/wxpython:4.0[python_targets_python3_6(-)] pulled in  
by:

 * sci-electronics/kicad-5.1.5-r1
 *
 *   media-libs/glew:0/2.1= pulled in by:
 * sci-electronics/kicad-5.1.5-r1


:
[I] dev-libs/boost
 Available versions:  1.72.0-r1(0/1.72.0)^t (~)1.73.0(0/1.73.0)^t  
{bzip2 context debug doc icu lzma mpi +nls numpy python static-libs  
+threads tools zlib zstd ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64  
lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" PYTHON_TARGETS="python2_7  
python3_6 python3_7 python3_8"}
 Installed versions:  1.73.0(0/1.73.0)^t(06:38:51 AM  
05/10/2020)(bzip2 context nls python threads zlib -debug -doc -icu  
-lzma -mpi -numpy -static-libs -tools -zstd ABI_MIPS="-n32 -n64 -o32"  
ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32"  
PYTHON_TARGETS="python2_7 python3_7 -python3_6 -python3_8")

 Homepage:https://www.boost.org/
 Description: Boost Libraries for C++


Is it possible to install the older version of boost somehow "in
parallel" withouth screwing up the rest of the system?

Cheers!
Meino
The problem is not versions, it's USE flags.  Note that both lines  
showing the required boost include "python_targets_python3_6(-)" and  
your eix output showing PYTHON_TARGETS="python2_7 python3_7 -python3_6  
-python3_8" for your installed version.


You need to include python3_6 as one of the PYTHON_TARGETS for boost,  
then you can install kicad.  You also have to do that for wxpython.  I  
can't tell what the issue is with glew without more information.




[gentoo-user] Problem with socks syscall

2020-06-03 Thread tuxic
Hi,

I experimented with torify of the TOR project today and failed

host:/tmp>sudo torify aria2c --async-dns false http:aria2c http://example.com
1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. 
Denying the call (in tsocks_syscall() at syscall.c:604)
1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. 
Denying the call (in tsocks_syscall() at syscall.c:604)
Exception caught
Exception: [download_helper.cc:451] errorCode=1 Unrecognized URI or unsupported 
protocol: false

[1]20363 exit 1 sudo torify aria2c --async-dns false http:aria2c 
http://example.com

Aria2, torsocks and torify are freshly compiled/installed:

[I] net-misc/aria2
 Available versions:  1.34.0-r2^t {adns bittorrent +gnutls jemalloc libuv 
+libxml2 metalink +nettle nls scripts sqlite ssh ssl tcmalloc test xmlrpc}
 Installed versions:  1.34.0-r2^t(12:37:52 PM 06/03/2020)(adns bittorrent 
gnutls jemalloc libuv libxml2 metalink nettle nls scripts sqlite ssh ssl xmlrpc 
-tcmalloc -test)
 Homepage:https://aria2.github.io/
 Description: A download utility with segmented downloading with 
BitTorrent support

[I] acct-group/tor
 Available versions:  0
 Installed versions:  0(07:00:43 PM 06/02/2020)
 Description: group for tor daemon

[I] acct-user/tor
 Available versions:  0
 Installed versions:  0(07:00:50 PM 06/02/2020)
 Description: user for tor daemon

[I] net-proxy/torsocks
 Available versions:  2.2.0 2.3.0 {static-libs}
 Installed versions:  2.3.0(07:23:00 PM 06/02/2020)(-static-libs)
 Homepage:https://github.com/dgoulet/torsocks
 Description: Use most socks-friendly applications with Tor

[I] net-vpn/tor
 Available versions:  0.4.2.7^t (~)0.4.3.5^t {caps doc libressl lzma +man 
scrypt seccomp selinux +server systemd test tor-hardening zstd}
 Installed versions:  0.4.3.5^t(07:11:51 PM 06/02/2020)(caps doc lzma man 
scrypt seccomp server tor-hardening zstd -libressl -selinux -systemd -test)
 Homepage:http://www.torproject.org/
 Description: Anonymizing overlay network for TCP

The TOR webbrowser works without any problems.

This is my first contact with tor/torsocks/...

I briefly checked the kernel for a SOCK-related configuration
item and found nothing. On the other hand, if this configuration
item is named completly different, then I would be out of business.

How can I use torify/torsocks successfully?

Cheers!
Meino





Re: [gentoo-user] Please help me understand this emerge error message.

2023-08-11 Thread David Rosenbaum
Thanks I'm a dam47 year old man that pays wifi an ph.bill

David

On Fri, Aug 11, 2023, 2:52 PM Dale  wrote:

> Alan Mackenzie wrote:
> > Hello, Gentoo.
> >
> > For the past couple of days, after $ emerge --sync, I've tried
> >
> > $ emerge -auND @world
> >
> > ..  It has come back very quickly with the error message:
> >
> > #
> >
> > !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has
> unmet requirements.
> > - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap pop3
> progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn -kerberos
> -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba -ssh
> (-sslv3) -static-libs -telnet
> > -test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)"
> CURL_SSL="openssl -gnutls -mbedtls -nss (-rustls)"
> >
> >   The following REQUIRED_USE flag constraints are unsatisfied:
> > curl_ssl_openssl? ( openssl )
> >
> >   The above constraints are a subset of the following complete
> expression:
> > ssl? ( exactly-one-of ( curl_ssl_gnutls curl_ssl_mbedtls
> curl_ssl_nss curl_ssl_openssl curl_ssl_rustls ) ) curl_ssl_gnutls? ( gnutls
> ) curl_ssl_mbedtls? ( mbedtls ) curl_ssl_nss? ( nss ) curl_ssl_openssl? (
> openssl ) curl_ssl_rustls? (
> > rustls )
> >
> > #
> >
> > ..  I don't understand what is meant by "curl_ssl_openssl? ( openssl )"
> in
> > the above message.  I assume it's talking about some USE flag, but which?
> > openssl?  curl_ssl_openssl?  As a matter of interest, I have
> > =dev-libs/openssl-3.0.9-r2 installed.
> >
> > Please help me understand what's happening.
> >
> > Thanks for the help!
> >
>
> I think I got that a while back.  This is what I have for my USE flags
> for that package.
>
>
> root@fireball / # equery u net-misc/curl
> [ Legend : U - final flag setting for installation]
> [: I - package is installed with flag ]
> [ Colors : set, unset ]
>  * Found these USE flags for net-misc/curl-8.0.1:
>  U I
>  - - abi_x86_32   : 32-bit (x86) libraries
>  + + adns : Add support for asynchronous DNS resolution
>  - - alt-svc  : Enable alt-svc support
>  - - brotli   : Enable brotli compression support
>  - - curl_ssl_gnutls  : Use GnuTLS
>  - - curl_ssl_mbedtls : Use mbed TLS
>  - - curl_ssl_nss : Use Mozilla's Network Security Services
>  + + curl_ssl_openssl : Use OpenSSL
>  + + ftp  : Enable FTP support
>  - - gnutls   : Enable gnutls ssl backend
>  - - gopher   : Enable Gopher protocol support
>  - - hsts : Enable HTTP Strict Transport Security
>  + + http2: Enable HTTP/2.0 support
>  - - idn  : Enable support for Internationalized Domain Names
>  + + imap : Enable Internet Message Access Protocol support
>  - - kerberos : Add kerberos support
>  - - ldap : Add LDAP support (Lightweight Directory Access
> Protocol)
>  - - mbedtls  : Enable mbedtls ssl backend
>  - - nss  : Enable nss ssl backend
>  + + openssl  : Enable openssl ssl backend
>  + + pop3 : Enable Post Office Protocol 3 support
>  + + progress-meter   : Enable the progress meter
>  - - rtmp : Enable RTMP Streaming Media support
>  - - samba: Add support for SAMBA (Windows File and Printer
> sharing)
>  + + smtp : Enable Simple Mail Transfer Protocol support
>  - - ssh  : Enable SSH urls in curl using libssh2
>  + + ssl  : Enable crypto engine support (via openssl if
> USE='-gnutls -nss')
>  - - static-libs  : Build static versions of dynamic libraries as well
>  - - telnet   : Enable Telnet protocol support
>  - - test : Enable dependencies and/or preparations
> necessary to run tests (usually controlled by FEATURES=test but can be
> toggled independently)
>  + + tftp : Enable TFTP support
>  - - verify-sig   : Verify upstream signatures on distfiles
>  - - websockets   : Enable websockets support
>  - - zstd : Enable zstd compression
> root@fireball / #
>
>
>
> I think it wants you to enable openssl or one of the other USE flag
> options.  Since I seem to recall having openssl installed already, I
> just picked it.  I'd try enabling that and see if the error goes away.
>
> Hope that helps.
>
> Dale
>
> :-)  :-)
>
>


Re: [gentoo-user] kicad failed to compile after update

2020-05-10 Thread Dale
Jack wrote:
> On 2020.05.10 02:49, tu...@posteo.de wrote:
>> Hi,
>>
>> this morning I had a massive update of my system.
>>
>> Beside others kicad failed to recompile with this message
>>
>> Calculating dependencies... done!
>>  * Dependencies could not be completely resolved due to
>>  * the following required packages not being installed:
>>  *
>>  *   >=dev-libs/boost-1.61:0/1.72.0=[context,nls,threads] pulled in by:
>>  * sci-electronics/kicad-5.1.5-r1
>>  *
>>  *  
>> >=dev-libs/boost-1.61:0/1.72.0=[context,nls,threads,python,python_targets_python3_6(-)]
>> pulled in by:
>>  * sci-electronics/kicad-5.1.5-r1
>>  *
>>  *  
>> >=dev-libs/boost-1.61:=[context,nls,threads,python,python_targets_python3_6(-)]
>> pulled in by:
>>  * sci-electronics/kicad-5.1.5-r1
>>  *
>>  *   dev-python/wxpython:4.0[python_targets_python3_6(-)] pulled in by:
>>  * sci-electronics/kicad-5.1.5-r1
>>  *
>>  *   media-libs/glew:0/2.1= pulled in by:
>>  * sci-electronics/kicad-5.1.5-r1
>>
>>
>> :
>> [I] dev-libs/boost
>>  Available versions:  1.72.0-r1(0/1.72.0)^t (~)1.73.0(0/1.73.0)^t
>> {bzip2 context debug doc icu lzma mpi +nls numpy python static-libs
>> +threads tools zlib zstd ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64
>> lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" PYTHON_TARGETS="python2_7
>> python3_6 python3_7 python3_8"}
>>  Installed versions:  1.73.0(0/1.73.0)^t(06:38:51 AM
>> 05/10/2020)(bzip2 context nls python threads zlib -debug -doc -icu
>> -lzma -mpi -numpy -static-libs -tools -zstd ABI_MIPS="-n32 -n64 -o32"
>> ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32"
>> PYTHON_TARGETS="python2_7 python3_7 -python3_6 -python3_8")
>>  Homepage:    https://www.boost.org/
>>  Description: Boost Libraries for C++
>>
>>
>> Is it possible to install the older version of boost somehow "in
>> parallel" withouth screwing up the rest of the system?
>>
>> Cheers!
>> Meino
> The problem is not versions, it's USE flags.  Note that both lines
> showing the required boost include "python_targets_python3_6(-)" and
> your eix output showing PYTHON_TARGETS="python2_7 python3_7 -python3_6
> -python3_8" for your installed version.
>
> You need to include python3_6 as one of the PYTHON_TARGETS for boost,
> then you can install kicad.  You also have to do that for wxpython.  I
> can't tell what the issue is with glew without more information.
>
>


I started to post that as well.  When I did my last upgrade, I had to
add python exceptions to package.use for several packages.  Sadly,
emerge spit them out ONE AT A TIME.  Eventually, I had them all added
and was able to update everything.  It appears removing python 2.7 is
causing some issues. 

It may require making a change, running emerge again, make a change and
run emerge again repeatedly.  I think I did that half a dozen times
before it was able to do updates.

Dale

:-)  :-) 



Re: [gentoo-user] using Wifi in a new machine

2023-06-01 Thread Philip Webb
230531 Michael wrote:
> It seems you have the correct module for the mediatek driver installed,
> since lshw on gentoo shows it being used. What is not shown is the firmware.
> Now, to bottom out the firmware issue.
> You need to specify the firmware path in your kernel, as explained here.
> By default this would be under /lib/firmware/ :
> https://wiki.gentoo.org/wiki/Linux_firmware

/lib/firmware/ is the dir with firmware files.

> Hopefully, the requisite firmware file blobs will be present
> in the latest stable 'sys-kernel/linux-firmware' package,
> once you install it.

It is already installed (230404) , presumably as part of Stage 3.
That date shouldn't be too old.

> dmesg will reveal if these are/not being loaded.

'dmesg | grep firmware' shows  10  identical lines :

  Loading firmware : mediatek/WIFI_MT7921_patch_mcu_1_2_hdr.bin :
   failed with error-2 .

> you could keyword the trunk version hoping it contains what you need:
> 
>**   9999  *l^bstd [compress-xz compress-zstd initramfs 
> +redistributable savedconfig unknown-license] ["initramfs? ( redistributable 
> ) 
> ?? ( compress-xz compress-zstd )"]

I don't understand these lines (smile).

> Or, you could compare what firmware files are loaded in Mint/SR ISOs
> and copy these over to your Gentoo system for now

SR shows no record of loading via 'dmesg' ;
Mint ends with a lot of Bluetooth + mt7921e references.
Mint mentions a firmware " 01 " ( 4 underlines ).

> or you could fish around the Mediatek website for approp firmware files.

no sign of firmware files.

> Finally, set up a symlink from '/etc.init.d/net.wlp5s0'
> to '/etc/init.d/net.lo' or whatever your card is detected, if not wlp5s0.

i've created that link, but how is it supposed to help ?

> https://wiki.gentoo.org/wiki/Handbook:AMD64/Networking/Introduction

> and bring up your wireless network service:
>  'rc-service -v net.wlp5s0 start'

it gives "ERROR : fails to start".
 
> Besides wpa_supplicant, other packages required like 'net-misc/netifrc',
> 'net-misc/dhcpcd' should be installed,
> if they have not been brought in as dependencies already.

I've installed 'netifrc' ; 'dhcpcd' was installed long ago.

> Please post back your dmesg and any terminal output,
> if you are still having problems bringing up this wireless interface.
> PS. This page which may or may not be still relevant
> with the latest stable kernels, but you may want to take a look either way:
> https://wiki.gentoo.org/wiki/User:Chess/MT7921e

So no progress today.  I can try copying the firmware files from SR/Mint
-- everything under  /lib/firmware/  in SR/Mint & see if it helps.

Your final note was a link to someone's pains using mt7921e,
which he sad in the end was defective software.

Further advice is still very welcome (smile).

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."

2021-04-05 Thread Alarig Le Lay
On Sun 04 Apr 2021 23:56:05 GMT, Michael wrote:
> On Sunday, 4 April 2021 23:31:50 BST Alarig Le Lay wrote:
> > Hello,
> > 
> > Has the 5.10 LTS has been stablised, I tried to upgrade it on some of my
> > boxes, but `make oldconfig` doesn’t want to use my old config:
> > Here is my make output: https://paste.swordarmor.fr/raw/2rRh
> > And here is my config:  https://paste.swordarmor.fr/raw/YHaG
> > 
> > Does anyone else has to redo its configuration, and did you manage to
> > reuse the old one?
> > 
> > Thanks,
> 
> The 'make oldconfig' script steps through the previous configuration 
> selections and stops at any new options which require your input.  In the 
> pasted output you provided the first option asking for your input is your 
> preferred compression algorithm for the kernel image.  Choose any one of the 
> list below, or leave it to default (gzip):
> 
> Kernel compression mode
> > 1. Gzip (KERNEL_GZIP)
>   2. Bzip2 (KERNEL_BZIP2)
>   3. LZMA (KERNEL_LZMA)
>   4. XZ (KERNEL_XZ)
>   5. LZO (KERNEL_LZO)
>   6. LZ4 (KERNEL_LZ4)
>   7. ZSTD (KERNEL_ZSTD) (NEW)
> choice[1-7?]: 
> 
> Then proceed to the next kernel option and so on.

Ah yes indeed, I never had a choice that early in the process. Thus, I
never saw the "Restart config..." and I misunderstood it. Thanks :D

-- 
Alarig



Re: [gentoo-user] Long boot time after kernel update

2021-12-27 Thread Wols Lists

On 27/12/2021 13:40, Michael wrote:

On Monday, 27 December 2021 11:32:39 GMT Wols Lists wrote:

On 27/12/2021 11:07, Jacques Montier wrote:

Well, i don't know if my partitions are aligned or mis-aligned... How
could i get it ?


fdisk would have spewed a bunch of warnings. So you're okay.

I'm not sure of the details, but it's the classic "off by one" problem -
if there's a mismatch between the kernel block size and the disk block
size any writes required doing a read-update-write cycle which of course
knackered performance. I had that hit a while back.

But seeing as fdisk isn't moaning, that isn't the problem ...

Cheers,
Wol


I also thought of misaligned boundaries when I first saw the error, but the
mention of Seagate by the OP pointed me to another edge case which crept up
with zstd compression on ZFS.  I'm mentioning it here in case it is relevant:

https://livelace.ru/posts/2021/Jul/19/unaligned-write-command/

that might be of interest to me ... I'm getting system lockups but it's 
not an SSD. I've got two IronWolves and a Barracuda.


But I notice the OP has a Barra*C*uda. Note the different spelling. 
That's a shingled drive I believe, which shouldn't make a lot of 
difference in light usage, but you don't want to hammer it!


Cheers,
Wol



Re: [gentoo-user] Re: How to move ext4 partition

2023-09-21 Thread Victor Ivanov
On Wed, 20 Sept 2023 at 23:58, Grant Edwards  wrote:
> Yep, that's pretty much what I decided on based on the tar command
> shown at
>
>https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Stage
>
> Interestingly, the Arch Linux Wiki recommends using bsdtar because
> "GNU tar with --xattrs will not preserve extended attributes".
I remember coming across this too as I've previously had issues
preserving some extended attributes, notably on files under my home
directory. However, I found that using "--xattrs-include='*.*'" in
addition to "--xattrs" works pretty well and does record attributes
that would otherwise be excluded with just "--xattrs".

I cannot comment, however, if it truly includes "everything" in every
possible scenario.

>
> Both the drive being "fixed" and the backup drive are in a USB3
> attached dual slot drive dock, so I'm thinking compression might be
> worthwhile.
>
Then LZO or zstd might indeed be a better approach as suggested by Frank.

> > Just make sure you update /etc/fstab and bootloader config file with
> > the new filesystem UUID or partition indices.
>
> I always forget one or the other until after I try to boot the first
> time.  That's why I keep systemrescuecd and Gentoo minimal install
> USB drives on hand.

Me too, even just recently when I migrated my OS to another build I
decided to do a few partition touch ups and fell once more into this
trap. I updated fstab but not the bootloader. Luckily, Gentoo minimal
install image is so tiny a bootable medium can literally be created in
minutes.

Good luck!

Regards,
V



Re: [gentoo-user] Re: How to move ext4 partition

2023-09-20 Thread Frank Steinmetzger
Am Wed, Sep 20, 2023 at 10:57:00PM +0100 schrieb Victor Ivanov:

> On Wed, 20 Sept 2023 at 22:29, Grant Edwards  
> wrote:
> >
> > That depends on how long it takes me to decide on tar vs. rsync and
> > what the appropriate options are.
> 
> I've done this a number of times for various reasons over the last 1-2
> years, most recently a few months ago due to hard drive swap, and I
> find tar works just fine:
> 
> $ tar -cpf /path/to/backup.tar --xattrs --xattrs-include='*.*' -C / .

Does that stop at file system boundaries (because you tar up '/')? I think 
it must be, otherwise you wouldn’t use it that way.
But when copying a root file system, out of habit I first bind-mount it in a 
subdirectory and tar/rsync from there instead. This will also make files 
visible which might be hidden under an active mount.

This is not necessary if you do it from a live system, but then you wouldn’t 
tar up / in the first place.

> Likewise to extract, but make sure "--xattrs" is present
> 
> Provided backup space isn't an issue, I wouldn't bother with
> compression. It could be a lot quicker too depending on the size of
> your root partition.

Or not, depending on the speed of the backup device. ;-)
LZO compression (or zstd with a low setting) has negligible CPU cost, but 
can lower the file size quite nicely, specially with large binaries or debug 
files.

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

Do you steel taglines, too?


signature.asc
Description: PGP signature


Re: [gentoo-user] NAS and replacing with larger drives

2022-12-08 Thread Frank Steinmetzger
Am Thu, Dec 08, 2022 at 06:36:14PM + schrieb Wols Lists:

> >  > I've pretty much reached a limit on my backups.  I'm up to a 16TB hard
> >  > drive for one and even that won't last long.  Larger drives are much
> >  > more costly.  A must have NAS is quickly approaching.  I've been
> >  > searching around and find some things confusing.  I'm hoping someone can
> >  > clear up that confusion.  I'm also debating what path to travel down.
> >  > I'd also like to keep costs down as well.  That said, I don't mind
> >  > paying a little more for one that would offer a much better option.
> >  >
> >  > Path one, buy a NAS, possibly used, that has no drives.  If possible, I
> >  > may even replace the OS that comes on it or upgrade if I can.  I'm not
> >  > looking for fancy, or even RAID.  Just looking for a two bay NAS that
> >  > will work.  First, what is a DAS?  Is that totally different than a
> >  > NAS?  From what I've found, a DAS is not what I'm looking for since I
> >  > want a ethernet connection and the ability to control things over the
> >  > network.  It seems DAS lacks that feature but not real sure.  I'm not
> >  > sure I can upgrade the software/OS on a DAS either.
> >  > […]
> >
> > DAS is direct-attached-storage. I don't think you want that.
>
> Depends. If it fits in the safe, and can be connected using one of these
> eSATA thingy connectors, it might be a very good choice.
>
> […]
>
> I get the impression Dale isn't actually PLANNING his disk storage. It's
> just a case of "help I'm downloading all this stuff where do I put it!!!"

Haha, thanks for the laugh.

> Get yourself a basic 4-way DAS/JBOD setup, PLAN where you're putting all
> this stuff, and plug in and remove drives as required. You don't need all
> these huge drives if you think about what you're going to do with it all.

That’s actually a good idea. Either use a hot swap frame for an internal 5¼″
PC bay, a desktop dock for bare drives or a multi-bay enclosure. The market
is big, you have lots of choices. USB (with or without integrated hub),
eSATA, one or two bays, etc: https://skinflint.co.uk/?cat=hddocks

Advantages:
- no separate system to maintain just for storage: save $$$, time and power
- very flexible: no chassis limitation on number of disks
- no bulky external enclosures, each using a different power brick and cable
- minimum volume to put into a safe (just get or make a bulk storage case)

Disadvantages:
- not as “fancy” as a NAS
- possibly not all disks can be used at the same time
- physical handling of naked disks takes more care
- LVM is not practical, so use each disk separately
- you gotta remember which files are where¹
- SATA connectors aren’t made for very many insertion cycles (I think the
  spec says 50?), which doesn’t mean they endure much more, but still …

> (And while it takes time and hammers the system, I regularly record off the
> TV getting a 2GB .ts file, convert it to mp4 - same resolution - and reduce
> the size by an order of magnitude - maybe more.

Well, ts uses mpeg2 encoding, just like old video DVDs, which is very
inefficient when compared with modern h264/h265. Modern digital TV broadcast
uses h264 by now.


Incidentally, I got myself a new HDD today: an external 2.5″ WD Passport
Ultra 5 TB with USB-C 3.0. Just because I like portable storage and also
because I need temporary space if I want to convert my NAS RAID-Z2 to Z1.


¹ I do have several external USB disks, plus the big NAS. All of which don’t
run very often. And I don’t want to turn them on just to look for a certain
file. That’s why I have another little script. ;-) It uses the `tree` command
to save the complete content listing of a directory into a text file and
names the file automatically by the name of the directory it crawls. So if I
want to find a file, I just need to grep through my text files.

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

The whale is characterised by its bulky form factor.
#!/bin/sh

# history
# 2018-02-10 initial version
# 2020-06-10 added -a option
# -??-?? gzip result
# 2021-03-22 put current date into output filename
# 2021-04-06 code refactoring with more functions and input sanitisation
# 2021-12-22 prefer zstd over gzip
# 2022-01-23 don't create symlink if there is no previous file
# 2022-01-30 added xz to compressors
# 2022-12-08 some cleanup, added -C and -K options

die() {
echo "${@}" > /dev/stderr
exit 1
}

usage() {
cat <<-EOF
Usage: $(basename "$0") [-o NAME] [DIR]
A wrapper to tree, it writes the content of DIR into a text file.
The file is named after DIR and the current date, and symlink to the
most recent version is set.

Re: [gentoo-user] NAS and replacing with larger drives

2022-12-09 Thread Frank Steinmetzger
Am Fri, Dec 09, 2022 at 01:13:50PM + schrieb Michael:

> > > I get the impression Dale isn't actually PLANNING his disk storage. It's
> > > just a case of "help I'm downloading all this stuff where do I put it!!!"
> >
> > Haha, thanks for the laugh.
>
> Actually this had me thinking what is the need to back up the ... Internet?
> […]
>
> I appreciate some of these video files may be rare finds, or there may be a
> risk some of these may be taken off the interwebs sooner or later.  This
> should leave a rather small subset of all downloads, which may merit a local
> backup, just in case.  I'd thought the availability of higher fiber download
> speeds negates the need for local backups, of readily downloadable media.

Good points. I am a big fan of having stuff locally as well, because I don’t
want to be dependent on a company’s servers and a working Internet connection.
But this mostly applies to my mobile device, because I don’t have a data plan
for mobile Internet.

> > Well, ts uses mpeg2 encoding, just like old video DVDs, which is very
> > inefficient when compared with modern h264/h265. Modern digital TV broadcast
> > uses h264 by now.
>
> Depending on the PVR make/model I've seen 1080p resolution recordings with
> .m2ts and .ts file extensions, while the codecs inside them are the same.

I wasn’t aware that ts could contain h264. But then again—I never really
bothered with live TV recordings in recent years. These days, if I find
something interesting, I download the show form the TV channel’s website
(called Mediathek in Germany, a word play on Bibliothek, meaning library).
Interestingly though, the picture quality is noticably worse than what I
receive via DVB-T.

> > ¹ I do have several external USB disks, plus the big NAS. All of which don’t
> > run very often. And I don’t want to turn them on just to look for a certain
> > file. That’s why I have another little script. ;-) It uses the `tree`
> > command to save the complete content listing of a directory into a text
> > file and names the file automatically by the name of the directory it
> > crawls. So if I want to find a file, I just need to grep through my text
> > files.
>
> Backup scripts utilising rsync, tar, etc. can output a log file which contains
> (some) details of all the backed up files.  Nothing as sophisticated as
> Frank's script, but it allows for a quick search against the name of the file
> or directory, before extraction.

Naturally, I just discovered two bugs in the script while I was re-reading
my mail. One of them broke the creation of the symlink which points to the
most recent version of a script output. The other prevented normal operation
if only gzip was available amongst the used compressors.

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

We promise nothing, but that we keep.
#!/usr/bin/env bash

# history
# 2018-02-10 initial version
# 2020-06-10 added -a option
# -??-?? gzip result
# 2021-03-22 put current date into output filename
# 2021-04-06 code refactoring with more functions and input sanitisation
# 2021-12-22 prefer zstd over gzip
# 2022-01-23 don't create symlink if there is no previous file
# 2022-01-30 added xz to compressors
# 2022-12-08 some cleanup, added -C and -K options
# 2022-12-09 bug fixes

die() {
echo "${@}" > /dev/stderr
exit 1
}

usage() {
cat <<-EOF
Usage: $(basename "$0") [-o NAME] [DIR]
A wrapper to tree, it writes the content of DIR into a text file.
The file is named after DIR and the current date, and symlink to the
most recent version is set. The file is automatically compressed to
zstd, xz or gzip, whichever is available in that order.

Options:
  -aaccess attributes: owner, group, permissions
  -Cdo not compress result file
  -Kdo not keep backup of existing file in case of overwriting
  -oThe destination where to write the trees.
Default: .
If it is a directory: write in there
If it is a filename: use that as base. If not,
use the name of the directory as name base.
EOF
}

test_writable() {
touch "$1" 2>/dev/null || die "Cannot create file in $(dirname "$1")."
}

# run tree and redirect output to destination file
call_to_tree() {
WHICH="$1"
OUTPATH="$2-$1"
shift 2

declare TREE_ARGS
TREE_ARGS+=("$@")
TREE_ARGS+=("-o")
TREE_ARGS+=("$DATED_PATH")

local DATED_PATH="$OUTPATH-$TODAY"
local EXT
local PACK
local CREATE_SYMLINK=no

if [ "$COMPRESS" = "no" ]; then
0
elif command -v z

Re: [gentoo-user] Please help me understand this emerge error message.

2023-08-11 Thread Dale
Kusoneko wrote:
> Aug 11, 2023 15:48:22 Arsen Arsenović :
>
>> Alan Mackenzie  writes:
>>
>>> Hello, Gentoo.
>>>
>>> For the past couple of days, after $ emerge --sync, I've tried
>>>
>>>     $ emerge -auND @world
>>>
>>> ..  It has come back very quickly with the error message:
>>>
>>> #
>>>
>>> !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet 
>>> requirements.
>>> - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap pop3 
>>> progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn -kerberos 
>>> -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba -ssh 
>>> (-sslv3) -static-libs -telnet
>>> -test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)" 
>>> CURL_SSL="openssl -gnutls -mbedtls -nss (-rustls)"
>>>
>>>   The following REQUIRED_USE flag constraints are unsatisfied:
>>>     curl_ssl_openssl? ( openssl )
>> A REQUIRED_USE of 'X? ( Y Z )' means that if X is set, Y and Z must be
>> set.  In boolean algebra, it can be expressed as a X => ( Y AND Z ).
>>
>> See https://wiki.gentoo.org/wiki/Required_USE_flags
>>
>> Hope that helps, have a lovely day.
>>
> To add to this, essentially what it's saying is either to change the USE 
> flags of curl to include openssl or to change the CURL_SSL flag to "-openssl 
> gnutls" (by adding "-curl_ssl_openssl curl_ssl_gnutls" to curl's USE flags) 
> so that it aligns with your current curl USE flags.
>
>


That's a much better explanation than mine.  Me, I just beat it with a
hammer until it works.  ROFLMBO 

Dale

:-)  :-) 



Re: [gentoo-user] Please help me understand this emerge error message.

2023-08-11 Thread Arsen Arsenović

Alan Mackenzie  writes:

> Hello, Gentoo.
>
> For the past couple of days, after $ emerge --sync, I've tried
>
> $ emerge -auND @world
>
> ..  It has come back very quickly with the error message:
>
> #
>
> !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet 
> requirements.
> - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap pop3 
> progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn -kerberos 
> -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba -ssh (-sslv3) 
> -static-libs -telnet
> -test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)" 
> CURL_SSL="openssl -gnutls -mbedtls -nss (-rustls)"
>
>   The following REQUIRED_USE flag constraints are unsatisfied:
> curl_ssl_openssl? ( openssl )

A REQUIRED_USE of 'X? ( Y Z )' means that if X is set, Y and Z must be
set.  In boolean algebra, it can be expressed as a X => ( Y AND Z ).

See https://wiki.gentoo.org/wiki/Required_USE_flags

Hope that helps, have a lovely day.

>   The above constraints are a subset of the following complete expression:
> ssl? ( exactly-one-of ( curl_ssl_gnutls curl_ssl_mbedtls curl_ssl_nss 
> curl_ssl_openssl curl_ssl_rustls ) ) curl_ssl_gnutls? ( gnutls ) 
> curl_ssl_mbedtls? ( mbedtls ) curl_ssl_nss? ( nss ) curl_ssl_openssl? ( 
> openssl ) curl_ssl_rustls? (
> rustls )
>
> #
>
> ..  I don't understand what is meant by "curl_ssl_openssl? ( openssl )" in
> the above message.  I assume it's talking about some USE flag, but which?
> openssl?  curl_ssl_openssl?  As a matter of interest, I have
> =dev-libs/openssl-3.0.9-r2 installed.
>
> Please help me understand what's happening.
>
> Thanks for the help!


-- 
Arsen Arsenović


signature.asc
Description: PGP signature


[gentoo-user] Please help me understand this emerge error message.

2023-08-11 Thread Alan Mackenzie
Hello, Gentoo.

For the past couple of days, after $ emerge --sync, I've tried

$ emerge -auND @world

..  It has come back very quickly with the error message:

#

!!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet 
requirements.
- net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap pop3 
progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn -kerberos 
-ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba -ssh (-sslv3) 
-static-libs -telnet
-test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)" 
CURL_SSL="openssl -gnutls -mbedtls -nss (-rustls)"

  The following REQUIRED_USE flag constraints are unsatisfied:
curl_ssl_openssl? ( openssl )

  The above constraints are a subset of the following complete expression:
ssl? ( exactly-one-of ( curl_ssl_gnutls curl_ssl_mbedtls curl_ssl_nss 
curl_ssl_openssl curl_ssl_rustls ) ) curl_ssl_gnutls? ( gnutls ) 
curl_ssl_mbedtls? ( mbedtls ) curl_ssl_nss? ( nss ) curl_ssl_openssl? ( openssl 
) curl_ssl_rustls? (
rustls )

#

..  I don't understand what is meant by "curl_ssl_openssl? ( openssl )" in
the above message.  I assume it's talking about some USE flag, but which?
openssl?  curl_ssl_openssl?  As a matter of interest, I have
=dev-libs/openssl-3.0.9-r2 installed.

Please help me understand what's happening.

Thanks for the help!

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Please help me understand this emerge error message.

2023-08-11 Thread Kusoneko


Aug 11, 2023 15:48:22 Arsen Arsenović :

>
> Alan Mackenzie  writes:
>
>> Hello, Gentoo.
>>
>> For the past couple of days, after $ emerge --sync, I've tried
>>
>>     $ emerge -auND @world
>>
>> ..  It has come back very quickly with the error message:
>>
>> #
>>
>> !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet 
>> requirements.
>> - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap pop3 
>> progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn -kerberos 
>> -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba -ssh (-sslv3) 
>> -static-libs -telnet
>> -test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)" 
>> CURL_SSL="openssl -gnutls -mbedtls -nss (-rustls)"
>>
>>   The following REQUIRED_USE flag constraints are unsatisfied:
>>     curl_ssl_openssl? ( openssl )
>
> A REQUIRED_USE of 'X? ( Y Z )' means that if X is set, Y and Z must be
> set.  In boolean algebra, it can be expressed as a X => ( Y AND Z ).
>
> See https://wiki.gentoo.org/wiki/Required_USE_flags
>
> Hope that helps, have a lovely day.
>

To add to this, essentially what it's saying is either to change the USE flags 
of curl to include openssl or to change the CURL_SSL flag to "-openssl gnutls" 
(by adding "-curl_ssl_openssl curl_ssl_gnutls" to curl's USE flags) so that it 
aligns with your current curl USE flags.



Re: [gentoo-user] Please help me understand this emerge error message.

2023-08-11 Thread Paul Colquhoun
On Saturday, August 12, 2023 4:46:17 A.M. AEST Alan Mackenzie wrote:
> Hello, Gentoo.
> 
> For the past couple of days, after $ emerge --sync, I've tried
> 
> $ emerge -auND @world
> 
> ..  It has come back very quickly with the error message:
> 
> #
> 
> !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet
> requirements. - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap
> pop3 progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn
> -kerberos -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba
> -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd"
> ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -gnutls -mbedtls -nss
> (-rustls)"
> 
>   The following REQUIRED_USE flag constraints are unsatisfied:
> curl_ssl_openssl? ( openssl )
> 
>   The above constraints are a subset of the following complete expression:
> ssl? ( exactly-one-of ( curl_ssl_gnutls curl_ssl_mbedtls curl_ssl_nss
> curl_ssl_openssl curl_ssl_rustls ) ) curl_ssl_gnutls? ( gnutls )
> curl_ssl_mbedtls? ( mbedtls ) curl_ssl_nss? ( nss ) curl_ssl_openssl? (
> openssl ) curl_ssl_rustls? ( rustls )
> 
> #
> 
> ..  I don't understand what is meant by "curl_ssl_openssl? ( openssl )" in
> the above message.  I assume it's talking about some USE flag, but which?
> openssl?  curl_ssl_openssl?  As a matter of interest, I have
> =dev-libs/openssl-3.0.9-r2 installed.
> 
> Please help me understand what's happening.
> 
> Thanks for the help!


In the USE flsgs you have: gnutls -openssl
In the CURL_SSL flags you have: openssl -gnutls

These 2 are contradicting each other. One says use gnutls instead of openssl, 
the other says no, use openssl instead of gnutls.

Pick which option you want to use, and adjust the flags to agree on that 
option.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] Please help me understand this emerge error message.

2023-08-12 Thread Alan Mackenzie
On Fri, Aug 11, 2023 at 13:52:25 -0500, Dale wrote:
> Alan Mackenzie wrote:
> > Hello, Gentoo.

> > For the past couple of days, after $ emerge --sync, I've tried

> > $ emerge -auND @world

> > ..  It has come back very quickly with the error message:

> > #

> > !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet 
> > requirements.
> > - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap pop3 
> > progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn -kerberos 
> > -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba -ssh 
> > (-sslv3) -static-libs -telnet
> > -test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)" 
> > CURL_SSL="openssl -gnutls -mbedtls -nss (-rustls)"

> >   The following REQUIRED_USE flag constraints are unsatisfied:
> > curl_ssl_openssl? ( openssl )

> >   The above constraints are a subset of the following complete expression:
> > ssl? ( exactly-one-of ( curl_ssl_gnutls curl_ssl_mbedtls curl_ssl_nss 
> > curl_ssl_openssl curl_ssl_rustls ) ) curl_ssl_gnutls? ( gnutls ) 
> > curl_ssl_mbedtls? ( mbedtls ) curl_ssl_nss? ( nss ) curl_ssl_openssl? ( 
> > openssl ) curl_ssl_rustls? (
> > rustls )

> > #

> > ..  I don't understand what is meant by "curl_ssl_openssl? ( openssl )" in
> > the above message.  I assume it's talking about some USE flag, but which?
> > openssl?  curl_ssl_openssl?  As a matter of interest, I have
> > =dev-libs/openssl-3.0.9-r2 installed.

> > Please help me understand what's happening.

> > Thanks for the help!


> I think I got that a while back.  This is what I have for my USE flags
> for that package. 


[  ]

> I think it wants you to enable openssl or one of the other USE flag
> options.  Since I seem to recall having openssl installed already, I
> just picked it.  I'd try enabling that and see if the error goes away. 

That was the problem.  Although I had openssl installed, I hadn't set the
USE flag openssl for curl.  When I did that, the problem went away.  :-)

> Hope that helps.

It did.  Thanks!

> Dale

> :-)  :-) 

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] [OT] Anyone running mutt outboung smtp on port 587?

2024-01-22 Thread Walter Dnes
On Tue, Jan 09, 2024 at 02:01:34PM -0500, Walter Dnes wrote
>   I'll soon be switching over from cable to fibre.  It's the same ISP,
> but I'll be needing to authenticate outbound email on port 587 (long
> story).

Let's start this over again, because I was barking up the wrong
tree.  Rather than ASS-uming stuff, I finally asked in my ISP's support
forum and they said...

> Regarding the SMTP server, the port 587 works on any type of
> technology we are offering. It has to be set with SSL, without
> any authentication.

   It looks like they know the IP address ranges of their customers.
I'll try again without authentication, and see what happens and get back
with my results.  "emerge -pv gnutls mutt" shows...

[ebuild   R] net-libs/gnutls-3.8.0:0/30.30::gentoo  USE="cxx idn nls 
openssl seccomp tls-heartbeat tools zlib -brotli -dane -doc -examples -pkcs11 
(-sslv2) (-sslv3) -static-libs -test (-test-full) -verify-sig -zstd" 0 KiB

[ebuild   R] mail-client/mutt-2.2.12::gentoo  USE="debug gnutls gpgme 
hcache imap lmdb mbox nls pop sasl smtp ssl -autocrypt -berkdb -doc -gdbm 
-gsasl -idn -kerberos -pgp-classic (-prefix) -qdbm (-selinux) -slang 
-smime-classic -tokyocabinet -vanilla" 0 KiB

  I'm busy tonight, so I'll probably get back tomorrow.

-- 
Roses are red
Roses are blue
Depending on their velocity
Relative to you



[gentoo-user] dependency conflict

2024-01-09 Thread thelma

emerge -uDNavq world  is runs without errors:

Nothing to merge; quitting.

Before running "emerge --depclean"
I try to double check with:  emerge --update --newuse --deep @world
and run into conflict:

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

sys-libs/gdbm:0

  (sys-libs/gdbm-1.23:0/6::gentoo, ebuild scheduled for merge) USE="nls readline -berkdb 
-static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" conflicts with
sys-libs/gdbm:0/6=[berkdb] required by (dev-lang/python-3.12.1:3.12/3.12::gentoo, installed) 
USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build -debug -examples -libedit 
-lto -pgo -test -tk -valgrind -verify-sig" ABI_X86="(64)"
   ^^
sys-libs/gdbm:=[berkdb] required by (dev-lang/python-3.11.7:3.11/3.11::gentoo, installed) 
USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build -debug -examples -libedit 
-pgo -test -tk -valgrind -verify-sig" ABI_X86="(64)"
^^
sys-libs/gdbm:=[berkdb] required by (dev-lang/python-3.12.1:3.12/3.12::gentoo, installed) 
USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build -debug -examples -libedit 
-lto -pgo -test -tk -valgrind -verify-sig" ABI_X86="(64)"
^^
sys-libs/gdbm:0/6=[berkdb] required by (dev-lang/python-3.11.7:3.11/3.11::gentoo, installed) 
USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build -debug -examples -libedit 
-pgo -test -tk -valgrind -verify-sig" ABI_X86="(64)"
   ^^

media-libs/tiff:0

  (media-libs/tiff-4.6.0:0/6::gentoo, ebuild scheduled for merge) USE="cxx jpeg zlib -jbig 
-lzma -static-libs -test -verify-sig -webp -zstd" ABI_X86="(64) -32 (-x32)" 
conflicts with
https://hylafax.sourceforge.io/
 Description: Enterprise client-server fax package for class 1 and 
2 fax modems

i5_new /home/fd # equery d media-libs/tiff
 * These packages depend on media-libs/tiff:
app-text/evince-45.0 (tiff ? >=media-libs/tiff-4.0)
app-text/ghostscript-gpl-10.02.1 (>=media-libs/tiff-4.0.1)
app-text/poppler-23.12.0 (tiff ? media-libs/tiff)
app-text/qpdf-11.6.3-r1 (test ? media-libs/tiff)
media-gfx/xv-3.10a-r22 (tiff ? media-libs/tiff)
media-libs/lcms-2.15 (tiff ? 
>=media-libs/tiff-4.0.3-r6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
media-libs/openjpeg-2.5.0-r6 (media-libs/tiff)
net-misc/hylafaxplus-7.0.6-r4 (=media-libs/tiff-3.9.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
i5_new /home/fd # eix media-libs/tiff
[I] media-libs/tiff
 Available versions:  4.5.0-r2(0/6)^t 4.5.1(0/6)^t ~4.6.0(0/6)^t {+cxx jbig jpeg lzma static-libs test 
verify-sig webp zlib zstd ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 
x32"}
 Installed versions:  4.5.1(0/6)^t(19:06:38 08/13/23)(cxx jpeg zlib -jbig -lzma -static-libs -test 
-verify-sig -webp -zstd ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 
-x32")
 Homepage:http://libtiff.maptools.org
 Description: Tag Image File Format (TIFF) library

* media-libs/tiff-compat
 Available versions:  (4) 4.4.0-r1^t
   {+cxx jbig jpeg lzma test verify-sig webp zlib zstd ABI_MIPS="n32 n64 o32" ABI_S390="32 
64" ABI_X86="32 64 x32"}
 Homepage:http://libtiff.maptools.org
 Description: Tag Image File Format (TIFF) library (compat package 
for libtiff.so.5)

Found 2 matches
i5_new /home/fd # ll /etc/portage/package.use/package.use
-rw-r--r-- 1 root root 216 Dec 15 19:37 /etc/portage/package.use/package.use
i5_new /home/fd # cat /etc/portage/package.use/package.use

net-dialup/mgetty -fax
net-misc/hylafaxplus mgetty
#app-text/evince postscript
mail-mta/postfix sasl berkdb

#by ysa
dev-lang/php mysql mysqli gd

media-video/guvcview  gsl  pulseaudio

sys-boot/grub  device-mapper
i5_new /home/fd # eix sys-libs/gdbm
[I] sys-libs/gdbm
 Available versions:  1.23(0/6)^t {+berkdb nls +readline static-libs test verify-sig ABI_MIPS="n32 
n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
 Installed versions:  1.23(0/6)^t(13:32:27 08/13/23)(berkdb nls readline -static-libs -test -verify-sig 
ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
 Homepage:https://www.gnu.org/software/gdbm/
 Description: Standard GNU database libraries


It looks like there are dependency conflicts involving the packages 
sys-libs/gdbm and media-libs/tiff in your Gentoo system.
The error messages indicate that there are conflicting versions and USE flags 
for these packages.
Any hint how to resolve it?

--
Thelma



[gentoo-user] gentoo-sources-6.7.7 build error

2024-03-02 Thread ralfconn
I have a build error with latest gentoo-sources (~amd64): # eix -I 
gentoo-sources Installed versions: 6.7.6(6.7.6)^bs(10:37:31 
02/24/24)(-build -experimental -symlink) 6.7.7(6.7.7)^bs(18:43:20 
03/01/24)(-build -experimental -symlink) # eix -I gcc Installed 
versions: 13.2.1_p20240210(13)^t(17:09:30 02/18/24)(cet cxx 
default-stack-clash-protection default-znow fortran hardened nls openmp 
pie sanitize ssp -ada -custom-cflags -d -debug -doc -fixed-point -go 
-graphite -ieee-long-double -jit -libssp -lto -modula2 -multilib -objc 
-objc++ -objc-gc -pch -pgo -systemtap -test -valgrind -vanilla -vtv 
-zstd) fs/ntfs3/frecord.c: In function ‘ni_read_frame’: 
fs/ntfs3/frecord.c:2460:16: error: unused variable ‘i_size’ 
[-Werror=unused-variable]  2460 | loff_t i_size = 
i_size_read(>vfs_inode);


This is on a gentoo box with mixed profile 
(local:no-multilib-hardened-desktop (dev)). The vanilla kernel 
downloaded from kernel.org - with same config - has the same build 
error. I thought it could be a hardened-related issue, but a different 
gentoo box with an hardened-dektop profile builds fine. The kernel 
config is different, though. By the way, looking at the failing source 
it seems to me that the error is a false positive. I suppose nobody else 
is seeing this, I see no reports on the net. Any hints? Should I file a 
bug upstream? thanks, raffaele





Re: [gentoo-user] Re: gentoo-sources-6.7.7 build error

2024-03-02 Thread ralfconn

Il 02/03/24 18:17, Holger Hoffstätte ha scritto:
> On 2024-03-02 18:12, ralfconn wrote:
>> I have a build error with latest gentoo-sources (~amd64): # eix -I
>> gentoo-sources Installed versions: 6.7.6(6.7.6)^bs(10:37:31
>> 02/24/24)(-build -experimental -symlink) 6.7.7(6.7.7)^bs(18:43:20
>> 03/01/24)(-build -experimental -symlink) # eix -I gcc Installed
>> versions: 13.2.1_p20240210(13)^t(17:09:30 02/18/24)(cet cxx
>> default-stack-clash-protection default-znow fortran hardened nls
>> openmp pie sanitize ssp -ada -custom-cflags -d -debug -doc
>> -fixed-point -go -graphite -ieee-long-double -jit -libssp -lto
>> -modula2 -multilib -objc -objc++ -objc-gc -pch -pgo -systemtap -test
>> -valgrind -vanilla -vtv -zstd) fs/ntfs3/frecord.c: In function
>> ‘ni_read_frame’: fs/ntfs3/frecord.c:2460:16: error: unused variable
>> ‘i_size’ [-Werror=unused-variable]  2460 | loff_t i_size =
>> i_size_read(>vfs_inode);
>>
>> This is on a gentoo box with mixed profile
>> (local:no-multilib-hardened-desktop (dev)). The vanilla kernel
>> downloaded from kernel.org - with same config - has the same build
>> error. I thought it could be a hardened-related issue, but a
>> different gentoo box with an hardened-dektop profile builds fine. The
>> kernel config is different, though. By the way, looking at the
>> failing source it seems to me that the error is a false positive. I
>> suppose nobody else is seeing this, I see no reports on the net. Any
>> hints? Should I file a bug upstream? thanks, raffaele
>
> Already known:
> https://lore.kernel.org/stable/2024030214-scratch-compactly-638f@gregkh/
>
> So either set CONFIG_NTFS3_LZX_XPRESS=y or just wait.
>
>
Wow, faster than light, thanks!

In addition to the suggested fix, also disabling NTFS support completely 
works.


thanks again,

raffaele



[gentoo-user] Re: gentoo-sources-6.7.7 build error

2024-03-02 Thread Holger Hoffstätte

On 2024-03-02 18:12, ralfconn wrote:

I have a build error with latest gentoo-sources (~amd64): # eix -I
gentoo-sources Installed versions: 6.7.6(6.7.6)^bs(10:37:31
02/24/24)(-build -experimental -symlink) 6.7.7(6.7.7)^bs(18:43:20
03/01/24)(-build -experimental -symlink) # eix -I gcc Installed
versions: 13.2.1_p20240210(13)^t(17:09:30 02/18/24)(cet cxx
default-stack-clash-protection default-znow fortran hardened nls
openmp pie sanitize ssp -ada -custom-cflags -d -debug -doc
-fixed-point -go -graphite -ieee-long-double -jit -libssp -lto
-modula2 -multilib -objc -objc++ -objc-gc -pch -pgo -systemtap -test
-valgrind -vanilla -vtv -zstd) fs/ntfs3/frecord.c: In function
‘ni_read_frame’: fs/ntfs3/frecord.c:2460:16: error: unused variable
‘i_size’ [-Werror=unused-variable]  2460 | loff_t i_size =
i_size_read(>vfs_inode);

This is on a gentoo box with mixed profile
(local:no-multilib-hardened-desktop (dev)). The vanilla kernel
downloaded from kernel.org - with same config - has the same build
error. I thought it could be a hardened-related issue, but a
different gentoo box with an hardened-dektop profile builds fine. The
kernel config is different, though. By the way, looking at the
failing source it seems to me that the error is a false positive. I
suppose nobody else is seeing this, I see no reports on the net. Any
hints? Should I file a bug upstream? thanks, raffaele


Already known:
https://lore.kernel.org/stable/2024030214-scratch-compactly-638f@gregkh/

So either set CONFIG_NTFS3_LZX_XPRESS=y or just wait.

-h



Re: [gentoo-user] New profile - gentoo and binutils ...

2024-04-07 Thread Wols Lists

On 07/04/2024 11:48, Wols Lists wrote:

On 07/04/2024 11:23, Michael wrote:

On Sunday, 7 April 2024 11:21:00 BST Wols Lists wrote:

On 07/04/2024 11:00, Wols Lists wrote:

What do I do here - "emerge binutils" (step 9) wants to emerge gcc,
which the instructions say "emerge AFTER binutils".

With gcc it says "don't let it emerge glibc", should I apply the same
logic and not let binutils emerge gcc?


Just to follow up to myself, I've just done a complete update, but a lot
of the dependencies are pulled in by "change-use", namely lzma, zstd. Is
that fallout from the XZ debacle? Would a --no-deps be safe?

Cheers,
Wol


Are you still on your original profile, or have you used eselect to 
change it

to profile 23.0?

If the latter, change back to your old profile, update @world, 
depclean and

then start with the rest of the migration instructions.


Just done that. See my other email.

NOTHING TO UPDATE (unless I've messed up my emerge ...)


Interesting ... just done this under the old profile ...

thewolery /usr/local/bin # emerge --ask --oneshot sys-devel/binutils

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

Calculating dependencies... done!
Dependency resolution took 3.19 s (backtrack: 0/20).


Nothing to merge; quitting.

Cheers,
Wol



Re: [gentoo-user] New profile - gentoo and binutils ...

2024-04-07 Thread Michael
On Sunday, 7 April 2024 11:48:07 BST Wols Lists wrote:
> On 07/04/2024 11:23, Michael wrote:
> > On Sunday, 7 April 2024 11:21:00 BST Wols Lists wrote:
> >> On 07/04/2024 11:00, Wols Lists wrote:
> >>> What do I do here - "emerge binutils" (step 9) wants to emerge gcc,
> >>> which the instructions say "emerge AFTER binutils".
> >>> 
> >>> With gcc it says "don't let it emerge glibc", should I apply the same
> >>> logic and not let binutils emerge gcc?
> >> 
> >> Just to follow up to myself, I've just done a complete update, but a lot
> >> of the dependencies are pulled in by "change-use", namely lzma, zstd. Is
> >> that fallout from the XZ debacle? Would a --no-deps be safe?
> >> 
> >> Cheers,
> >> Wol
> > 
> > Are you still on your original profile, or have you used eselect to change
> > it to profile 23.0?
> > 
> > If the latter, change back to your old profile, update @world, depclean
> > and
> > then start with the rest of the migration instructions.
> 
> Just done that. See my other email.
> 
> NOTHING TO UPDATE (unless I've messed up my emerge ...)
> 
> Cheers,
> Wol

OK, in case you haven't, I'd also run:

emerge @preserved-rebuild -v -a

and

emerge --depclean -v -a

to remove any dependencies no longer needed.

Then change your profile to:

 [28]  default/linux/amd64/23.0/desktop/plasma/systemd (stable)

and continue with the emerge of binutils, gcc, glibc, libtool.  You can use 
'--nodeps' to emerge them in the order given in the profile migration guide, 
although from what I've experienced this only happens with gcc and glibc.  :-/


signature.asc
Description: This is a digitally signed message part.


[resolved if not understood] [gentoo-user] new emerge failures

2022-06-13 Thread Jack

On 2022.06.10 13:01, Jack wrote:
My usual "emerge -auDvN world" yesterdau failed over a bunch of slot  
conflict for various dev-qt packages (appeared to be related to :0/30  
vs :0/30.30).  However, in process of trying various options to at  
least get something emerged, I have ended up getting, for most (but  
not all) invocations of emerge, something like:


Total: 114 packages (61 upgrades, 5 new, 48 reinstalls), Size of  
downloads: 997,745 KiB

Conflict: 1 block (all satisfied)
Traceback (most recent call last):
 File "/usr/lib/python-exec/python3.9/emerge", line 51, in 
   retval = emerge_main()
 File "/usr/lib/python3.9/site-packages/_emerge/main.py", line 1328,  
in emerge_main

   return run_action(emerge_config)
 File "/usr/lib/python3.9/site-packages/_emerge/actions.py", line  
3954, in run_action

   retval = action_build(emerge_config, spinner=spinner)
 File "/usr/lib/python3.9/site-packages/_emerge/actions.py", line  
468, in action_build

   mydepgraph.display_problems()
 File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line  
10485, in display_problems

   self._compute_abi_rebuild_info()
 File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line  
923, in _compute_abi_rebuild_info

   if dep.parent.installed:
AttributeError: 'SetArg' object has no attribute 'installed'

That one was for a full world update, but I've also gotten it for  
single packages.  Some single package invocations worked, such as  
updating portage itself from 3.0.30-r3 (stable) to 3.0.30-r4 (~amd64)  
but the newer version has the same failures.


I've done a bit of searching, but haven't been able to find anything  
relevant.  This failure doesn't seem related to any particular  
conflict, as it appears immediately after what looks like a normal  
list of packages to be upgraded or reinstalled.


Thanks for any suggestions about which fine manual I should read, or  
which version of portage might work any better.


Well, I finally managed to get all updates and dependencies emerged.  I  
still have no idea what caused the AttributeError, but I do have an  
idea what triggered it.  gnutls (and one or two others) needed  
upgrading, and caused lots of rebuilds.  I believe the error was  
triggered by a change in subslots, although I admit I don't fully  
understand how that works.


As the main example: "eix gnutls" (after upgrade)
[I] net-libs/gnutls
 Available versions:  3.7.2(0/30)^t 3.7.3-r1(0/30)^t  
~3.7.5(0/30.30)^t 3.7.6(0/30.30)^t {brotli +cxx dane doc examples guile  
+idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full  
+tls-heartbeat tools valgrind verify-sig zlib zstd ABI_MIPS="n32 n64  
o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
 Installed versions:  3.7.6(0/30.30)^t(11:02:20 AM 06/12/2022)(cxx  
idn nls openssl seccomp tls-heartbeat tools zlib -brotli -dane -doc  
-examples -guile -pkcs11 -sslv2 -sslv3 -static-libs -test -test-full  
-valgrind -verify-sig -zstd ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32  
-64" ABI_X86="32 64 -x32")

 Homepage:https://www.gnutls.org/
 Description: A secure communications library implementing  
the SSL, TLS and DTLS protocols


I was uprading from 3.7.3-r1(0/30) to 3.7.6(0/30.30).  Some emerge  
attempts showed lots of slot conflicts between installed programs  
needing (0/30) and the propsed upgrade to (0/30.30).  I don't know why  
this seemed to confuse portage, but I ended up doing an "emerge -1  
--nodeps gnutls" and a later "emerge -auDvN world" got all the required  
rebuilds.


I suspect the AttributeError is a bug in portage, only triggered by  
some apparently unlikely combination of pending upgrades and rebuilds  
due to the subslot change.  Since I can no longer reliably trigger it,  
I don't plan on reporting it, unless someone thinks it's worth the  
effort.


Jack



Re: [gentoo-user] using Wifi in a new machine

2023-06-01 Thread Michael
On Thursday, 1 June 2023 19:54:08 BST Philip Webb wrote:
> 230531 Michael wrote:
> > It seems you have the correct module for the mediatek driver installed,
> > since lshw on gentoo shows it being used. What is not shown is the
> > firmware. Now, to bottom out the firmware issue.
> > You need to specify the firmware path in your kernel, as explained here.
> > By default this would be under /lib/firmware/ :
> > https://wiki.gentoo.org/wiki/Linux_firmware
> 
> /lib/firmware/ is the dir with firmware files.
> 
> > Hopefully, the requisite firmware file blobs will be present
> > in the latest stable 'sys-kernel/linux-firmware' package,
> > once you install it.
> 
> It is already installed (230404) , presumably as part of Stage 3.
> That date shouldn't be too old.

The current stable version is:

sys-kernel/linux-firmware-20230515

I suggest you run an update to fetch this version - see below.


> > dmesg will reveal if these are/not being loaded.
> 
> 'dmesg | grep firmware' shows  10  identical lines :
> 
>   Loading firmware : mediatek/WIFI_MT7921_patch_mcu_1_2_hdr.bin :
>failed with error-2 .

Oops!  This is rather ominous and the cause of your problems - see below.


> > you could keyword the trunk version hoping it contains what you need:
> >**     *l^bstd   [compress-xz compress-zstd initramfs
> > 
> > +redistributable savedconfig unknown-license]   ["initramfs? (
> > redistributable ) ?? ( compress-xz compress-zstd )"]
> 
> I don't understand these lines (smile).

This is the bleeding edge version of the package, but you may not need to 
install it (yet).


> > Or, you could compare what firmware files are loaded in Mint/SR ISOs
> > and copy these over to your Gentoo system for now
> 
> SR shows no record of loading via 'dmesg' ;
> Mint ends with a lot of Bluetooth + mt7921e references.
> Mint mentions a firmware " 01 " ( 4 underlines ).

Hmm ... Mint seems to be using an older version, which according to this post 
has since been patched:

https://lore.kernel.org/lkml/3198471.FQF0JACdhR@ripper/


> > or you could fish around the Mediatek website for approp firmware files.
> 
> no sign of firmware files.

OK.

I had a look in the latest stable version sys-kernel/linux-firmware-20230515 
for the file you reported an error on:

$ find /lib/firmware -iname WIFI_MT7961_patch_mcu_1_2_hdr.bin
/lib/firmware/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
$ ls -la /lib/firmware/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
-rw-r--r-- 1 root root 92192 May 18 16:16 /lib/firmware/mediatek/
WIFI_MT7961_patch_mcu_1_2_hdr.bin

Do you get the same result?  I'd update to the latest linux-firmware version 
first, just in case.

> > Finally, set up a symlink from '/etc.init.d/net.wlp5s0'
> > to '/etc/init.d/net.lo' or whatever your card is detected, if not wlp5s0.
> 
> i've created that link, but how is it supposed to help ?

This is merely to bring up the interface and establish your wireless network 
service at boot time, if you add it to the default run level:

rc-update add net.wlp5s0 default

but until you get it working, you can use this service to start/stop your 
wireless connection manually.


> > https://wiki.gentoo.org/wiki/Handbook:AMD64/Networking/Introduction
> > 
> > and bring up your wireless network service:
> >  'rc-service -v net.wlp5s0 start'
> 
> it gives "ERROR : fails to start".

Yes, because there is the previous problem with the firmware.


> > Besides wpa_supplicant, other packages required like 'net-misc/netifrc',
> > 'net-misc/dhcpcd' should be installed,
> > if they have not been brought in as dependencies already.
> 
> I've installed 'netifrc' ; 'dhcpcd' was installed long ago.
> 
> > Please post back your dmesg and any terminal output,
> > if you are still having problems bringing up this wireless interface.
> > PS. This page which may or may not be still relevant
> > with the latest stable kernels, but you may want to take a look either
> > way:
> > https://wiki.gentoo.org/wiki/User:Chess/MT7921e
> 
> So no progress today.  I can try copying the firmware files from SR/Mint
> -- everything under  /lib/firmware/  in SR/Mint & see if it helps.

Not yet, let's see if the missing firmware file is available in your /lib/
firmware first.


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] using Wifi in a new machine

2023-05-31 Thread Michael
Hi Philip,

On Wednesday, 31 May 2023 18:06:19 BST Philip Webb wrote:
> 230531 Mark Dymek wrote:
> > are you installing Gentoo or is this on a running system ?
> > because the minimal installer only uses  wpa_supplicant .
> > i couldn’t get wi-fi to work when i was installing Gentoo.
> > once i had everything installed though it worked.
> 
> That's interesting, but it doesn't take me much further (smile).
> Yes, this is in the early stage of installing in a new machine.
> Wifi works easily with System Rescue + Mint (running from USB stick).
> The minimal installer -- presumably you mean Stage 3 --
> didn't include 'wpa_supplicant' & I emerged it later.
> 
> Your experience suggests there mb some pkg missing, which I need.
> Do you -- or anyone else -- have any idea what it might be ?
> 
> Perhaps there's still some firmware missing,
> but I'm having difficulty identifying what it could be
> or where I would find it.
> 
> Any more substantial advice is very welcome.

It seems you have the correct module for the mediatek driver installed, since 
lshw on gentoo shows it being used.  What is not shown is the firmware.

Do you see now the wireless link when you run 'ip link show', or is it still 
absent?

The 'rfkill list' command (from sys-apps/util-linux) will list if by mistake 
you have left your wireless adapter switched off - laptops have a hardware 
button on the keyboard for this; e.g.

 ~ # rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes

If so, press the keyboard button to unblock it.

Now, to bottom out the firmware issue.  You need to specify the firmware path 
in your kernel, as explained here.  By default this would be under /lib/
firmware:

https://wiki.gentoo.org/wiki/Linux_firmware

Hopefully, the requisite firmware file blobs will be present in the latest 
stable 'sys-kernel/linux-firmware' package once you install it.  dmesg will 
reveal if these are/not being loaded.  For example, this is what I get on an 
old laptop with Intel wireless:

[   13.276068] Loading firmware: iwlwifi-5000-5.ucode
[   13.519131] iwlwifi :04:00.0: loaded firmware version 8.83.5.1 build 
33692 5000-5.ucode op_mode iwldvm
[   13.622473] iwlwifi :04:00.0: CONFIG_IWLWIFI_DEBUG disabled
[   13.622483] iwlwifi :04:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[   13.622486] iwlwifi :04:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[   13.622489] iwlwifi :04:00.0: Detected Intel(R) WiFi Link 5100 AGN, 
REV=0x54
[   13.664327] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[   13.730477] iwlwifi :04:00.0 wlp4s0: renamed from wlan0

What do you do if the latest linux-firmware package does not have the firmware 
blob(s) your wireless card requires, because it is rather new hardware?  Well, 
you could keyword the trunk version hoping it contains what you need:

   **     *l^bstd   [compress-xz compress-zstd initramfs 
+redistributable savedconfig unknown-license]   ["initramfs? ( redistributable 
) 
?? ( compress-xz compress-zstd )"]

Or, you could compare what firmware files are loaded in Mint/SR ISOs and copy 
these over to your Gentoo system for now, or you could fish around the 
mediatek website for appropriate firmware files.

Finally, set up a symlink from '/etc.init.d/net.wlp5s0' to '/etc/init.d/
net.lo', (or whatever your card is detected as if not wlp5s0) - see here:

https://wiki.gentoo.org/wiki/Handbook:AMD64/Networking/Introduction

and bring up your wireless network service:

rc-service -v net.wlp5s0 start

NOTE: Besides wpa_supplicant, other packages required like 'net-misc/netifrc', 
'net-misc/dhcpcd' should be installed, if they have not been brought in as 
dependencies already.

Please post back your dmesg and any terminal output if you are still having 
problems bringing up this wireless interface.

PS. I saw this page which may or may not be still relevant with the latest 
stable kernels, but you may want to take a look either way:

https://wiki.gentoo.org/wiki/User:Chess/MT7921e


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [OT] Anyone running mutt outboung smtp on port 587?

2024-01-21 Thread Michael
On Sunday, 21 January 2024 16:09:47 GMT Walter Dnes wrote:
> On Sun, Jan 21, 2024 at 12:05:45PM +, Michael wrote
> 
> > Anyway, to take you forward you can:
[snip ...]

>   Nothing above works, and I wonder if it's something at my end.  I keep
> getting the same message...
> 
> > gnutls_handshake: A packet with illegal or unsupported version was
> > received.
>   The current net-libs/gnutls-3.8.0 ebuild (and 3.8.1 and 3.8.2) has
> sslv2 and sslv3 enabled in IUSE  ...but...  "emerge -pv gnutls" shows
> them hard-masked.  Is my system forcing sslv1 and the server rejecting me???
> 
> [ebuild   R] net-libs/gnutls-3.8.0:0/30.30::gentoo  USE="cxx idn nls
> openssl seccomp tls-heartbeat tools zlib -brotli -dane -doc -examples
> -pkcs11 (-sslv2) (-sslv3) -static-libs -test (-test-full) -verify-sig
> -zstd" 0 KiB
> 
>   Do you get the same?  Do I have to set something in...
> 
> make menuconfig
> -*- Cryptographic API  --->
> 
>   "emerge -pv mutt"
> 
> [ebuild   R] mail-client/mutt-2.2.12::gentoo  USE="debug gnutls gpgme
> hcache imap lmdb mbox nls pop sasl smtp ssl -autocrypt -berkdb -doc -gdbm
> -gsasl -idn -kerberos -pgp-classic (-prefix) -qdbm (-selinux) -slang
> -smime-classic -tokyocabinet -vanilla" 0 KiB
> 
>   I copied certificates from x.txt to .mutt/certificates (see
> attachment).  Is this correct?  And how do I securely pass credentials?

Starting from the end;  to securely pass credentials you need an encrypted 
connection to the server.  For SMTP server authentication this normally takes 
place using STARTTLS on port 587, or explicit TLS typically on port 465 or 
port 25 depending on your mail provider.

Your locally stored certificate chain should be in multiple .pem files, one 
for each certificate.  Normally only the Root CA is needed since this was used 
to sign all its children certificates in the chain.  In the first instance 
just store in your ~/.mutt/certificates/ directory the Root CA certificate, to 
see if mutt accepts it without gnutls complaining.  In your attachment you 
have 4 certificates:

1. The certificate used by the SMTP server (a wildcard ebox.ca domain 
certificate):

Subject: CN = *.ebox.ca

which is issued by "CN = Go Daddy Secure Certificate Authority - G2".

2. The "Go Daddy Secure Certificate Authority - G2" was in turn issued by "CN 
= Go Daddy Root Certificate Authority - G2".

3. The "CN = Go Daddy Root Certificate Authority - G2" was issued by "OU = Go 
Daddy Class 2 Certification Authority".

4. Finally, the last certificate "OU = Go Daddy Class 2 Certification 
Authority" is the self-signed Root CA.  This is the certificate you could copy 
into your ~/.mutt/certificates/.

A copy of this certificate should be available in your /etc/ssl/certs/, so you 
could copy it and also hash it:

cp /etc/ssl/certs/Go_Daddy_Class_2_CA.pem ~/.mutt/certificates/
cd ~/.mutt/certificates/
ln -s Go_Daddy_Class_2_CA.pem `openssl x509 -hash -noout -in 
Go_Daddy_Class_2_CA.pem`.0

Please note the backticks in the above.

If this still won't work, have you considered ditching gnutls on mutt and 
trying with vanilla openssl?

$ emerge -pv mutt

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

Calculating dependencies... done!
Dependency resolution took 23.29 s (backtrack: 0/20).

[ebuild  N ] mail-client/mutt-2.2.12::gentoo  USE="gdbm hcache imap lmdb 
nls sasl smtp ssl -autocrypt -berkdb -debug -doc -gnutls -gpgme -gsasl -idn -
kerberos -mbox -pgp-classic -pop (-prefix) -qdbm (-selinux) -slang -smime-
classic -tokyocabinet -vanilla" 5432 KiB

$ emerge -pv gnutls

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

Calculating dependencies... done!
Dependency resolution took 1.45 s (backtrack: 0/20).

[ebuild   R] net-libs/gnutls-3.8.0:0/30.30::gentoo  USE="cxx idn nls 
openssl seccomp tls-heartbeat zlib -brotli -dane -doc -examples -pkcs11 (-
sslv2) (-sslv3) -static-libs -test (-test-full) -tools -verify-sig -zstd" 
ABI_X86="(64) -32 (-x32)" 0 KiB

It may be the openssl is more accommodating for Root CAs using SHA1 and will 
allow the connection to complete.


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] cannot emerge --config sys-lib/timezone-data yet

2020-10-18 Thread Jude DaShiell
Apparently a missing quote in /etc/portage/make.conf but I can't find
where that would be now.

'# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="--march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j9"
ACCEPTLICENSE="@EULA"
USE="x a52 aac acpi accessibility alsa audiofile calendar cdda cdr cracklib 
crypt css dbus debug dvdr espeak ffmpeg fftw flac fortran ftp git gnome gtk gui 
imap ipv6 mad mp3 mp4 mpeg mplayer mtp multilib mysql mysqli ncurses nntp 
nsplugin offensive ogg openal opus pcre pda pdf perl php pie plotutils 
policykit portaudio posix postgres -pulseaudio python qt4 qt5 quicktime 
readline recode rss ruby sasl seccomp slang smp sndfile snmp sockets sound sox 
speex spell sqlite ssl startup-notification static-libs subversion symlink 
syslog szip taglib tcl tcmalloc tcpd telemetry test threads tidy timidity udev 
udisks unicode unwind upnp upnp-av usb v4l vaapi vcd vdpau verify-sig videos 
vim-syntax vorbis wavpack -wayland wifi wxwidgets x264 xattr xcomposite xemacs 
xml zip xv xvid zlib zstd"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ 
http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo 
https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ 
http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ 
http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ 
rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo 
http://gentoo.cs.utah.edu/;


-- 




Re: [gentoo-user] cannot emerge --config sys-lib/timezone-data yet

2020-10-18 Thread Todd Goodman

The very first line has a single quote as the first character

On 10/18/2020 9:19 AM, Jude DaShiell wrote:

Apparently a missing quote in /etc/portage/make.conf but I can't find
where that would be now.

'# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="--march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j9"
ACCEPTLICENSE="@EULA"
USE="x a52 aac acpi accessibility alsa audiofile calendar cdda cdr cracklib crypt 
css dbus debug dvdr espeak ffmpeg fftw flac fortran ftp git gnome gtk gui imap ipv6 mad 
mp3 mp4 mpeg mplayer mtp multilib mysql mysqli ncurses nntp nsplugin offensive ogg openal 
opus pcre pda pdf perl php pie plotutils policykit portaudio posix postgres -pulseaudio 
python qt4 qt5 quicktime readline recode rss ruby sasl seccomp slang smp sndfile snmp 
sockets sound sox speex spell sqlite ssl startup-notification static-libs subversion 
symlink syslog szip taglib tcl tcmalloc tcpd telemetry test threads tidy timidity udev 
udisks unicode unwind upnp upnp-av usb v4l vaapi vcd vdpau verify-sig videos vim-syntax 
vorbis wavpack -wayland wifi wxwidgets x264 xattr xcomposite xemacs xml zip xv xvid zlib 
zstd"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ 
http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo 
https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ 
https://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ 
ftp://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/ 
http://gentoo.mirrors.tds.net/gentoo http://gentoo.cs.utah.edu/;






Re: [gentoo-user] Machine hangs up with out of memory

2021-04-30 Thread Michael
On Friday, 30 April 2021 02:30:51 BST Adam Carter wrote:
> On Wed, Apr 28, 2021 at 7:58 PM Kai Peter  wrote:
> > Hi,
> > 
> > I have an issue with a machine where I'm not able to detect the real
> > root cause. It hangs up totally. It seems like it was running out of
> > memory - but why? Hopefully somebody can give me some insight. As far I
> > can see right now, it hangs up a few hours after an `emerge --update
> > --newuse --deep --with-bdeps=y @world`.
> > 
> > The machine is an Intel Atom with 8 GB RAM (physical, max) and 24 GB
> > swap (a file). So 32 GB RAM in total.
> 
> Might be worth adding zswap using zstd or lz4 to your config (uses more CPU
> for less IO)
> https://www.kernel.org/doc/html/latest/vm/zswap.html

Zswap will help optimise the swapping of cold pages out of RAM into the 
compressed zswap cache and eventually push these out to the disk.  This won't 
help with the problem of not having enough RAM to start with for compiling 
packages with large resource requirements, like e.g. Chromium.

With monster packages where more RAM is needed even for a single compilation 
job, after all cold pages have been swapped out, hot pages will start being 
swapped out/in.  I think at this point the same I/O race condition will ensue 
as if no zswap were available, plus a compress/decompress CPU load.  I guess 
the point of starting to thrash the on-disk swap trying to free RAM may start 
sooner, since RAM which would otherwise be available for the single 
prioritised compilation job is now being used by zswap.  So, there would be a 
sweet spot in using zswap to improve I/O performance, but it could end up 
becoming a disbenefit on compilation of RAM hungry packages.

Please correct my reasoning above if I have misunderstood how zswap works.

However, the OP problem here seems to be with a leaky BIND?

I found this mentioned upstream - but have not check BGO:

https://gitlab.isc.org/isc-projects/bind9/-/issues/446
 

> If you want to see which processes are using the most memory, run top then
> type 'M' to have top sort by memory instead of CPU. You can also type 'm'
> to make top show the memory numbers as an ascii bar graph. The man page
> explains what VIRT RES SHR mean.



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Machine hangs up with out of memory

2021-05-01 Thread Adam Carter
On Fri, Apr 30, 2021 at 8:09 PM Michael  wrote:

> On Friday, 30 April 2021 02:30:51 BST Adam Carter wrote:
> > On Wed, Apr 28, 2021 at 7:58 PM Kai Peter  wrote:
> > > Hi,
> > >
> > > I have an issue with a machine where I'm not able to detect the real
> > > root cause. It hangs up totally. It seems like it was running out of
> > > memory - but why? Hopefully somebody can give me some insight. As far I
> > > can see right now, it hangs up a few hours after an `emerge --update
> > > --newuse --deep --with-bdeps=y @world`.
> > >
> > > The machine is an Intel Atom with 8 GB RAM (physical, max) and 24 GB
> > > swap (a file). So 32 GB RAM in total.
> >
> > Might be worth adding zswap using zstd or lz4 to your config (uses more
> CPU
> > for less IO)
> > https://www.kernel.org/doc/html/latest/vm/zswap.html
>
> Zswap will help optimise the swapping of cold pages out of RAM into the
> compressed zswap cache and eventually push these out to the disk.  This
> won't
> help with the problem of not having enough RAM to start with for compiling
> packages with large resource requirements, like e.g. Chromium.
>

Yep, but the system is already at its full RAM, so we're in
workaround/tactical solution territory. Any system that needs 24gig swap to
support 8gig ram is going to really suck.

>
> With monster packages where more RAM is needed even for a single
> compilation
> job, after all cold pages have been swapped out, hot pages will start
> being
> swapped out/in.  I think at this point the same I/O race condition will
> ensue
> as if no zswap were available, plus a compress/decompress CPU load.  I
> guess
> the point of starting to thrash the on-disk swap trying to free RAM may
> start
> sooner, since RAM which would otherwise be available for the single
> prioritised compilation job is now being used by zswap.  So, there would
> be a
> sweet spot in using zswap to improve I/O performance, but it could end up
> becoming a disbenefit on compilation of RAM hungry packages.
>
> Please correct my reasoning above if I have misunderstood how zswap works.
>

What you've said sounds reasonable to me.


Re: [gentoo-user] How to compress lots of tarballs

2021-09-28 Thread Peter Humphrey
On Tuesday, 28 September 2021 12:38:42 BST Rich Freeman wrote:

> You keep mentioning USB3, but I think the main factor here is that the
> external drive is probably a spinning hard drive (I don't think you
> explicitly mentioned this but it seems likely esp with the volume of
> data).  That math works out to 78MB/s.  Hard drive transfer speeds
> depend on the drive itself and especially whether there is more than
> one IO task to be performed, so I can't be entirely sure, but I'm
> guessing that the USB3 interface itself is having almost no adverse
> impact on the transfer rate.

I'm sure you're right Rich, and yes, this is 2.5" drive. I'm seeing about 
110MB/s reading from USB feeding into zstd.

> The main thing to avoid is doing other sustained read/writes from the
> drive at the same time.

Quite so.

> It looks like you ended up doing the bulk of the compression on an
> SSD, and obviously those don't care nearly as much about IOPS.

Yes, input from USB and output to SSD.

> I've been playing around with lizardfs for bulk storage and found that
> USB3 hard drives actually work very well, as long as you're mindful
> about what physical ports are on what USB hosts and so on.  A USB3
> host can basically handle two hard drives with no loss of performance.
> I'm not dealing with a ton of IO though so I can probably stack more
> drives with pretty minimal impact unless there is a rebuild (in which
> case the gigabit ethernet is probably still the larger bottleneck).
> Even a Raspberry Pi 4 has two USB3 hosts, which means you could stack
> 4 hard drives on one and get basically the same performance as SATA.
> When you couple that with the tendency of manufacturers to charge less
> for USB3 drives than SATA drives of the same performance it just
> becomes a much simpler solution than messing with HBAs and so on and
> limiting yourself to hardware that can actually work with an HBA.

-- 
Regards,
Peter.






Re: [gentoo-user] Please help me understand this emerge error message.

2023-08-12 Thread Alan Mackenzie
Hello, Paul.

On Sat, Aug 12, 2023 at 11:15:05 +1000, Paul Colquhoun wrote:
> On Saturday, August 12, 2023 4:46:17 A.M. AEST Alan Mackenzie wrote:
> > Hello, Gentoo.

> > For the past couple of days, after $ emerge --sync, I've tried

> > $ emerge -auND @world

> > ..  It has come back very quickly with the error message:

> > #

> > !!! The ebuild selected to satisfy ">=net-misc/curl-7.21.5[ssl]" has unmet
> > requirements. - net-misc/curl-8.1.2::gentoo USE="adns ftp gnutls http2 imap
> > pop3 progress-meter smtp ssl tftp -alt-svc -brotli -gopher -hsts -idn
> > -kerberos -ldap -mbedtls (-nghttp3) -nss -openssl -rtmp (-rustls) -samba
> > -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd"
> > ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -gnutls -mbedtls -nss
> > (-rustls)"

> >   The following REQUIRED_USE flag constraints are unsatisfied:
> > curl_ssl_openssl? ( openssl )

> >   The above constraints are a subset of the following complete expression:
> > ssl? ( exactly-one-of ( curl_ssl_gnutls curl_ssl_mbedtls curl_ssl_nss
> > curl_ssl_openssl curl_ssl_rustls ) ) curl_ssl_gnutls? ( gnutls )
> > curl_ssl_mbedtls? ( mbedtls ) curl_ssl_nss? ( nss ) curl_ssl_openssl? (
> > openssl ) curl_ssl_rustls? ( rustls )

> > #

> > ..  I don't understand what is meant by "curl_ssl_openssl? ( openssl )" in
> > the above message.  I assume it's talking about some USE flag, but which?
> > openssl?  curl_ssl_openssl?  As a matter of interest, I have
> > =dev-libs/openssl-3.0.9-r2 installed.

> > Please help me understand what's happening.

> > Thanks for the help!


> In the USE flsgs you have: gnutls -openssl
> In the CURL_SSL flags you have: openssl -gnutls

> These 2 are contradicting each other. One says use gnutls instead of openssl, 
> the other says no, use openssl instead of gnutls.

> Pick which option you want to use, and adjust the flags to agree on that 
> option.

Thanks, that's what I did.  I set openssl for curl (in
/etc/portage/package.use), and the problem resolved itself.

> -- 
> Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
>   Asking for technical help in newsgroups?  Read this first:
>  http://catb.org/~esr/faqs/smart-questions.html#intro

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] [OT] Anyone running mutt outboung smtp on port 587?

2024-01-21 Thread Jack

On 1/21/24 11:09, Walter Dnes wrote:

On Sun, Jan 21, 2024 at 12:05:45PM +, Michael wrote

Anyway, to take you forward you can:

1. Keyword the latest gnutls package in case the gnutls verification criteria
have been loosened.

2. Copy the Root CA into the users ~/ and point muttrc to it:

set certificate_file = "~/.mutt/certificates"

3. If everything else fails, having verified yourself the server's
Root CA and child certificates are all legit you can set:

unset ssl_verify_host

Obviously this would not be satisfactory from a security perspective.

   Nothing above works, and I wonder if it's something at my end.  I keep
getting the same message...


gnutls_handshake: A packet with illegal or unsupported version was received.

   The current net-libs/gnutls-3.8.0 ebuild (and 3.8.1 and 3.8.2) has
sslv2 and sslv3 enabled in IUSE  ...but...  "emerge -pv gnutls" shows
them hard-masked.  Is my system forcing sslv1 and the server rejecting me???

[ebuild   R] net-libs/gnutls-3.8.0:0/30.30::gentoo  USE="cxx idn nls openssl 
seccomp tls-heartbeat tools zlib -brotli -dane -doc -examples -pkcs11 (-sslv2) (-sslv3) 
-static-libs -test (-test-full) -verify-sig -zstd" 0 KiB
I'm no expert, but I think you are mixing versions of SSL and versions 
of TLS.  It seems both sslv2 and sslv3 have been deprecated, and my weak 
memory says they were replaced by TLS.  Now it looks like you are having 
problems trying to use an older TLS which has been replaced by a newer 
TLS, although there are no direct use flags for that.


   Do you get the same?  Do I have to set something in...

make menuconfig
-*- Cryptographic API  --->

   "emerge -pv mutt"

[ebuild   R] mail-client/mutt-2.2.12::gentoo  USE="debug gnutls gpgme hcache 
imap lmdb mbox nls pop sasl smtp ssl -autocrypt -berkdb -doc -gdbm -gsasl -idn -kerberos 
-pgp-classic (-prefix) -qdbm (-selinux) -slang -smime-classic -tokyocabinet 
-vanilla" 0 KiB

   I copied certificates from x.txt to .mutt/certificates (see
attachment).  Is this correct?  And how do I securely pass credentials?





Re: [gentoo-user] New profile - gentoo and binutils ...

2024-04-07 Thread Wols Lists

On 07/04/2024 13:07, Michael wrote:

On Sunday, 7 April 2024 12:04:32 BST Wols Lists wrote:

On 07/04/2024 11:48, Wols Lists wrote:

On 07/04/2024 11:23, Michael wrote:

On Sunday, 7 April 2024 11:21:00 BST Wols Lists wrote:

On 07/04/2024 11:00, Wols Lists wrote:

What do I do here - "emerge binutils" (step 9) wants to emerge gcc,
which the instructions say "emerge AFTER binutils".

With gcc it says "don't let it emerge glibc", should I apply the same
logic and not let binutils emerge gcc?


Just to follow up to myself, I've just done a complete update, but a lot
of the dependencies are pulled in by "change-use", namely lzma, zstd. Is
that fallout from the XZ debacle? Would a --no-deps be safe?

Cheers,
Wol


Are you still on your original profile, or have you used eselect to
change it
to profile 23.0?

If the latter, change back to your old profile, update @world,
depclean and
then start with the rest of the migration instructions.


Just done that. See my other email.

NOTHING TO UPDATE (unless I've messed up my emerge ...)


Interesting ... just done this under the old profile ...

thewolery /usr/local/bin # emerge --ask --oneshot sys-devel/binutils

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

Calculating dependencies... done!
Dependency resolution took 3.19 s (backtrack: 0/20).


Nothing to merge; quitting.

Cheers,
Wol



Hmm ... something is amiss with your system.  Normally you would get this:

# emerge --ask --oneshot sys-devel/binutils

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

Calculating dependencies... done!
Dependency resolution took 1.30 s (backtrack: 0/20).

[ebuild   R] sys-devel/binutils-2.41-r5

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

Did you emerge any packages using the new 23.0 profile, then went back to the
old profile to run the above command?


No ...

Ummm ... I have had trouble emerging other stuff that didn't want to 
work with oneshot ...


Let me look at my make.conf - I had to over-ride something to get 
vbox-modules to emerge, this is probably the same thing ...


Yup - as soon as I comment the EMERGE_DEFAULT_OPTS out I get it asking 
me if I want to emerge binutils.


# EMERGE_DEFAULT_OPTS = "--buildpkg --deep --newuse --oneshot --usepkg"

So I'm doing an emerge @world now with the old profile ...

Cheers,
Wol



Re: [gentoo-user] New profile - gentoo and binutils ...

2024-04-07 Thread Michael
On Sunday, 7 April 2024 12:04:32 BST Wols Lists wrote:
> On 07/04/2024 11:48, Wols Lists wrote:
> > On 07/04/2024 11:23, Michael wrote:
> >> On Sunday, 7 April 2024 11:21:00 BST Wols Lists wrote:
> >>> On 07/04/2024 11:00, Wols Lists wrote:
> >>>> What do I do here - "emerge binutils" (step 9) wants to emerge gcc,
> >>>> which the instructions say "emerge AFTER binutils".
> >>>> 
> >>>> With gcc it says "don't let it emerge glibc", should I apply the same
> >>>> logic and not let binutils emerge gcc?
> >>> 
> >>> Just to follow up to myself, I've just done a complete update, but a lot
> >>> of the dependencies are pulled in by "change-use", namely lzma, zstd. Is
> >>> that fallout from the XZ debacle? Would a --no-deps be safe?
> >>> 
> >>> Cheers,
> >>> Wol
> >> 
> >> Are you still on your original profile, or have you used eselect to
> >> change it
> >> to profile 23.0?
> >> 
> >> If the latter, change back to your old profile, update @world,
> >> depclean and
> >> then start with the rest of the migration instructions.
> > 
> > Just done that. See my other email.
> > 
> > NOTHING TO UPDATE (unless I've messed up my emerge ...)
> 
> Interesting ... just done this under the old profile ...
> 
> thewolery /usr/local/bin # emerge --ask --oneshot sys-devel/binutils
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> Dependency resolution took 3.19 s (backtrack: 0/20).
> 
> 
> Nothing to merge; quitting.
> 
> Cheers,
> Wol


Hmm ... something is amiss with your system.  Normally you would get this:

# emerge --ask --oneshot sys-devel/binutils

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

Calculating dependencies... done!
Dependency resolution took 1.30 s (backtrack: 0/20).

[ebuild   R] sys-devel/binutils-2.41-r5 

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

Did you emerge any packages using the new 23.0 profile, then went back to the 
old profile to run the above command?

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Long boot time after kernel update

2021-12-27 Thread Rich Freeman
On Mon, Dec 27, 2021 at 8:46 AM Wols Lists  wrote:
>
> On 27/12/2021 13:40, Michael wrote:
> > On Monday, 27 December 2021 11:32:39 GMT Wols Lists wrote:
> >> On 27/12/2021 11:07, Jacques Montier wrote:
> >>> Well, i don't know if my partitions are aligned or mis-aligned... How
> >>> could i get it ?
> >>
> >> fdisk would have spewed a bunch of warnings. So you're okay.
> >>
> >> I'm not sure of the details, but it's the classic "off by one" problem -
> >> if there's a mismatch between the kernel block size and the disk block
> >> size any writes required doing a read-update-write cycle which of course
> >> knackered performance. I had that hit a while back.
> >>
> >> But seeing as fdisk isn't moaning, that isn't the problem ...
> >>
> >> Cheers,
> >> Wol
> >
> > I also thought of misaligned boundaries when I first saw the error, but the
> > mention of Seagate by the OP pointed me to another edge case which crept up
> > with zstd compression on ZFS.  I'm mentioning it here in case it is 
> > relevant:
> >
> > https://livelace.ru/posts/2021/Jul/19/unaligned-write-command/
> >
> that might be of interest to me ... I'm getting system lockups but it's
> not an SSD. I've got two IronWolves and a Barracuda.
>
> But I notice the OP has a Barra*C*uda. Note the different spelling.
> That's a shingled drive I believe, which shouldn't make a lot of
> difference in light usage, but you don't want to hammer it!

I've run into this issue and I've seen rare reports of it online, but
no sign of resolution.  I'm pretty sure it is some sort of bug in the
kernel.  I've tended to see it under load, and mostly when using zfs.
I do not use zstd compression and do not have any zvols on the pools
that had this issue.  So, either there are multiple problems, or that
linked post did not correctly identify the root cause (which seems
likely).  I'm guessing it is triggered under load and perhaps using
zstd compression helps create that load.

I haven't seen it much lately - probably because I've shifted a lot of
my load to lizardfs and also I'm using USB3 hard drives for the bulk
of my storage and since these seem to be ATA errors the removal of the
SATA host and associated drivers may bypass the problem.

I doubt this has anything to do with physical/logical sector size and
partition alignment.  The disks should still work correctly if the
physical sectors aren't aligned - they should just have performance
degradation.  In any case, all my drives are aligned on physical
sector boundaries.  I'm not familiar enough with ATA to understand
what the actual errors are referring to.

Here is an example of one of the errors I've had in the past from one
of these situations.  A zpool scrub usually clears up any damage and
then the drive works normally until the issue happens again (which
hasn't happened in quite a while for me now).  I have a dump of the
SMART logs and the kernel ring buffer:

ATA Error Count: 1
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 1 occurred at disk power-on lifetime: 12838 hours (534 days + 22 hours)
  When the command that caused the error occurred, the device was
active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 e0 88 cc c3 06  Error: ICRC, ABRT at LBA = 0x06c3cc88 = 113495176

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --    
  61 00 c0 68 cb c3 40 08   2d+00:45:18.962  WRITE FPDMA QUEUED
  60 00 b8 98 67 00 40 08   2d+00:45:18.917  READ FPDMA QUEUED
  60 00 b0 98 65 00 40 08   2d+00:45:18.916  READ FPDMA QUEUED
  60 00 a8 98 66 00 40 08   2d+00:45:18.916  READ FPDMA QUEUED
  61 00 a0 68 ca c3 40 08   2d+00:45:18.879  WRITE FPDMA QUEUED

[354064.268896] ata6.00: exception Emask 0x11 SAct 0x100 SErr
0x48 action 0x6 frozen
[354064.268907] ata6.00: irq_stat 0x4808, interface fatal error
[354064.268910] ata6: SError: { 10B8B Handshk }
[354064.268915] ata6.00: failed command: WRITE FPDMA QUEUED
[354064.268919] ata6.00: cmd 61/00:c0:68:cb:c3/07:00:06:01:00/40 tag
24 ncq dma 917504 out
 res 50/00:00:68:cb:c3/00:07:06:

Re: [gentoo-user] System crash on "Detecting C compiler ABI info"

2024-04-05 Thread Paul Sopka

On 05.04.24 00:55, Michael wrote:

Your toolchain is now correct.  Can you show the output of:

equery u media-libs/libjpeg-turbo

and

emerge --info media-libs/libjpeg-turbo

However, it could be this is a bug, you can check here for reports:

https://bugs.gentoo.org/buglist.cgi?quicksearch=media-libs%2Flibjpeg-turbo

If this is the only package you're getting a problem with, you can run:

emerge --resume --skipfirst

to complete your migration to profile 23.0, then try again to emerge libjpeg-
turbo on its own.


Unfortunately I have this issue with many packages.

I can confirm it with media-libs/libjpeg-turbo:

 * Found these USE flags for media-libs/libjpeg-turbo-3.0.2:
 U I
 + + abi_x86_32  : 32-bit (x86) libraries
 - - java    : Add support for Java
 - - static-libs : Build static versions of dynamic libraries as well

and dev-util/vulkan-headers as well as sci-libs/netcdf:

 * Found these USE flags for sci-libs/netcdf-4.9.2-r1:
 U I
 - - blosc    : Allow using blosc compression via dev-libs/c-blosc
 + + bzip2    : Enable bzip2 compression support
 + - dap  : Support for remote data access with the built-in 
OPeNDAP client
 - - doc  : Add extra documentation (API, Javadoc, etc). It is 
recommended to enable per package instead of globally

 - - examples : Install examples, usually source code
 - - hdf  : Build with HDF4 read capability(sci-libs/hdf, 
sci-libs/hdf5 and sys-libs/zlib required).

 + - hdf5 : Add support for the Hierarchical Data Format v5
 - - mpi  : Add MPI (Message Passing Interface) layer to the apps 
that support it

 - - szip : Use the szip compression library
 - - test : Enable dependencies and/or preparations necessary to 
run tests (usually controlled by FEATURES=test but can be toggled 
independently)

 + + zstd : Enable support for ZSTD compression

My emerge --info media-libs/libjpeg-turbo:

Portage 3.0.63 (python 3.11.8-final-0, default/linux/amd64/23.0, gcc-13, 
glibc-2.39-r2, 6.8.2-gentoo x86_64)

=
 System Settings
=
System uname: 
Linux-6.8.2-gentoo-x86_64-13th_Gen_Intel-R-_Core-TM-_i5-13600KF-with-glibc2.39

KiB Mem:    32699852 total,  27956992 free
KiB Swap:  0 total, 0 free
Timestamp of repository gentoo: Thu, 04 Apr 2024 18:19:20 +
Head commit of repository gentoo: 45b6803c7d0c2f6e0bbb7247385e9a3095dc172b

Timestamp of repository guru: Thu, 04 Apr 2024 17:48:38 +
Head commit of repository guru: ae5669fdb3157526d19cdfab0661a2719f00170b

Timestamp of repository steam-overlay: Thu, 04 Apr 2024 01:22:27 +
Head commit of repository steam-overlay: 
aca6eb772e0d5474b6d44072998af0082f36d08a


Timestamp of repository wayland-desktop: Thu, 04 Apr 2024 01:22:35 +
Head commit of repository wayland-desktop: 
559692d775352c785aecfec52d940f20f5c9b800


sh dash 0.5.12
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:    1.3.7::gentoo
app-shells/bash:   5.2_p26::gentoo
dev-build/autoconf:    2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:    1.16.5-r2::gentoo
dev-build/cmake:   3.29.0::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make:    4.4.1-r1::gentoo
dev-build/meson:   1.4.0-r1::gentoo
dev-java/java-config:  2.3.3-r1::gentoo
dev-lang/perl: 5.38.2-r2::gentoo
dev-lang/python:   3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin: 1.76.0::gentoo
sys-apps/baselayout:   2.15::gentoo
sys-apps/openrc:   0.53.1::gentoo
sys-apps/sandbox:  2.38::gentoo
sys-devel/binutils:    2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:   17.0.6::gentoo, 18.1.2::gentoo
sys-devel/gcc: 13.2.1_p20240210::gentoo
sys-devel/gcc-config:  2.11::gentoo
sys-devel/lld: 17.0.6::gentoo
sys-devel/llvm:    17.0.6::gentoo, 18.1.2::gentoo
sys-kernel/linux-headers:  6.8-r1::gentoo (virtual/os-headers)
sys-libs/glibc:    2.39-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

wayland-desktop
    location: /var/db/repos/wayland-desktop
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
    masters: gentoo
    volatile: False

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: 
https

[gentoo-user] what's wrong with my USE= statement in /etc/portage/make.conf?

2020-10-18 Thread Jude DaShiell
It produced many errors when I tried to emerge @world.

Script started on 2020-10-18 15:02:00-04:00 [TERM="linux" TTY="/dev/tty1" 
COLUMNS="80" LINES="25"]
livecd /etc/portage # cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="--march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j9"
ACCEPTLICENSE="@EULA"
USE="a52 aac acpi accessibility alsa audiofile calendar cdda cdr crypt css 
debug dvdr espeak ffmpeg fftw flac fortran ftp git imap ipv6 mad mp3 mp4 mpeg 
mplayer mtp multilib mysql mysqli ncurses nntp ogg openal opus pcre pda pdf 
perl php pie plotutils portaudio posix postgres -pulseaudio python quicktime 
readline recode rss ruby sasl seccomp slang smp sndfile snmp sockets sound sox 
speex spell sqlite ssl static-libs subversion symlink syslog szip taglib tcl 
tcmalloc tcpd telemetry test threads tidy timidity udev udisks unicode unwind 
upnp upnp-av usb v4l vaapi vcd vdpau verify-sig videos vim-syntax vorbis 
wavpack wifi x264 xattr xml zip xv xvid zlib zstd"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ 
http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo 
https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ 
http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ 
http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ 
rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo 
http://gentoo.cs.utah.edu/;

livecd /etc/portage # emerge --ask --verbose --update 
--deep --newuse @world

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

Calculating dependencies   - / | / / \ \ | \ \ / | 
| / | - / | / / | - - - \ \ | \ \ | - \ 
\ \ |... done!

!!! The ebuild selected to satisfy 
"sys-auth/polkit" has unmet 
requirements.
- sys-auth/polkit-0.116-r1::gentoo USE="introspection 
nls pam test 
-elogind -examples 
-gtk -jit -kde 
(-selinux) -systemd" 
ABI_X86="(64)"

  The following REQUIRED_USE flag constraints are unsatisfied:
exactly-one-of ( elogind systemd )

(dependency required by 
"sys-auth/elogind-243.7::gentoo[policykit]" [ebuild])
(dependency required by 
"sys-auth/pambase-20201013::gentoo[elogind]" [ebuild])
(dependency required by "sys-libs/pam-1.4.0_p20200829::gentoo" 
[ebuild])
(dependency required by "sys-auth/passwdqc-1.4.0-r1::gentoo" 
[ebuild])
livecd /etc/portage # exit
exit

Script done on 2020-10-18 15:02:45-04:00 [COMMAND_EXIT_CODE="1"]

-- 




Re: [gentoo-user] cannot emerge --config sys-lib/timezone-data yet

2020-10-18 Thread Jude DaShiell
Hi, I found that quote on the first line and was wondering if that was
correct format or if my fat fingers made that happen.  Apparently my fat
fingers, thanks!

On Sun, 18 Oct 2020, Todd Goodman wrote:

> Date: Sun, 18 Oct 2020 09:23:22
> From: Todd Goodman 
> Reply-To: gentoo-user@lists.gentoo.org
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] cannot emerge --config sys-lib/timezone-data yet
>
> The very first line has a single quote as the first character
>
> On 10/18/2020 9:19 AM, Jude DaShiell wrote:
> > Apparently a missing quote in /etc/portage/make.conf but I can't find
> > where that would be now.
> >
> > '# These settings were set by the catalyst build script that automatically
> > # built this stage.
> > # Please consult /usr/share/portage/config/make.conf.example for a more
> > # detailed example.
> > COMMON_FLAGS="--march=native -O2 -pipe"
> > CFLAGS="${COMMON_FLAGS}"
> > CXXFLAGS="${COMMON_FLAGS}"
> > FCFLAGS="${COMMON_FLAGS}"
> > FFLAGS="${COMMON_FLAGS}"
> > MAKEOPTS="-j9"
> > ACCEPTLICENSE="@EULA"
> > USE="x a52 aac acpi accessibility alsa audiofile calendar cdda cdr cracklib
> > crypt css dbus debug dvdr espeak ffmpeg fftw flac fortran ftp git gnome gtk
> > gui imap ipv6 mad mp3 mp4 mpeg mplayer mtp multilib mysql mysqli ncurses
> > nntp nsplugin offensive ogg openal opus pcre pda pdf perl php pie plotutils
> > policykit portaudio posix postgres -pulseaudio python qt4 qt5 quicktime
> > readline recode rss ruby sasl seccomp slang smp sndfile snmp sockets sound
> > sox speex spell sqlite ssl startup-notification static-libs subversion
> > symlink syslog szip taglib tcl tcmalloc tcpd telemetry test threads tidy
> > timidity udev udisks unicode unwind upnp upnp-av usb v4l vaapi vcd vdpau
> > verify-sig videos vim-syntax vorbis wavpack -wayland wifi wxwidgets x264
> > xattr xcomposite xemacs xml zip xv xvid zlib zstd"
> >
> > # NOTE: This stage was built with the bindist Use flag enabled
> > PORTDIR="/var/db/repos/gentoo"
> > DISTDIR="/var/cache/distfiles"
> > PKGDIR="/var/cache/binpkgs"
> >
> > # This sets the language of build output to English.
> > # Please keep this setting intact when reporting bugs.
> > LC_MESSAGES=C
> >
> > GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/
> > http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo
> > https://gentoo.osuosl.org/ http://gentoo.osuosl.org/
> > http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/
> > http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/
> > rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo
> > http://gentoo.cs.utah.edu/;
> >
> >
>
>
>

-- 




[gentoo-user] systemd install attempt busybox and pam are fighting

2020-11-13 Thread Jude DaShiell
What can I do to clear this conflict?

Script started on 2020-11-13 17:35:37-05:00 [TERM="linux" TTY="/dev/tty1" 
COLUMNS="128" LINES="48"]
livecd /etc # emerge -AabDN @world

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

Calculating dependencies

!!! Problem resolving dependencies for sys-apps/busybox from @system
... done!

!!! The ebuild selected to satisfy "sys-apps/busybox" has unmet requirements.
- sys-apps/busybox-1.32.0-r1::gentoo USE="ipv6 pam static systemd -debug 
-livecd -make-symlinks -math -mdev -savedconfig (-selinux) -sep-usr -syslog" 
ABI_X86="(64)"

  The following REQUIRED_USE flag constraints are unsatisfied:
pam? ( !static )

(dependency required by "@system" [set])
(dependency required by "@world" [argument])
livecd /etc # cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
ACCEPT_LICENSE="* -@EULA"
USE="mmx sse sse2 accessibility acl apparmor audit build cgroup-hybrid 
cryptsetup curl dns-over-tls elfutils gcrypt homed http hwdb idn importd kmod 
lz4 lzma nat pam pcre pkcs policykit pwquality qrcode repart resolvconf seccomp 
selinux static-libs sysv-utils systemd test vanilla xkb zstd -qt3 -qt4 gtk3 
nsplugin -kerberos flac ogg -pulseaudio -consolekit systemd -libav -wayland"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ 
http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo 
https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ 
http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ 
http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ 
rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo 
http://gentoo.cs.utah.edu/;
CPU_FLAGS_X86="aes avx f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 
sse4_1 sse4_2 sse4a ssse3 xop"
PHP_TARGETS="php7-4 php7-3"
EMERGE_DEFAULT_OPTS="--ask --color=n --verbose --nospinner --quiet-build=n 
--backtrack=200"
ACCEPT_KEYWORDS="~x86 ~amd64"
PORT_LOGDIR="/var/log/portage"
portage_ELOG_SYSTEM="save  save_summary"
VIDEO_CARDS="nouveau"
MAILMAN_MAILGID=2
FEATURES="${FEATURES} -stricter -distcc -ccache splitdebug buildpkg "
PORTDIR_OVERLAY=/usr/local/portage
GCPAN_OVERLAY=/usr/local/portage
PHP_INI_VERSION="production"
GCC_COLORS=""

livecd /etc # exit
exit

Script done on 2020-11-13 17:36:19-05:00 [COMMAND_EXIT_CODE="0"]

-- 
United States has 633 Billionaires with only 10 doing any annual
significant giving.




Re: [gentoo-user] QEMU not running on new machine

2021-05-26 Thread Branko Grubić
On Wed, 2021-05-26 at 12:50 -0400, Walter Dnes wrote:
>   With my older machine locking up once too often at in-opportune
> times,
> I've switched over to a newer machine, which I've tried to set up
> identically.  QEMU is not laumching.  It worked on the older system.
> The error message is...
> 
> [x8940][waltdnes][~] /home/misc/qemu/arca/boot
> Could not access KVM kernel module: No such file or directory
> qemu-system-x86_64: failed to initialize kvm: No such file or directory
> 
>   My user is a member of the kvm group, and I get the same error trying
> to launch as root
> 
> My system...
> 
> * 12-core Intel Skylake with 16 gigs of ram, 64-bit gentoo
> 
> * Yes, KVM support is installed in the kernel...
> [x8940][waltdnes][~] zgrep KVM_INTEL /proc/config.gz 
> CONFIG_KVM_INTEL=y
> 
> * make.conf contains
> QEMU_SOFTMMU_TARGETS="i386 x86_64"
> QEMU_USER_TARGETS="i386 x86_64"
> 
> * including flags in package.use, I get
> [x8940][waltdnes][/etc/portage/package.use] emerge -pv qemu
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R    ] app-emulation/qemu-5.2.0-r3::gentoo  USE="aio alsa
> bzip2 curl doc fdt gtk jpeg opengl oss png sdl slirp ssh usb vhost-net
> vnc -accessibility -caps (-capstone) -debug -filecaps -glusterfs -
> gnutls -infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath -
> ncurses -nfs -nls -numa -pin-upstream-blobs -plugins -pulseaudio -
> python -rbd -sasl -sdl-image -seccomp (-selinux) -smartcard -snappy -
> spice -static -static-user -systemtap -test -udev -usbredir -vde -
> vhost-user-fs -virgl -virtfs -vte -xattr -xen -xfs -zstd"
> PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
> QEMU_SOFTMMU_TARGETS="i386 x86_64 -aarch64 -alpha -arm -avr -cris -hppa
> -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -
> moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb
> -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb"
> QEMU_USER_TARGETS="i386 x86_64 -aarch64 -aarch64_be -alpha -arm -armeb
> -cris -hppa -m68k -microblaze -microblazeel -mips -mips64 -mips64el -
> mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -
> ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -
> sparc64 -tilegx -xtensa -xtensaeb" 0 KiB
> 
> * The startup script is...
> 
> [x8940][waltdnes][~] cat /home/misc/qemu/arca/boot
> #!/bin/bash
> cd /home/misc/qemu/arca
> sudo /usr/bin/qemu-system-x86_64 -enable-kvm -runas waltdnes \
>    -cpu host -monitor vc -display gtk \
>    -drive file=arcac.img,format=raw \
>    -netdev user,id=mynetwork \
>    -device e1000,netdev=mynetwork \
>    -rtc base=localtime,clock=host \
>    -m 1024 -name "ArcaOS VM" \
>    -vga std -parallel none \
>    ${@}
> 
>   I repeat. it worked on the older machine.
> 

Hi,

What comes to my mind is actually describe in here[1]. Possibly
virtualization is disabled in BIOS/Firmware.


[1] https://wiki.gentoo.org/wiki/QEMU#BIOS_and_UEFI_firmware




[gentoo-user] QEMU not running on new machine

2021-05-26 Thread Walter Dnes
  With my older machine locking up once too often at in-opportune times,
I've switched over to a newer machine, which I've tried to set up
identically.  QEMU is not laumching.  It worked on the older system.
The error message is...

[x8940][waltdnes][~] /home/misc/qemu/arca/boot
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize kvm: No such file or directory

  My user is a member of the kvm group, and I get the same error trying
to launch as root

My system...

* 12-core Intel Skylake with 16 gigs of ram, 64-bit gentoo

* Yes, KVM support is installed in the kernel...
[x8940][waltdnes][~] zgrep KVM_INTEL /proc/config.gz 
CONFIG_KVM_INTEL=y

* make.conf contains
QEMU_SOFTMMU_TARGETS="i386 x86_64"
QEMU_USER_TARGETS="i386 x86_64"

* including flags in package.use, I get
[x8940][waltdnes][/etc/portage/package.use] emerge -pv qemu

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

Calculating dependencies... done!
[ebuild   R] app-emulation/qemu-5.2.0-r3::gentoo  USE="aio alsa bzip2 curl 
doc fdt gtk jpeg opengl oss png sdl slirp ssh usb vhost-net vnc -accessibility 
-caps (-capstone) -debug -filecaps -glusterfs -gnutls -infiniband -io-uring 
-iscsi -jack -jemalloc -lzo -multipath -ncurses -nfs -nls -numa 
-pin-upstream-blobs -plugins -pulseaudio -python -rbd -sasl -sdl-image -seccomp 
(-selinux) -smartcard -snappy -spice -static -static-user -systemtap -test 
-udev -usbredir -vde -vhost-user-fs -virgl -virtfs -vte -xattr -xen -xfs -zstd" 
PYTHON_TARGETS="python3_8 -python3_7 -python3_9" QEMU_SOFTMMU_TARGETS="i386 
x86_64 -aarch64 -alpha -arm -avr -cris -hppa -lm32 -m68k -microblaze 
-microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 
-riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 
-xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 -aarch64 -aarch64_be -alpha 
-arm -armeb -cris -hppa -m68k -microblaze -microblazeel -mips -mips64 -mips64el 
-mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le 
-riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx 
-xtensa -xtensaeb" 0 KiB

* The startup script is...

[x8940][waltdnes][~] cat /home/misc/qemu/arca/boot
#!/bin/bash
cd /home/misc/qemu/arca
sudo /usr/bin/qemu-system-x86_64 -enable-kvm -runas waltdnes \
   -cpu host -monitor vc -display gtk \
   -drive file=arcac.img,format=raw \
   -netdev user,id=mynetwork \
   -device e1000,netdev=mynetwork \
   -rtc base=localtime,clock=host \
   -m 1024 -name "ArcaOS VM" \
   -vga std -parallel none \
   ${@}

  I repeat. it worked on the older machine.

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



Re: [gentoo-user] Looking for other Seamonkey users

2021-04-08 Thread Dale
Dan Egli wrote:
> On 4/7/2021 2:34 AM, Dale wrote:
>
>> root@fireball / # emerge -av dovecot
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies... done!
>> [ebuild  N ] acct-group/dovecot-0-r1::gentoo  0 KiB
>> [ebuild  N ] acct-group/dovenull-0-r1::gentoo  0 KiB
>> [ebuild  N ] acct-user/dovecot-0-r1::gentoo  0 KiB
>> [ebuild  N ] acct-user/dovenull-0-r1::gentoo  0 KiB
>> [ebuild  N ] net-mail/dovecot-2.3.13-r100::gentoo  USE="bzip2 ipv6
>> lzma mysql pam sqlite tcpd zlib -argon2 -caps -doc -kerberos -ldap
>> (-libressl) -lua -lucene -lz4 -managesieve -postgres -rpc (-selinux)
>> -sieve -solr -static-libs -suid -textcat -unwind -zstd"
>> LUA_SINGLE_TARGET="lua5-1 -lua5-2 -lua5-3" 7,282 KiB
>>
>> Total: 5 packages (5 new), Size of downloads: 7,282 KiB
>>
>> Would you like to merge these packages? [Yes/No]
>>
>>
>> I suspect I need to install some other packages to make certain things
>> work.  Then again, maybe they already installed??  Some may recall that
>> cron jobs sent emails so it has to have packages installed for that.
>> The guide I linked to elsewhere has USE flags not listed above.  It may
>> be out of date.  It does say not to use it for older 1.* versions of
>> Dovecot tho.  Just trying to see what I'm getting into here.  I think
>> this is a really good idea but want to see how deep the water is before
>> jumping in.  I can't swim, well, I do, like a lead rock.  :/
>>
>
> My config is more advanced since my dovecot has to talk to both MySQL
> and LDAP databases, and to support compressed messages. So the use
> flags I put on for 2.3.13-r100 are:
> bzip2 doc ipv6 ldap lua lz4 lzma managesieve mysql pam rpc selinux
> sieve sqlite zlib ztd
>
>
>


I been trying to find a up to date guide on this.  I'm not having much
luck.  I tried the Dovecot site but they seem to cater to people wanting
a space ship going to Mars or something.  Does anyone have a link to a
simple guide I can follow?  The ones I found talk about options that
don't even exist.  They are for the 2.* version but seem to be out of
date never the less.  Even the Gentoo wiki one I found has a part that
is out of date, says so above it.  I missed out on the squirrel.  :/  I
think I'm missing the part that I can access it with a GUI, like when I
go to mail.google.com or something. 

Any links would be nice.  At this point, it's emerged, I'm clueless from
there.  I don't even know how to access it to see if it is even running,
other than ps showing it. 

Dale

:-)  :-) 



Re: [gentoo-user] Long boot time after kernel update

2021-12-27 Thread Dale
Wols Lists wrote:
> On 27/12/2021 13:40, Michael wrote:
>> On Monday, 27 December 2021 11:32:39 GMT Wols Lists wrote:
>>> On 27/12/2021 11:07, Jacques Montier wrote:
>>>> Well, i don't know if my partitions are aligned or mis-aligned... How
>>>> could i get it ?
>>>
>>> fdisk would have spewed a bunch of warnings. So you're okay.
>>>
>>> I'm not sure of the details, but it's the classic "off by one"
>>> problem -
>>> if there's a mismatch between the kernel block size and the disk block
>>> size any writes required doing a read-update-write cycle which of
>>> course
>>> knackered performance. I had that hit a while back.
>>>
>>> But seeing as fdisk isn't moaning, that isn't the problem ...
>>>
>>> Cheers,
>>> Wol
>>
>> I also thought of misaligned boundaries when I first saw the error,
>> but the
>> mention of Seagate by the OP pointed me to another edge case which
>> crept up
>> with zstd compression on ZFS.  I'm mentioning it here in case it is
>> relevant:
>>
>> https://livelace.ru/posts/2021/Jul/19/unaligned-write-command/
>>
> that might be of interest to me ... I'm getting system lockups but
> it's not an SSD. I've got two IronWolves and a Barracuda.
>
> But I notice the OP has a Barra*C*uda. Note the different spelling.
> That's a shingled drive I believe, which shouldn't make a lot of
> difference in light usage, but you don't want to hammer it!
>
> Cheers,
> Wol
>
>

I don't recall seeing this mentioned but this may be part of the issue
unless I'm missing something that rules this out.  Could it be a drive
is a SMR drive?  I recently made a new backup after wiping out the
drive.  I know the backup drive is a SMR drive.  At first, it copied at
a fairly normal speed but after a short time frame, it started slowing
down.  At times, it would do only about 50 to 60MBs/sec.  It started out
at well over 100MBs/sec which is fairly normal for this rig.  I would
stop the copy process, let it catch up and restart just to give it some
time to process.  I can't say it was any faster that way tho. 

The way I noticed my drive was SMR, I could feel the heads going back
and forth by putting my hand on the enclosure.  It had a bumpy feel to
it.  You can't really hear it tho.  If you can feel those little bumps
even when the drive isn't mounted, I'd be thinking it is a SMR drive. 
There are also sites that you can look this sort of thing up on too.  If
needed, I can go dig out some links. 

Just thought it worth a mention.

Dale

:-)  :-) 



Re: [gentoo-user] Long boot time after kernel update

2021-12-28 Thread William Kenworthy
A point to keep in mind - if you can feel the drive moving it may be 
generating errors!  Depending on the drive, the errors may just be 
handled internally and I can see it slowing things down though probably 
would be barely noticeable.  I have seen it myself with random errors 
from a WD green drive disappearing when properly immobilised.  When 
investigating I ran across articles discussing the problem, one of which 
fastened the drives to a granite slab for tests!  Also see discussions 
on NAS seups and vibrations affecting co located drives.


BillK

** Interesting read 
https://www.ept.ca/features/everything-need-know-hard-drive-vibration/



On 27/12/21 22:15, Dale wrote:

Wols Lists wrote:

On 27/12/2021 13:40, Michael wrote:

On Monday, 27 December 2021 11:32:39 GMT Wols Lists wrote:

On 27/12/2021 11:07, Jacques Montier wrote:

Well, i don't know if my partitions are aligned or mis-aligned... How
could i get it ?

fdisk would have spewed a bunch of warnings. So you're okay.

I'm not sure of the details, but it's the classic "off by one"
problem -
if there's a mismatch between the kernel block size and the disk block
size any writes required doing a read-update-write cycle which of
course
knackered performance. I had that hit a while back.

But seeing as fdisk isn't moaning, that isn't the problem ...

Cheers,
Wol

I also thought of misaligned boundaries when I first saw the error,
but the
mention of Seagate by the OP pointed me to another edge case which
crept up
with zstd compression on ZFS.  I'm mentioning it here in case it is
relevant:

https://livelace.ru/posts/2021/Jul/19/unaligned-write-command/


that might be of interest to me ... I'm getting system lockups but
it's not an SSD. I've got two IronWolves and a Barracuda.

But I notice the OP has a Barra*C*uda. Note the different spelling.
That's a shingled drive I believe, which shouldn't make a lot of
difference in light usage, but you don't want to hammer it!

Cheers,
Wol



I don't recall seeing this mentioned but this may be part of the issue
unless I'm missing something that rules this out.  Could it be a drive
is a SMR drive?  I recently made a new backup after wiping out the
drive.  I know the backup drive is a SMR drive.  At first, it copied at
a fairly normal speed but after a short time frame, it started slowing
down.  At times, it would do only about 50 to 60MBs/sec.  It started out
at well over 100MBs/sec which is fairly normal for this rig.  I would
stop the copy process, let it catch up and restart just to give it some
time to process.  I can't say it was any faster that way tho.

The way I noticed my drive was SMR, I could feel the heads going back
and forth by putting my hand on the enclosure.  It had a bumpy feel to
it.  You can't really hear it tho.  If you can feel those little bumps
even when the drive isn't mounted, I'd be thinking it is a SMR drive.
There are also sites that you can look this sort of thing up on too.  If
needed, I can go dig out some links.

Just thought it worth a mention.

Dale

:-)  :-)





Re: [gentoo-user] New profile - gentoo and binutils ...

2024-04-07 Thread Wols Lists

On 07/04/2024 15:46, Wols Lists wrote:

On 07/04/2024 13:07, Michael wrote:

On Sunday, 7 April 2024 12:04:32 BST Wols Lists wrote:

On 07/04/2024 11:48, Wols Lists wrote:

On 07/04/2024 11:23, Michael wrote:

On Sunday, 7 April 2024 11:21:00 BST Wols Lists wrote:

On 07/04/2024 11:00, Wols Lists wrote:

What do I do here - "emerge binutils" (step 9) wants to emerge gcc,
which the instructions say "emerge AFTER binutils".

With gcc it says "don't let it emerge glibc", should I apply the 
same

logic and not let binutils emerge gcc?


Just to follow up to myself, I've just done a complete update, but 
a lot
of the dependencies are pulled in by "change-use", namely lzma, 
zstd. Is

that fallout from the XZ debacle? Would a --no-deps be safe?

Cheers,
Wol


Are you still on your original profile, or have you used eselect to
change it
to profile 23.0?

If the latter, change back to your old profile, update @world,
depclean and
then start with the rest of the migration instructions.


Just done that. See my other email.

NOTHING TO UPDATE (unless I've messed up my emerge ...)


Interesting ... just done this under the old profile ...

thewolery /usr/local/bin # emerge --ask --oneshot sys-devel/binutils

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

Calculating dependencies... done!
Dependency resolution took 3.19 s (backtrack: 0/20).


Nothing to merge; quitting.

Cheers,
Wol



Hmm ... something is amiss with your system.  Normally you would get 
this:


# emerge --ask --oneshot sys-devel/binutils

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

Calculating dependencies... done!
Dependency resolution took 1.30 s (backtrack: 0/20).

[ebuild   R    ] sys-devel/binutils-2.41-r5

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

Did you emerge any packages using the new 23.0 profile, then went back 
to the

old profile to run the above command?


No ...

Ummm ... I have had trouble emerging other stuff that didn't want to 
work with oneshot ...


Let me look at my make.conf - I had to over-ride something to get 
vbox-modules to emerge, this is probably the same thing ...


Yup - as soon as I comment the EMERGE_DEFAULT_OPTS out I get it asking 
me if I want to emerge binutils.


# EMERGE_DEFAULT_OPTS = "--buildpkg --deep --newuse --oneshot --usepkg"

So I'm doing an emerge @world now with the old profile ...

Yup - this appears to have un-bunged it - it's working as per 
instructions. You might want to add to the instructions to disable 
anything in make.conf that tampers with default settings.


Cheers,
Wol




Re: [gentoo-user] New profiles 23.0

2024-03-23 Thread ralfconn

Il 23/03/24 20:18, Michael ha scritto:

On Saturday, 23 March 2024 19:10:28 GMT you wrote:

Il 23/03/24 19:43, Michael ha scritto:

On Saturday, 23 March 2024 18:29:58 GMT ralfconn wrote:

Il 23/03/24 18:42, Michael ha scritto:
   > I suggest it would be best to take heed of the devs hard work and

read the

   > instructions they have provided instead of winging it:
   >
   > https://wiki.gentoo.org/wiki/Project:Toolchain/23.0_update_instructio
   > ns

I'm currently running a local merged profile:

# cat /var/db/repos/local/profiles/no-multilib-hardened-desktop/parent
gentoo:default/linux/amd64/17.1/no-multilib/hardened
gentoo:targets/desktop

$ euse -a | grep usr
split-usr   [+  D F ]

I suppose that before step 3 of the wiki I'd need to create a new local
merged profile, e.g.:

#cat
/var/db/repos/local/profiles/23.0-split-usr-no-multilib-hardened-desktop/
par ent gentoo:default/linux/amd64/23.0/split-usr/no-multilib/hardened
gentoo:targets/split-usr/desktop

Does that make sense?

thanks

raf

Update portage and check the profiles offered by 'eselect profile list'.
For example, I can see:

[51]  default/linux/amd64/23.0/split-usr/no-multilib/hardened (stable)

which should provide what you're after.

It's not a 'desktop' profile

I'd think once you emerge/update the desktop environment or main packages you
want, most of the desktop related USE choices will be applied anyway.  In the
first instance I'd select the above profile ([51]), update your toolchain and
try an emerge --pretend of @world to see what USE flag differences remain.  If
this approach leaves you short you can always create your own merged profile
as you had done.


(Due to my mistake the last message was sent to me only instead of the list)

Unfortunately not, the non-desktop profile is very stripped-down 
compared to the desktop one. There's maybe 20 or more USE flags present 
in my merged profile that are missing from [51].


In the meanwhile I tried to switch to my merged 23.0 profile, in step 9 
binutils updates fine while gcc builds but fails to install with no 
error message, so for now I'm back to 'merged' 17.1. Tomorrow I'll try 
to analyze the install log better.


BTW, the only differences comparing emerge --info before and after the 
switch are:


LDFLAGS="-Wl,-O1 -Wl,--as-needed"

vs

LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"

and

USE = "cli fortran"

that after the switch disappear in favour of the new ones

USE = "lzma zstd"

(at least, in my 'crooked' local profile)





Re: [gentoo-user] [SOLVED] eselect-opengl Blockage (with a capital "B") problem

2020-05-20 Thread Dale
J. Roeleveld wrote:
> On 20 May 2020 05:44:58 CEST, Walter Dnes  wrote:
>> On Tue, May 19, 2020 at 03:14:03PM +0200, J. Roeleveld wrote
>>>>> On Mon, May 18, 2020 at 01:53:19PM -0400, Walter Dnes wrote:
>>>>  Thank you very much.  I've got the update (156 packages) running
>> now.
>>>> I had set "-libglvnd" in make.conf on my main machine, but only
>> against
>>>> xorg-server on my secondary machine.  Setting "-libglvnd" in
>> make.conf
>>>> solves the problem.
>>> Only for now.
>>> "Libglvnd" is scheduled to be removed as a USE flag.  I would
>>> definitely suggest to switch to having that one on before it becomes
>>> mandatory.
>>>
>>> It has a lot of benefits over the eselect hack to be able to have
>>> multiple opengl implementations running.
>>  The reason I had originally turned it off was because when it first
>> showed up as a flag, I checked Google to find out what it was.  Almost
>> every hit on webforums was like...
>>
>> Person 1 - Help; my "update world" dies
>> Person 2 - Turn off "libglvnd" in make.conf
>> Person 1 - Thank you; my update works fine now
>>
>>  Add me to the list.  If this is to be a new default config setup, I'd
>> appreciate a news item about it, like the python 3.6 to 3.7 switchover.
> I actually had to enable this on my new laptop before it became stable to get 
> the Nvidia chip and my external displays working.
> I am actually happy with this as I don't have to keep changing the opengl 
> setting anymore when I need 3D performance.
>
> --
> Joost


Reading this thread, I checked and I to have this USE flag turned
off/disabled/whatever.  I removed it from make.conf and commented out
everything else I found in /etc/portage and am checking to see what all
had to be rebuilt.  I figure I may as well change now while I have a
otherwise stable system, except for the sddm-helper chewing memory
problem, and get ahead of the curve.  ;-)  Using that grep -r trick
comes in handy.  Learned that from this list too. 

It's odd how following a thread that may not even affect you ends up
doing so.  :/

Just in case, this is what emerge spit out on my screen. 


Calculating dependencies... done!
[ebuild   R    ] sys-libs/libblockdev-2.23-r1::gentoo  USE="cryptsetup
lvm tools -bcache -device-mapper -dmraid -escrow -gtk-doc -introspection
-kbd -test -vdo" PYTHON_SINGLE_TARGET="python3_7 -python3_6
(-python3_8)" 0 KiB
[ebuild   R    ] media-libs/libdvdnav-6.0.0::gentoo  USE="-static-libs"
ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N ] media-libs/libglvnd-1.3.1::gentoo  USE="X -test"
ABI_X86="32 (64) (-x32)" 698 KiB
[ebuild   R   ~] media-libs/mesa-20.0.4-r1::gentoo  USE="X classic dri3
egl gallium gbm gles2 libglvnd* llvm wayland zstd -d3d9 -debug -gles1
-lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind
-vdpau -vulkan -vulkan-overlay -xa -xvmc" ABI_X86="32 (64) (-x32)"
VIDEO_CARDS="(-freedreno) -i915 -i965 -intel -iris (-lima) -nouveau
(-panfrost) -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl
(-vivante) -vmware" 0 KiB
[blocks b  ] media-libs/mesa[-libglvnd(-)]
("media-libs/mesa[-libglvnd(-)]" is blocking media-libs/libglvnd-1.3.1)
[ebuild   R    ] sys-libs/libcap-2.26-r2::gentoo  USE="pam (split-usr)
-static-libs" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] x11-drivers/nvidia-drivers-440.82:0/440::gentoo  USE="X
acpi driver gtk3 kms libglvnd* multilib tools -compat -static-libs -uvm
-wayland" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] x11-base/xorg-server-1.20.7:0/1.20.7::gentoo 
USE="elogind ipv6 libglvnd* suid udev xorg -debug -dmx -doc -kdrive
-libressl -minimal (-selinux) -static-libs -systemd -unwind -wayland
-xcsecurity -xephyr -xnest -xvfb" 0 KiB
[uninstall ] app-eselect/eselect-opengl-1.3.1-r4::gentoo
[blocks b  ] app-eselect/eselect-opengl
("app-eselect/eselect-opengl" is blocking
x11-drivers/nvidia-drivers-440.82, x11-base/xorg-server-1.20.7,
media-libs/mesa-20.0.4-r1)



Now let us pray to the portage gods for a happy outcome.  o_O

Dale

:-)  :-) 

P. S. Between this and finding that weird The Black Bird movie from
1975, I'm having a good day.  ROFL


Re: [gentoo-user] Looking for other Seamonkey users

2021-04-07 Thread Dale
Dan Egli wrote:
> On 4/6/2021 10:41 PM, Dale wrote:
>> I've done some research.  It seems Dovecot is what I need.  It uses mbox
>> and has some features I might need one day already where Courier doesn't
>> but there isn't much difference really.  If anyone is curious, the
>> comparison is here.
>>
>> https://en.wikipedia.org/wiki/Comparison_of_mail_servers
>>
>> The biggest thing, mbox.  If I recall correctly that is what Seamonkey
>> uses and I should be able to import those easy enough.  It at least
>> gives me a head start.  Since this is a whole new deal, going to start a
>> new thread if nobody pops up and says nooo to Dovecot.  I found a
>> guide here:
>>
> Seamonkey is a web browser. Therefore, mbox vs maildir is meaningless
> to it. All it knows it it talks to the imap server and the imap server
> replies and sends a message.
>
> Having said that, AVOID mbox like the plague! It is only a matter of
> time before mbox mail files get corrupted. Maildir is INFINITELY
> safer. And in the event of corruption in maildir, you loose ONLY the
> corrupted messages. Corrupt your mbox file and you're likely to loose
> the whole folder!
>
> As far as moving from one to another, both mbox and maildir are
> standards. So if imap server X and Y both use Maildir, then swapping
> between them is easy, and POINTLESS, due to the fact that imap
> maintains the files on your server. So, if you move to a different
> mail CLIENT (thunderbird for example) then the new client only needs
> to take the time to re-download the messages from the server. It's the
> same way webmail and a client can work together. Neither is doing the
> actual work with the files. Each is only sending commands to a
> separate server program to work with the files.
>
>> http://www.wikigentoo.ksiezyc.pl/Dovecot.htm
>>
>> So far, it is Gentoo based.  I found another one but it is Ubuntu
>> based.  May work but commands are different.  Trying to go by a Gentoo
>> based one.  If anyone has a better one, please share links.
>>
>> May start new thread in a day or so if no one shouts no.
> Consider this the shout. I can't stop you from using mbox, but I can
> shout at the top of my lungs that it's a BAD IDEA. And I can say over
> and over that changing your imap SERVER will have ZERO impact on what
> Seamonkey does. The only exception would be if you have a mail server
> (original or new) that doesn't fully follow the imap protocol. And in
> that case, who knows what the change will do.
>


I looked, Dovecot can use either mbox or maildir.  Can Dovecot convert
those to or must I use a different tool? 

To anyone using Dovecot, just what all had to be installed?  This is
what emerge gives me right now. 


root@fireball / # emerge -av dovecot

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

Calculating dependencies... done!
[ebuild  N ] acct-group/dovecot-0-r1::gentoo  0 KiB
[ebuild  N ] acct-group/dovenull-0-r1::gentoo  0 KiB
[ebuild  N ] acct-user/dovecot-0-r1::gentoo  0 KiB
[ebuild  N ] acct-user/dovenull-0-r1::gentoo  0 KiB
[ebuild  N ] net-mail/dovecot-2.3.13-r100::gentoo  USE="bzip2 ipv6
lzma mysql pam sqlite tcpd zlib -argon2 -caps -doc -kerberos -ldap
(-libressl) -lua -lucene -lz4 -managesieve -postgres -rpc (-selinux)
-sieve -solr -static-libs -suid -textcat -unwind -zstd"
LUA_SINGLE_TARGET="lua5-1 -lua5-2 -lua5-3" 7,282 KiB

Total: 5 packages (5 new), Size of downloads: 7,282 KiB

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


I suspect I need to install some other packages to make certain things
work.  Then again, maybe they already installed??  Some may recall that
cron jobs sent emails so it has to have packages installed for that. 
The guide I linked to elsewhere has USE flags not listed above.  It may
be out of date.  It does say not to use it for older 1.* versions of
Dovecot tho.  Just trying to see what I'm getting into here.  I think
this is a really good idea but want to see how deep the water is before
jumping in.  I can't swim, well, I do, like a lead rock.  :/

Thanks.

Dale

:-)  :-)



[gentoo-user] Certain packages refuse to use binary from build save, the -k thing.

2023-09-15 Thread Dale
Howdy,

A couple of my video players are not playing videos correctly.  I've
rebuilt a few things but no change.  Some work fine, some give a error
about a bad index or something, some just don't even try at all.  The
videos come from various sources and are of different file extensions. 
I can't find a rhyme or reason to the failure.  So, my plan, do a emerge
-ek world to reinstall all packages instead of just the obvious ones
that isn't fixing the issue.  I figure that should catch whatever is out
of sync and fix the problem.  If not, then try to figure out why it is
breaking the hard way.  This is basically a emerge -e world, just faster
on my main system.

What I did before this.  I ran emerge -eak world on my main install. 
Any packages that showed ebuild, which means it doesn't have a package
binary, I emerged in my chroot.  Once it was done installing, I copied
the binary package over to my main install.  However, when I run emerge
-eak world again on my main install, it still shows ebuild for these
packages. 


[ebuild   R    ] dev-cpp/glibmm-2.66.6:2::gentoo  USE="-debug -gtk-doc
-test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] dev-cpp/pangomm-2.46.3:1.4::gentoo  USE="-gtk-doc"
ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R    ] app-crypt/gcr-3.41.1-r2:0/1::gentoo  USE="gtk
introspection vala -gtk-doc -systemd -test" 0 KiB
[ebuild   R    ] dev-qt/qtdeclarative-5.15.10-r2:5/5.15::gentoo 
USE="jit vulkan widgets -debug -gles2-only -localstorage -test" 0 KiB
[ebuild   R    ] sys-devel/llvm-15.0.7-r3:15::gentoo 
USE="binutils-plugin libffi ncurses xml -debug -doc -exegesis -libedit
-test -verify-sig -xar -z3 -zstd" ABI_X86="32 (64) (-x32)"
LLVM_TARGETS="(AArch64) (AMDGPU) (ARM) (AVR) (BPF) (Hexagon) (Lanai)
(MSP430) (Mips) (NVPTX) (PowerPC) (RISCV) (Sparc) (SystemZ) (VE)
(WebAssembly) (X86) (XCore) (-ARC) (-CSKY) (-DirectX) (-LoongArch)
(-M68k) (-SPIRV)" 0 KiB
[ebuild   R    ] sys-libs/compiler-rt-15.0.7:15.0.7::gentoo  USE="clang
-debug -test -verify-sig" ABI_X86="32 (64)" 0 KiB
[ebuild   R    ] sys-libs/compiler-rt-sanitizers-15.0.7:15.0.7::gentoo 
USE="asan cfi clang dfsan gwp-asan hwasan libfuzzer lsan memprof msan
orc profile safestack scudo tsan ubsan xray -debug (-shadowcallstack)
-test -verify-sig" ABI_X86="32 (64)" 0 KiB
[ebuild   R    ] sys-devel/clang-15.0.7-r3:15/15g1::gentoo  USE="extra
(pie) static-analyzer xml -debug -doc (-ieee-long-double) -test
-verify-sig" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="(AArch64) (AMDGPU)
(ARM) (AVR) (BPF) (Hexagon) (Lanai) (MSP430) (Mips) (NVPTX) (PowerPC)
(RISCV) (Sparc) (SystemZ) (VE) (WebAssembly) (X86) (XCore) (-ARC)
(-CSKY) (-DirectX) (-LoongArch) (-M68k) (-SPIRV)"
PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB
[ebuild   R    ] sci-electronics/klayout-0.28.9::gentoo 
PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"
RUBY_TARGETS="ruby31" 0 KiB



Most package are the way they should be, showing a binary.  Like this:


[binary   R    ] x11-libs/libX11-1.8.6::gentoo  USE="-doc -test"
ABI_X86="32 (64) (-x32)" 0 KiB


Does anyone know if there is some reason these packages won't use a
binary for some reason?  I've recompiled some of these twice now with it
refusing to show it using a binary.  I expect memtest and a couple
others to fail but never ran into this before.

I do this so that my main system updates faster.  A couple of those
packages has a bit longer compile time.  I might add, I've done this
countless times doing updates with no problems, most likely even with
these packages.  Today it just refuses to cooperate. 

Oh, I posted about handbrake and opencascade blocking some updates in
another thread a while back, I unmerged those and Kicad which I think
used opencascade.  It did update some video stuff the other day.  I feel
some package is out of sync with some other package and hope a reinstall
will fix it.  Otherwise, could be a bug in some package version. 

Any ideas? 

Dale

:-)  :-) 

P. S.  Fresh backups are still working on the new NAS system.  Also, the
speed is about the same as it was on TrueNAS.  It seems encryption on
both ends does slow things down.  I suspect it is the slower machine. 
Still, it works.  Even if I switch to another OS, it can still see LVM
drives and I won't have to redo them again.  I hope.  :-D  At 7.6TB of
about 26TBs at the moment. 



Re: [gentoo-user] Backup program that compresses data but only changes new files.

2022-08-15 Thread William Kenworthy



On 15/8/22 06:44, Dale wrote:

Howdy,

With my new fiber internet, my poor disks are getting a work out, and
also filling up.  First casualty, my backup disk.  I have one directory
that is . . . well . . . huge.  It's about 7TBs or so.  This is where it
is right now and it's still trying to pack in files.


/dev/mapper/8tb    7.3T  7.1T  201G  98% /mnt/8tb


Right now, I'm using rsync which doesn't compress files but does just
update things that have changed.  I'd like to find some way, software
but maybe there is already a tool I'm unaware of, to compress data and
work a lot like rsync otherwise.  I looked in app-backup and there is a
lot of options but not sure which fits best for what I want to do.
Again, backup a directory, compress and only update with changed or new
files.  Generally, it only adds files but sometimes a file gets replaced
as well.  Same name but different size.

I was trying to go through the list in app-backup one by one but to be
honest, most links included only go to github or something and usually
doesn't tell anything about how it works or anything.  Basically, as far
as seeing if it does what I want, it's useless. It sort of reminds me of
quite a few USE flag descriptions.

I plan to buy another hard drive pretty soon.  Next month is possible.
If there is nothing available that does what I want, is there a way to
use rsync and have it set to backup files starting with "a" through "k"
to one spot and then backup "l" through "z" to another?  I could then
split the files into two parts.  I use a script to do this now, if one
could call my little things scripts, so even a complicated command could
work, just may need help figuring out the command.

Thoughts?  Ideas?

Dale

:-)  :-)

The questions you need to ask is how compressible is the data and how 
much duplication is in there.  Rsync's biggest disadvantage is it 
doesn't keep history, so if you need to restore something from last week 
you are SOL.  Honestly, rsync is not a backup program and should only be 
used the way you do for data that don't value as an rsync archive is a 
disaster waiting to happen from a backup point of view.


Look into dirvish - uses hard links to keep files current but safe, is 
easy to restore (looks like a exact copy so you cp the files back if 
needed.  Downside is it hammers the hard disk and has no compression so 
its only deduplication via history (my backups stabilised about 2x 
original size for ~2yrs of history - though you can use something like 
btrfs which has filesystem level compression.


My current program is borgbackup which is very sophisticated in how it 
stores data - its probably your best bet in fact.  I am storing 
literally tens of Tb of raw data on a 4Tb usb3 disk (going back years 
and yes, I do restore regularly, and not just for disasters but for 
space efficient long term storage I access only rarely.


e.g.:

A single host:

--
   Original size  Compressed size Deduplicated size
All archives:    3.07 TB  1.96 TB    
151.80 GB


   Unique chunks Total chunks
Chunk index: 1026085 22285913


Then there is my offline storage - it backs up ~15 hosts (in repos like 
the above) + data storage like 22 years of email etc. Each host backs up 
to its own repo then the offline storage backs that up.  The 
deduplicated size is the actual on disk size ... compression varies as 
its whatever I used at the time the backup was taken ... currently I 
have it set to "auto,zstd,11" but it can be mixed in the same repo (a 
repo is a single backup set - you can nest repos which is what I do - so 
~45Tb stored on a 4Tb offline disk).  One advantage of a system like 
this is chunked data rarely changes, so its only the differences that 
are backed up (read the borgbackup docs - interesting)


--
   Original size  Compressed size Deduplicated size
All archives:   28.69 TB 28.69 TB  
3.81 TB


   Unique chunks Total chunks
Chunk index:





Re: [gentoo-user] Re: btop fails to compile

2022-11-30 Thread Jochen Kirchner

Am 2022-11-30 12:45, schrieb Dale:

Nuno Silva wrote:

On 2022-11-30, Jochen Kirchner wrote:

[...]

make -j17 -l17 VERBOSE=true OPTFLAGS= CXX=x86_64-pc-linux-gnu-g++

Can you try emerging with -j1 in MAKEOPTS?

Sadly, the makefile[1] does not print out the mkdir commands (recipe 
on
lines 202 thru 204), so it's not possible to spot in the output when 
are
these being executed, but, from a quick glance (I might have 
overlooked

something!), it sounds like the target that runs mkdir is not a
dependency of the targets that generate and link the object files 
(line

262, line 273), so it'd be possible for this to happen just because
the second mkdir did not complete before the first g++ was checking 
for

the directory.

[1] https://github.com/aristocratos/btop/blob/main/Makefile




That's a good idea.  Just to test if that error happens to everybody, I
installed btop-1.2.12 here.  Actually, it's kinda neat looking.  
Anyway,
it installed fine here on my 8 core machine with normal -j settings, 
-j9
I think.  It could help using -j1 tho.  Still, it installed here 
without

any problems. 

If -j1 doesn't work, maybe sync the tree again to see if maybe some 
typo

got fixed or something else was wrong during last sync.  That is rare
nowadays but when grasping at straws, grab what you can. 

Oh, my google search earlier didn't yield anything either.  This seems
to be a odd failure.

Dale

:-)  :-) 


Thank you both :)

-j1 did it :)

this is my make.conf: (its a web - and mail server)

COMMON_FLAGS="-O2 -march=znver2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

MAKEOPTS="-j17 -l17"
PORTAGE_NICENESS="1"
EMERGE_DEFAULT_OPTS="--jobs=17 --load-average=17 --with-bdeps y 
--complete-graph y"

FEATURES="candy fixlafiles unmerge-orphans parallel-install split-elog"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"
GENTOO_MIRRORS="https://ftp.tu-ilmenau.de/mirror/gentoo/ 
https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ 
https://mirror.leaseweb.com/gentoo/ 
https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
https://ftp.fau.de/gentoo https://ftp.halifax.rwth-aachen.de/gentoo/;


USE="-bindist -systemd acpi avif berkdb branding brotli cgi clamav crypt 
cryptsetup dbus \
device-mapper elogind exif fastcgi ftp gd geoip geoip2 gif git 
gmp gpg hddtemp heif hwloc \
icu idn imagemagick imap inotify jpeg jpeg2k llvm llvm-libunwind 
lm-sensors maildir memcached \
mmap mysql mysqli offensive php png samba sasl smp soap sockets 
subversion tidy \
truetype udev udisks verify-sig vhosts vim-syntax webp xml 
xmlrpc zip zstd"


NGINX_MODULES_HTTP="access addition auth_basic autoindex brotli browser 
charset dav dav_ext echo \
empty_gif fancyindex fastcgi geo geoip geoip2 grpc gunzip gzip 
headers_more limit_conn \
limit_req map memcached metrics mirror mp4 proxy realip referer 
rewrite scgi security \
split_clients ssi stub_status upstream_hash upstream_ip_hash 
upstream_keepalive \
upstream_least_conn upstream_zone userid uwsgi 
vhost_traffic_status xslt"

NGINX_MODULES_MAIL="imap smtp"
NGINX_MODULES_STREAM="geo geoip geoip2 realip upstream_hash 
upstream_least_conn upstream_zone"

PHP_TARGETS="php8-0"

GRUB_PLATFORMS="pc"

--
Mit freundlichen Grüßen,
Jochen Kirchner

eMail: jk@jk-foto.design
Web: https://jk-foto.design

Public Key: B67B 24AA CB0F E646 8E35 CF12 7FC8 C135 CEEB C714

0xCEEBC714.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] [OT] Anyone running mutt outboung smtp on port 587?

2024-01-21 Thread Walter Dnes
On Sun, Jan 21, 2024 at 12:05:45PM +, Michael wrote
> 
> Anyway, to take you forward you can:
> 
> 1. Keyword the latest gnutls package in case the gnutls verification criteria 
> have been loosened.
> 
> 2. Copy the Root CA into the users ~/ and point muttrc to it:
> 
> set certificate_file = "~/.mutt/certificates"
> 
> 3. If everything else fails, having verified yourself the server's
> Root CA and child certificates are all legit you can set:
> 
> unset ssl_verify_host
> 
> Obviously this would not be satisfactory from a security perspective.

  Nothing above works, and I wonder if it's something at my end.  I keep
getting the same message...

> gnutls_handshake: A packet with illegal or unsupported version was received.

  The current net-libs/gnutls-3.8.0 ebuild (and 3.8.1 and 3.8.2) has
sslv2 and sslv3 enabled in IUSE  ...but...  "emerge -pv gnutls" shows
them hard-masked.  Is my system forcing sslv1 and the server rejecting me???

[ebuild   R] net-libs/gnutls-3.8.0:0/30.30::gentoo  USE="cxx idn nls 
openssl seccomp tls-heartbeat tools zlib -brotli -dane -doc -examples -pkcs11 
(-sslv2) (-sslv3) -static-libs -test (-test-full) -verify-sig -zstd" 0 KiB

  Do you get the same?  Do I have to set something in...

make menuconfig
-*- Cryptographic API  --->

  "emerge -pv mutt"

[ebuild   R] mail-client/mutt-2.2.12::gentoo  USE="debug gnutls gpgme 
hcache imap lmdb mbox nls pop sasl smtp ssl -autocrypt -berkdb -doc -gdbm 
-gsasl -idn -kerberos -pgp-classic (-prefix) -qdbm (-selinux) -slang 
-smime-classic -tokyocabinet -vanilla" 0 KiB

  I copied certificates from x.txt to .mutt/certificates (see
attachment).  Is this correct?  And how do I securely pass credentials?

-- 
Roses are red
Roses are blue
Depending on their velocity
Relative to you
-BEGIN CERTIFICATE-
MIIGgDCCBWigAwIBAgIIQdcTd20TTxAwDQYJKoZIhvcNAQELBQAwgbQxCzAJBgNV
BAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMRow
GAYDVQQKExFHb0RhZGR5LmNvbSwgSW5jLjEtMCsGA1UECxMkaHR0cDovL2NlcnRz
LmdvZGFkZHkuY29tL3JlcG9zaXRvcnkvMTMwMQYDVQQDEypHbyBEYWRkeSBTZWN1
cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IC0gRzIwHhcNMjMwOTI2MDEwMDI1WhcN
MjQxMDI3MDEwMDI1WjAUMRIwEAYDVQQDDAkqLmVib3guY2EwggEiMA0GCSqGSIb3
DQEBAQUAA4IBDwAwggEKAoIBAQC1kgJlaAqSUNfZd2jPfxSlH0HTzvFV344iJdd3
zf01XwSySxtAKB3bwrmxfq0ppmVU4CTlj1IOTaY7uA3Fpy5V0CAE38HOpT/xsv1n
7ZXAm7jVA8UOJbFMtCwCtLArhEeGZS8ssrO51uzZquj6O2zCQeoG7cYqeQTh0Z3X
x1DmsdP5Tvyot82p3SKiCoFurk/ZIMXeDbG3K+Vxw+wiFgmYYl1rBAOJpyqxIwuX
NFlkNCU2K7M2LqohyO10FI/RJOn0hwuY+t7a6kZbNKLGWuuUXg29Y9TrqUXAa5yN
mmJtTD6UsHfGKPZN5n1GlqgNSUDlxLKBedA7gTzHQKh+BYBhAgMBAAGjggMzMIID
LzAMBgNVHRMBAf8EAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAO
BgNVHQ8BAf8EBAMCBaAwOAYDVR0fBDEwLzAtoCugKYYnaHR0cDovL2NybC5nb2Rh
ZGR5LmNvbS9nZGlnMnMxLTk0MDUuY3JsMF0GA1UdIARWMFQwSAYLYIZIAYb9bQEH
FwEwOTA3BggrBgEFBQcCARYraHR0cDovL2NlcnRpZmljYXRlcy5nb2RhZGR5LmNv
bS9yZXBvc2l0b3J5LzAIBgZngQwBAgEwdgYIKwYBBQUHAQEEajBoMCQGCCsGAQUF
BzABhhhodHRwOi8vb2NzcC5nb2RhZGR5LmNvbS8wQAYIKwYBBQUHMAKGNGh0dHA6
Ly9jZXJ0aWZpY2F0ZXMuZ29kYWRkeS5jb20vcmVwb3NpdG9yeS9nZGlnMi5jcnQw
HwYDVR0jBBgwFoAUQMK9J47MNIMwojPX+2yz8LQsgM4wHQYDVR0RBBYwFIIJKi5l
Ym94LmNhggdlYm94LmNhMB0GA1UdDgQWBBQKTRI2+yZaO2QIMLlRwVy3A5EslTCC
AX4GCisGAQQB1nkCBAIEggFuBIIBagFoAHUA7s3QZNXbGs7FXLedtM0TojKHRny8
7N7DUUhZRnEftZsAAAGKzwBtGQAABAMARjBEAiB+c8AeqWVcH6tLIN3K+jxvyrcS
bezMfVwxregY56O9uwIgfdjEFhw0w7dvv6O7kyrYFLXd1KmLtZZUBkg/pSr72ScA
dgBIsONr2qZHNA/lagL6nTDrHFIBy1bdLIHZu7+rOdiEcwAAAYrPAG3/AAAEAwBH
MEUCIGniWz36pvx9BThv4yxeEqoAk1pEqJz9vggQfm1nsABKAiEA4DE0bNlpa90J
JBpJk+ane6GP3Ycu0zG/kfjPRKGWaT4AdwDatr9rP7W2Ip+bwrtca+hwkXFsu1GE
hTS9pD0wSNf7qwAAAYrPAG55AAAEAwBIMEYCIQCnqbkMcFiLX1Gc9EHlyo4Rm/T7
pCmjJV1ylgVQhk5tMQIhALGmRhmJmH77RRh0+CBKX+MZ6EtKBnci+j6jGHus7Xj4
MA0GCSqGSIb3DQEBCwUAA4IBAQBK852eVZVAZmuKFg/37ywvp1p3Otq1Iy6093pR
QEoKUN5OVxLcAYJTcQSrGMZdytVNGuOe9F3mm2tP4NxOT32ERyowAFx3DOIFIJRP
6XDO9V2tUgoJ4hxMdNnzoAcnXh/naTLtWD29OpjEzsMYjFQuaeeKXa0Nk4/1bUhm
Nugmmm3z2DLOumVKILzi/uZLDYdrO4vOkIxXLgBdHZFV+6ZZVR26bffvS3q3owRG
8d/eXulLowCoblX8PbNBedRVll18+t2j/FzVD7N7L7qF5076/LODbfk6fRHEXN/w
65NjrQ1RiRekUHXMjFrlTraSIEWQOAaGaDCOmcOyjcjfuk7/
-END CERTIFICATE-
-BEGIN CERTIFICATE-
MIIE0DCCA7igAwIBAgIBBzANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMCVVMx
EDAOBgNVBAgTB0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxGjAYBgNVBAoT
EUdvRGFkZHkuY29tLCBJbmMuMTEwLwYDVQQDEyhHbyBEYWRkeSBSb290IENlcnRp
ZmljYXRlIEF1dGhvcml0eSAtIEcyMB4XDTExMDUwMzA3MDAwMFoXDTMxMDUwMzA3
MDAwMFowgbQxCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQH
EwpTY290dHNkYWxlMRowGAYDVQQKExFHb0RhZGR5LmNvbSwgSW5jLjEtMCsGA1UE
CxMkaHR0cDovL2NlcnRzLmdvZGFkZHkuY29tL3JlcG9zaXRvcnkvMTMwMQYDVQQD
EypHbyBEYWRkeSBTZWN1cmUgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IC0gRzIwggEi
MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC54MsQ1K92vdSTYuswZLiBCGzD
BNliF44v/z5lz4/OYuY8UhzaFkVLVat4a2ODYpDOD2lsmcgaFItMzEUz6ojcnqOv
K/6AYZ15V8TPLvQ/MDxdR/yaFrzDN5ZBUY4RS1T4KL7QjL7wMDge87Am+GZHY23e
cSZHjzhHU9FGHbTj3ADqRay9vHHZqm8A29v

Re: [gentoo-user] Re: What to do about openssl

2023-10-04 Thread John Covici
On Wed, 04 Oct 2023 11:53:46 -0400,
Grant Edwards wrote:
> 
> On 2023-10-04, John Covici  wrote:
> > Hi.  I just did a world update and found that my openssl-1.1.1v is
> > masked.  What can I do,
> 
> Use one of the stable versions.
> 
> > I don't have any version that is not masked
> 
> Huh?  What architecture are you on? There are three versions of
> openssl that are stable and not masked for amd64, x86, and most
> others:
> 
> 3.0.9-r1
> 3.0.9-r2
> 3.0.10
> 
> see
> 
> https://packages.gentoo.org/packages/dev-libs/openssl
> 
> > and according to the message this version is EOL.
> 
> Indeed. OpenSSL 1.1.1 is dead. Support ended a few weeks ago.
> 
> 
> 
> 
> 
> 

Upon further investigation, I hadd masked them off myself , if I
unmask the 3.x I get the following:
Script started on 2023-10-04 13:10:40-04:00 [COMMAND="emerge -1
dev-libs/openssl" TERM="linux" TTY="/dev/tty1" COLUMNS="240"
LINES="67"]
^M
These are the packages that would be merged, in order:^M
^M
Calculating dependencies  .  ... done!^M
Dependency resolution took 38.07 s.^M
^M
[ebuild  r  U  ] dev-libs/openssl-3.1.3:0/3::gentoo
[1.1.1v:0/1.1::gentoo] USE="asm -fips% -ktls% -rfc3779 -sctp
-static-libs -test -tls-compression -vanilla -verify-sig
-weak-ssl-ciphers (-sslv3%) (-tls-heartbeat%)" ABI_X86="(64) -32
(-x3\2)" CPU_FLAGS_X86="(sse2)" 15,198 KiB^M
[ebuild  rR] sys-apps/coreutils-9.4::gentoo  USE="acl nls openssl
(split-usr) xattr -caps -gmp -hostname -kill -multicall (-selinux)
-static -test -vanilla -verify-sig" 0 KiB^M
[ebuild  rR] net-misc/rsync-3.2.7-r2::gentoo  USE="acl iconv ssl
xattr -examples -lz4 -rrsync -stunnel -system-zlib -verify-sig -xxhash
-zstd" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB^M
[ebuild  rR] net-misc/wget-1.21.4::gentoo  USE="ipv6 nls pcre
(ssl) zlib -cookie-check -debug -gnutls -idn -metalink -ntlm -static
-test -uuid -verify-sig" 0 KiB^M
[ebuild  rR] dev-lang/python-3.12.0_rc3_p1:3.12::gentoo
USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build
-debug -examples -libedit -lto -pgo -test -tk -valgrind -verify-sig" 0
KiB^M
[ebuild  rR] dev-libs/libtpms-0.9.6::gentoo  0 KiB^M
[ebuild  rR] www-client/w3m-0.5.3_p20230121::gentoo  USE="X gpm
nls ssl unicode -fbcon -gdk-pixbuf -imlib -lynxkeymap -nntp -xface"
L10N="-ja" 0 KiB^M
[ebuild  rR] dev-db/mysql-connector-c-8.0.32-r1:0/21::gentoo
USE="static-libs -ldap" ABI_X86="(64) -32 (-x32)" 0 KiB^M
[ebuild  rR] dev-lang/rust-1.72.0:stable/1.72::gentoo  USE="lto
(-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) (-miri)
(-nightly) (-parallel-compiler) -profiler -rust-analyzer -rust-src
-rustfmt -system-bootstrap -system-llv\m -test -verify-sig -wasm"
ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86)
-AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -LoongArch -MSP430
-Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -VE -WebAssembly -XCore"
0 KiB^M
[ebuild  rR] net-libs/libssh-0.10.5:0/4::gentoo  USE="sftp zlib
-debug -doc -examples -gcrypt -gssapi -mbedtls -pcap -server
-static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB^M
[ebuild  rR] dev-db/mariadb-connector-c-3.3.4:0/3::gentoo
USE="curl ssl -gnutls -kerberos -static-libs -test" ABI_X86="(64) -32
(-x32)" 0 KiB^M
[ebuild  rR] app-crypt/swtpm-0.8.1-r2::gentoo  USE="seccomp -fuse
-test" 0 KiB^M
[ebuild  rR] dev-python/cryptography-41.0.4::gentoo  USE="-debug
-test" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 -python3_12" 0
KiB^M
[ebuild  rR] dev-db/mariadb-10.11.5:10.11/18::gentoo  USE="backup
odbc pam perl server systemd xml -bindist -columnstore -cracklib
-debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy
-jdbc -jemalloc -kerberos -latin1 -mr\oonga -numa -oqgraph -profiling
-rocksdb -s3 (-selinux) -sphinx -sst-mariabackup -sst-rsync -static
-systemtap -tcmalloc -test -yassl" 0 KiB^M
[ebuild  rR] dev-db/postgresql-16.0:16::gentoo  USE="icu nls pam
readline server ssl systemd xml zlib -debug -doc -kerberos -ldap -llvm
-lz4 -perl -python (-selinux) -static-libs -tcl -uuid -zstd"
PYTHON_SINGLE_TARGET="python3_11 -pyth\on3_10 -python3_12" 0 KiB^M
[ebuild  rR] app-admin/syslog-ng-4.4.0::gentoo  USE="systemd -amqp
-caps -dbi -geoip2 -http -json -kafka -mongodb -pacct -python -redis
-smtp -snmp -spoof-source -tcpd -test"
PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 0 \KiB^M
[ebuild  rR] dev-db/postgresql-14.9:14::gentoo  USE="icu nls pam
readline server ssl systemd xml zlib -debug -doc -kerberos -ldap -llvm
-lz4 -perl -python (-selinux) -static-libs -tcl -uuid 

Re: [gentoo-user] Re: What to do about openssl

2023-10-04 Thread Alan McKinnon
That should not happen, and is probably happening because you have masked
something deep in the dep graph that is required.

Please post all your package.mask files, and provided if you have any of
those


Alan

On Wed, Oct 4, 2023 at 7:15 PM John Covici  wrote:

> On Wed, 04 Oct 2023 11:53:46 -0400,
> Grant Edwards wrote:
> >
> > On 2023-10-04, John Covici  wrote:
> > > Hi.  I just did a world update and found that my openssl-1.1.1v is
> > > masked.  What can I do,
> >
> > Use one of the stable versions.
> >
> > > I don't have any version that is not masked
> >
> > Huh?  What architecture are you on? There are three versions of
> > openssl that are stable and not masked for amd64, x86, and most
> > others:
> >
> > 3.0.9-r1
> > 3.0.9-r2
> > 3.0.10
> >
> > see
> >
> > https://packages.gentoo.org/packages/dev-libs/openssl
> >
> > > and according to the message this version is EOL.
> >
> > Indeed. OpenSSL 1.1.1 is dead. Support ended a few weeks ago.
> >
> >
> >
> >
> >
> >
>
> Upon further investigation, I hadd masked them off myself , if I
> unmask the 3.x I get the following:
> Script started on 2023-10-04 13:10:40-04:00 [COMMAND="emerge -1
> dev-libs/openssl" TERM="linux" TTY="/dev/tty1" COLUMNS="240"
> LINES="67"]
> ^M
> These are the packages that would be merged, in order:^M
> ^M
> Calculating dependencies  .  ... done!^M
> Dependency resolution took 38.07 s.^M
> ^M
> [ebuild  r  U  ] dev-libs/openssl-3.1.3:0/3::gentoo
> [1.1.1v:0/1.1::gentoo] USE="asm -fips% -ktls% -rfc3779 -sctp
> -static-libs -test -tls-compression -vanilla -verify-sig
> -weak-ssl-ciphers (-sslv3%) (-tls-heartbeat%)" ABI_X86="(64) -32
> (-x3\2)" CPU_FLAGS_X86="(sse2)" 15,198 KiB^M
> [ebuild  rR] sys-apps/coreutils-9.4::gentoo  USE="acl nls openssl
> (split-usr) xattr -caps -gmp -hostname -kill -multicall (-selinux)
> -static -test -vanilla -verify-sig" 0 KiB^M
> [ebuild  rR] net-misc/rsync-3.2.7-r2::gentoo  USE="acl iconv ssl
> xattr -examples -lz4 -rrsync -stunnel -system-zlib -verify-sig -xxhash
> -zstd" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB^M
> [ebuild  rR] net-misc/wget-1.21.4::gentoo  USE="ipv6 nls pcre
> (ssl) zlib -cookie-check -debug -gnutls -idn -metalink -ntlm -static
> -test -uuid -verify-sig" 0 KiB^M
> [ebuild  rR] dev-lang/python-3.12.0_rc3_p1:3.12::gentoo
> USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build
> -debug -examples -libedit -lto -pgo -test -tk -valgrind -verify-sig" 0
> KiB^M
> [ebuild  rR] dev-libs/libtpms-0.9.6::gentoo  0 KiB^M
> [ebuild  rR] www-client/w3m-0.5.3_p20230121::gentoo  USE="X gpm
> nls ssl unicode -fbcon -gdk-pixbuf -imlib -lynxkeymap -nntp -xface"
> L10N="-ja" 0 KiB^M
> [ebuild  rR] dev-db/mysql-connector-c-8.0.32-r1:0/21::gentoo
> USE="static-libs -ldap" ABI_X86="(64) -32 (-x32)" 0 KiB^M
> [ebuild  rR] dev-lang/rust-1.72.0:stable/1.72::gentoo  USE="lto
> (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) (-miri)
> (-nightly) (-parallel-compiler) -profiler -rust-analyzer -rust-src
> -rustfmt -system-bootstrap -system-llv\m -test -verify-sig -wasm"
> ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86)
> -AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -LoongArch -MSP430
> -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -VE -WebAssembly -XCore"
> 0 KiB^M
> [ebuild  rR] net-libs/libssh-0.10.5:0/4::gentoo  USE="sftp zlib
> -debug -doc -examples -gcrypt -gssapi -mbedtls -pcap -server
> -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB^M
> [ebuild  rR] dev-db/mariadb-connector-c-3.3.4:0/3::gentoo
> USE="curl ssl -gnutls -kerberos -static-libs -test" ABI_X86="(64) -32
> (-x32)" 0 KiB^M
> [ebuild  rR] app-crypt/swtpm-0.8.1-r2::gentoo  USE="seccomp -fuse
> -test" 0 KiB^M
> [ebuild  rR] dev-python/cryptography-41.0.4::gentoo  USE="-debug
> -test" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 -python3_12" 0
> KiB^M
> [ebuild  rR] dev-db/mariadb-10.11.5:10.11/18::gentoo  USE="backup
> odbc pam perl server systemd xml -bindist -columnstore -cracklib
> -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy
> -jdbc -jemalloc -kerberos -latin1 -mr\oonga -numa -oqgraph -profiling
> -rocksdb -s3 (-selinux) -sphinx -sst-mariabackup -sst-rsync -static
> -systemtap -tcmalloc -test -yassl" 0 KiB^M
> [ebuild  rR] dev-db/postgresql-16

Re: [gentoo-user] Re: What to do about openssl

2023-10-04 Thread Steve Wilson

From https://www.php.net/manual/en/openssl.requirements.php

PHP 7.1-8.0 requires OpenSSL >= 1.0.1, < 3.0.
PHP >= 8.1 requires OpenSSL >= 1.0.2, < 4.0.

So it looks like you need to upgrade php to 8.1

I've a similar problem with my server requiring php 7.2 and trying to 
figure out the upgrade path for all php based sites/apps is a pain.


On 04/10/2023 18:15, John Covici wrote:

On Wed, 04 Oct 2023 11:53:46 -0400,
Grant Edwards wrote:

On 2023-10-04, John Covici  wrote:

Hi.  I just did a world update and found that my openssl-1.1.1v is
masked.  What can I do,

Use one of the stable versions.


I don't have any version that is not masked

Huh?  What architecture are you on? There are three versions of
openssl that are stable and not masked for amd64, x86, and most
others:

3.0.9-r1
3.0.9-r2
3.0.10

see

https://packages.gentoo.org/packages/dev-libs/openssl


and according to the message this version is EOL.

Indeed. OpenSSL 1.1.1 is dead. Support ended a few weeks ago.







Upon further investigation, I hadd masked them off myself , if I
unmask the 3.x I get the following:
Script started on 2023-10-04 13:10:40-04:00 [COMMAND="emerge -1
dev-libs/openssl" TERM="linux" TTY="/dev/tty1" COLUMNS="240"
LINES="67"]
^M
These are the packages that would be merged, in order:^M
^M
Calculating dependencies  .  ... done!^M
Dependency resolution took 38.07 s.^M
^M
[ebuild  r  U  ] dev-libs/openssl-3.1.3:0/3::gentoo
[1.1.1v:0/1.1::gentoo] USE="asm -fips% -ktls% -rfc3779 -sctp
-static-libs -test -tls-compression -vanilla -verify-sig
-weak-ssl-ciphers (-sslv3%) (-tls-heartbeat%)" ABI_X86="(64) -32
(-x3\2)" CPU_FLAGS_X86="(sse2)" 15,198 KiB^M
[ebuild  rR] sys-apps/coreutils-9.4::gentoo  USE="acl nls openssl
(split-usr) xattr -caps -gmp -hostname -kill -multicall (-selinux)
-static -test -vanilla -verify-sig" 0 KiB^M
[ebuild  rR] net-misc/rsync-3.2.7-r2::gentoo  USE="acl iconv ssl
xattr -examples -lz4 -rrsync -stunnel -system-zlib -verify-sig -xxhash
-zstd" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB^M
[ebuild  rR] net-misc/wget-1.21.4::gentoo  USE="ipv6 nls pcre
(ssl) zlib -cookie-check -debug -gnutls -idn -metalink -ntlm -static
-test -uuid -verify-sig" 0 KiB^M
[ebuild  rR] dev-lang/python-3.12.0_rc3_p1:3.12::gentoo
USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build
-debug -examples -libedit -lto -pgo -test -tk -valgrind -verify-sig" 0
KiB^M
[ebuild  rR] dev-libs/libtpms-0.9.6::gentoo  0 KiB^M
[ebuild  rR] www-client/w3m-0.5.3_p20230121::gentoo  USE="X gpm
nls ssl unicode -fbcon -gdk-pixbuf -imlib -lynxkeymap -nntp -xface"
L10N="-ja" 0 KiB^M
[ebuild  rR] dev-db/mysql-connector-c-8.0.32-r1:0/21::gentoo
USE="static-libs -ldap" ABI_X86="(64) -32 (-x32)" 0 KiB^M
[ebuild  rR] dev-lang/rust-1.72.0:stable/1.72::gentoo  USE="lto
(-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) (-miri)
(-nightly) (-parallel-compiler) -profiler -rust-analyzer -rust-src
-rustfmt -system-bootstrap -system-llv\m -test -verify-sig -wasm"
ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86)
-AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -LoongArch -MSP430
-Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -VE -WebAssembly -XCore"
0 KiB^M
[ebuild  rR] net-libs/libssh-0.10.5:0/4::gentoo  USE="sftp zlib
-debug -doc -examples -gcrypt -gssapi -mbedtls -pcap -server
-static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB^M
[ebuild  rR] dev-db/mariadb-connector-c-3.3.4:0/3::gentoo
USE="curl ssl -gnutls -kerberos -static-libs -test" ABI_X86="(64) -32
(-x32)" 0 KiB^M
[ebuild  rR] app-crypt/swtpm-0.8.1-r2::gentoo  USE="seccomp -fuse
-test" 0 KiB^M
[ebuild  rR] dev-python/cryptography-41.0.4::gentoo  USE="-debug
-test" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 -python3_12" 0
KiB^M
[ebuild  rR] dev-db/mariadb-10.11.5:10.11/18::gentoo  USE="backup
odbc pam perl server systemd xml -bindist -columnstore -cracklib
-debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy
-jdbc -jemalloc -kerberos -latin1 -mr\oonga -numa -oqgraph -profiling
-rocksdb -s3 (-selinux) -sphinx -sst-mariabackup -sst-rsync -static
-systemtap -tcmalloc -test -yassl" 0 KiB^M
[ebuild  rR] dev-db/postgresql-16.0:16::gentoo  USE="icu nls pam
readline server ssl systemd xml zlib -debug -doc -kerberos -ldap -llvm
-lz4 -perl -python (-selinux) -static-libs -tcl -uuid -zstd"
PYTHON_SINGLE_TARGET="python3_11 -pyth\on3_10 -python3_12" 0 KiB^M
[ebuild  rR] app-admin/syslog-ng-4.4.0::gentoo  USE="systemd -amqp
-caps -dbi -geoip2 -http -json -kafka -mongodb -pacct -python -redis
-smtp -snmp -spoof-source -tcpd -test"
PYTHON_SINGLE_TARGET="python3_11 -python3

Re: [gentoo-user] Re: What to do about openssl

2023-10-04 Thread John Covici
On Wed, 04 Oct 2023 13:36:38 -0400,
Steve Wilson wrote:
> 
> [1  ]
> From https://www.php.net/manual/en/openssl.requirements.php
> 
> PHP 7.1-8.0 requires OpenSSL >= 1.0.1, < 3.0.
> PHP >= 8.1 requires OpenSSL >= 1.0.2, < 4.0.
> 
> So it looks like you need to upgrade php to 8.1
> 
> I've a similar problem with my server requiring php 7.2 and
> trying to figure out the upgrade path for all php based
> sites/apps is a pain.
> 
> On 04/10/2023 18:15, John Covici wrote:
> > On Wed, 04 Oct 2023 11:53:46 -0400,
> > Grant Edwards wrote:
The php was the problem, I had upgraded it, but not removed the 7.4
yet.  After doing a depclean on that all is at least compiling now,
including many, many reinstalls.

Thanks all.

> >> On 2023-10-04, John Covici  wrote:
> >>> Hi.  I just did a world update and found that my openssl-1.1.1v is
> >>> masked.  What can I do,
> >> Use one of the stable versions.
> >> 
> >>> I don't have any version that is not masked
> >> Huh?  What architecture are you on? There are three versions of
> >> openssl that are stable and not masked for amd64, x86, and most
> >> others:
> >> 
> >> 3.0.9-r1
> >> 3.0.9-r2
> >> 3.0.10
> >> 
> >> see
> >> 
> >> https://packages.gentoo.org/packages/dev-libs/openssl
> >> 
> >>> and according to the message this version is EOL.
> >> Indeed. OpenSSL 1.1.1 is dead. Support ended a few weeks ago.
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> > Upon further investigation, I hadd masked them off myself , if I
> > unmask the 3.x I get the following:
> > Script started on 2023-10-04 13:10:40-04:00 [COMMAND="emerge -1
> > dev-libs/openssl" TERM="linux" TTY="/dev/tty1" COLUMNS="240"
> > LINES="67"]
> > ^M
> > These are the packages that would be merged, in order:^M
> > ^M
> > Calculating dependencies  .  ... done!^M
> > Dependency resolution took 38.07 s.^M
> > ^M
> > [ebuild  r  U  ] dev-libs/openssl-3.1.3:0/3::gentoo
> > [1.1.1v:0/1.1::gentoo] USE="asm -fips% -ktls% -rfc3779 -sctp
> > -static-libs -test -tls-compression -vanilla -verify-sig
> > -weak-ssl-ciphers (-sslv3%) (-tls-heartbeat%)" ABI_X86="(64) -32
> > (-x3\2)" CPU_FLAGS_X86="(sse2)" 15,198 KiB^M
> > [ebuild  rR] sys-apps/coreutils-9.4::gentoo  USE="acl nls openssl
> > (split-usr) xattr -caps -gmp -hostname -kill -multicall (-selinux)
> > -static -test -vanilla -verify-sig" 0 KiB^M
> > [ebuild  rR] net-misc/rsync-3.2.7-r2::gentoo  USE="acl iconv ssl
> > xattr -examples -lz4 -rrsync -stunnel -system-zlib -verify-sig -xxhash
> > -zstd" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB^M
> > [ebuild  rR] net-misc/wget-1.21.4::gentoo  USE="ipv6 nls pcre
> > (ssl) zlib -cookie-check -debug -gnutls -idn -metalink -ntlm -static
> > -test -uuid -verify-sig" 0 KiB^M
> > [ebuild  rR] dev-lang/python-3.12.0_rc3_p1:3.12::gentoo
> > USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build
> > -debug -examples -libedit -lto -pgo -test -tk -valgrind -verify-sig" 0
> > KiB^M
> > [ebuild  rR] dev-libs/libtpms-0.9.6::gentoo  0 KiB^M
> > [ebuild  rR] www-client/w3m-0.5.3_p20230121::gentoo  USE="X gpm
> > nls ssl unicode -fbcon -gdk-pixbuf -imlib -lynxkeymap -nntp -xface"
> > L10N="-ja" 0 KiB^M
> > [ebuild  rR] dev-db/mysql-connector-c-8.0.32-r1:0/21::gentoo
> > USE="static-libs -ldap" ABI_X86="(64) -32 (-x32)" 0 KiB^M
> > [ebuild  rR] dev-lang/rust-1.72.0:stable/1.72::gentoo  USE="lto
> > (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) (-miri)
> > (-nightly) (-parallel-compiler) -profiler -rust-analyzer -rust-src
> > -rustfmt -system-bootstrap -system-llv\m -test -verify-sig -wasm"
> > ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86)
> > -AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -LoongArch -MSP430
> > -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -VE -WebAssembly -XCore"
> > 0 KiB^M
> > [ebuild  rR] net-libs/libssh-0.10.5:0/4::gentoo  USE="sftp zlib
> > -debug -doc -examples -gcrypt -gssapi -mbedtls -pcap -server
> > -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB^M
> > [ebuild  rR] dev-db/mariadb-connector-c-3.3.4:0/3::gentoo
> > USE="curl ssl -gnutls -kerberos -static-libs -test" ABI_X86="(64) -32
> &g

Re: [gentoo-user] Re: What to do about openssl

2023-10-04 Thread John Covici
On Wed, 04 Oct 2023 13:23:40 -0400,
Alan McKinnon wrote:
> 
> [1  ]
> That should not happen, and is probably happening because you have masked
> something deep in the dep graph that is required.
> 
> Please post all your package.mask files, and provided if you have any of
> those
> 
> 
> Alan
Here is my package.mask file.

#1.4.1 has some serious problems
>=app-backup/rsnapshot-1.4.1


#i use udev
>=sys-fs/static-dev-0.1





#not yet ready
#mutes everything
>=media-sound/alsa-utils-1.2.5

That is all I have.



> 
> On Wed, Oct 4, 2023 at 7:15 PM John Covici  wrote:
> 
> > On Wed, 04 Oct 2023 11:53:46 -0400,
> > Grant Edwards wrote:
> > >
> > > On 2023-10-04, John Covici  wrote:
> > > > Hi.  I just did a world update and found that my openssl-1.1.1v is
> > > > masked.  What can I do,
> > >
> > > Use one of the stable versions.
> > >
> > > > I don't have any version that is not masked
> > >
> > > Huh?  What architecture are you on? There are three versions of
> > > openssl that are stable and not masked for amd64, x86, and most
> > > others:
> > >
> > > 3.0.9-r1
> > > 3.0.9-r2
> > > 3.0.10
> > >
> > > see
> > >
> > > https://packages.gentoo.org/packages/dev-libs/openssl
> > >
> > > > and according to the message this version is EOL.
> > >
> > > Indeed. OpenSSL 1.1.1 is dead. Support ended a few weeks ago.
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > Upon further investigation, I hadd masked them off myself , if I
> > unmask the 3.x I get the following:
> > Script started on 2023-10-04 13:10:40-04:00 [COMMAND="emerge -1
> > dev-libs/openssl" TERM="linux" TTY="/dev/tty1" COLUMNS="240"
> > LINES="67"]
> > ^M
> > These are the packages that would be merged, in order:^M
> > ^M
> > Calculating dependencies  .  ... done!^M
> > Dependency resolution took 38.07 s.^M
> > ^M
> > [ebuild  r  U  ] dev-libs/openssl-3.1.3:0/3::gentoo
> > [1.1.1v:0/1.1::gentoo] USE="asm -fips% -ktls% -rfc3779 -sctp
> > -static-libs -test -tls-compression -vanilla -verify-sig
> > -weak-ssl-ciphers (-sslv3%) (-tls-heartbeat%)" ABI_X86="(64) -32
> > (-x3\2)" CPU_FLAGS_X86="(sse2)" 15,198 KiB^M
> > [ebuild  rR] sys-apps/coreutils-9.4::gentoo  USE="acl nls openssl
> > (split-usr) xattr -caps -gmp -hostname -kill -multicall (-selinux)
> > -static -test -vanilla -verify-sig" 0 KiB^M
> > [ebuild  rR] net-misc/rsync-3.2.7-r2::gentoo  USE="acl iconv ssl
> > xattr -examples -lz4 -rrsync -stunnel -system-zlib -verify-sig -xxhash
> > -zstd" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB^M
> > [ebuild  rR] net-misc/wget-1.21.4::gentoo  USE="ipv6 nls pcre
> > (ssl) zlib -cookie-check -debug -gnutls -idn -metalink -ntlm -static
> > -test -uuid -verify-sig" 0 KiB^M
> > [ebuild  rR] dev-lang/python-3.12.0_rc3_p1:3.12::gentoo
> > USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build
> > -debug -examples -libedit -lto -pgo -test -tk -valgrind -verify-sig" 0
> > KiB^M
> > [ebuild  rR] dev-libs/libtpms-0.9.6::gentoo  0 KiB^M
> > [ebuild  rR] www-client/w3m-0.5.3_p20230121::gentoo  USE="X gpm
> > nls ssl unicode -fbcon -gdk-pixbuf -imlib -lynxkeymap -nntp -xface"
> > L10N="-ja" 0 KiB^M
> > [ebuild  rR] dev-db/mysql-connector-c-8.0.32-r1:0/21::gentoo
> > USE="static-libs -ldap" ABI_X86="(64) -32 (-x32)" 0 KiB^M
> > [ebuild  rR] dev-lang/rust-1.72.0:stable/1.72::gentoo  USE="lto
> > (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) (-miri)
> > (-nightly) (-parallel-compiler) -profiler -rust-analyzer -rust-src
> > -rustfmt -system-bootstrap -system-llv\m -test -verify-sig -wasm"
> > ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86)
> > -AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -LoongArch -MSP430
> > -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -VE -WebAssembly -XCore"
> > 0 KiB^M
> > [ebuild  rR] net-libs/libssh-0.10.5:0/4::gentoo  USE="sftp zlib
> > -debug -doc -examples -gcrypt -gssapi -mbedtls -pcap -server
> > -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB^M
> > [ebuild  rR] dev-db/mariadb-connector-c-3.3.4:0/3::gentoo
> > USE="curl ssl -gnutls -kerberos -static-libs -test" ABI_X86="(64) -32
> 

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

2020-10-02 Thread n952162

On 2020-10-02 10:45, n952162 wrote:

Have I successfully updated my system?

I ran this command:

emerge \
    -v \
    --verbose-conflicts \
    --deep \
    -update \
    --changed-use \
    --keep-going \
    --with-bdeps=y \
    --changed-deps \
    --backtrack=100 \
    @world

and got tons of stuff that looks like spurious debugging/tracing info

  parent: (dev-libs/glib-2.64.5:2/2::gentoo, ebuild scheduled for
merge)
    child: (virtual/libelf-3:0/1::gentoo, ebuild scheduled for
merge) (runtime_slot_op)
  parent: (dev-libs/glib-2.64.5:2/2::gentoo, ebuild scheduled for
merge)
    child: (virtual/libelf-3:0/1::gentoo, ebuild scheduled for
merge) (runtime_slot_op)

and these snippets:

Total: 869 packages (332 upgrades, 30 new, 10 in new slots, 497
reinstalls), Size of downloads: 2769158 KiB
Conflict: 1 block
forced reinstall atoms:


slot operator dependencies:
   (/, sys-libs/ncurses:0)




forced rebuilds:

[EOF]




When I strip out all the parent/child traces (they make it a 6MB file!)
with this:

sed -e '/^\s*parent: (/d' -e '/^\s*child: (/d' system-world.201002

I get this at the end of my emerge:


Total: 869 packages (332 upgrades, 30 new, 10 in new slots, 497
reinstalls), Size of downloads: 2769158 KiB
Conflict: 1 block
forced reinstall atoms:


slot operator dependencies:
   (/, sys-libs/ncurses:0)
   (/, sys-libs/readline:0)
   (/, dev-lang/perl:0)
   (/, dev-libs/libxml2:2)
   (/, dev-lang/python-exec:2)
   (/, sys-libs/db:5.3)
   (/, sys-libs/gdbm:0)
   (/, x11-libs/libX11:0)
   (/, dev-libs/libgcrypt:0)
   (/, dev-libs/openssl:0)
   (/, dev-libs/expat:0)
   (/, x11-libs/libxshmfence:0)
   (/, x11-libs/libXdamage:0)
   (/, x11-libs/libXext:0)
   (/, x11-libs/libXxf86vm:0)
   (/, x11-libs/libxcb:0)
   (/, x11-libs/libXfixes:0)
   (/, app-arch/zstd:0)
   (/, sys-devel/llvm:10)
   (/, sys-libs/zlib:0)
   (/, dev-libs/libffi:0)
   (/, app-arch/libarchive:0)
   (/, dev-libs/jsoncpp:0)
   (/, dev-libs/libuv:0)
   (/, x11-libs/libpciaccess:0)
   (/, x11-base/xorg-server:0)
   (/, dev-libs/libinput:0)
   (/, dev-libs/apr:1)
   (/, dev-libs/apr-util:1)
   (/, media-libs/libpng:0)
   (/, media-libs/dav1d:0)
   (/, media-libs/libaom:0)
   (/, media-libs/harfbuzz:0)
   (/, dev-libs/icu:0)
   (/, dev-libs/libevent:0)
   (/, media-libs/libvpx:0)
   (/, media-libs/libwebp:0)
   (/, x11-libs/cairo:0)
   (/, media-gfx/graphite2:0)
   (/, dev-libs/gobject-introspection:0)
   (/, media-libs/freetype:2)
   (/, media-libs/fontconfig:1.0)
   (/, sys-libs/binutils-libs:0)
   (/, app-crypt/libb2:0)
   (/, app-crypt/gpgme:1)
   (/, dev-libs/libassuan:0)
   (/, dev-libs/libgpg-error:0)
   (/, net-libs/gnutls:0)
   (/, dev-libs/libtasn1:0)
   (/, dev-libs/libunistring:0)
   (/, dev-libs/nettle:0)
   (/, dev-libs/gmp:0)
   (/, net-dns/libidn2:0)
   (/, app-arch/bzip2:0)
   (/, dev-libs/json-c:0)
   (/, app-crypt/argon2:0)
   (/, dev-libs/mpfr:0)
   (/, dev-python/cffi:0)
   (/, dev-python/ply:0)
   (/, sys-libs/efivar:0)
   (/, media-libs/gd:2)
   (/, dev-db/postgresql:12)
   (/, sci-libs/proj:0)
   (/, dev-lang/lua:0)
   (/, dev-db/postgresql:10)
   (/, dev-db/postgresql:11)
   (/, sci-libs/libgeotiff:0)
   (/, dev-libs/libnl:3)
   (/, app-text/poppler:0)
   (/, app-text/qpdf:0)
   (/, media-libs/jbig2dec:0)
   (/, media-libs/openjpeg:2)
   (/, net-dns/libidn:0)
   (/, dev-libs/libxslt:0)
   (/, app-arch/lz4:0)
   (/, media-libs/opus:0)
   (/, media-video/ffmpeg:0)
   (/, app-text/hunspell:0)
   (/, dev-qt/qtcore:5)
   (/, net-libs/libtirpc:0)
   (/, sys-apps/keyutils:0)
   (/, dev-libs/liblinear:0)
   (/, media-libs/libdvdread:0)
   (/, media-libs/libdvbpsi:0)
   (/, media-libs/libdvdnav:0)
   (/, x11-libs/xcb-util-cursor:0)
   (/, x11-libs/xcb-util-image:0)
   (/, x11-libs/xcb-util-keysyms:0)
   (/, x11-libs/xcb-util-renderutil:0)
   (/, x11-libs/xcb-util-wm:0)
   (/, x11-libs/xcb-util:0)
   (/, x11-base/xcb-proto:0)
   (/, media-libs/flac:0)
   (/, 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

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

2020-10-02 Thread John Covici
On Fri, 02 Oct 2020 05:25:29 -0400,
n952162 wrote:
> 
> On 2020-10-02 10:45, n952162 wrote:
> > Have I successfully updated my system?
> > 
> > I ran this command:
> > 
> > emerge \
> >     -v \
> >     --verbose-conflicts \
> >     --deep \
> >     -update \
> >     --changed-use \
> >     --keep-going \
> >     --with-bdeps=y \
> >     --changed-deps \
> >     --backtrack=100 \
> >     @world
> > 
> > and got tons of stuff that looks like spurious debugging/tracing info
> > 
> >   parent: (dev-libs/glib-2.64.5:2/2::gentoo, ebuild scheduled for
> > merge)
> >     child: (virtual/libelf-3:0/1::gentoo, ebuild scheduled for
> > merge) (runtime_slot_op)
> >   parent: (dev-libs/glib-2.64.5:2/2::gentoo, ebuild scheduled for
> > merge)
> >     child: (virtual/libelf-3:0/1::gentoo, ebuild scheduled for
> > merge) (runtime_slot_op)
> > 
> > and these snippets:
> > 
> > Total: 869 packages (332 upgrades, 30 new, 10 in new slots, 497
> > reinstalls), Size of downloads: 2769158 KiB
> > Conflict: 1 block
> > forced reinstall atoms:
> > 
> > 
> > slot operator dependencies:
> >    (/, sys-libs/ncurses:0)
> > 
> > 
> > 
> > 
> > forced rebuilds:
> > 
> > [EOF]
> > 
> > 
> 
> When I strip out all the parent/child traces (they make it a 6MB file!)
> with this:
> 
> sed -e '/^\s*parent: (/d' -e '/^\s*child: (/d' system-world.201002
> 
> I get this at the end of my emerge:
> 
> 
> Total: 869 packages (332 upgrades, 30 new, 10 in new slots, 497
> reinstalls), Size of downloads: 2769158 KiB
> Conflict: 1 block
> forced reinstall atoms:
> 
> 
> slot operator dependencies:
>    (/, sys-libs/ncurses:0)
>    (/, sys-libs/readline:0)
>    (/, dev-lang/perl:0)
>    (/, dev-libs/libxml2:2)
>    (/, dev-lang/python-exec:2)
>    (/, sys-libs/db:5.3)
>    (/, sys-libs/gdbm:0)
>    (/, x11-libs/libX11:0)
>    (/, dev-libs/libgcrypt:0)
>    (/, dev-libs/openssl:0)
>    (/, dev-libs/expat:0)
>    (/, x11-libs/libxshmfence:0)
>    (/, x11-libs/libXdamage:0)
>    (/, x11-libs/libXext:0)
>    (/, x11-libs/libXxf86vm:0)
>    (/, x11-libs/libxcb:0)
>    (/, x11-libs/libXfixes:0)
>    (/, app-arch/zstd:0)
>    (/, sys-devel/llvm:10)
>    (/, sys-libs/zlib:0)
>    (/, dev-libs/libffi:0)
>    (/, app-arch/libarchive:0)
>    (/, dev-libs/jsoncpp:0)
>    (/, dev-libs/libuv:0)
>    (/, x11-libs/libpciaccess:0)
>    (/, x11-base/xorg-server:0)
>    (/, dev-libs/libinput:0)
>    (/, dev-libs/apr:1)
>    (/, dev-libs/apr-util:1)
>    (/, media-libs/libpng:0)
>    (/, media-libs/dav1d:0)
>    (/, media-libs/libaom:0)
>    (/, media-libs/harfbuzz:0)
>    (/, dev-libs/icu:0)
>    (/, dev-libs/libevent:0)
>    (/, media-libs/libvpx:0)
>    (/, media-libs/libwebp:0)
>    (/, x11-libs/cairo:0)
>    (/, media-gfx/graphite2:0)
>    (/, dev-libs/gobject-introspection:0)
>    (/, media-libs/freetype:2)
>    (/, media-libs/fontconfig:1.0)
>    (/, sys-libs/binutils-libs:0)
>    (/, app-crypt/libb2:0)
>    (/, app-crypt/gpgme:1)
>    (/, dev-libs/libassuan:0)
>    (/, dev-libs/libgpg-error:0)
>    (/, net-libs/gnutls:0)
>    (/, dev-libs/libtasn1:0)
>    (/, dev-libs/libunistring:0)
>    (/, dev-libs/nettle:0)
>    (/, dev-libs/gmp:0)
>    (/, net-dns/libidn2:0)
>    (/, app-arch/bzip2:0)
>    (/, dev-libs/json-c:0)
>    (/, app-crypt/argon2:0)
>    (/, dev-libs/mpfr:0)
>    (/, dev-python/cffi:0)
>    (/, dev-python/ply:0)
>    (/, sys-libs/efivar:0)
>    (/, media-libs/gd:2)
>    (/, dev-db/postgresql:12)
>    (/, sci-libs/proj:0)
>    (/, dev-lang/lua:0)
>    (/, dev-db/postgresql:10)
>    (/, dev-db/postgresql:11)
>    (/, sci-libs/libgeotiff:0)
>    (/, dev-libs/libnl:3)
>    (/, app-text/poppler:0)
>    (/, app-text/qpdf:0)
>    (/, media-libs/jbig2dec:0)
>    (/, media-libs/openjpeg:2)
>    (/, net-dns/libidn:0)
>    (/, dev-libs/libxslt:0)
>    (/, app-arch/lz4:0)
>    (/, media-libs/opus:0)
>    (/, media-video/ffmpeg:0)
>    (/, app-text/hunspell:0)
>    (/, dev-qt/qtcore:5)
>    (/, net-libs/libtirpc:0)
>    (/, sys-apps/keyutils:0)
>    (/, dev-libs/liblinear:0)
>    (/, media-libs/libdvdread:0)
>    (/, media-libs/libdvbpsi:0)
>    (/, media-libs/libdvdnav:0)
>    (/, x11-libs/xcb-util-cursor:0)
>    (/, x11-libs/xcb-util-image:0)
>    (/, x11-libs/xcb-util-keysyms:0)
>    (/, x11-libs/xcb-util-renderutil:0)
>    (/, x11-libs/xcb-util-wm:0)
>    (/, x11-libs/xcb-util:0)
>    (/, x11-base/xcb-proto:0)
>    (/, media-libs/flac:0)
> 

Re: [gentoo-user] [SOLVED] eselect-opengl Blockage (with a capital "B") problem

2020-05-20 Thread Victor Ivanov
When the lbglvnd flag was introduced I remember I solved this issue by:

# emerge --unmerge eselect-opengl
# emerge -1qv mesa

After that, a simple update of @world rebuilt everything else on its own.

Personally, I had been waiting for libglvnd support for _a long time_.
This - and I mean GLVND in general - is something that should have come
to Linux many years ago, along with NVIDIAs PRIME render offloading.

10y ago I used to have an Optimus laptop with an Nvidia GPU and it was
an absolute hell to get it running, I remember writing tonnes of scripts
using VirtualGL and a dummy X server running on the Nvidia GPU. This was
before bumblebee.

Today, I still need this with an external GPU.

But now it takes 1 environment variable to offload to the other GPU!
GLVND literally made my Linux work experience a million times better.
I'm extatic.

- V

On 20/05/2020 07:07, Dale wrote:
> J. Roeleveld wrote:
>> On 20 May 2020 05:44:58 CEST, Walter Dnes  wrote:
>>> On Tue, May 19, 2020 at 03:14:03PM +0200, J. Roeleveld wrote
>>>>>> On Mon, May 18, 2020 at 01:53:19PM -0400, Walter Dnes wrote:
>>>>>  Thank you very much.  I've got the update (156 packages) running
>>> now.
>>>>> I had set "-libglvnd" in make.conf on my main machine, but only
>>> against
>>>>> xorg-server on my secondary machine.  Setting "-libglvnd" in
>>> make.conf
>>>>> solves the problem.
>>>> Only for now.
>>>> "Libglvnd" is scheduled to be removed as a USE flag.  I would
>>>> definitely suggest to switch to having that one on before it becomes
>>>> mandatory.
>>>>
>>>> It has a lot of benefits over the eselect hack to be able to have
>>>> multiple opengl implementations running.
>>>  The reason I had originally turned it off was because when it first
>>> showed up as a flag, I checked Google to find out what it was.  Almost
>>> every hit on webforums was like...
>>>
>>> Person 1 - Help; my "update world" dies
>>> Person 2 - Turn off "libglvnd" in make.conf
>>> Person 1 - Thank you; my update works fine now
>>>
>>>  Add me to the list.  If this is to be a new default config setup, I'd
>>> appreciate a news item about it, like the python 3.6 to 3.7 switchover.
>> I actually had to enable this on my new laptop before it became stable to 
>> get the Nvidia chip and my external displays working.
>> I am actually happy with this as I don't have to keep changing the opengl 
>> setting anymore when I need 3D performance.
>>
>> --
>> Joost
> 
> 
> Reading this thread, I checked and I to have this USE flag turned
> off/disabled/whatever.  I removed it from make.conf and commented out
> everything else I found in /etc/portage and am checking to see what all
> had to be rebuilt.  I figure I may as well change now while I have a
> otherwise stable system, except for the sddm-helper chewing memory
> problem, and get ahead of the curve.  ;-)  Using that grep -r trick
> comes in handy.  Learned that from this list too. 
> 
> It's odd how following a thread that may not even affect you ends up
> doing so.  :/
> 
> Just in case, this is what emerge spit out on my screen. 
> 
> 
> Calculating dependencies... done!
> [ebuild   R    ] sys-libs/libblockdev-2.23-r1::gentoo  USE="cryptsetup
> lvm tools -bcache -device-mapper -dmraid -escrow -gtk-doc -introspection
> -kbd -test -vdo" PYTHON_SINGLE_TARGET="python3_7 -python3_6
> (-python3_8)" 0 KiB
> [ebuild   R    ] media-libs/libdvdnav-6.0.0::gentoo  USE="-static-libs"
> ABI_X86="(64) -32 (-x32)" 0 KiB
> [ebuild  N ] media-libs/libglvnd-1.3.1::gentoo  USE="X -test"
> ABI_X86="32 (64) (-x32)" 698 KiB
> [ebuild   R   ~] media-libs/mesa-20.0.4-r1::gentoo  USE="X classic dri3
> egl gallium gbm gles2 libglvnd* llvm wayland zstd -d3d9 -debug -gles1
> -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind
> -vdpau -vulkan -vulkan-overlay -xa -xvmc" ABI_X86="32 (64) (-x32)"
> VIDEO_CARDS="(-freedreno) -i915 -i965 -intel -iris (-lima) -nouveau
> (-panfrost) -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl
> (-vivante) -vmware" 0 KiB
> [blocks b  ] media-libs/mesa[-libglvnd(-)]
> ("media-libs/mesa[-libglvnd(-)]" is blocking media-libs/libglvnd-1.3.1)
> [ebuild   R    ] sys-libs/libcap-2.26-r2::gentoo  USE="pam (split-usr)
> -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB
> [ebuild   R    ] x11-drivers/nvidia-drivers-440.82:0/440::gentoo  USE="X
> acpi driver gtk3 kms libglvnd

Re: [gentoo-user] Looking for other Seamonkey users

2021-04-07 Thread Dan Egli

On 4/7/2021 2:34 AM, Dale wrote:

Dan Egli wrote:

On 4/6/2021 10:41 PM, Dale wrote:

I've done some research.  It seems Dovecot is what I need.  It uses mbox
and has some features I might need one day already where Courier doesn't
but there isn't much difference really.  If anyone is curious, the
comparison is here.

https://en.wikipedia.org/wiki/Comparison_of_mail_servers

The biggest thing, mbox.  If I recall correctly that is what Seamonkey
uses and I should be able to import those easy enough.  It at least
gives me a head start.  Since this is a whole new deal, going to start a
new thread if nobody pops up and says nooo to Dovecot.  I found a
guide here:


Seamonkey is a web browser. Therefore, mbox vs maildir is meaningless
to it. All it knows it it talks to the imap server and the imap server
replies and sends a message.

Having said that, AVOID mbox like the plague! It is only a matter of
time before mbox mail files get corrupted. Maildir is INFINITELY
safer. And in the event of corruption in maildir, you loose ONLY the
corrupted messages. Corrupt your mbox file and you're likely to loose
the whole folder!

As far as moving from one to another, both mbox and maildir are
standards. So if imap server X and Y both use Maildir, then swapping
between them is easy, and POINTLESS, due to the fact that imap
maintains the files on your server. So, if you move to a different
mail CLIENT (thunderbird for example) then the new client only needs
to take the time to re-download the messages from the server. It's the
same way webmail and a client can work together. Neither is doing the
actual work with the files. Each is only sending commands to a
separate server program to work with the files.


http://www.wikigentoo.ksiezyc.pl/Dovecot.htm

So far, it is Gentoo based.  I found another one but it is Ubuntu
based.  May work but commands are different.  Trying to go by a Gentoo
based one.  If anyone has a better one, please share links.

May start new thread in a day or so if no one shouts no.

Consider this the shout. I can't stop you from using mbox, but I can
shout at the top of my lungs that it's a BAD IDEA. And I can say over
and over that changing your imap SERVER will have ZERO impact on what
Seamonkey does. The only exception would be if you have a mail server
(original or new) that doesn't fully follow the imap protocol. And in
that case, who knows what the change will do.



I looked, Dovecot can use either mbox or maildir.  Can Dovecot convert
those to or must I use a different tool?

To anyone using Dovecot, just what all had to be installed?  This is
what emerge gives me right now.

I use dovecot here. What you see is plenty for the standard install. the 
managesieve flag allows you to write custom scripts in the seieve 
language. But I don't recommend getting into that until you know the 
language. Other than that, the other disabled flags are fairly 
self-explanatory.


As for converting, you would need to have two instances with two 
different configs running to do that. Then you'd use your mail client to 
move messages between accounts. But I __STILL__ say you should NOT use 
mbox format. If you happen to be using it now, then I recommend you 
convert! Converting TO maildir is not hard if you use formail.



root@fireball / # emerge -av dovecot

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

Calculating dependencies... done!
[ebuild  N ] acct-group/dovecot-0-r1::gentoo  0 KiB
[ebuild  N ] acct-group/dovenull-0-r1::gentoo  0 KiB
[ebuild  N ] acct-user/dovecot-0-r1::gentoo  0 KiB
[ebuild  N ] acct-user/dovenull-0-r1::gentoo  0 KiB
[ebuild  N ] net-mail/dovecot-2.3.13-r100::gentoo  USE="bzip2 ipv6
lzma mysql pam sqlite tcpd zlib -argon2 -caps -doc -kerberos -ldap
(-libressl) -lua -lucene -lz4 -managesieve -postgres -rpc (-selinux)
-sieve -solr -static-libs -suid -textcat -unwind -zstd"
LUA_SINGLE_TARGET="lua5-1 -lua5-2 -lua5-3" 7,282 KiB

Total: 5 packages (5 new), Size of downloads: 7,282 KiB

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


I suspect I need to install some other packages to make certain things
work.  Then again, maybe they already installed??  Some may recall that
cron jobs sent emails so it has to have packages installed for that.
The guide I linked to elsewhere has USE flags not listed above.  It may
be out of date.  It does say not to use it for older 1.* versions of
Dovecot tho.  Just trying to see what I'm getting into here.  I think
this is a really good idea but want to see how deep the water is before
jumping in.  I can't swim, well, I do, like a lead rock.  :/



My config is more advanced since my dovecot has to talk to both MySQL 
and LDAP databases, and to support compressed messages. So the use flags 
I put on for 2.3.13-r100 are:
bzip2 doc ipv6 ldap lua lz4 lzma managesieve mysql pam rpc selinux sieve 
sqlite zlib ztd






Re: [gentoo-user] Backup program that compresses data but only changes new files.

2022-08-15 Thread John Covici
On Mon, 15 Aug 2022 04:33:44 -0400,
Dale wrote:
> 
> William Kenworthy wrote:
> >
> > On 15/8/22 06:44, Dale wrote:
> >> Howdy,
> >>
> >> With my new fiber internet, my poor disks are getting a work out, and
> >> also filling up.  First casualty, my backup disk.  I have one directory
> >> that is . . . well . . . huge.  It's about 7TBs or so.  This is where it
> >> is right now and it's still trying to pack in files.
> >>
> >>
> >> /dev/mapper/8tb    7.3T  7.1T  201G  98% /mnt/8tb
> >>
> >>
> >> Right now, I'm using rsync which doesn't compress files but does just
> >> update things that have changed.  I'd like to find some way, software
> >> but maybe there is already a tool I'm unaware of, to compress data and
> >> work a lot like rsync otherwise.  I looked in app-backup and there is a
> >> lot of options but not sure which fits best for what I want to do.
> >> Again, backup a directory, compress and only update with changed or new
> >> files.  Generally, it only adds files but sometimes a file gets replaced
> >> as well.  Same name but different size.
> >>
> >> I was trying to go through the list in app-backup one by one but to be
> >> honest, most links included only go to github or something and usually
> >> doesn't tell anything about how it works or anything.  Basically, as far
> >> as seeing if it does what I want, it's useless. It sort of reminds me of
> >> quite a few USE flag descriptions.
> >>
> >> I plan to buy another hard drive pretty soon.  Next month is possible.
> >> If there is nothing available that does what I want, is there a way to
> >> use rsync and have it set to backup files starting with "a" through "k"
> >> to one spot and then backup "l" through "z" to another?  I could then
> >> split the files into two parts.  I use a script to do this now, if one
> >> could call my little things scripts, so even a complicated command could
> >> work, just may need help figuring out the command.
> >>
> >> Thoughts?  Ideas?
> >>
> >> Dale
> >>
> >> :-)  :-)
> >>
> > The questions you need to ask is how compressible is the data and how
> > much duplication is in there.  Rsync's biggest disadvantage is it
> > doesn't keep history, so if you need to restore something from last
> > week you are SOL.  Honestly, rsync is not a backup program and should
> > only be used the way you do for data that don't value as an rsync
> > archive is a disaster waiting to happen from a backup point of view.
> >
> > Look into dirvish - uses hard links to keep files current but safe, is
> > easy to restore (looks like a exact copy so you cp the files back if
> > needed.  Downside is it hammers the hard disk and has no compression
> > so its only deduplication via history (my backups stabilised about 2x
> > original size for ~2yrs of history - though you can use something like
> > btrfs which has filesystem level compression.
> >
> > My current program is borgbackup which is very sophisticated in how it
> > stores data - its probably your best bet in fact.  I am storing
> > literally tens of Tb of raw data on a 4Tb usb3 disk (going back years
> > and yes, I do restore regularly, and not just for disasters but for
> > space efficient long term storage I access only rarely.
> >
> > e.g.:
> >
> > A single host:
> >
> > --
> >
> >    Original size  Compressed size Deduplicated
> > size
> > All archives:    3.07 TB  1.96 TB   
> > 151.80 GB
> >
> >    Unique chunks Total chunks
> > Chunk index: 1026085 22285913
> >
> >
> > Then there is my offline storage - it backs up ~15 hosts (in repos
> > like the above) + data storage like 22 years of email etc. Each host
> > backs up to its own repo then the offline storage backs that up.  The
> > deduplicated size is the actual on disk size ... compression varies as
> > its whatever I used at the time the backup was taken ... currently I
> > have it set to "auto,zstd,11" but it can be mixed in the same repo (a
> > repo is a single backup set - you can nest repos which is what I do -
> > so ~45Tb stored on a 4Tb offline disk).  One advantage of a system
> > like this is chunked data rarely changes, so i

Re: [gentoo-user] Backup program that compresses data but only changes new files.

2022-08-15 Thread Dale
William Kenworthy wrote:
>
> On 15/8/22 06:44, Dale wrote:
>> Howdy,
>>
>> With my new fiber internet, my poor disks are getting a work out, and
>> also filling up.  First casualty, my backup disk.  I have one directory
>> that is . . . well . . . huge.  It's about 7TBs or so.  This is where it
>> is right now and it's still trying to pack in files.
>>
>>
>> /dev/mapper/8tb    7.3T  7.1T  201G  98% /mnt/8tb
>>
>>
>> Right now, I'm using rsync which doesn't compress files but does just
>> update things that have changed.  I'd like to find some way, software
>> but maybe there is already a tool I'm unaware of, to compress data and
>> work a lot like rsync otherwise.  I looked in app-backup and there is a
>> lot of options but not sure which fits best for what I want to do.
>> Again, backup a directory, compress and only update with changed or new
>> files.  Generally, it only adds files but sometimes a file gets replaced
>> as well.  Same name but different size.
>>
>> I was trying to go through the list in app-backup one by one but to be
>> honest, most links included only go to github or something and usually
>> doesn't tell anything about how it works or anything.  Basically, as far
>> as seeing if it does what I want, it's useless. It sort of reminds me of
>> quite a few USE flag descriptions.
>>
>> I plan to buy another hard drive pretty soon.  Next month is possible.
>> If there is nothing available that does what I want, is there a way to
>> use rsync and have it set to backup files starting with "a" through "k"
>> to one spot and then backup "l" through "z" to another?  I could then
>> split the files into two parts.  I use a script to do this now, if one
>> could call my little things scripts, so even a complicated command could
>> work, just may need help figuring out the command.
>>
>> Thoughts?  Ideas?
>>
>> Dale
>>
>> :-)  :-)
>>
> The questions you need to ask is how compressible is the data and how
> much duplication is in there.  Rsync's biggest disadvantage is it
> doesn't keep history, so if you need to restore something from last
> week you are SOL.  Honestly, rsync is not a backup program and should
> only be used the way you do for data that don't value as an rsync
> archive is a disaster waiting to happen from a backup point of view.
>
> Look into dirvish - uses hard links to keep files current but safe, is
> easy to restore (looks like a exact copy so you cp the files back if
> needed.  Downside is it hammers the hard disk and has no compression
> so its only deduplication via history (my backups stabilised about 2x
> original size for ~2yrs of history - though you can use something like
> btrfs which has filesystem level compression.
>
> My current program is borgbackup which is very sophisticated in how it
> stores data - its probably your best bet in fact.  I am storing
> literally tens of Tb of raw data on a 4Tb usb3 disk (going back years
> and yes, I do restore regularly, and not just for disasters but for
> space efficient long term storage I access only rarely.
>
> e.g.:
>
> A single host:
>
> --
>
>    Original size  Compressed size Deduplicated
> size
> All archives:    3.07 TB  1.96 TB   
> 151.80 GB
>
>    Unique chunks Total chunks
> Chunk index: 1026085 22285913
>
>
> Then there is my offline storage - it backs up ~15 hosts (in repos
> like the above) + data storage like 22 years of email etc. Each host
> backs up to its own repo then the offline storage backs that up.  The
> deduplicated size is the actual on disk size ... compression varies as
> its whatever I used at the time the backup was taken ... currently I
> have it set to "auto,zstd,11" but it can be mixed in the same repo (a
> repo is a single backup set - you can nest repos which is what I do -
> so ~45Tb stored on a 4Tb offline disk).  One advantage of a system
> like this is chunked data rarely changes, so its only the differences
> that are backed up (read the borgbackup docs - interesting)
>
> --
>
>    Original size  Compressed size Deduplicated
> size
> All archives:   28.69 TB 28.69 TB 
> 3.81 TB
>
>    Unique chunks Total chunks
> Chunk index:
>
>
>
>


For the particular drive in

[gentoo-user] emerge -DuN @system vs. emerge -DuN @world

2022-03-21 Thread hitachi303

Hi,

as far as I understand updating @system first should be safer and easier 
to perform than updating @world directly. It was mention that especially 
after updating the software after a somewhat long period this might 
solve conflicts. I often do experience different and wonder what the 
reason might be.


The example today would work in both ways but @system shows problems 
which @world does not have. Mostly those problems seem to be bigger to 
the point where @system does not work but @world does or manual package 
by package uninstalling and or emerging is required.


Normally I run emerge -Dua --reinstall changed-use @world but N fits 
better in the subject line.


Anyway just an observation.

Regards





emerge -DupN @system

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

Calculating dependencies  ... done!
[ebuild U  ] sys-libs/glibc-2.33-r13:2.2::gentoo 
[2.33-r7:2.2::gentoo] USE="multiarch (multilib) ssp (static-libs) -audit 
-caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc -gd 
-headers-only -multilib-bootstrap -nscd -profile (-selinux) -st

atic-pie -suid -systemd -systemtap -test (-vanilla)" 0 KiB
[ebuild U  ] sys-apps/gentoo-functions-0.15::gentoo [0.14::gentoo] 0 KiB
[ebuild U  ] sys-devel/llvm-common-13.0.1::gentoo [13.0.0::gentoo] 
142.335 KiB

[ebuild U  ] sys-apps/hwdata-0.354::gentoo [0.353::gentoo] 2.161 KiB
[ebuild U  ] app-text/poppler-data-0.4.11::gentoo [0.4.10::gentoo] 
4.392 KiB
[ebuild U  ] sys-libs/timezone-data-2021e::gentoo [2021a-r1::gentoo] 
USE="nls -leaps-timezone -zic-slim" 680 KiB
[ebuild U  ] dev-libs/libpipeline-1.5.5::gentoo [1.5.4::gentoo] 
USE="-test" 934 KiB
[ebuild U  ] app-arch/zstd-1.5.2:0/1::gentoo [1.5.0:0/1::gentoo] 
USE="threads -lz4 -static-libs" ABI_X86="(64) -32 (-x32)" 1.906 KiB
[ebuild U  ] sys-libs/libseccomp-2.5.3::gentoo [2.5.1-r1::gentoo] 
USE="-python -static-libs -test%" ABI_X86="(64) -32 (-x32)" 
PYTHON_TARGETS="python3_9 -python3_8 -python3_10%" 623 KiB
[ebuild   R] sys-apps/sysvinit-2.99-r1::gentoo  USE="(-ibm) 
(-selinux) -static" KERNEL="(-FreeBSD%)" 0 KiB
[ebuild U  ] sys-kernel/installkernel-gentoo-5::gentoo [3::gentoo] 
USE="-grub%" 3 KiB
[ebuild   R] virtual/libcrypt-2:0/2::gentoo  USE="-static-libs" 
ABI_X86="32* (64) (-x32)" 0 KiB
[ebuild U  ] sys-libs/libxcrypt-4.4.27:0/1::gentoo 
[4.4.25-r1:0/1::gentoo] USE="(compat) (split-usr) (system) -static-libs 
-test" ABI_X86="32* (64) (-x32)" 605 KiB
[ebuild U  ] dev-libs/openssl-1.1.1n:0/1.1::gentoo 
[1.1.1l-r1:0/1.1::gentoo] USE="asm -rfc3779 -sctp -sslv3 -static-libs 
-test -tls-compression -tls-heartbeat -vanilla -verify-sig%" 
ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 9.620 KiB
[ebuild U  ] app-text/qpdf-10.5.0:0/28::gentoo [10.4.0:0/28::gentoo] 
USE="ssl -doc% -examples -gnutls% -test" 17.933 KiB
[ebuild U  ] dev-perl/Try-Tiny-0.310.0::gentoo [0.300.0-r1::gentoo] 
USE="-minimal -test" 35 KiB
[ebuild U  ] dev-perl/URI-5.100.0::gentoo [5.90.0::gentoo] 
USE="-test" 107 KiB
[ebuild U  ] dev-perl/libwww-perl-6.600.0-r1::gentoo 
[6.550.0::gentoo] USE="ssl -test" 175 KiB
[ebuild U  ] sys-libs/libcap-2.63::gentoo [2.62::gentoo] USE="pam 
(split-usr) -static-libs -tools" ABI_X86="(64) -32 (-x32)" 171 KiB
[ebuild U  ] dev-libs/libxml2-2.9.13-r1:2::gentoo 
[2.9.12-r5:2::gentoo] USE="icu python readline -debug -examples -lzma 
-static-libs -test (-ipv6%*) (-verify-sig%)" ABI_X86="(64) -32 (-x32)" 
PYTHON_TARGETS="python3_9 -python3_8 -python3_10" 3.168 KiB
[ebuild U  ] sys-apps/util-linux-2.37.4::gentoo [2.37.3-r1::gentoo] 
USE="cramfs hardlink logger ncurses nls pam readline (split-usr) su suid 
udev (unicode) -audit -build -caps -cryptsetup -fdformat -kill -magic 
-python (-rtas) (-selinux) -slang -static-libs -systemd -test 
-tty-helpers" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9 
-python3_8 -python3_10" 5.971 KiB
[ebuild U  ] dev-libs/expat-2.4.7::gentoo [2.4.4::gentoo] 
USE="unicode -examples -static-libs" ABI_X86="(64) -32 (-x32)" 444 KiB
[ebuild U  ] dev-python/tomli-2.0.1::gentoo [2.0.0::gentoo] 
USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) -python3_8 -python3_10" 
144 KiB
[ebuild U  ] x11-libs/libICE-1.0.10-r1::gentoo [1.0.10::gentoo] 
USE="ipv6" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild U  ] net-libs/gnutls-3.7.3-r1:0/30::gentoo 
[3.7.2:0/30::gentoo] USE="cxx idn nls openssl seccomp tls-heartbeat 
-dane -doc -examples -guile -pkcs11 -sslv2 -sslv3 -static-libs -test 
(-test-full) -tools -valgrind" ABI_X86="(64) -32 (-x32)" 5.976 KiB
[ebuild U  ] x11-libs/libXdmcp-1

[gentoo-user] nvidia-drivers wants static-libs, I do not.

2022-02-13 Thread Dale
ayer -semantic-desktop"
[ebuild  N ]  media-gfx/hugin-2020.0.0-r1::gentoo  USE="sift -debug
-lapack -python -raw" L10N="-ca -ca-valencia -cs -da -de -en-GB -es -eu
-fi -fr -hu -it -ja -nl -pl -pt-BR -ro -ru -sk -sv -zh-CN -zh-TW"
PYTHON_SINGLE_TARGET="python3_9 -python3_8" 0 KiB
[nomerge   ]   media-gfx/enblend-4.2.0_p20161007-r1::gentoo 
USE="openmp -debug -doc -tcmalloc" CPU_FLAGS_X86="sse2"
[nomerge   ]    media-libs/vigra-1.11.1-r3::gentoo  USE="hdf5 jpeg
openexr png python tiff zlib -doc -fftw -mpi -test -valgrind"
PYTHON_TARGETS="python3_9 -python3_8"
[ebuild   R    ] sci-libs/hdf5-1.10.5-r1:0/1.10.5::gentoo  USE="hl*
zlib -cxx -debug -examples -fortran -mpi -szip -threads* -unsupported" 0 KiB
[ebuild U ~] sci-electronics/kicad-5.1.12-r2::gentoo
[5.1.12::gentoo] USE="examples github ngspice occ* openmp python -doc
(-oce%*)" PYTHON_SINGLE_TARGET="python3_9 -python3_8" 0 KiB
[ebuild  N    ~]  sci-libs/opencascade-7.5.2-r5:0/7.5::gentoo 
USE="ffmpeg vtk -debug -doc -examples -freeimage -gles2-only -json
-optimize -tbb" 46,692 KiB
[ebuild  N    ~]   sci-libs/vtk-9.0.3-r4:0/9.0::gentoo  USE="X ffmpeg
java json mysql openmp qt5 rendering -all-modules -boost -cuda -doc
-examples -gdal -imaging -kits -mpi -odbc -offscreen -pegtl -postgres
-python -tbb -test -theora -tk -views -web"
PYTHON_SINGLE_TARGET="python3_9 -python3_8" VIDEO_CARDS="nvidia" 438,026 KiB
[ebuild  N    ~]    sci-libs/kissfft-131.1.0::gentoo  USE="openmp
-alloca -test -tools" CPU_FLAGS_X86="sse" 52 KiB
[ebuild  N ]    sci-libs/netcdf-4.8.1-r1:0/19::gentoo  USE="dap hdf5
-doc -examples -hdf -mpi -szip -test -tools" 18,513 KiB
[ebuild  N ]    dev-db/mariadb-connector-c-3.1.13:0/3::gentoo 
USE="curl ssl -gnutls -kerberos -static-libs -test" ABI_X86="(64) -32
(-x32)" 946 KiB
[ebuild  N ]    sci-libs/proj-7.2.1:0/19::gentoo  USE="curl tiff
-europe -static-libs -test" 12,031 KiB
[ebuild  N ]    x11-libs/gl2ps-1.4.2::gentoo  USE="png zlib -doc"
295 KiB
[ebuild  N ]   dev-libs/rapidjson-1.1.0-r3::gentoo  USE="-doc
-examples -test" 996 KiB
[nomerge   ] sci-electronics/kicad-meta-5.1.12::gentoo  USE="nls
-doc -minimal"
[ebuild U ~]  sci-electronics/kicad-packages3d-5.1.12-r1::gentoo
[5.1.12::gentoo] USE="occ* (-oce%*)" 0 KiB

Total: 14 packages (3 upgrades, 9 new, 2 reinstalls), Size of downloads:
618,196 KiB

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

dev-libs/boost:0

  (dev-libs/boost-1.78.0-r2:0/1.78.0::gentoo, ebuild scheduled for
merge) USE="bzip2 context icu lzma nls python zlib -debug -doc -mpi
-numpy -tools -zstd" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_9
-python3_10 -python3_8" conflicts with
    dev-libs/boost:0/1.77.0= required by
(media-gfx/luminance-hdr-2.6.0-r1:0/0::gentoo, installed) USE="openmp
-fits -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2"
  ^^
    >=dev-libs/boost-1.66:0/1.77.0= required by
(media-video/mkvtoolnix-64.0.0:0/0::gentoo, installed) USE="dbus dvd gui
nls -debug (-pch) -test" ABI_X86="(64)"
 ^^
    dev-libs/boost:0/1.77.0=[python,python_targets_python3_9(-)]
required by (media-libs/vigra-1.11.1-r3:0/0::gentoo, installed)
USE="hdf5 jpeg openexr png python tiff zlib -doc -fftw -mpi -test
-valgrind" ABI_X86="(64)" PYTHON_TARGETS="python3_9 -python3_8"
  ^^   


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by sci-libs/vtk-9.0.3-r4::gentoo[video_cards_nvidia]
# required by sci-libs/opencascade-7.5.2-r5::gentoo[vtk]
# required by sci-electronics/kicad-5.1.12-r2::gentoo[occ]
# required by sci-electronics/kicad-packages3d-5.1.12-r1::gentoo
# required by sci-electronics/kicad-meta-5.1.12::gentoo[-minimal]
# required by @selected
# required by @world (argument)
>=x11-drivers/nvidia-drivers-470.103.01 static-libs

Would you like to add these changes to your config files? [Yes/No]


I'm not sure if the boost output is related or not.  I did read
somewhere that opencascade is replacing oce.  From the above, I suspect
vtk and/or opencascade is causing this.  That may be related but dang if
I can figure out a way around this.  Anyone else run into this and find
a fix or see something I'm missing? 

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] pcre build failure

2020-10-05 Thread John Covici
On Mon, 05 Oct 2020 14:40:47 -0400,
Jude DaShiell wrote:
> 
> Script started on 2020-10-05 09:53:20-04:00 [TERM="linux" TTY="/dev/tty2" 
> COLUMNS="80" LINES="25"]
> livecd / # emerge --ask --verbose --udpdate --deep 
> --newuse @world
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies  .. ... done!
> [ebuild   R] dev-libs/libpcre-8.44:3::gentoo  USE="bzip2 cxx jit readline 
> recursion-limit (split-usr) (unicode) zlib -libedit -pcre16 -pcre32 
> -static-libs*" ABI_X86="(64) -32 (-x32)" 0 KiB
> [ebuild U  ] app-arch/zstd-1.4.5:0/1::gentoo [1.4.4-r4:0/1::gentoo] 
> USE="threads -lz4 -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
> [ebuild U  ] sys-apps/sandbox-2.20::gentoo [2.18::gentoo] ABI_X86="(32) 
> (64) (-x32)" 0 KiB
> [ebuild U  ] sys-apps/less-563::gentoo [551::gentoo] USE="pcre unicode" 0 
> KiB
> [ebuild U  ] sys-apps/debianutils-4.11.2::gentoo [4.11.1::gentoo] 
> USE="installkernel -static" 0 KiB
> [ebuild U  ] dev-lang/python-exec-2.4.6-r2:2::gentoo [2.4.6-r1:2::gentoo] 
> PYTHON_TARGETS="(pypy3) (python2_7) (python3_6) (python3_7) (python3_8) 
> (python3_9)" 0 KiB
> [uninstall ] dev-lang/python-2.7.18-r2:2.7::gentoo  USE="gdbm ipv6 
> ncurses readline ssl (threads) (wide-unicode) xml (-berkdb) -bluetooth -build 
> -examples -hardened -libressl -sqlite -tk -wininst"
> [blocks b  ] <=dev-lang/python-2.7.18-r3:2.7 
> ("<=dev-lang/python-2.7.18-r3:2.7" is blocking dev-lang/python-exec-2.4.6-r2)
> [ebuild U  ] sys-apps/busybox-1.32.0::gentoo [1.31.1-r2::gentoo] 
> USE="ipv6 static systemd* -debug -livecd -make-symlinks -math -mdev -pam 
> -savedconfig (-selinux) -sep-usr -syslog" 0 KiB
> [ebuild U  ] app-admin/perl-cleaner-2.28::gentoo [2.27::gentoo] 0 KiB
> [ebuild  NS] app-text/docbook-xml-dtd-4.2-r3:4.2::gentoo 
> [4.1.2-r7:4.1.2::gentoo, 4.3-r2:4.3::gentoo, 4.4-r3:4.4::gentoo, 
> 4.5-r2:4.5::gentoo] 0 KiB
> [ebuild U  ] sys-fs/udev-init-scripts-34::gentoo [33::gentoo] 0 KiB
> [ebuild U  ] sys-apps/hwids-20200813.1::gentoo [20200204::gentoo] 
> USE="net pci udev usb" 0 KiB
> [ebuild U  ] sys-apps/man-pages-5.08::gentoo [5.07::gentoo] L10N="-de -fr 
> -it -ja -nl -pl -ru -zh-CN" 0 KiB
> [ebuild U  ] sys-apps/attr-2.4.48-r4::gentoo [2.4.48-r3::gentoo] USE="nls 
> (split-usr) -debug -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
> [ebuild  NS] sys-devel/binutils-2.35.1:2.35::gentoo 
> [2.34-r2:2.34::gentoo] USE="gold nls plugins -default-gold -doc -multitarget 
> -static-libs -test -vanilla%" 0 KiB
> [ebuild U  ] sys-apps/acl-2.2.53-r1::gentoo [2.2.53::gentoo] USE="nls 
> (split-usr) -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
> [ebuild U  ] sys-devel/make-4.3::gentoo [4.2.1-r4::gentoo] USE="nls 
> -guile -static" 0 KiB
> [ebuild U  ] sys-devel/bison-3.7.2::gentoo [3.7.1-r1::gentoo] USE="nls 
> -examples -static -test" 0 KiB
> [ebuild  NS] sys-devel/gcc-10.2.0-r2:10::gentoo [9.3.0-r1:9.3.0::gentoo] 
> USE="(cxx) fortran (multilib) nls nptl openmp pch (pie) sanitize ssp vtv 
> (-ada) -d -debug -doc (-fixed-point) -go -graphite (-hardened) -jit (-libssp) 
> -lto -objc -objc++ -objc-gc -pgo -systemtap -test -vanilla -zstd% 
> (-altivec%)" 0 KiB
> [ebuild U  ] dev-libs/popt-1.18::gentoo [1.16-r2::gentoo] USE="nls 
> -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
> [ebuild U  ] sys-apps/grep-3.5::gentoo [3.4::gentoo] USE="nls pcre 
> -static" 0 KiB
> [ebuild U  ] dev-libs/elfutils-0.181::gentoo [0.180::gentoo] USE="bzip2 
> nls utils -lzma -static-libs -test (-threads) -valgrind" ABI_X86="(64) -32 
> (-x32)" 0 KiB
> [ebuild U  ] app-editors/nano-5.2::gentoo [4.9.3::gentoo] USE="magic 
> ncurses nls spell (split-usr) unicode -debug -justify -minimal -slang 
> -static" 0 KiB
> [ebuild U  ] dev-python/certifi-10001-r1::gentoo [10001::gentoo] 
> USE="-test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9 
> (-python2_7%*)" 0 KiB
> [ebuild U  ] dev-util/meson-0.55.3::gentoo [0.54.3::gentoo] USE="(-test)" 
> PYTHON_TARGETS="python3_7 -python3_6 -python3_8 -python3_9%" 0 KiB
> [ebuild  N ] sys-libs/libcap-2.43::gentoo  USE="pam (split-usr) 
> -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
> [ebuild U  ] sys-apps/shadow-4.8.1-r3::gentoo [4.8-r5::gentoo] USE="acl 
> nls pam (split-usr) su xattr -audit -bcrypt -crackl

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

2020-12-04 Thread n952162

On 12/3/20 10:06 PM, tastytea wrote:

On 2020-12-03 21:33+0100 n952162  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.


!!! The following updates are masked by LICENSE changes:
- sys-kernel/linux-firmware-20201022-r3::gentoo (masked by: || ( )
linux-fw-redistributable no-source-code license(s))
A copy of the 'linux-fw-redistributable' license is located at
'/var/db/repos/gentoo/licenses/linux-fw-redistributable'.

A copy of the 'no-source-code' license is located at
'/var/db/repos/gentoo/licenses/no-source-code'.

- net-analyzer/nmap-7.91::gentoo (masked by: NPSL license(s))
A copy of the 'NPSL' license is located at
'/var/db/repos/gentoo/licenses/NPSL'.

See <https://wiki.gentoo.org/wiki//etc/portage/package.license>.

Kind regards, tastytea.



Thank you for the response.  Unfortunately, it didn't help.  I have this:

$ cat /etc/portage/package.use/RMME
#> 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.

and get essentially the same result


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

Calculating dependencies
 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
... .. done!
[ebuild U  ] sys-libs/timezone-data-2020d::gentoo [2020a::gentoo]
USE="nls -leaps-timezone -zic-slim%" 647 KiB
[ebuild U  ] sys-devel/gcc-config-2.3.2-r1::gentoo [2.3.2::gentoo]
USE="(cc-wrappers%*) (native-symlinks)" 0 KiB
[ebuild U  ] dev-lang/go-1.15.5:0/1.15.5::gentoo
[1.14.9:0/1.14.9::gentoo] 22480 KiB
[ebuild U  ] app-text/poppler-data-0.4.10::gentoo [0.4.9::gentoo]
4393 KiB
[ebuild U  ] sys-devel/llvm-common-11.0.0::gentoo [10.0.1::gentoo]
119867 KiB
[ebuild  N ] acct-group/pcap-0::gentoo  0 KiB
[ebuild  r  U  ] dev-libs/liblinear-241:0/4::gentoo [210-r1:0/3::gentoo]
547 KiB
[ebuild U  ] x11-misc/util-macros-1.19.2-r2::gentoo
[1.19.2-r1::gentoo] 0 KiB
[ebuild U  ] dev-util/boost-build-1.74.0::gentoo [1.72.0::gentoo]
USE="-examples" 107032 KiB
[ebuild  N ] acct-user/pcap-0::gentoo  0 KiB
[ebuild U  ] app-shells/push-3.4::gentoo [2.0-r1::gentoo] 3 KiB
[ebuild U  ] app-emulation/docker-proxy-0.8.0_p20201105::gentoo
[0.8.0_p20200617::gentoo] 3307 KiB
[ebuild U  ] dev-lang/mujs-1.0.9:0/1.0.9::gentoo [1.0.5:0/0::gentoo]
USE="-static-libs" 121 KiB
[ebuild U  ] virtual/tmpfiles-0-r1::gentoo [0::gentoo] 0 KiB
[ebuild U  ] app-admin/mcelog-173::gentoo [170::gentoo]
USE="(-selinux)" 306 KiB
[ebuild U  ] dev-libs/boost-1.74.0-r1:0/1.74.0::gentoo
[1.72.0-r2:0/1.72.0::gentoo] USE="bzip2 nls threads zlib -context -debug
-doc -icu -lzma -mpi (-numpy) -python -static-libs -tools -zstd"
ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_7 python3_8*
-python3_6 -python3_9%" 0 KiB
[ebuild U  ] media-libs/libpng-1.6.37-r2:0/16::gentoo
[1.6.37:0/16::gentoo] USE="apng -static-libs (-neon%)" ABI_X86="(64) -32
(-x32)" CPU_FLAGS_X86="sse" 0 KiB
[ebuild U  ] dev-libs/mpc-1.2.1:0/3::gentoo [1.2.0:0/3::gentoo]
USE="-static-libs" ABI_X86="(64) -32 (-x32)" 820 KiB
[ebuild U  ] sys-libs/libseccomp-2.4.4::gentoo [2.4.3::gentoo]
USE="-static-libs" ABI_X86="(64) -32 (-x32)" 591 KiB
[ebuild   R    ] sys-apps/file-5.39-r3::gentoo  USE="bzip2 seccomp zlib
-lzma -python -static-libs" ABI_X86="(64) -32 (-x32)"
PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" 0 KiB
[ebuild   R    ] app-misc/pax-utils-1.2.6::gentoo  USE="seccomp -caps
-debug -python" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*
-python3_9%" 0 KiB
[ebuild U  ] sys-apps/sandbox-2.20::gentoo [2.18::gentoo]
ABI_X86="(32) (64) (-x32)" 419 KiB
[ebuild U  ] app-emulation/containerd-1.3.9::gentoo [1.3.7::gentoo]
USE="cri seccomp -apparmor -btrfs -device-mapper -hardened (-selinux)
-test" 5584 KiB
[ebuild U  ] sys-apps/sysvinit-2.97::gentoo [2.93::gentoo]
USE="(-ibm) (-selinux) -static" 124 KiB
[ebuild U  ] dev-libs/libusb-1.0.23-r1:1::gentoo
[1.0.21-r1:1::gentoo] USE="(split-usr) -debug -doc -examples
-static-libs -test -udev" ABI_X86="

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

2020-12-03 Thread n952162

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?

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

Calculating dependencies
 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
.. ...  . ... done!
[ebuild U  ] sys-libs/timezone-data-2020d::gentoo [2020a::gentoo]
USE="nls -leaps-timezone -zic-slim%" 647 KiB
[ebuild U  ] sys-devel/gcc-config-2.3.2-r1::gentoo [2.3.2::gentoo]
USE="(cc-wrappers%*) (native-symlinks)" 0 KiB
[ebuild U  ] dev-lang/go-1.15.5:0/1.15.5::gentoo
[1.14.9:0/1.14.9::gentoo] 22480 KiB
[ebuild U  ] app-text/poppler-data-0.4.10::gentoo [0.4.9::gentoo]
4393 KiB
[ebuild U  ] sys-devel/llvm-common-11.0.0::gentoo [10.0.1::gentoo]
119867 KiB
[ebuild  N ] acct-group/pcap-0::gentoo  0 KiB
[ebuild  r  U  ] dev-libs/liblinear-241:0/4::gentoo [210-r1:0/3::gentoo]
547 KiB
[ebuild U  ] x11-misc/util-macros-1.19.2-r2::gentoo
[1.19.2-r1::gentoo] 0 KiB
[ebuild U  ] dev-util/boost-build-1.74.0::gentoo [1.72.0::gentoo]
USE="-examples" 107032 KiB
[ebuild  N ] acct-user/pcap-0::gentoo  0 KiB
[ebuild U  ] app-shells/push-3.4::gentoo [2.0-r1::gentoo] 3 KiB
[ebuild U  ] app-emulation/docker-proxy-0.8.0_p20201105::gentoo
[0.8.0_p20200617::gentoo] 3307 KiB
[ebuild U  ] dev-lang/mujs-1.0.9:0/1.0.9::gentoo [1.0.5:0/0::gentoo]
USE="-static-libs" 121 KiB
[ebuild U  ] virtual/tmpfiles-0-r1::gentoo [0::gentoo] 0 KiB
[ebuild U  ] app-admin/mcelog-173::gentoo [170::gentoo]
USE="(-selinux)" 306 KiB
[ebuild U  ] dev-libs/boost-1.74.0-r1:0/1.74.0::gentoo
[1.72.0-r2:0/1.72.0::gentoo] USE="bzip2 nls threads zlib -context -debug
-doc -icu -lzma -mpi (-numpy) -python -static-libs -tools -zstd"
ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8* -python3_6
-python3_7* -python3_9%" 0 KiB
[ebuild U  ] media-libs/libpng-1.6.37-r2:0/16::gentoo
[1.6.37:0/16::gentoo] USE="apng -static-libs (-neon%)" ABI_X86="(64) -32
(-x32)" CPU_FLAGS_X86="sse" 0 KiB
[ebuild U  ] dev-libs/mpc-1.2.1:0/3::gentoo [1.2.0:0/3::gentoo]
USE="-static-libs" ABI_X86="(64) -32 (-x32)" 820 KiB
[ebuild U  ] sys-libs/libseccomp-2.4.4::gentoo [2.4.3::gentoo]
USE="-static-libs" ABI_X86="(64) -32 (-x32)" 591 KiB
[ebuild   R    ] sys-apps/file-5.39-r3::gentoo  USE="bzip2 seccomp zlib
-lzma -python -static-libs" ABI_X86="(64) -32 (-x32)"
PYTHON_TARGETS="python3_8* -python3_6 -python3_7* -python3_9" 0 KiB
[ebuild   R    ] app-misc/pax-utils-1.2.6::gentoo  USE="seccomp -caps
-debug -python" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*
-python3_9%" 0 KiB
[ebuild U  ] sys-apps/sandbox-2.20::gentoo [2.18::gentoo]
ABI_X86="(32) (64) (-x32)" 419 KiB
[ebuild U  ] app-emulation/containerd-1.3.9::gentoo [1.3.7::gentoo]
USE="cri seccomp -apparmor -btrfs -device-mapper -hardened (-selinux)
-test" 5584 KiB
[ebuild U  ] sys-apps/sysvinit-2.97::gentoo [2.93::gentoo]
USE="(-ibm) (-selinux) -static" 124 KiB
[ebuild U  ] dev-libs/libusb-1.0.23-r1:1::gentoo
[1.0.21-r1:1::gentoo] USE="(split-usr) -debug -doc -examples
-static-libs -test -udev" ABI_X86="(64) -32 (-x32)" 589 KiB
[ebuild U  ] net-analyzer/iptraf-ng-1.2.1::gentoo [1.1.4-r1::gentoo]
USE="-doc" 318 KiB
[ebuild U  ] sys-apps/less-563-r1::gentoo [551::gentoo] USE="pcre
unicode" 328 KiB
[ebuild U  ] media-libs/libsndfile-1.0.30::gentoo
[1.0.29_pre2_p20191024::gentoo] USE="-alsa -minimal -sqlite -static-libs
-test" ABI_X86="(64) -32 (-x32)" 833 KiB
[ebuild U  ] app-text/qpdf-10.0.4:0/28::gentoo [9.0.2:0/26::gentoo]
USE="ssl%* -doc -examples -libressl% -test (-perl%) (-static-libs%)"
18033 KiB
[ebuild U  ] sys-devel/clang-common-11.0.0::gentoo [10.0.1::gentoo]
0 KiB
[ebuild U  ] dev-qt/qtnetwork-5.15.1-r1:5/5.15::gentoo
[5.15.1:5/5.15::gentoo] USE="ssl -bindist -connman -debug -gssapi
-libproxy -libressl -networkmanager -sctp -test" 0 KiB
[ebuild U  ] sys-apps/man-pages-5.08::gentoo [5.07::gentoo]
L10N="-de -fr -it -ja -nl -pl -ru -zh-CN" 1682 KiB
[ebuild   R    ] media-libs/netpbm-10.76.00::gentoo  USE="X jbig jpeg
png postscript tiff zlib -doc -rle -static-libs (-svga) -xml"
CPU_FLAGS_X86="sse2" 0 KiB
[ebuild U  ] net-misc/netifrc-0.7.1-r1::gentoo [0.7.1::gentoo] 0 KiB
[ebuild U  ] sys-apps/attr-2.4.48-r4::gentoo [2.4.48-r3::gentoo]
USE="nls (split-usr) -debug -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild U  ] sys-apps/acl-2.2.53-r1::gentoo [2.2.

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

2020-12-04 Thread n952162

On 12/4/20 9:00 PM, n952162 wrote:

On 12/4/20 8:52 PM, n952162 wrote:


On 12/4/20 11:07 AM, Arve Barsnes wrote:

On Fri, 4 Dec 2020 at 10:34, n952162  wrote:

Forgotten about?  I'm flattered!  That would imply I understood
something here ...

Here's my python situation:

$ sed -n -e '/^\s*#/d' -e '/python/Ip' * | sort -u
*/* PYTHON_TARGETS: python3_7
  >=dev-lang/python-2.7.16:2.7 sqlite
  >=dev-lang/python-3.6.9 sqlite
  >=dev-libs/libxml2-2.9.9-r1 python
  >=dev-python/PySocks-1.7.1 python_targets_python3_6
  >=dev-python/certifi-10001-r1 python_targets_python3_7
  >=dev-python/certifi-2019.11.28 python_targets_python3_6
  >=dev-python/cffi-1.14.0 python_targets_python3_6
  >=dev-python/chardet-3.0.4 python_targets_python3_6
  >=dev-python/cryptography-2.8-r1 python_targets_python3_6
  >=dev-python/docutils-0.16 -python_targets_python2_7
  >=dev-python/idna-2.8 python_targets_python3_6
  >=dev-python/isodate-0.6.0-r1 python_targets_python3_6
  >=dev-python/ply-3.11 python_targets_python3_6
  >=dev-python/pycparser-2.20 python_targets_python3_6
  >=dev-python/pycryptodome-3.9.4 python_targets_python3_6
  >=dev-python/pyopenssl-19.1.0 python_targets_python3_6
  >=dev-python/requests-2.23.0 python_targets_python3_6
  >=dev-python/setuptools-46.4.0-r1 python_targets_python3_6
  >=dev-python/setuptools-50.3.0 python_targets_python3_7
  >=dev-python/setuptools_scm-4.1.2-r1 python_targets_python3_6
  >=dev-python/setuptools_scm-4.1.2-r1 python_targets_python3_7
  >=dev-python/six-1.14.0 python_targets_python3_6
  >=dev-python/six-1.15.0-r1 python_targets_python3_7
  >=dev-python/urllib3-1.25.8 python_targets_python3_6
  >=virtual/python-cffi-0 python_targets_python3_6
dev-lang/python readline
net-print/cups X python


I would try simply removing all of those python_targets_python3_x
lines, and add back only those that you actually need, with an
explicit version (that is '=' instead of '>='). I had a long list of
packages on 3_6 for a while, but it's been several weeks/months since
I could remove them all.

Regards,
Arve



How would I know which ones I need?  Aren't those specified by the
package author based on special needs?  Otherwise, why would they be
specified, instead of left to default?

I can understand that if I have two packages depending on different
versions of the same dependency, the older one is probably left over
from an earlier update and could be removed ... although at first
glance, I don't see that situation here.



I guess you mean, remove them all and then let emerge tell me which ones
I need.  I'll try that.  But isn't '=' more restrictive than '>=',
promising me troubles earlier?




No, that didn't work.  After about 4 iterations of supplying newly
required USE flags, I ended up with this

(this after commenting out all the python dependencies in
/etc/portage/package.use/* and adding back in what emerge wanted):


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

Calculating dependencies
 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
.. .. done!
[ebuild U  ] sys-libs/timezone-data-2020d::gentoo [2020a::gentoo]
USE="nls -leaps-timezone -zic-slim%" 647 KiB
[ebuild U  ] sys-devel/gcc-config-2.3.2-r1::gentoo [2.3.2::gentoo]
USE="(cc-wrappers%*) (native-symlinks)" 0 KiB
[ebuild U  ] dev-lang/go-1.15.5:0/1.15.5::gentoo
[1.14.9:0/1.14.9::gentoo] 22480 KiB
[ebuild U  ] app-text/poppler-data-0.4.10::gentoo [0.4.9::gentoo]
4393 KiB
[ebuild U  ] sys-devel/llvm-common-11.0.0::gentoo [10.0.1::gentoo]
119867 KiB
[ebuild  N ] acct-group/pcap-0::gentoo  0 KiB
[ebuild  r  U  ] dev-libs/liblinear-241:0/4::gentoo [210-r1:0/3::gentoo]
547 KiB
[ebuild U  ] x11-misc/util-macros-1.19.2-r2::gentoo
[1.19.2-r1::gentoo] 0 KiB
[ebuild U  ] dev-util/boost-build-1.74.0::gentoo [1.72.0::gentoo]
USE="-examples" 107032 KiB
[ebuild  N ] acct-user/pcap-0::gentoo  0 KiB
[ebuild U  ] app-shells/push-3.4::gentoo [2.0-r1::gentoo] 3 KiB
[ebuild U  ] app-emulation/docker-proxy-0.8.0_p20201105::gentoo
[0.8.0_p20200617::gentoo] 3307 KiB
[ebuild U  ] dev-lang/mujs-1.0.9:0/1.0.9::gentoo [1.0.5:0/0::gentoo]
USE="-static-libs" 121 KiB
[ebuild U  ] virtual/tmpfiles-0-r1::gentoo [0::gentoo] 0 KiB
[ebuild U  ] app-admin/mcelog-173::gentoo [170::gentoo]
USE="(-selinux)" 306 KiB
[ebuild U  ] dev-libs/boost-1.74.0-r1:0/1.74.0::gentoo
[1.72.0-r2:0/1.72.0::gentoo] USE="bzip2 nls threads zlib -context -debug
-doc -icu -lzma -mpi (-numpy) -python -static-libs -tools -zstd"
ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_7 python3_8*
-python3_6 -python3_9%" 0 KiB
[ebuild U  ] media-libs/libpng-1.6.37-r

Re: [gentoo-user] KDE update puzzle

2021-09-18 Thread Philip Webb
210918 Jack wrote:
> On 18/09/2021 12.10, Philip Webb wrote:
>> There is an update available for KDE Frameworks.
>> When I try to perform it, I get a conflict statement which begins
>>
>> !!! Multiple package instances within a single package slot have been 
>> pulled
>> !!! into the dependency graph, resulting in a slot conflict:
>> kde-frameworks/kcoreaddons:5
>>
>> (kde-frameworks/kcoreaddons-5.85.0:5/5.85::gentoo, ebuild scheduled for 
>> merge) USE="-debug -doc (-fam) -nls -test" ABI_X86="(64)" pulled in by
>>   =kde-frameworks/kcoreaddons-5.85*:5 required by 
>> (kde-frameworks/kglobalaccel-5.85.0-r1:5/5.85::gentoo, ebuild scheduled for 
>> merge) USE="-debug -doc -nls -test" ABI_X86="(64)"
>>   ^   ^^^
>>
>> The  ^  signs emphasise  =kde-frameworks/kcoreaddons-5.85*:5
>>
>> I can't make sense of this : surely, '5.85*' includes '5.85.0',
>> so the requirement sb fulfilled.  I don't remember seeing this before.
> Have you actually shown the complete output for the conflict for 
> kcoreaddons?  I only see one version listed for the slot.
> Is there another one showing perhaps the current installed version
> and it being required by something else (also installed)
> which cannot work with the newer version?

Here is the whole command + output in gruesome detail :

root:522 ~> !498
PYTHON_SINGLE_TARGET="python3_9" emerge -pv --backtrack=30 attica 
frameworkintegration kactivities kactivities-stats kcmutils kconfig kcoreaddons 
kcrash kdesu kdnssd kglobalaccel kholidays khtml kidletime kimageformats 
knotifyconfig kpeople kross krunner ktexteditor kwayland kwindowsystem 
qqc2-desktop-style

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

Calculating dependencies... done!
[ebuild  N ] x11-base/xwayland-21.1.2-r2::gentoo  USE="-ipv6 -rpc 
(-selinux) -unwind -xcsecurity" VIDEO_CARDS="-nvidia" 1,230 KiB
[ebuild U  ] kde-frameworks/extra-cmake-modules-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-doc -test" 311 KiB
[ebuild U  ] kde-frameworks/kcoreaddons-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -doc (-fam) -nls -test" 418 KiB
[ebuild U  ] kde-frameworks/kconfig-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="dbus -debug -doc -nls -test" 265 KiB
[ebuild U  ] kde-frameworks/ki18n-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -doc -test" 
PYTHON_SINGLE_TARGET="(-python3_10) -python3_8 python3_9" 577 KiB
[ebuild U  ] kde-frameworks/kwidgetsaddons-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -designer -doc -nls -test" 2,253 KiB
[ebuild U  ] kde-frameworks/kwindowsystem-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="X -debug -doc -nls -test" 175 KiB
[ebuild U  ] kde-frameworks/karchive-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -doc -test -zstd" 963 KiB
[ebuild U  ] kde-frameworks/kdbusaddons-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="X -debug -doc -nls -test" 43 KiB
[ebuild U  ] kde-frameworks/kitemviews-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -designer -doc -nls -test" 74 KiB
[ebuild U  ] kde-frameworks/kguiaddons-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -doc -test -wayland" 60 KiB
[ebuild U  ] kde-frameworks/kcodecs-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -doc -nls -test" 227 KiB
[ebuild U  ] kde-frameworks/kwayland-5.85.0-r1:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -doc -test" 324 KiB
[ebuild U  ] kde-frameworks/sonnet-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-aspell -debug -designer -doc -hunspell -nls 
-test" 291 KiB
[ebuild U  ] kde-frameworks/solid-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -doc -ios -nls -test" 246 KiB
[ebuild  r  U  ] kde-frameworks/kidletime-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="X -debug -doc -xscreensaver" 26 KiB
[ebuild U  ] kde-frameworks/attica-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -doc -test" 66 KiB
[ebuild  N ] kde-plasma/layer-shell-qt-5.22.5:5::gentoo  USE="-debug" 18 KiB
[ebuild U  ] kde-frameworks/syntax-highlighting-5.85.0-r1:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -doc -nls -test" 2,281 KiB
[ebuild U  ] kde-frameworks/threadweaver-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -doc -test" 1,378 KiB
[ebuild U  ] kde-frameworks/kdnssd-5.85.0:5/5.85::gentoo 
[5.82.0:5/5.82::gentoo] USE="-debug -doc -nls -test -zeroconf" 58 KiB
[ebuild U  ] kde-frameworks/kholidays-5.85.0:5/5.85::gentoo 
[5.82

Re: [gentoo-user] no ebuilds for telegram

2020-05-16 Thread n952162

I did an emerge --sync and then "emerge -v1 portage" and it blew up all
over the place.  Log in the attachment.

How can I get things reestablished?  Or, does gentoo simply require a
smarter user than me, and I should go back to ubuntu?


On 05/14/20 23:36, Rich Freeman wrote:

On Thu, May 14, 2020 at 5:10 PM n952162  wrote:

On 05/14/20 22:46, Rich Freeman wrote:

On Thu, May 14, 2020 at 4:13 PM n952162  wrote:

Action: sync for repo: gentoo, returned code = 0

* An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.

* To update portage, run 'emerge --oneshot portage' now.

...and?  Did you update portage as it was _highly_ recommended that
you do so first?  What version of portage are you using?  This appears
on the top line of emerge --info.


$ emerge --info
Portage 2.3.49 (python 3.6.5-final-0, default/linux/x86/17.0, gcc-7.3.0,
glibc-2.26-r7, 4.14.65-gentoo x86_64)

That version of portage has been removed from the repo for over a year.

I would update your system so that is current and then try again.  I
believe that version of portage should still support EAPI 7 but there
could be some other issue that is giving it problems with more recent
packages in the tree.




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

Calculating dependencies  
 * IMPORTANT: 23 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
 done!
[ebuild U  ] dev-lang/python-exec-2.4.6-r1:2::gentoo [2.4.6:2::gentoo] 
PYTHON_TARGETS="(pypy3) (python2_7) (python3_6) (python3_7*) (python3_8%*) 
(-jython2_7%*) (-pypy%*) (-python3_4%*) (-python3_5%*)" 86 KiB
[ebuild  N ] virtual/libcrypt-1-r1:0/1::gentoo  USE="static-libs" 0 KiB
[ebuild  N ] dev-perl/TimeDate-2.300.0::gentoo  31 KiB
[ebuild  N ] dev-perl/MailTools-2.190.0::gentoo  USE="-examples -test" 55 
KiB
[ebuild  N ] dev-perl/Error-0.170.250::gentoo  USE="-test" 32 KiB
[ebuild U  ] dev-lang/perl-5.30.1:0/5.30::gentoo [5.24.3-r1:0/5.24::gentoo] 
USE="berkdb gdbm -debug -doc -ithreads" 12200 KiB
[ebuild  N ] virtual/perl-Digest-SHA-6.20.0::gentoo  0 KiB
[ebuild  N ] dev-perl/Digest-HMAC-1.30.0-r1::gentoo  0 KiB
[ebuild  N ] dev-perl/Authen-SASL-2.160.0-r1::gentoo  USE="-kerberos" 0 KiB
[ebuild  NS] dev-lang/python-3.7.7-r2:3.7/3.7m::gentoo [2.7.15:2.7::gentoo, 
3.6.5:3.6/3.6m::gentoo] USE="gdbm ipv6 ncurses readline sqlite ssl xml 
-bluetooth -build -examples -hardened -libressl -test -tk -wininst" 16879 KiB
[ebuild  N ] dev-vcs/git-2.26.2::gentoo  USE="blksha1 curl gpg iconv nls 
pcre pcre-jit perl threads webdav -cgi -cvs -doc -emacs -gnome-keyring 
-highlight -libressl (-mediawiki) (-mediawiki-experimental) -perforce 
(-ppcsha1) -subversion -test -tk -xinetd" PYTHON_SINGLE_TARGET="python3_7 
-python3_6" 6319 KiB
[ebuild U  ] dev-python/setuptools-44.1.0::gentoo [36.7.2::gentoo] 
USE="-test" PYTHON_TARGETS="python2_7 python3_7%* (-pypy3) -python3_6* 
(-python3_8) (-pypy%) (-python3_4%) (-python3_5%)" 839 KiB
[ebuild U  ] dev-python/certifi-2019.11.28::gentoo [2018.4.16::gentoo] 
PYTHON_TARGETS="python2_7 python3_7* (-pypy3) -python3_6* (-python3_8) (-pypy%) 
(-python3_4%) (-python3_5%)" 153 KiB
[ebuild U  ] app-portage/gemato-14.3::gentoo [14.0::gentoo] USE="gpg -test 
-tools (-blake2%*) (-bzip2%*) (-lzma%) (-sha3%)" PYTHON_TARGETS="python3_7* 
(-pypy3) -python3_6* (-python3_8) (-pypy%) (-python2_7%*) (-python3_4%) 
(-python3_5%)" 70 KiB
[ebuild U *] sys-apps/portage-::gentoo [2.3.49::gentoo] USE="(ipc) 
native-extensions rsync-verify xattr -apidoc% -binpkg-zstd% -build -doc 
-gentoo-dev (-selinux) (-epydoc%)" PYTHON_TARGETS="python3_7* -pypy3% 
-python3_6* (-python3_8) (-pypy%) (-python2_7%*) (-python3_4%) (-python3_5%)" 0 
KiB

Total: 15 packages (6 upgrades, 8 new, 1 in new slot), Size of downloads: 36659 
KiB

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

dev-lang/perl:0

  (dev-lang/perl-5.24.3-r1:0/5.24::gentoo, installed) pulled in by
dev-lang/perl:0/5.24= required by 
(virtual/perl-Scalar-List-Utils-1.420.200_rc-r1:0/0::gentoo, installed)
    
  
dev-lang/perl:0/5.24=[-build(-)] required by 
(dev-perl/File-DesktopEntry-0.40.0-r1:0/0::gentoo, installed)
    
   
dev-lang/perl:0/5.24= required by 
(virtual/perl-Data-Dumper-2.160.0-r1:0/0::gentoo, insta

[gentoo-user] override PYTHON_TARGETS to avoid a slot collision

2020-12-16 Thread n952162
-x32)" 0 KiB
[ebuild U  ] sys-devel/bison-3.7.3::gentoo [3.7.1-r1::gentoo] USE="nls 
-examples -static -test" 2563 KiB
[ebuild U  ] app-crypt/gnupg-2.2.20-r2::gentoo [2.2.20-r1::gentoo] 
USE="bzip2 nls readline smartcard ssl -doc -ldap (-selinux) -tofu -tools -usb 
-user-socket -wks-server" 0 KiB
[ebuild U  ] sys-apps/acl-2.2.53-r1::gentoo [2.2.53::gentoo] USE="nls 
(split-usr) -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild U  ] net-misc/rsync-3.2.3-r1::gentoo [3.2.3::gentoo] USE="acl iconv 
ipv6 ssl xattr -examples -libressl -lz4 -stunnel -system-zlib -xxhash -zstd 
(-static%)" CPU_FLAGS_X86="sse2" 0 KiB
[ebuild U  ] app-crypt/gpgme-1.14.0:1/11::gentoo [1.13.0-r1:1/11::gentoo] 
USE="cxx -common-lisp -python -qt5 -static-libs" PYTHON_TARGETS="python3_8* 
python3_9%* -python3_6 -python3_7*" 1640 KiB
[ebuild U  ] app-portage/portage-utils-0.90::gentoo [0.87::gentoo] USE="nls 
openmp qmanifest qtegrity -libressl -static" 1735 KiB
[ebuild U  ] sys-libs/pam-1.5.1::gentoo [1.4.0_p20200829::gentoo] 
USE="berkdb filecaps pie (split-usr) -audit -debug -nis (-selinux)" 
ABI_X86="(64) -32 (-x32)" 1382 KiB
[ebuild   R] sys-apps/util-linux-2.35.2::gentoo  USE="cramfs logger ncurses 
nls pam readline (split-usr) static-libs suid unicode -audit -build -caps 
-cryptsetup -fdformat -hardlink -kill -python (-selinux) -slang -su -systemd 
-test -tty-helpers -udev" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8* 
-python3_6 -python3_7*" 0 KiB
[ebuild U  ] dev-libs/libxml2-2.9.10-r4:2::gentoo [2.9.10-r3:2::gentoo] 
USE="ipv6 python readline -debug -examples -icu -lzma -static-libs -test" 
ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8* python3_9* -python3_6 
-python3_7*" 0 KiB
[ebuild U  ] dev-python/certifi-10001-r1::gentoo [10001::gentoo] 
USE="-test" PYTHON_TARGETS="python3_8* python3_9* (-pypy3) -python3_6* 
-python3_7* (-python2_7%*)" 0 KiB
[ebuild U  ] dev-python/setuptools-50.3.0::gentoo [46.4.0-r3::gentoo] 
USE="-test" PYTHON_TARGETS="python3_8* python3_9* (-pypy3) -python3_6* 
-python3_7* (-python2_7%*)" 2119 KiB
[ebuild   R] dev-python/setuptools_scm-4.1.2-r1::gentoo  USE="-test" 
PYTHON_TARGETS="python3_8* python3_9* (-pypy3) -python3_6* -python3_7*" 0 KiB
[ebuild   R] dev-python/markupsafe-1.1.1-r1::gentoo  USE="-test" 
PYTHON_TARGETS="python3_8* python3_9* (-pypy3) -python3_6 -python3_7*" 0 KiB
[ebuild   R] dev-python/jinja-2.11.2-r1::gentoo  USE="-doc -examples -test" 
PYTHON_TARGETS="python3_8* python3_9* (-pypy3) -python3_6 -python3_7*" 0 KiB
[ebuild U  ] sys-auth/pambase-20201103::gentoo [20201013::gentoo] 
USE="nullok passwdqc sha512 -caps -debug -elogind -gnome-keyring -minimal 
-mktemp -pam_krb5 -pam_ssh -pwhistory -pwquality -securetty (-selinux) 
-systemd" 4 KiB

Total: 30 packages (24 upgrades, 6 reinstalls), Size of downloads: 40920 KiB

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

dev-python/setuptools:0

  (dev-python/setuptools-50.3.0:0/0::gentoo, ebuild scheduled for merge) 
USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) 
-python3_6 -python3_7" pulled in by

>=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_pypy3(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)]
 required by (dev-python/setuptools_scm-4.1.2-r1:0/0::gentoo, ebuild scheduled 
for merge) USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 
(-pypy3) -python3_6 -python3_7"





   

[gentoo-user] evil ebuilds.

2018-07-11 Thread Alan Grimes
Portage seems to be fairly OK right now but these ebuilds are really
really being evil... I've spent about half a day on this bullshit so I'm
in a really fine mood right now.

Here are my masks right now, much of my mask file is obsolete, these are
the ones I've been working with today.

# DIE, PACKAGE, DIE DIE DIE DIE DIE!!!
<=kde-apps/libkdepim-4.4.2016.01
<=kde-apps/kontact-4.5
<=kde-apps/kdepimlibs-4.14.11_pre20160211-r2
<=kde-apps/kdepim-runtime-4.14.11_pre20160211
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Calculating dependencies... done!
[ebuild  N ] dev-libs/ivykis-0.42.3-r1::gentoo  USE="-static-libs" 0 KiB
[ebuild U  ] dev-util/byacc-20180609::gentoo [20180525::gentoo] 728 KiB
[ebuild U  ] app-arch/zstd-1.3.4-r1:0/1::gentoo [1.3.4:0/1::gentoo]
USE="-lz4% -static-libs" 0 KiB
[ebuild U  ] dev-libs/xapian-1.4.6:0/30::gentoo [1.4.5:0/30::gentoo]
USE="chert glass inmemory -doc -static-libs" ABI_X86="32 (64) (-x32)"
CPU_FLAGS_X86="sse sse2" 2,774 KiB
[ebuild  N ] sys-devel/clang-6.0.1:6::gentoo  USE="static-analyzer
xml -debug -default-compiler-rt -default-libcxx -doc {-test} (-z3)"
ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64
-ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore"
PYTHON_TARGETS="python2_7" 0 KiB
[ebuild  NS    ] sys-libs/compiler-rt-sanitizers-6.0.1:6.0.1::gentoo
[4.0.1:4.0.1::gentoo, 5.0.1:5.0.1::gentoo, 6.0.0:6.0.0::gentoo]
USE="clang {-test}" 0 KiB
[ebuild  NS    ] sys-libs/compiler-rt-6.0.1:6.0.1::gentoo
[4.0.1:4.0.1::gentoo, 5.0.1:5.0.1::gentoo, 6.0.0:6.0.0::gentoo]
USE="clang {-test}" 0 KiB
[ebuild  NS    ] sys-devel/clang-runtime-6.0.1:6.0.1::gentoo
[4.0.1:4.0.1::gentoo, 5.0.1:5.0.1::gentoo, 6.0.0-r1:6.0.0::gentoo]
USE="compiler-rt openmp sanitize -crt -libcxx" ABI_X86="32 (64) (-x32)"
0 KiB
[ebuild  N ] dev-qt/qtsql-5.11.1:5/5.11::gentoo  USE="mysql sqlite
-debug -freetds -oci8 -odbc -postgres {-test}" 0 KiB
[ebuild U  ] dev-python/idna-2.7::gentoo [2.6::gentoo]
PYTHON_TARGETS="python2_7 python3_5 python3_6 -pypy -pypy3 -python3_4"
169 KiB
[ebuild   R    ] media-libs/libv4l-1.14.1::gentoo  USE="jpeg"
ABI_X86="32 (64) (-x32)" KERNEL="(linux%*)" 0 KiB
[ebuild   R    ] dev-util/itstool-2.0.2::gentoo 
PYTHON_TARGETS="python2_7" 0 KiB
[ebuild U  ] dev-python/setuptools_scm-2.1.0::gentoo
[1.16.1::gentoo] USE="{-test} (-git%) (-mercurial%)"
PYTHON_TARGETS="python2_7 python3_5 python3_6 -pypy -pypy3 -python3_4"
33 KiB
[ebuild U  ] dev-python/PySocks-1.6.8::gentoo [1.6.7::gentoo]
USE="{-test%}" PYTHON_TARGETS="python2_7 python3_5 python3_6 -pypy
-pypy3 -python3_4" 277 KiB
[ebuild  N ] dev-libs/libcdio-0.93:0/15::gentoo  USE="cxx -cddb
-minimal -static-libs {-test}" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild U  ] media-libs/libraw-0.18.13:0/16::gentoo
[0.18.11:0/16::gentoo] USE="jpeg jpeg2k lcms openmp -demosaic -examples"
ABI_X86="32 (64) (-x32)" 1,258 KiB
[ebuild U  ] kde-plasma/kwallet-pam-5.13.3:5::gentoo
[5.12.5-r1:5::gentoo] USE="-debug" 19 KiB
[ebuild U  ] kde-plasma/breeze-gtk-5.13.3:5::gentoo
[5.12.5:5::gentoo] USE="-debug" 197 KiB
[ebuild U  ] kde-plasma/plasma-workspace-wallpapers-5.13.3:5::gentoo
[5.12.5:5::gentoo] 44,840 KiB
[ebuild   R    ] net-dialup/ppp-2.4.7-r6:0/2.4.7::gentoo  USE="gtk ipv6
pam -activefilter -atm -dhcp -eap-tls -libressl -radius"
KERNEL="(linux%*)" 0 KiB
[ebuild U  ] media-libs/vulkan-loader-1.1.77.0::gentoo
[1.1.70.0-r1::gentoo] USE="X -layers -wayland (-demos%)" ABI_X86="32
(64) (-x32)" 0 KiB
[ebuild U  ] dev-python/simplejson-3.15.0::gentoo [3.14.0::gentoo]
PYTHON_TARGETS="python2_7 python3_5 python3_6 -pypy -pypy3 -python3_4"
80 KiB
[ebuild  N ] virtual/perl-Digest-1.170.100_rc-r7::gentoo  0 KiB
[ebuild   R    ] dev-python/funcsigs-1.0.2-r1::gentoo  USE="{-test}"
PYTHON_TARGETS="python2_7 python3_5 python3_6%* -pypy -pypy3 -python3_4"
0 KiB
[ebuild U  ] sys-libs/llvm-libunwind-6.0.1::gentoo [6.0.0::gentoo]
USE="static-libs -debug {-test}" ABI_X86="32 (64) (-x32)" 76 KiB
[ebuild U  ] dev-python/zope-interface-4.5.0::gentoo [4.4.3::gentoo]
USE="{-test}" PYTHON_TARGETS="python2_7 python3_5 python3_6 -pypy -pypy3
-python3_4" 148 KiB
[ebuild U  ] dev-python/hyperlink-18.0.0::gentoo [17.3.1::gentoo]
USE="{-test}" PYTHON_TARGETS="python2_7 python3_5 python3_6 -pypy
-python3_4" 96 KiB
[ebuild U  ] dev-perl/Archive-Zip-1.600.0-r1::gentoo
[1.600.0::gentoo] USE="-examples {-test}" 0 

[gentoo-user] Firefox fails to compile. crc32 error??

2023-11-21 Thread Dale
: 2.4.7-r1::gentoo
sys-devel/lld: 16.0.6::gentoo
sys-devel/llvm:    16.0.6::gentoo
sys-devel/make:    4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:    2.37-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

mv
    location: /var/db/repos/mv
    sync-type: git
    sync-uri: https://cgit.gentoo.org/user/mv.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri:
https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ADA_TARGET="gnat_2021"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias
auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
authz_dbm authz_default authz_groupfile authz_host authz_owner
authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir
disk_cache env expires ext_filter file_cache filter headers include info
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif
speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="no"
BINPKG_COMPRESS="zstd"
BINPKG_FORMAT="xpak"
BINPKG_GPG_SIGNING_BASE_COMMAND="/usr/bin/flock
/run/lock/portage-binpkg-gpg.lock /usr/bin/gpg --sign --armor
[PORTAGE_CONFIG]"
BINPKG_GPG_SIGNING_DIGEST="SHA512"
BINPKG_GPG_VERIFY_BASE_COMMAND="/usr/bin/gpg --verify --batch --no-tty
--no-auto-check-trustdb --status-fd 2 [PORTAGE_CONFIG] [SIGNATURE]"
BINPKG_GPG_VERIFY_GPG_HOME="/etc/portage/gnupg"
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr xml
python_targets_python3_11 python_single_target_python3_11 multilib"
BROOT=""
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/boot/dtbs/* /lib/modules/*"
COMMON_FLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo"
CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a"
CXXFLAGS="-march=native -O2 -pipe"
DEFAULT_ABI="amd64"
DISTDIR="/var/cache/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=50 --keep-going -v
--quiet-build=y -1 --unordered-display"
EMERGE_WARNING_DELAY="10"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY
GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX
PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME
XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs
binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified
distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict
network-sandbox news parallel-fetch parallel-install pid-sandbox
preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms
strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
userpriv usersandbox xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}"
"${URI}""
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ;
port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] &&
port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P
\${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp
"${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ;