Re: [gentoo-user] masked packages

2024-04-01 Thread n952162

On 4/1/24 15:53, Hoël Bézier wrote:

Hi,

Am Mon, Apr 01, 2024 at 03:19:27PM +0200 schrieb n952162:

How do you see that radicale is marked for testing?

[snip]

The actual error mesg:

/  !!! All ebuilds that could satisfy "radicale" have been masked.//
//  !!! One of the following masked packages is required to complete
your request://
//  - www-apps/radicale-3.1.7::gentoo (masked by: ~amd64 keyword)//
//  - www-apps/radicale-3.1.5::gentoo (masked by: ~amd64 keyword)//
/


The ~amd64 keyword means www-apps/radicale is only available on
testing, otherwise the keyword would have been amd64 (without the
tilde). So portage is telling you it can’t install
www-apps/radicale-3.1.7 because it’s only available on testing, which
it does by saying it’s “masked by [the] ~amd64 keyword”.
That’s a different thing than masking a package using a package.mask
file, where the package is technically available for your architecture
but someone (usually you or the gentoo developpers) decided it wasn’t
fit to be installed: for instance the recent discovery of a backdoor
in xz-utils-5.4.6 led the gentoo developpers to mask this package, by
adding it to the /var/db/repos/gentoo/profiles/package.mask file which
you retrieved by syncing your gentoo tree.

Hoël



Thank you, very informative.




Re: [gentoo-user] masked packages

2024-04-01 Thread n952162

On 3/29/24 21:09, Jack wrote:


I see www-apps/radicale-3.1.8 marked as testing, but not masked. The
place to look for masking reasons is
/usr/portage/profiles/package.mask (or wherever your portage tree lives.)

However, if I search for radicale, I only see the one package, and the
associated acct-group and acct-user, so I don't know if you just used
* to quote the name, or if there are related packages I'm not seeing.



Thank you.

How do you see that radicale is marked for testing?

I don't have /usr/portage/profiles/package.mask on my system, but I
found a second package.mask in

    /var/db/repos/gentoo/profiles/package.mask

but it doesn't mention radicale.

Are you saying that if a package is "masked", portage is only aware of
that fact because it's specified in a file on my system? But it's also
shown as "masked" here:

https://packages.gentoo.org/packages/www-apps/radicale.

The actual error mesg:

/  !!! All ebuilds that could satisfy "radicale" have been masked.//
//  !!! One of the following masked packages is required to complete
your request://
//  - www-apps/radicale-3.1.7::gentoo (masked by: ~amd64 keyword)//
//  - www-apps/radicale-3.1.5::gentoo (masked by: ~amd64 keyword)//
/

The asterisks were supplied by thunderbird (or something thereafter) to
implement the "Bold" font I specified.


[gentoo-user] masked packages

2024-03-29 Thread n952162

Hello.

I'd like to emerge *radicale*, but see it's masked for amd, etc.  I
looked at the portage meta data and the ebuild to see if I could find
out why it should be masked - it's just a python program, supposedly. 
But I can't find out anything.  This warnings are unequivocal about
unmasking a package if you don't know why it's masked
(https://wiki.gentoo.org/wiki/Knowledge_Base:Unmasking_a_package). Does
anybody have any ideas?



Re: [gentoo-user] Re: is a global use flag necessary for python?

2024-03-11 Thread n952162

Good tips, thank you.

On 3/10/24 22:53, Walter Dnes wrote:

On Sun, Mar 10, 2024 at 06:43:56PM -, Grant Edwards wrote


Just back up your user data and re-install.

   Also back up /etc/ for your app configs and stuff like hosts and
resolve.conf and make.ccnf and package.use and package.mask etc.  And
remember /var/lib/.  /var/lib/portage/ has your sets including world.
/var/lib/iptables and /var/lib/ip6tables have your firewall rules.

   The files from /etc/ and /var/lib/ should be checked before blindly
dumping them into your new machine.





Re: [gentoo-user] is a global use flag necessary for python?

2024-03-09 Thread n952162

On 3/9/24 20:51, Walter Dnes wrote:

On Sat, Mar 09, 2024 at 07:55:13PM +0100, n952162 wrote

Hello all,

I just synced my system after a long delay,

   That's your problem right there.


Is there a way to do it globally?

   First of all python targets should not need to be mentioned in
make.conf or package.use.  Gentoo manages versions automatically... if
you update often enough.  First thing to do is update python so programs
have somthing up-to-date to build against.  Try...

emerge -1 python

...and then update world.




 * IMPORTANT: 2 config files in '/etc/portage' need updating.
Calculating dependencies   * See the CONFIGURATION FILES and
CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
.. ... ... done!
[ebuild  N ] dev-python/gentoo-common-1
[ebuild  N ] dev-python/ensurepip-pip-24.0
[ebuild U  ] dev-lang/python-exec-2.4.10 [2.4.8]
PYTHON_TARGETS="(python3_11%*) (python3_12%*)"
[ebuild U  ] app-arch/gzip-1.13 [1.11] USE="-verify-sig%"
[ebuild  N ] app-alternatives/gzip-1  USE="reference (split-usr) -pigz"
[ebuild U  ] dev-build/autoconf-2.71-r6 [2.71-r1]
[ebuild U  ] dev-build/automake-1.16.5-r2 [1.16.4]
[ebuild  NS    ] dev-lang/python-3.12.2_p1 [3.6.15, 3.7.12_p1, 3.8.13,
3.9.9-r1, 3.10.2_p1] USE="ensurepip%* -debug% -valgrind%"

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

dev-lang/python-exec:2

  (dev-lang/python-exec-2.4.10:2/2::gentoo, ebuild scheduled for merge)
USE="(native-symlinks) -test" ABI_X86="(64)" PYTHON_TARGETS="(pypy3)
(python3_10) (python3_11) (python3_12)" pulled in by
    dev-lang/python-exec[python_targets_python3_12(-)] required by
(dev-lang/python-3.12.2_p1:3.12/3.12::gentoo, ebuild scheduled for
merge) USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build
-debug -examples -libedit -pgo -test -tk -valgrind -verify-sig"
ABI_X86="(64)"


  (dev-lang/python-exec-2.4.8:2/2::gentoo, installed)
USE="(native-symlinks) userland_GNU -test" ABI_X86="(64)"
PYTHON_TARGETS="(pypy3) (python3_10) python3_8 python3_9" pulled in by
>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by 
(dev-python/pyparsing-2.4.7-r1:0/0::gentoo, installed) USE="userland_GNU -examples" 
ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by 
(app-portage/gemato-16.2:0/0::gentoo, installed) USE="gpg userland_GNU -test -tools" 
ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by 
(dev-python/namespace-sphinxcontrib-1.0:0/0::gentoo, installed) USE="userland_GNU" 
ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by 
(dev-python/cython-0.29.24-r1:0/0::gentoo, installed) USE="userland_GNU -doc -emacs -test" 
ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by 
(x11-base/xcb-proto-1.14.1:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64) -32 
(-x32)" PYTHON_TARGETS="python3_8 python3_9"

    dev-lang/python-exec[python_targets_python3_9(-)] required by
(dev-lang/python-3.9.9-r1:3.9/3.9::gentoo, installed) USE="gdbm ncurses
readline sqlite ssl userland_GNU xml -bluetooth -build -examples
-hardened -lto -pgo -test -tk -verify-sig -wininst" ABI_X86="(64)"

    >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-)] required
by (dev-python/backports-zoneinfo-0.2.1-r1:0/0::gentoo, installed)
USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3)"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by 
(dev-python/lxml-4.6.3-r1:0/0::gentoo, installed) USE="threads userland_GNU -doc -examples -test" 
ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by 
(dev-python/sphinxcontrib-devhelp-1.0.2:0/0::gentoo, installed) USE="userland_GNU -test" 
ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by 
(

[gentoo-user] is a global use flag necessary for python?

2024-03-09 Thread n952162

Hello all,

I just synced my system after a long delay, and I want to emerge
firefox.  I got this, first, I think, for something called gemato:

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( python_targets_python3_10 python_targets_python3_11
python_targets_python3_12 )

  Not being sure exactly what was necessary, I put them all into the
use file for gemato.

Then, I got the same thing for meson, I think.  I'm thinking this might
go through all the packages.

Is there a way to do it globally?




Re: [gentoo-user] is there something wrong with net-misc/inetutils?

2024-02-17 Thread n952162

On 2/17/24 23:31, Jack wrote:

On 2024.02.17 16:14, n952162 wrote:

On 2/17/24 21:45, Arsen  wrote:

Hi,

n952162  writes:


The inetutils on nixos runs fine.  I wonder why gentoo can't get it
working ...

Again, please post the relevant information about the build failure.  I
cannot reproudce it.

Packages don't necessarily stop working because of changes in the code.
It is possible that code accidentally worked and stopped working for
one
of a myriad of reasons.

Posting the output of emerge and/or the build log, as per the
instruction I linked, will help us narrow down the issue and fix it.

Thanks in advance, have a lovely evening.


I've already deleted the earlier messages in the thread, so I may be
missing something, but this doesn't look like a conflict or USE flag
issue.


Sorry, I don't want to file a bug report if it's just an operator error:

+ emerge --getbinpkg n -v --tree --deep --update --noreplace
--changed-use --verbose-conflicts --keep-going --with-bdeps=y
--backtrack=100 net-misc/inetutils

 * IMPORTANT: 11 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

 * Last emerge --sync was 1y 286d 18h 36m 20s ago.


When is the last time you did an "emerge --sync" ?  Has it really been
almost two years?  When it the last time you did any sort of emerge
@world?  If it is recently, then how has your portage tree been
updated?  If not recently, it is not surprising if you have problems
updating or installing a single package


 * IMPORTANT: 5 config files in '/etc/portage' need updating.


These may or may not be important. but without knowing which files
need updating, and why, there it no guarantee this is not at least
part of your problem.


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

Calculating dependencies   * See the CONFIGURATION FILES and
CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
.. done!

emerge: there are no ebuilds to satisfy "net-misc/inetutils".


Is there anything in /usr/portage/net-misc/inetutils?  (Adjust to
wherever your portage tree actually is.



emerge: searching for similar names...
emerge: Maybe you meant any of these: net-misc/iputils,
net-misc/tipcutils, net-misc/bridge-utils?


When is the last time you did emerge anything successfully?



I don't have a /usr/portage.  Is that a new directory that I should
have?  I also don't have a /etc/portage/inetutils.

I last successfully emerged tnftp yesterday.





Re: [gentoo-user] is there something wrong with net-misc/inetutils?

2024-02-17 Thread n952162

On 2/17/24 23:10, Michael Cook wrote:

On 2/17/24 14:03, n952162 wrote:

On 2/17/24 20:00, n952162 wrote:

On 2/17/24 19:56, n952162 wrote:

On 2/17/24 19:22, n952162 wrote:

On 2/17/24 16:38, Arsen Arsenović wrote:

n952162  writes:


When I try to emerge it, it fails, but
https://packages.gentoo.org/packages/net-misc/inetutils seems
normal.
Am I misreading it?

There does seem to be an open bug: https://bugs.gentoo.org/924493

If this one does not match your issue, please file a bug:
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide

Thanks in advance, have a lovely day.



Would that make the package not emerge?   I can't imagine a more
mature
package ...




The package must have worked once.  Is it possible and practical to
get an earlier, working version out of git?




I'm currently using the ftp in /net-ftp/ftp-0.17.34.0.2.5.1/ and
it's broken - it doesn't send the last block.

Other FTPs listed in https://wiki.gentoo.org/wiki/FTP have different
command syntax, which breaks my expect(1) script.




The inetutils on nixos runs fine.  I wonder why gentoo can't get it
working ...


I assume you're trying to build inetutils with the ftp use flag set?
net-ftp/ftp blocks inetutils in that case, you need to remove
net-ftp/ftp first.



Can you give some more information about that?  E.g. how one package can
block another one?

I removed net-ftp/ftp (good riddance):

   $ equery l net-ftp/ftp
   !!! No installed packages matching 'net-ftp/ftp'
 * Searching for ftp in net-ftp ...

But I'm still getting the same problem:

   emerge: there are no ebuilds to satisfy "net-misc/inetutils".

   emerge: searching for similar names...
   emerge: Maybe you meant any of these: net-misc/iputils,
   net-misc/tipcutils, net-misc/bridge-utils?



Re: [gentoo-user] is there something wrong with net-misc/inetutils?

2024-02-17 Thread n952162

On 2/17/24 21:45, Arsen  wrote:

Hi,

n952162  writes:


The inetutils on nixos runs fine.  I wonder why gentoo can't get it
working ...

Again, please post the relevant information about the build failure.  I
cannot reproudce it.

Packages don't necessarily stop working because of changes in the code.
It is possible that code accidentally worked and stopped working for one
of a myriad of reasons.

Posting the output of emerge and/or the build log, as per the
instruction I linked, will help us narrow down the issue and fix it.

Thanks in advance, have a lovely evening.



Sorry, I don't want to file a bug report if it's just an operator error:

+ emerge --getbinpkg n -v --tree --deep --update --noreplace
--changed-use --verbose-conflicts --keep-going --with-bdeps=y
--backtrack=100 net-misc/inetutils

 * IMPORTANT: 11 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

 * Last emerge --sync was 1y 286d 18h 36m 20s ago.

 * IMPORTANT: 5 config files in '/etc/portage' need updating.

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

Calculating dependencies   * See the CONFIGURATION FILES and
CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
.. done!

emerge: there are no ebuilds to satisfy "net-misc/inetutils".

emerge: searching for similar names...
emerge: Maybe you meant any of these: net-misc/iputils,
net-misc/tipcutils, net-misc/bridge-utils?





Re: [gentoo-user] is there something wrong with net-misc/inetutils?

2024-02-17 Thread n952162

On 2/17/24 20:00, n952162 wrote:

On 2/17/24 19:56, n952162 wrote:

On 2/17/24 19:22, n952162 wrote:

On 2/17/24 16:38, Arsen Arsenović wrote:

n952162  writes:


When I try to emerge it, it fails, but
https://packages.gentoo.org/packages/net-misc/inetutils seems normal.
Am I misreading it?

There does seem to be an open bug: https://bugs.gentoo.org/924493

If this one does not match your issue, please file a bug:
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide

Thanks in advance, have a lovely day.



Would that make the package not emerge?   I can't imagine a more mature
package ...




The package must have worked once.  Is it possible and practical to
get an earlier, working version out of git?




I'm currently using the ftp in /net-ftp/ftp-0.17.34.0.2.5.1/ and it's
broken - it doesn't send the last block.

Other FTPs listed in https://wiki.gentoo.org/wiki/FTP have different
command syntax, which breaks my expect(1) script.




The inetutils on nixos runs fine.  I wonder why gentoo can't get it
working ...


Re: [gentoo-user] is there something wrong with net-misc/inetutils?

2024-02-17 Thread n952162

On 2/17/24 19:56, n952162 wrote:

On 2/17/24 19:22, n952162 wrote:

On 2/17/24 16:38, Arsen Arsenović wrote:

n952162  writes:


When I try to emerge it, it fails, but
https://packages.gentoo.org/packages/net-misc/inetutils seems normal.
Am I misreading it?

There does seem to be an open bug: https://bugs.gentoo.org/924493

If this one does not match your issue, please file a bug:
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide

Thanks in advance, have a lovely day.



Would that make the package not emerge?   I can't imagine a more mature
package ...




The package must have worked once.  Is it possible and practical to
get an earlier, working version out of git?




I'm currently using the ftp in /net-ftp/ftp-0.17.34.0.2.5.1/ and it's
broken - it doesn't send the last block.

Other FTPs listed in https://wiki.gentoo.org/wiki/FTP have different
command syntax, which breaks my expect(1) script.



Re: [gentoo-user] is there something wrong with net-misc/inetutils?

2024-02-17 Thread n952162

On 2/17/24 19:22, n952162 wrote:

On 2/17/24 16:38, Arsen Arsenović wrote:

n952162  writes:


When I try to emerge it, it fails, but
https://packages.gentoo.org/packages/net-misc/inetutils seems normal.
Am I misreading it?

There does seem to be an open bug: https://bugs.gentoo.org/924493

If this one does not match your issue, please file a bug:
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide

Thanks in advance, have a lovely day.



Would that make the package not emerge?   I can't imagine a more mature
package ...




The package must have worked once.  Is it possible and practical to get
an earlier, working version out of git?





Re: [gentoo-user] is there something wrong with net-misc/inetutils?

2024-02-17 Thread n952162

On 2/17/24 16:38, Arsen Arsenović wrote:

n952162  writes:


When I try to emerge it, it fails, but
https://packages.gentoo.org/packages/net-misc/inetutils seems normal.
Am I misreading it?

There does seem to be an open bug: https://bugs.gentoo.org/924493

If this one does not match your issue, please file a bug:
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide

Thanks in advance, have a lovely day.



Would that make the package not emerge?   I can't imagine a more mature
package ...




[gentoo-user] is there something wrong with net-misc/inetutils?

2024-02-17 Thread n952162

When I try to emerge it, it fails, but
https://packages.gentoo.org/packages/net-misc/inetutils seems normal. 
Am I misreading it?




Re: [gentoo-user] gradle as source? How safe are overlays?

2023-10-16 Thread n952162

That's what I was afraid of hearing  ;-)


On 10/16/23 22:54, Michael Orlitzky wrote:

On Mon, 2023-10-16 at 21:29 +0200, n952162 wrote:

Why might it only be in an overlay?

Because it bundles 100+ other packages. That is inherently a security
risk, although plenty of people use Windows and install all of their
software that way and are perfectly happy on those days of the year
when their documents aren't encrypted by ransomware.






Re: [gentoo-user] gradle as source? How safe are overlays? [resend]

2023-10-16 Thread n952162

On 10/16/23 21:30, Viktar Patotski wrote:

Usually all gradle projects contain gradle wrappers (gradlew.bat and
gradlew.sh). If you have them, you just need Java and run: ./gradlew build




Yes, that was the case with f-droid/sms-ie-master, totally easy. But not
for f-droid/mupdf, unfortunately.  But I read that it's easy enough to
generate a gradlew - if you have gradle ...






[gentoo-user] gradle as source? How safe are overlays?

2023-10-16 Thread n952162

In order to build an android app, I need gradle.  Apparently, there's
only a binary version in gentoo, dev-java/gradle-bin, but there's a
source version in the mva overlay.  Why might it only be in an overlay?

This link:

https://wiki.gentoo.org/wiki/Gradle#Availability

links to:

https://github.com/msva/mva-overlay/tree/master/dev-java/gradle

containing 3 files, none of which is 100 lines.

If that's all it takes, why not be part of the distribution?

TIA





Re: [gentoo-user] gentoo packages contain binary images?

2023-09-28 Thread n952162

On 9/28/23 17:48, Alan McKinnon wrote:

cmake is not downloaded as binary. Your system has built it and stored
the binaries it built, especially if more than one package is like that.


$ tar -xjvf /var/cache/binpkgs/dev-util/cmake-3.22.2.tbz2  ./usr/bin/cmake
./usr/bin/cmake


$ file usr/bin/cmake
usr/bin/cmake: ELF 64-bit LSB pie executable, x86-64, version 1
(GNU/Linux), dynamically linked, interpreter
/lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped

It looks to me that it's in the tarball received from gentoo.




This happens when you use quickpkg or emerge -b.



Maybe I'm misinterpreting something?

emerge *--getbinpkg n *-v --tree --deep --update --noreplace
--changed-use --verbose-conflicts --keep-going --with-bdeps=y
--backtrack=100 cmake


I seem to recall there is a global option that can be used for this, I
used it one when building on a central host to then distribute
binaries to other hosts.

Alan

On Thu, Sep 28, 2023 at 5:29 PM n952162  wrote:

Hello,

When I do:

$  equery list cmake
  * Searching for cmake ...
[IP-] [  ] dev-util/cmake-3.22.2:0

Furthermore, I find no /var/tmp/portage/dev-util/cmake*

and when I do this:

$ cd /var/cache/binpkgs/dev-util

$ tar -tjvf cmake-3.22.2.tbz2  2>&1 | grep /usr/bin/cmake
-rwxr-xr-x root/root   7332776 2022-03-03 10:10 ./usr/bin/cmake

I see that a ready-to-use cmake is included.

Am I interpreting this correctly that cmake is downloaded as pre-built
binary?

Can I inhibit that?  How many pre-built binaries do I have? How do I
get rid of them?

Incidently, I checked another package in /var/cache/binpkgs,
byacc, and
it's the same.





--
Alan McKinnon
alan dot mckinnon at gmail dot com


[gentoo-user] gentoo packages contain binary images?

2023-09-28 Thread n952162

Hello,

When I do:

$  equery list cmake
 * Searching for cmake ...
[IP-] [  ] dev-util/cmake-3.22.2:0

Furthermore, I find no /var/tmp/portage/dev-util/cmake*

and when I do this:

$ cd /var/cache/binpkgs/dev-util

$ tar -tjvf cmake-3.22.2.tbz2  2>&1 | grep /usr/bin/cmake
-rwxr-xr-x root/root   7332776 2022-03-03 10:10 ./usr/bin/cmake

I see that a ready-to-use cmake is included.

Am I interpreting this correctly that cmake is downloaded as pre-built
binary?

Can I inhibit that?  How many pre-built binaries do I have?  How do I
get rid of them?

Incidently, I checked another package in /var/cache/binpkgs, byacc, and
it's the same.





Re: [gentoo-user] Change History of linux commands

2022-10-07 Thread n952162

Am 07.10.22 um 17:47 schrieb tastytea:

On 2022-10-07 17:25+0200 n952162  wrote:


Am 07.10.22 um 16:56 schrieb Grant Taylor:

On 10/7/22 8:25 AM, n952162 wrote:

Can anybody tell me how I can look at the official change history
of linux commands?

Some man pages have history of commands in them.

Admittedly, it seems as if man pages on Solaris and *BSD (I have
access to FreeBSD) tend to be better than Linux man page at this
aspect.




Well, the man page, yes, would be a good indicator, but the commands
themselves?

Where does gentoo get the source to build  test(1) or expr(1) or
date(1)?    That's in some package, but where is the upstream source?
Is it something in github?  Or a linux portal?  Or Torvalds private
server?  Or the gnu server?



/usr/bin/test[1] was installed by sys-apps/coreutils[2], it's homepage
is <https://www.gnu.org/software/coreutils/>[3], that links to the
source code repository.

Other ways to find out:
   - `equery meta sys-apps/coreutils`
   - `less $(portageq get_repo_path / 
gentoo)/sys-apps/coreutils/coreutils-8.32-r1.ebuild`

Kind regards, tastytea

[1] `whereis test`
[2] `qfile /usr/bin/test` or `equery belongs /usr/bin/test`
[3] `eix sys-apps/coreutils` or emerge -s sys-apps/coreutils`



Oh, that's good.  Thank you.





Re: [gentoo-user] Change History of linux commands

2022-10-07 Thread n952162

Am 07.10.22 um 16:56 schrieb Grant Taylor:

On 10/7/22 8:25 AM, n952162 wrote:

Can anybody tell me how I can look at the official change history of
linux commands?


Some man pages have history of commands in them.

Admittedly, it seems as if man pages on Solaris and *BSD (I have
access to FreeBSD) tend to be better than Linux man page at this aspect.





Well, the man page, yes, would be a good indicator, but the commands
themselves?

Where does gentoo get the source to build  test(1) or expr(1) or
date(1)?    That's in some package, but where is the upstream source? 
Is it something in github?  Or a linux portal?  Or Torvalds private
server?  Or the gnu server?




[gentoo-user] [RESOLVED] Change History of linux commands

2022-10-07 Thread n952162

Am 07.10.22 um 16:25 schrieb n952162:

Can anybody tell me how I can look at the official change history of
linux commands?

For example, the test(1) command used to have a regular-expression
parser built in.  No longer, and more surprising, there's no discussion
of its disappearance on the internet; that I can find, at any rate.

I'd to know when it disappeared and what discussions, by whom, preceded
that.




Sorry, I'm thinking of the expr(1) command.




[gentoo-user] Change History of linux commands

2022-10-07 Thread n952162

Can anybody tell me how I can look at the official change history of
linux commands?

For example, the test(1) command used to have a regular-expression
parser built in.  No longer, and more surprising, there's no discussion
of its disappearance on the internet; that I can find, at any rate.

I'd to know when it disappeared and what discussions, by whom, preceded
that.





Re: [gentoo-user] openvpn experience, anyone?

2022-09-19 Thread n952162

On 9/18/22 14:23, William Kenworthy wrote:


On 18/9/22 16:26, n952162 wrote:


On 9/18/22 09:52, William Kenworthy wrote:


On 18/9/22 15:26, n952162 wrote:

Hello all,

I want to ssh over my openvpn connection, and I can't do it, the
connection times out.

I saw a reference to gentoo in the openvpn scripts in /etc/openvpn and
thought maybe somebody here  knows something about this.

Earlier my institution recommended openconnect, and I was able to use
ssh to login in to a host with no problem.

Then, for some reason (licensing?), we were switched to openvpn, which
works for xfreerdp but not for ssh.

I don't have control over the institution's firewall (but I do have
for
the host itself)

Perhaps when installing the new service, they tightened up the
firewall
rules.  But maybe there's a configuration screw I can turn, or ...
maybe
a USE flag?

- - down-root : Enable the down-root plugin
 - - examples  : Install examples, usually source code
 - - inotify   : Enable inotify filesystem monitoring support
 - - iproute2  : Enabled iproute2 support instead of net-tools
 + + lz4   : Enable support for lz4 compression (as implemented in
app-arch/lz4)
 + + lzo   : Enable support for lzo compression
 - - mbedtls   : Use mbed TLS as the backend crypto library
 + + openssl   : Use OpenSSL as the backend crypto library
 + + pam   : Add support for PAM (Pluggable Authentication
Modules)
- DANGEROUS to
 arbitrarily flip
 - - pkcs11    : Enable PKCS#11 smartcard support
 + + plugins   : Enable the OpenVPN plugin system
 - - systemd   : Enable use of systemd-specific libraries and features
like socket
 activation or session tracking
 - - test  : Enable dependencies and/or preparations necessary to
run tests
 (usually controlled by FEATURES=test but can be
toggled independently)

TIA



ssh and openvpn work well together.  However I am doing most of the
work using my own configs - gentoo tries to be too clever with its vpn
networking and Ive never been able to get it to work
reliably/acceptably.  On some sites I have to use port 443 (https) to
get through, and in extreme cases double wrap in ssl (using a mix of
proxytunnel (windows host), stunnel and sslh) to disguise its a vpn
but still separate it from regular https traffic on my firewall.  You
will need to figure out where the ssh is getting blocked/stripped out
- is openvpn your endpoint or theirs?

BillK





I don't understand that question: "is openvpn your endpoint or theirs" -
don't both sides have an endpoint on the tunnel?

That would have been a class idea, using the https port ...
unfortunately, there's a web server running on that machine... it's not
being used, however ... hmmm.

Wow: "in extreme cases double wrap in ssl (using a mix of proxytunnel
(windows host), stunnel and sslh) to disguise its a vpn but still
separate it from regular https traffic on my firewall." - sounds totally
cool, except I have no idea what it means... which concept should I
start with?

- proxytunnel

- sslh

- double wrapping in ssl


1. Do you have control over both openvpn endpoints?  Typically in a
roadwarrior setup the company IT dept owns one and you don't get
access to it which can make it very difficult to see whats going on -
if you can access the configs of both ends its much easier. The
firewall you mention might be dropping ssh packets exiting the tunnel
if its hosting an endpoint that is subject to the firewall?  Routing
multiple hops past the vpn endpoint can be another issue with openvpn.



Ah, now I have a  better understanding of the question - yes,
unfortunately, the vpn goes to the institution's intranet.  I control
the client and the host, and the link to the institution, but the remote
endpoint of the tunnel is not in my control.




2. SSL packets have identifiers in the headers that indicate the type
of traffic within - sslh is a multiplexor that detects openvpn,
openssl, openssh etc. via the ssl packet headers (does not need to see
into the encryption to do this) and redirects the packets to different
hosts/ports as applicable - e.g, ssl web traffic to your web server
and openvpn ssl to to the vpn concentrator even though it all comes in
as ssl on port 443.



Okay, that gets me a lot closer.   Thank you.



3a. Before retiring I was working within various seriously locked down
networks and needed to reach my own home server - some of the
commercial firewalls are able to break and examine ssl streams, or
identify it was openvpn on port 443 and block it.  If you are using a
commercial certificate with openvpn this may be happening.

3b. If you own/host both ends of the vpn tunnel on your own machines,
use the end-to-end encryption options, and a private certificate. By
feeding the openvpn ssl stream through something like proxytunnel you
are encrypting the stream a second time with https characteristics
which gets around this to some degree (if they do both

Re: [gentoo-user] openvpn experience, anyone?

2022-09-18 Thread n952162

On 9/18/22 11:08, Michael wrote:

On Sunday, 18 September 2022 08:52:13 BST William Kenworthy wrote:

On 18/9/22 15:26, n952162 wrote:

Hello all,

I want to ssh over my openvpn connection, and I can't do it, the
connection times out.

I saw a reference to gentoo in the openvpn scripts in /etc/openvpn and
thought maybe somebody here  knows something about this.

Earlier my institution recommended openconnect, and I was able to use
ssh to login in to a host with no problem.

Then, for some reason (licensing?), we were switched to openvpn, which
works for xfreerdp but not for ssh.

I don't have control over the institution's firewall (but I do have for
the host itself)

Perhaps when installing the new service, they tightened up the firewall
rules.  But maybe there's a configuration screw I can turn, or ... maybe
a USE flag?

- - down-root : Enable the down-root plugin
  - - examples  : Install examples, usually source code
  - - inotify   : Enable inotify filesystem monitoring support
  - - iproute2  : Enabled iproute2 support instead of net-tools
  + + lz4   : Enable support for lz4 compression (as implemented in
app-arch/lz4)
  + + lzo   : Enable support for lzo compression
  - - mbedtls   : Use mbed TLS as the backend crypto library
  + + openssl   : Use OpenSSL as the backend crypto library
  + + pam   : Add support for PAM (Pluggable Authentication Modules)
- DANGEROUS to
  arbitrarily flip
  - - pkcs11: Enable PKCS#11 smartcard support
  + + plugins   : Enable the OpenVPN plugin system
  - - systemd   : Enable use of systemd-specific libraries and features
like socket
  activation or session tracking
  - - test  : Enable dependencies and/or preparations necessary to
run tests
  (usually controlled by FEATURES=test but can be
toggled independently)

TIA

ssh and openvpn work well together.  However I am doing most of the work
using my own configs - gentoo tries to be too clever with its vpn
networking and Ive never been able to get it to work
reliably/acceptably.  On some sites I have to use port 443 (https) to
get through, and in extreme cases double wrap in ssl (using a mix of
proxytunnel (windows host), stunnel and sslh) to disguise its a vpn but
still separate it from regular https traffic on my firewall.  You will
need to figure out where the ssh is getting blocked/stripped out - is
openvpn your endpoint or theirs?

BillK

Could it also be an issue with MTU being too large?  It should be easy to test
with:

ping -c 1 -v -M do -s 1464 

and decrease the packet size until gets through.  Then configure your client
accordingly:

https://community.openvpn.net/openvpn/wiki/271-i-can-ping-through-the-tunnel-but-any-real-work-causes-it-to-lock-up-is-this-an-mtu-problem



That was a good idea!  Unfortunately, in this case it wasn't the cause:

   -- ping  statistics ---
   1 packets transmitted, 1 received, 0% packet loss, time 0ms
   rtt min/avg/max/mdev = 331.754/331.754/331.754/0.000 ms



[gentoo-user] openvpn experience, anyone?

2022-09-18 Thread n952162

Hello all,

I want to ssh over my openvpn connection, and I can't do it, the
connection times out.

I saw a reference to gentoo in the openvpn scripts in /etc/openvpn and
thought maybe somebody here  knows something about this.

Earlier my institution recommended openconnect, and I was able to use
ssh to login in to a host with no problem.

Then, for some reason (licensing?), we were switched to openvpn, which
works for xfreerdp but not for ssh.

I don't have control over the institution's firewall (but I do have for
the host itself)

Perhaps when installing the new service, they tightened up the firewall
rules.  But maybe there's a configuration screw I can turn, or ... maybe
a USE flag?

- - down-root : Enable the down-root plugin
 - - examples  : Install examples, usually source code
 - - inotify   : Enable inotify filesystem monitoring support
 - - iproute2  : Enabled iproute2 support instead of net-tools
 + + lz4   : Enable support for lz4 compression (as implemented in
app-arch/lz4)
 + + lzo   : Enable support for lzo compression
 - - mbedtls   : Use mbed TLS as the backend crypto library
 + + openssl   : Use OpenSSL as the backend crypto library
 + + pam   : Add support for PAM (Pluggable Authentication Modules)
- DANGEROUS to
 arbitrarily flip
 - - pkcs11    : Enable PKCS#11 smartcard support
 + + plugins   : Enable the OpenVPN plugin system
 - - systemd   : Enable use of systemd-specific libraries and features
like socket
 activation or session tracking
 - - test  : Enable dependencies and/or preparations necessary to
run tests
 (usually controlled by FEATURES=test but can be
toggled independently)

TIA




Re: [gentoo-user] --sync

2022-07-31 Thread n952162

On 7/31/22 21:51, n952162 wrote:

I've been running gentoo for years now, and every time I go to --sync,
it's really a painful process.

The process can take *very* before you find out if it succeeded or not.

I try different repos.conf servers - one works for a while, then
doesn't, then later, the new one doesn't work anymore and the old one
works again.

I've asked here about it multiple times and get the answers

- "I don't have a problem"

- "just change the server"

- "keep trying"

It can take several hours before it finally works

It seems like a time-out problem.  Or maybe a memory problem ... In any
case, it doesn't seem like it ought to be difficult to at least know
what the problem is.

Or?




Thanks all, for the various suggestions, I'll try each.



[gentoo-user] --sync

2022-07-31 Thread n952162

I've been running gentoo for years now, and every time I go to --sync,
it's really a painful process.

The process can take *very* before you find out if it succeeded or not.

I try different repos.conf servers - one works for a while, then
doesn't, then later, the new one doesn't work anymore and the old one
works again.

I've asked here about it multiple times and get the answers

- "I don't have a problem"

- "just change the server"

- "keep trying"

It can take several hours before it finally works

It seems like a time-out problem.  Or maybe a memory problem ... In any
case, it doesn't seem like it ought to be difficult to at least know
what the problem is.

Or?




Re: [gentoo-user] grub-install: error: cannot find EFI directory [RESOLVED]

2022-07-27 Thread n952162

On 7/27/22 14:33, n952162 wrote:

Hello all,

has the default been changed from BIOS to EFI?

Do I have to, e.g. set the platform USE flag and reinstall the humongous
grub package or is there an option I can pass to grub-install?




Well, I discovered that this works:

*grub-install --target=i386-pc /dev/sda*

Although that is an UNDOCUMENTED option!  It's dropped from the --help menu.

I found it in the --help on an old system.

Amazing how these things just disappear.


Re: [gentoo-user] grub-install: error: cannot find EFI directory

2022-07-27 Thread n952162

On 7/27/22 14:33, n952162 wrote:

Hello all,

has the default been changed from BIOS to EFI?

Do I have to, e.g. set the platform USE flag and reinstall the humongous
grub package or is there an option I can pass to grub-install?




I see I have this:

CONFIG_EFI=y

CONFIG_EFI_STUB=y

CONFIG_EFI_MIXED=y


... or will I have to rebuild my kernel?

Surely genkernel would have determined that I have a BIOS system
wouldn't it have?





[gentoo-user] grub-install: error: cannot find EFI directory

2022-07-27 Thread n952162

Hello all,

has the default been changed from BIOS to EFI?

Do I have to, e.g. set the platform USE flag and reinstall the humongous
grub package or is there an option I can pass to grub-install?




Re: [gentoo-user] why do I need cargo to make an initramfs?

2022-05-14 Thread n952162

On 5/14/22 12:52, Stefan Schmiedl wrote:


Samstag, 14. Mai 2022 11:37:


I don't get it.  Why should something built with rust require a boot
packaging tool that also requires rust?  That's like saying, if a
facility has a python component, the whole facility needs to be
distributed with pip.
Can anyone tell me where the initramfs staging area or configuration
file is?

How are you building your initramfs? dracut, genkernel, other?

Are you sure that cargo is going to be included in the initramfs
and not just required to build it?

s.



Well, I'm not, that's what I'm trying to do.  But I'd like to do it the
way I've done it for years rather using some new facility.

Can genkernel do it?  I built my kernel just now according to
https://wiki.gentoo.org/wiki/Kernel/Upgrade, as I always have.

Maybe I should start over and use genkernel?

Okay, I see genkernel has a initramfs action.  I'll try that.  It
probably uses cargo under the hood.  SMH.  Building an initramfs isn't
all that difficult once you know what's got to go into it. Are we
gratuitously adding dependencies?  We should strive to keep things simple.




Re: [gentoo-user] why do I need cargo to make an initramfs?

2022-05-14 Thread n952162

On 5/14/22 12:36, Dale wrote:

n952162 wrote:

On 5/14/22 10:44, Stefan Schmiedl wrote:

Samstag, 14. Mai 2022 10:00:


I never needed to use cargo before, to update my kernel.  In what
way is
cargo better than earlier mechanisms to build initramfs?

With cargo being rust's package manager, I'd hazard the guess that
you got yourself a shiny new rust component in either your kernel
or your initramfs content.

s.



I don't get it.  Why should something built with rust require a boot
packaging tool that also requires rust?  That's like saying, if a
facility has a python component, the whole facility needs to be
distributed with pip.

Can anyone tell me where the initramfs staging area or configuration
file is?





The file(s) are in /etc/dracut.conf.d/.  I only have one file but
depending on setup, you could have more than one.

Hope that helps.

Dale

:-)  :-)



Unfortunately, I don't have that directory.  I'm at 4.14.97.

Upgrading to 5.15.32.  But I get a kernel panic and have no initramfs
for 5.15.32...

I suppose I could unpack the one I have for 4.14.97 and create a new one
based on that ...





Re: [gentoo-user] why do I need cargo to make an initramfs?

2022-05-14 Thread n952162

Thank you.

On 5/14/22 12:36, Dale wrote:

n952162 wrote:

On 5/14/22 10:44, Stefan Schmiedl wrote:

Samstag, 14. Mai 2022 10:00:


I never needed to use cargo before, to update my kernel.  In what
way is
cargo better than earlier mechanisms to build initramfs?

With cargo being rust's package manager, I'd hazard the guess that
you got yourself a shiny new rust component in either your kernel
or your initramfs content.

s.



I don't get it.  Why should something built with rust require a boot
packaging tool that also requires rust?  That's like saying, if a
facility has a python component, the whole facility needs to be
distributed with pip.

Can anyone tell me where the initramfs staging area or configuration
file is?





The file(s) are in /etc/dracut.conf.d/.  I only have one file but
depending on setup, you could have more than one.

Hope that helps.

Dale

:-)  :-)





Re: [gentoo-user] why do I need cargo to make an initramfs?

2022-05-14 Thread n952162

On 5/14/22 10:44, Stefan Schmiedl wrote:

Samstag, 14. Mai 2022 10:00:


I never needed to use cargo before, to update my kernel.  In what way is
cargo better than earlier mechanisms to build initramfs?


With cargo being rust's package manager, I'd hazard the guess that
you got yourself a shiny new rust component in either your kernel
or your initramfs content.

s.




I don't get it.  Why should something built with rust require a boot
packaging tool that also requires rust?  That's like saying, if a
facility has a python component, the whole facility needs to be
distributed with pip.

Can anyone tell me where the initramfs staging area or configuration
file is?




[gentoo-user] why do I need cargo to make an initramfs?

2022-05-14 Thread n952162

I never needed to use cargo before, to update my kernel.  In what way is
cargo better than earlier mechanisms to build initramfs?




[gentoo-user] Re: FVWM: xterm*VT100.Translations only when mouse is over the window with focus

2022-04-29 Thread n952162

On 4/23/22 06:04, David Fries wrote:

That sounds unusual, I tried both xterm and uxterm and they both
behave like I expect with registering key presses including F1 as long
as that xterm has focus no matter if the mouse is someplace else. It
is the same behavior as other terminals and other programs.
Style "*" SloppyFocus

The left click xterm menu has a Secure Keyboard option. In this mode
the xterm grabs the keyboard and doesn't give it up until it is
minimized or you ask it to give it up. The idea is nothing else can
grab your keyboard while you type in a password, for the paranoid I
guess. You might want to read about it in the man page see securekbd,
and see if once it grabs the keyboard if it still gets the keys no
matter where the mouse is (what I see).

The behavior you describe is something like what ssh-askpass-gnome
does, only in that case it grabs the keyboard focus, then ignores all
keys until the mouse is over it. I find this annoying because I have
hotkeys to move the mouse around, which don't work because it has a
keyboard grab.



Ah, sorry, I should have mentioned, ClickToFocus.

I am certain this is not some kind of subtle interplay of features, like
you're suggesting.  ClickToFocus does not behave this way on Linux, just
on Cygwin.






Re: [gentoo-user] Fully-Defined-Domain-Name for nullmailer

2022-04-13 Thread n952162

On 4/13/22 3:40 PM, Grant Taylor wrote:

I don't know what name Thunderbird uses in it's HELO / EHLO
command(s). Though it shouldn't matter much which name is used.

The important thing should be that the SMTP client, be it Thunderbird
or nullmailer or something else, should authenticate to the outbound
relay / MSA.  The MSA should then use that authentication as a control
for what is and is not allowed to be relayed.



Okay, that's a good tip.  From tcpdump on my work machine (nullmailer
runs on my home machine, though), I have:


EHLO.[10.0
    0x0040:  2e32 2e31 355d 0d0a .2.15]..

so the argument to EHLO supplied by /thunderbird/ is my ip address.  So,
the hypothesis is, if I can coerce nullmailer to use that, it should work?




Re: [gentoo-user] Fully-Defined-Domain-Name for nullmailer

2022-04-13 Thread n952162

On 4/13/22 11:53 AM, n952162 wrote:

Hello,

What would this be for the 99% of all linux users who are connected to
the internet via DSL?

Is "localdomain" sufficient for nullmailer?  (I tried it, temporarily,
in /etc/conf.d/hostname), but it didn't help.

And, is there anyway that I can set it without putting it in my
/etc/conf.d/hostname file?  That will require changes to any script that
uses $(uname -n).





I discovered that if I set (apparently, both of ) these to some value,
that value will be used as the domain.

1. /etc/nullmailer/defaultname
2. /etc/nullmailer/me

That answers the second part of the question.

Unfortunately, I get a 550 from my network provider for all of these:

1. me
2. localdomain
3. net
4. web.de

So, how does thunderbird do it?




[gentoo-user] Fully-Defined-Domain-Name for nullmailer

2022-04-13 Thread n952162

Hello,

What would this be for the 99% of all linux users who are connected to
the internet via DSL?

Is "localdomain" sufficient for nullmailer?  (I tried it, temporarily,
in /etc/conf.d/hostname), but it didn't help.

And, is there anyway that I can set it without putting it in my
/etc/conf.d/hostname file?  That will require changes to any script that
uses $(uname -n).





Re: [gentoo-user] SOLVED emerge is stumped

2022-04-09 Thread n952162

On 4/9/22 09:03, n952162 wrote:


I can't emerge.

I get these errors, like, 4 times:

T/ask was destroyed but it is pending!//
//task: 
wait_for=.() at
/usr/lib/python3.9/site-packages/_emerge/AsynchronousTask.py:49,
()]>
cb=[SpawnProcess._main_exit()]>//
/

//

I had to abort an emerge yesterday, could it be that I have to clean
something up?



Okay, maybe this has been discussed here already, what would be the keyword?

It turns out that it wasn't a problem with a corrupted installation
because I got it on another box, too.

I don't know what the cause was, but it seems to be cleared up after I
manually (i.e. individually) installed one of the packages in the list
given with this:

   /* The following 9 packages have failed to build, install, or execute//
   // * postinst:/



Re: [gentoo-user] SOLVED !!! 'sys-devel/gcc-11.2.1_p20220115' is not a valid package atom.

2022-04-09 Thread n952162

On 4/9/22 10:10, n952162 wrote:

!!! 'sys-devel/gcc-11.2.1_p20220115' is not a valid package atom.

But it's listed here:

https://packages.gentoo.org/packages/sys-devel/gcc

and generated by emerge @world

what am I doing wrong?




Ok, I see I need to precede that with "="




[gentoo-user] !!! 'sys-devel/gcc-11.2.1_p20220115' is not a valid package atom.

2022-04-09 Thread n952162

!!! 'sys-devel/gcc-11.2.1_p20220115' is not a valid package atom.

But it's listed here:

https://packages.gentoo.org/packages/sys-devel/gcc

and generated by emerge @world

what am I doing wrong?




[gentoo-user] emerge is stumped

2022-04-09 Thread n952162

I can't emerge.

I get these errors, like, 4 times:

   T/ask was destroyed but it is pending!//
   //task: 
   wait_for=.() at
   /usr/lib/python3.9/site-packages/_emerge/AsynchronousTask.py:49,
   ()]>
   cb=[SpawnProcess._main_exit()]>//
   /

   //

I had to abort an emerge yesterday, could it be that I have to clean
something up?


[gentoo-user] which lenovo or huawei laptop?

2022-04-06 Thread n952162

I bought a bottom of the line HP laptop and had only problems with
unsupported chips.  I'd like to buy a lenovo or huawei now. Has anyone
had bad experiences porting /gentoo/ to either?


Re: [gentoo-user] "sys-libs/glibc[crypt(+)]" is soft blocking sys-libs/libxcrypt

2022-04-03 Thread n952162

On 4/3/22 10:27, Alexander Puchmayr wrote:

Am Sonntag, 3. April 2022, 10:23:25 CEST schrieb n952162:

My emerge fails due to a collision with xorg-server and glibc. How can I
find out where the problem is, actually?

Output attached.

Did you have a look at
https://www.gentoo.org/support/news-items/2021-10-18-libxcrypt-migration-stable.html

Alex





Thank you, yes, I forgot to check that.

I put in  --ignore-built-slot-operator-deps=y

The conflict is gone but now I have a circular dependency. Recommended
steps:

* unmask and enable the crypt USE flag of sys-libs/glibc
* mask the system USE flag of sys-libs/libxcrypt
* mask >=virtual/libcrypt-2
* unmask virtual/libcrypt:0/1

I'm not really clear on masking.

1. My /etc/portage/package.accept_keywords has no mention of glibc, so
   I think there's nothing to unmask.
2. "mask the system USE flag"?  USE flags go into
   /etc/portage/package.use, correct?  Is that "mask" an inexact
   expression?  Anyway, a "system" USE flag?
   $ equery uses sys-libs/libxcrypt
   python-exec: Invalid impl in /etc/python-exec/python-exec.conf:
   python3.7
   [ Legend : U - final flag setting for installation]
   [    : I - package is installed with flag ]
   [ Colors : set, unset ]
 * Found these USE flags for sys-libs/libxcrypt-4.4.27:
 U I
 + - abi_x86_32  : 32-bit (x86) libraries
 - - static-libs : Build static versions of dynamic libraries as well
 - - test    : Enable dependencies and/or preparations
   necessary to run tests (usually controlled by FEATURES=test but can
   be toggled independently)

3.

   "mask >=virtual/libcrypt-2"
   Like, ">=virtual/libcrypt-2" into /etc/portage/package.accept_keywords, just 
like that?

4.

   But virtual/libcrypt:0/1 is not masked (to my knowledge).



Re: [gentoo-user] gentoo for a virtual server in the cloud?

2022-03-19 Thread n952162

:thumbsup:  Thank you.

On 3/19/22 09:08, Matthias Hanft wrote:

n952162 wrote:

You booted the minimal install ISO and went through the steps of
partitioning the disk, network, etc?

Yes.  Exactly the same way as I did for my server at home.


I was thinking that there were special drivers necessary for the virtual
devices offered by the platform.  Maybe even proprietary

Not in my case.  The provider uses VMware for his virtual servers,
and Gentoo didn't need any special drivers or something.

Here's the output of "lspci":

--- cut here ---

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge 
(rev 01)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge 
(rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 
10)
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
00:10.0 SCSI storage controller: Broadcom / LSI 53c1030 PCI-X Fusion-MPT Dual 
Ultra320 SCSI (rev 01)
00:11.0 PCI bridge: VMware PCI bridge (rev 02)
00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
[the same for 00:15.0..7, 00:16.0..7, 00:17.0..7, and 00:18.0..7]
02:00.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet 
Controller (Copper) (rev 01)

--- cut here ---

Gentoo could handle all this just out of the box.

-Matt





Re: [gentoo-user] gentoo for a virtual server in the cloud?

2022-03-18 Thread n952162

On 3/18/22 21:16, tastytea wrote:

On 2022-03-18 20:53+0100 n952162  wrote:


On 3/18/22 20:40, Matthias Hanft wrote:

n952162 schrieb:

I rent a low-cost virtual server in the cloud.  The platform
offers me some choices in linux distributions, but I'm wondering
if I can compile gentoo to run on it.  Anybody have experience
doing this?

Yes.  I have a Remote Console using a Java Applet (via VPN) where I
can select an ISO image on my local disk (also for boot).  So the
Gentoo installation was just as straight forward as at home - no
problem.

The prerequisite is, of course, that the provider does offer a
Remote Console and the ISO option.  I was lucky enough :-)

-Matt


You booted the minimal install ISO and went through the steps of
partitioning the disk, network, etc?

I was thinking that there were special drivers necessary for the
virtual devices offered by the platform.  Maybe even proprietary

Maybe I don't understand it correctly.

Most providers just use the virtualization that is built into the Linux
kernel, the same QEMU/KVM that you can setup yourself with libvirt. You
need to select some VIRTIO drivers but that's about the only difference
to a “normal” system. As far as I know sys-kernel/gentoo-kernel{,-bin}
has everything needed built in.

See also <https://wiki.gentoo.org/wiki/QEMU/Linux_guest#Guest>.



Good link, thank  you.





Re: [gentoo-user] gentoo for a virtual server in the cloud?

2022-03-18 Thread n952162

On 3/18/22 20:40, Matthias Hanft wrote:

n952162 schrieb:

I rent a low-cost virtual server in the cloud.  The platform offers me
some choices in linux distributions, but I'm wondering if I can compile
gentoo to run on it.  Anybody have experience doing this?

Yes.  I have a Remote Console using a Java Applet (via VPN) where I can
select an ISO image on my local disk (also for boot).  So the Gentoo
installation was just as straight forward as at home - no problem.

The prerequisite is, of course, that the provider does offer a Remote
Console and the ISO option.  I was lucky enough :-)

-Matt



You booted the minimal install ISO and went through the steps of
partitioning the disk, network, etc?

I was thinking that there were special drivers necessary for the virtual
devices offered by the platform.  Maybe even proprietary

Maybe I don't understand it correctly.




[gentoo-user] gentoo for a virtual server in the cloud?

2022-03-18 Thread n952162

I rent a low-cost virtual server in the cloud.  The platform offers me
some choices in linux distributions, but I'm wondering if I can compile
gentoo to run on it.  Anybody have experience doing this?






[gentoo-user] gentoo for a virtual server in the cloud?

2022-03-18 Thread n952162

I rent a low-cost virtual server in the cloud.  The platform offers me
some choices in linux distributions, but I'm wondering if I can compile
gentoo to run on it.  Anybody have experience doing this?




Re: [gentoo-user] how to restart the network, no net.enp1s0

2022-01-21 Thread n952162

The point is, something has changed in openrc, and I was hoping somebody
knew about it.

It used to be that you could restart the network with:

  rc-service net.enp1s0 restart

which would use the link in /etc/init.d.  But that link is now gone,
although the network works.  Something fundamental has changed, I think,
and I thought it would pop out here, but I guess I'm the only one still
using openrc.



On 1/16/22 19:06, Mark Knecht wrote:

On Sun, Jan 16, 2022 at 1:50 AM n952162  wrote:

Hello all,

my system runs fine, but when I want to restart my network, I find
there's no /etc/init.d/net.enp1s0 link or other interesting candidate.
Do something change here?

What do I need to do to restart my network?



Obviously the answers depends completely on how you are managing
services and what executables you have on your highly customizable
Gentoo machine, but possibly:

sudo service network-manager restart

sudo systemctl restart NetworkManager.service

sudo nmcli networking off && sudo nmcli networking on

sudo ifdown -a && sudo ifup -a

If you are using systemctl then

sudo systemctl status

is a good place to start, along with

nmcli

HTH,
Mark





Re: [gentoo-user] how to restart the network, no net.enp1s0

2022-01-21 Thread n952162

I guess openrc has fallen out of favor ...


On 1/16/22 19:06, Mark Knecht wrote:

On Sun, Jan 16, 2022 at 1:50 AM n952162  wrote:

Hello all,

my system runs fine, but when I want to restart my network, I find
there's no /etc/init.d/net.enp1s0 link or other interesting candidate.
Do something change here?

What do I need to do to restart my network?



Obviously the answers depends completely on how you are managing
services and what executables you have on your highly customizable
Gentoo machine, but possibly:

sudo service network-manager restart

sudo systemctl restart NetworkManager.service

sudo nmcli networking off && sudo nmcli networking on

sudo ifdown -a && sudo ifup -a

If you are using systemctl then

sudo systemctl status

is a good place to start, along with

nmcli

HTH,
Mark





[gentoo-user] how to restart the network, no net.enp1s0

2022-01-16 Thread n952162

Hello all,

my system runs fine, but when I want to restart my network, I find
there's no /etc/init.d/net.enp1s0 link or other interesting candidate. 
Do something change here?

What do I need to do to restart my network?




[gentoo-user] emerge asynchronous anomoly

2021-10-03 Thread n952162

Hallo,

there's probably an explanation ...

I'm emerging at this point:

>>> Emerging (51 of 93) perl-core/Encode-3.120.0::gentoo

and there's NO additional log output for a very long time. Looking at
ps(1) shows this:

root 22366 21993  0 07:46 pts/1 00:00:00  |   \_
sudo bash -x /home/user/lbin/update-system
root 22367 22366  0 07:46 pts/1    00:00:00 |   |   \_ bash -x
/home/user/lbin/update-system
root 22369 22367  3 07:46 pts/1    00:04:39 |   |   \_
/usr/bin/python3.9 -b /usr/lib/python-exec/python3.9/emerge --getbinpkg
n -v --tree --deep --update --noreplace --changed-use
--verbose-conflicts --keep-going --with-bdeps=y --backtrack=100 @world
root 29441 22369  0 09:12 pts/1    00:00:00 |   |   \_
[python3.9] 
portage  29450 22369  0 09:12 pts/1    00:00:00 |   |   \_
/usr/bin/python3.9 -b /usr/lib/python-exec/python3.9/emerge --getbinpkg
n -v --tree --deep --update --noreplace --changed-use
--verbose-conflicts --keep-going --with-bdeps=y --backtrack=100 @world
portage  29453 29450  0 09:12 pts/1    00:00:05 |   |  
\_ wget -t 3 -T 60 --passive-ftp -O
/elsewhere/var/cache/distfiles/*firefox-78.14.0esr.source.tar.xz*.__download__
http://distfiles.gentoo.org/distfiles/d6/*firefox-78.14.0esr.source.tar.xz*

i.e. it's downloading a tarball for firefox.  But firefox doesn't come
for a few more hours:

>>> Emerging (52 of 93) virtual/perl-Encode-3.120.0::gentoo
>>> Emerging (53 of 93) sys-devel/binutils-2.37_p1::gentoo
>>> Emerging (54 of 93) net-misc/iputils-20210722::gentoo
>>> Emerging (55 of 93) sys-apps/diffutils-3.8::gentoo
>>> Emerging (56 of 93) dev-lang/tcl-8.6.11::gentoo
>>> Emerging (57 of 93) app-emulation/qemu-6.0.0-r3::gentoo

Is it so on top of things that  it's downloading many packages early,
and the download is so aggressive, that nothing else can run?




Re: [gentoo-user] imagemagick display image edit tool draws an opaque background [RESOLVED]

2021-09-21 Thread n952162

On 8/30/20 10:02 PM, n952162 wrote:

In all of the imagemagick display installations I have, when I use the
image edit draw function, it includes an opaque background, rather than
just the lines themselves.  I've never had this with display(1) before,
and can find nothing in the internet about it.  That suggests to me that
it's - again - a use-flag issue.  Is there some use flag I have to use
to have a colored line with a transparent background?



I finally figured this out.  In order to draw on images with display(1)
-> draw and have proper backgrounds, the /*-alpha on*/ option has to be
specified.




Re: [gentoo-user] haven't been able to build android-tools for months [ RESOLVED ]

2021-09-07 Thread n952162



On 9/6/21 11:04 PM, cal wrote:

On 9/6/21 12:23 PM, n952162 wrote:


Given the error message implies a compiler error, perhaps try upgrading
sys-devel/gcc first?


Aggh!

00~/adm/gentoo/emerged>eselect gcc list
  [1] x86_64-pc-linux-gnu-9.3.0 *
  [2] x86_64-pc-linux-gnu-10.3.0


$ eselect news list | grep gcc

doesn't turn up anything.  When should/may one upgrade?

Thank you for the tip!   That's surely what's going on.

https://wiki.gentoo.org/wiki/Upgrading_GCC (note: most of the content
here appears to be related to upgrading to GCC 5.x).

Like the kernel, new versions of GCC are automatically pulled in, but
you have to eselect the new one manually (I don't know the reason; I
assume it is to avoid leaving the user with a broken compiler).
Personally, I just check the emerge output to see if a new version of
GCC was merged, and if so, I eselect it and rebuild libtool as described
on the wiki.

cal



Yes, that fixed it, thank you.  I have to read about libtool now, though.






Re: [gentoo-user] haven't been able to build android-tools for months

2021-09-06 Thread n952162

On 9/6/21 8:19 PM, cal wrote:

On 9/6/21 11:14 AM, n952162 wrote:

On any of my 7 gentoo machines:

FAILED: ^[[0mvendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++  -Ivendor
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/include

-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/core/include

-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/logging/liblog/include

-O2 -pipe -std=gnu++2a -Wno-attributes -D_FILE_OFFSET_BITS=64 -MD -MT
vendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o -MF
vendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o.d -o
vendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o -c
/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/logging.cpp

during RTL pass: expand
/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/logging.cpp:

In member function â~@~Xvoid
android::base::LogdLogger::operator()(android::base::LogId,
android::base::LogSeverity, const char*, const char*, unsigned int,
const char*)â~@~Y:
/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/logging.cpp:330:6:

internal compiler error: in expand_expr_real_1, at expr.c:10012
   330 | void LogdLogger::operator()(LogId id, LogSeverity severity,
const char* tag, const char* file,
   |  ^~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
[107/659] /usr/bin/x86_64-pc-linux-gnu-g++  -Ivendor
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/include

-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/core/include

-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/logging/liblog/include

-O2 -pipe -std=gnu++2a -Wno-attributes -D_FILE_OFFSET_BITS=64 -MD -MT
vendor/CMakeFiles/libbase.dir/libbase/mapped_file.cpp.o -MF
vendor/CMakeFiles/libbase.dir/libbase/mapped_file.cpp.o.d -o
vendor/CMakeFiles/libbase.dir/libbase/mapped_file.cpp.o -c
/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/mapped_file.cpp

ninja: build stopped: subcommand failed.
  * ERROR: dev-util/android-tools-31.0.0_p1::gentoo failed (compile phase):
  *   ninja -v -j2 -l0 failed
  *
  * Call stack:
  * ebuild.sh, line  127:  Called src_compile
  *   environment, line 3186:  Called cmake_src_compile
  *   environment, line 1231:  Called cmake_build
  *   environment, line 1200:  Called eninja
  *   environment, line 1707:  Called die
  * The specific snippet of code:
  *   "$@" || die "${nonfatal_args[@]}" "${*} failed"

I find no mention of this problem here, in the mailing list. There was
one hit in an internet search, but the conclusion was a bug in go, which
I don't have as described.

Anybody seen this?


I have not experienced this issue; android-tools has emerged
successfully (most recently in August) for me.

Per your build.log, you're still using GCC 9.3.0, which isn't even
listed on https://packages.gentoo.org/packages/sys-devel/gcc anymore
(9.4.0 and 10.3.0 are stable on amd64; I'm on 10.3.0 myself).

Given the error message implies a compiler error, perhaps try upgrading
sys-devel/gcc first?



Aggh!

00~/adm/gentoo/emerged>eselect gcc list
 [1] x86_64-pc-linux-gnu-9.3.0 *
 [2] x86_64-pc-linux-gnu-10.3.0


$ eselect news list | grep gcc

doesn't turn up anything.  When should/may one upgrade?

Thank you for the tip!   That's surely what's going on.





[gentoo-user] haven't been able to build android-tools for months

2021-09-06 Thread n952162

On any of my 7 gentoo machines:

FAILED: ^[[0mvendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++  -Ivendor
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/include
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/core/include
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/logging/liblog/include
-O2 -pipe -std=gnu++2a -Wno-attributes -D_FILE_OFFSET_BITS=64 -MD -MT
vendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o -MF
vendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o.d -o
vendor/CMakeFiles/libbase.dir/libbase/logging.cpp.o -c
/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/logging.cpp
during RTL pass: expand
/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/logging.cpp:
In member function â~@~Xvoid
android::base::LogdLogger::operator()(android::base::LogId,
android::base::LogSeverity, const char*, const char*, unsigned int,
const char*)â~@~Y:
/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/logging.cpp:330:6:
internal compiler error: in expand_expr_real_1, at expr.c:10012
  330 | void LogdLogger::operator()(LogId id, LogSeverity severity,
const char* tag, const char* file,
  |  ^~
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
[107/659] /usr/bin/x86_64-pc-linux-gnu-g++  -Ivendor
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/include
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/core/include
-I/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/logging/liblog/include
-O2 -pipe -std=gnu++2a -Wno-attributes -D_FILE_OFFSET_BITS=64 -MD -MT
vendor/CMakeFiles/libbase.dir/libbase/mapped_file.cpp.o -MF
vendor/CMakeFiles/libbase.dir/libbase/mapped_file.cpp.o.d -o
vendor/CMakeFiles/libbase.dir/libbase/mapped_file.cpp.o -c
/var/tmp/portage/dev-util/android-tools-31.0.0_p1/work/android-tools-31.0.0p1/vendor/libbase/mapped_file.cpp
ninja: build stopped: subcommand failed.
 * ERROR: dev-util/android-tools-31.0.0_p1::gentoo failed (compile phase):
 *   ninja -v -j2 -l0 failed
 *
 * Call stack:
 * ebuild.sh, line  127:  Called src_compile
 *   environment, line 3186:  Called cmake_src_compile
 *   environment, line 1231:  Called cmake_build
 *   environment, line 1200:  Called eninja
 *   environment, line 1707:  Called die
 * The specific snippet of code:
 *   "$@" || die "${nonfatal_args[@]}" "${*} failed"

I find no mention of this problem here, in the mailing list. There was
one hit in an internet search, but the conclusion was a bug in go, which
I don't have as described.

Anybody seen this?

Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1, gcc-9.3.0, 
glibc-2.33-r1, 5.4.92-gentoo-x86_64 x86_64)
=
 System Settings
=
System uname: Linux-5.4.92-gentoo-x86_64-x86_64-with-glibc2.33
KiB Mem: 7602652 total,303252 free
KiB Swap:8388604 total,   8387824 free
Timestamp of repository gentoo: Sun, 05 Sep 2021 08:30:01 +
Head commit of repository gentoo: 63c88537385d5a874c4b0acf2b1b8c3bac423af6
sh bash 5.1_p8
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:  5.1_p8::gentoo
dev-lang/perl:5.34.0::gentoo
dev-lang/python:  2.7.18-r4::gentoo, 3.6.14::gentoo, 3.7.11::gentoo, 
3.8.11::gentoo, 3.9.6_p1::gentoo
dev-lang/rust:1.53.0::gentoo
dev-util/cmake:   3.20.5::gentoo
sys-apps/baselayout:  2.7::gentoo
sys-apps/openrc:  0.43.5::gentoo
sys-apps/sandbox: 2.24::gentoo
sys-devel/autoconf:   2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:   1.16.3-r1::gentoo
sys-devel/binutils:   2.34-r2::gentoo, 2.35.2::gentoo, 2.36.1-r2::gentoo
sys-devel/gcc:9.3.0-r2::gentoo, 10.3.0-r2::gentoo
sys-devel/gcc-config: 2.4::gentoo
sys-devel/libtool:2.4.6-r6::gentoo
sys-devel/make:   4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:   2.33-r1::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts: 
sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc 
/usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf 

Re: [gentoo-user] portage has 0 debugging support for binary emerges

2021-09-06 Thread n952162

On 9/6/21 6:26 PM, n952162 wrote:

On 9/6/21 3:48 PM, n952162 wrote:

On 4/3/21 10:03 PM, n952162 wrote:

I find no clue why the binary packages on my server aren't being picked
up.  The --debug option  (and --verbose, naturally) has no additional
information.  Running the --getbinpkgonly stops immediately, saying 0
packages are selected.

I found one problem: on my server, my apache log file had a 302 fetch
error for /var/cache/binpkgs/Packages.  I touched it a few hours into
the future and started getting a 200 for it.  But still no emerge would
fetch a binary (even though there ARE good candidates).  On a guess, I
touched all the files in binpkgs an hour into the future, but that
didn't help.

Binary updates are VERY useful for virtual machines.




Unfortunately, there hasn't really been a resolution on this issue.

I think it's reasonable that if portage accesses a package on a binary
server and decides it's not eligible, it should report the reason for
rejecting it.

Is it possible to make requests for improvements in gentoo?




In the current case, llvm-common came across as binary, thunderbird
and firefox are also listed as a *binary* update, but llvm is an
*ebuild*.  Neither host (binary server) nor the client (updating
system) have any USE flags defined for llvm.  I know of no way to
figure out what went wrong.



Okay, maybe I've found what I was looking for:

   !!! The following binary packages have been ignored due to changed
   dependencies:

 net-misc/iputils-20210202::gentoo
 sys-devel/llvm-12.0.1::gentoo
 sys-devel/llvm-10.0.1::gentoo
 sys-devel/llvm-10.0.1::gentoo
 sys-devel/clang-12.0.1::gentoo
 sys-devel/lld-12.0.1::gentoo
 sys-libs/compiler-rt-12.0.1::gentoo
   sys-libs/compiler-rt-sanitizers-12.0.1::gentoo
 sys-libs/libomp-12.0.1::gentoo

   NOTE: The --binpkg-changed-deps=n option will prevent emerge
  from ignoring these binary packages if possible.
  Using --binpkg-changed-deps=y will silence this warning.




Re: [gentoo-user] portage has 0 debugging support for binary emerges

2021-09-06 Thread n952162

On 9/6/21 3:48 PM, n952162 wrote:

On 4/3/21 10:03 PM, n952162 wrote:

I find no clue why the binary packages on my server aren't being picked
up.  The --debug option  (and --verbose, naturally) has no additional
information.  Running the --getbinpkgonly stops immediately, saying 0
packages are selected.

I found one problem: on my server, my apache log file had a 302 fetch
error for /var/cache/binpkgs/Packages.  I touched it a few hours into
the future and started getting a 200 for it.  But still no emerge would
fetch a binary (even though there ARE good candidates).  On a guess, I
touched all the files in binpkgs an hour into the future, but that
didn't help.

Binary updates are VERY useful for virtual machines.




Unfortunately, there hasn't really been a resolution on this issue.

I think it's reasonable that if portage accesses a package on a binary
server and decides it's not eligible, it should report the reason for
rejecting it.

Is it possible to make requests for improvements in gentoo?




In the current case, llvm-common came across as binary, thunderbird and
firefox are also listed as a *binary* update, but llvm is an *ebuild*. 
Neither host (binary server) nor the client (updating system) have any
USE flags defined for llvm.  I know of no way to figure out what went wrong.



Re: [gentoo-user] emerge --sync keeps failing

2021-09-06 Thread n952162

On 8/2/21 2:01 PM, Michael wrote:

On Monday, 2 August 2021 12:10:12 BST n952162 wrote:

On 8/1/21 8:32 PM, Michael Orlitzky wrote:

On Sun, 2021-08-01 at 17:32 +0200, n952162 wrote:

* Verifying /var/db/repos/gentoo/.tmp-unverified-download-quarantine

...!!! Manifest verification failed:
Manifest mismatch for metadata/news/Manifest

I've raised this question before and the only useful answer I got was to
keep trying

On the off chance that something is screwy on the remote end, you can
always use "emerge-webrsync" and delay the problem until next time.

Otherwise, I would say check "dmesg" for disk errors, but if it's
happening on two machines that's a lot less likely.

I have this problem every month.  Why does it fail?  Is it just a
timeout because my network is slow?  Can that be tweaked?

I get this problem over here, but on rare occasions.  Leaving it for half a
day usually fixes it.  Have you tried a different rsync mirror?  You can use
'mirrorselect -i -r' for this task.



Unfortunately, mirrorselect doesn't seem to work anymore:

configparser.MissingSectionHeaderError: File contains no section headers.

It seems to have lost track of whether it's editing make.conf or repos.conf.

I ran it with the -o option, to a tempfile and tried to put that into
/etc/portage/repos.conf, I think, but that didn't work either.

Next, I manually editted /usr/share/portage/config/repos.conf and put
that line in where the old sync-uri was defined.  But that didn't work
either.

Now, I've created a new directory /etc/portage/repos.conf/ and moved the
file generate by the -o of mirrorselect into that as gentoo.conf and
added a "[gentoo]" section head.  It MIGHT be working now.





Re: [gentoo-user] portage has 0 debugging support for binary emerges

2021-09-06 Thread n952162

On 4/3/21 10:03 PM, n952162 wrote:

I find no clue why the binary packages on my server aren't being picked
up.  The --debug option  (and --verbose, naturally) has no additional
information.  Running the --getbinpkgonly stops immediately, saying 0
packages are selected.

I found one problem: on my server, my apache log file had a 302 fetch
error for /var/cache/binpkgs/Packages.  I touched it a few hours into
the future and started getting a 200 for it.  But still no emerge would
fetch a binary (even though there ARE good candidates).  On a guess, I
touched all the files in binpkgs an hour into the future, but that
didn't help.

Binary updates are VERY useful for virtual machines.




Unfortunately, there hasn't really been a resolution on this issue.

I think it's reasonable that if portage accesses a package on a binary
server and decides it's not eligible, it should report the reason for
rejecting it.

Is it possible to make requests for improvements in gentoo?






Re: [gentoo-user] how to run freerdp

2021-08-31 Thread n952162

On 8/31/21 9:45 AM, n952162 wrote:


So, now that I've emerged xfreerdb, is there a reason it's better than
rdesktop?




Oh, I guess I know: USB support (etc.).  VirtualBox offers that, but
only from their Oracle proprietary code.




Re: [gentoo-user] how to run freerdp

2021-08-31 Thread n952162

On 8/31/21 8:36 AM, n952162 wrote:

On 8/30/21 9:29 PM, tastytea wrote:

On 2021-08-30 21:10+0200 n952162  wrote:


I just emerged freerdp-2.3.2 without issue, but there's no executable
except /usr/bin/winpr-*, which I think just serve to set up an
authentication system.

There's no freerdp, xfreerdp, xfreerdp-server, or anything.

What am I not thinking about?

I have the same version and it installed /usr/bin/xfreerdp. I guess
you are missing a useflag? I have X alsa cups ffmpeg gstreamer jpeg
pulseaudio usb xinerama xv enabled.

Kind regards, tastytea



Ah ... I guess I'll never learn.  That did the trick, thank you.


Now, though, I'm battling a different problem:

[08:42:12:233] [14625:14626] [ERROR][com.freerdp.core.transport] -
BIO_read returned a system error 11: Resource temporarily unavailable
[08:42:12:233] [14625:14626] [ERROR][com.freerdp.core] -
transport_read_layer:freerdp_set_last_error_ex
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]

It reaches the other side, because if I change the port, using some
arbitrary port, I get:

[08:24:20:275] [14524:14525] [ERROR][com.freerdp.core.transport] -
BIO_should_retry returned a system error 32: Broken pipe




Comparing tcpdump traces of xfreerdp and rdesktop shows, I think, based
on the TCP flags, the same failure:

09:37:58.222556 IP client.54938 > host.ms-wbt-server: Flags [*P*.], seq
1:46, ack 1, win 502, options [nop,nop,TS val 2653789238 ecr
2608962080], length 45

    09:37:58.222713 IP host.ms-wbt-server > client.54938: Flags [.],
ack 46, win 509, options [nop,nop,TS val 2608962080 ecr 2653789238],
length 0

    09:37:58.222822 IP host.ms-wbt-server > client.54938: Flags [*F*.],
seq 1, ack 46, win 509, options [nop,nop,TS val 2608962080 ecr
2653789238], length 0

    09:37:58.222841 IP host.ms-wbt-server > client.54938: Flags [*R*.],
seq 2, ack 46, win 509, options [nop,nop,TS val 2608962080 ecr
2653789238], length 0

That would be PSH, FIN, RST?

The port on the host only appears when I enable the remote console on
the vm in VirtualBox.

The authentication is External:

   VRDE:    enabled (Address 0.0.0.0, Ports 3389,
   MultiConn: off, ReuseSingleConn: off, Authentication type: external)
   VRDE port:   3389

So, I guess this isn't an xfreerdp issue...


So, now that I've emerged xfreerdb, is there a reason it's better than
rdesktop?





Re: [gentoo-user] how to run freerdp

2021-08-31 Thread n952162

On 8/30/21 9:29 PM, tastytea wrote:

On 2021-08-30 21:10+0200 n952162  wrote:


I just emerged freerdp-2.3.2 without issue, but there's no executable
except /usr/bin/winpr-*, which I think just serve to set up an
authentication system.

There's no freerdp, xfreerdp, xfreerdp-server, or anything.

What am I not thinking about?

I have the same version and it installed /usr/bin/xfreerdp. I guess
you are missing a useflag? I have X alsa cups ffmpeg gstreamer jpeg
pulseaudio usb xinerama xv enabled.

Kind regards, tastytea



Ah ... I guess I'll never learn.  That did the trick, thank you.


Now, though, I'm battling a different problem:

[08:42:12:233] [14625:14626] [ERROR][com.freerdp.core.transport] -
BIO_read returned a system error 11: Resource temporarily unavailable
[08:42:12:233] [14625:14626] [ERROR][com.freerdp.core] -
transport_read_layer:freerdp_set_last_error_ex
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]

It reaches the other side, because if I change the port, using some
arbitrary port, I get:

[08:24:20:275] [14524:14525] [ERROR][com.freerdp.core.transport] -
BIO_should_retry returned a system error 32: Broken pipe




[gentoo-user] how to run freerdp

2021-08-30 Thread n952162

I just emerged freerdp-2.3.2 without issue, but there's no executable
except /usr/bin/winpr-*, which I think just serve to set up an
authentication system.

There's no freerdp, xfreerdp, xfreerdp-server, or anything.

What am I not thinking about?




Re: [gentoo-user] Recommend C source browser/editor?

2021-08-07 Thread n952162

On 8/6/21 10:25 PM, Grant Edwards wrote:


Mostly I'd like to be able to:

  * Click on a function and list places from which it is called().

  * Click on a function call and goto it's definition.



Well, for me there's only vi.  The second requirement you get with
ctags. Works fantastic.

The first is handled by a simple tool that I developed, using a vi-macro
to invoke on a symbol ...

I could conjure it up from somewhere, but not today.

It will search a directory tree.  It doesn't use an index, but in my
experience, the performance was acceptable.

(there's cscope, of course, but I never really got to like that, for
some reason.  But check it out, it might be good for you)




Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-07 Thread n952162



On 8/6/21 11:07 PM, antlists wrote:

On 06/08/2021 19:41, n952162 wrote:

It might not hurt if that error message included the suggestion to run
"emerge -u portage" to update it. It does say that the solution is to
update portage - it just doesn't explicitly tell you how to do so.



The way out of my dilema would be first to emerge portage and then
emerge @world?


Probably. If you've left it that long you might find you still have a
few problems.



That long!




If you find you have trouble once portage is updated, I've found that
the following often works ...

First do a --update @system (NO deep, no changed use, no nothing like
that).  If that succeeds, the remaining steps will be hassle but
nothing serious.

Then try the same with @world.

Finally update @world with deep, newuse etc.

If emerge keeps giving up with too many blocks, just do a oneshot
emerge of a bunch of stuff it says it *can* emerge, and you'll likely
find after a couple of shots of that that it suddenly works. The other
trick I try is, IFF @system was successful, just do a oneshot delete
of any blocking packages and again it should suddenly start working.




Yes, this last is the step I've finally accepted is the way out of a
dead-end.




Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-06 Thread n952162



On 8/6/21 8:22 PM, Rich Freeman wrote:

On Fri, Aug 6, 2021 at 8:37 AM n952162  wrote:

I was complaining, mostly, that isodate had to be the thing that was
incompatible with my configuration.  Maybe there is a unavoidable reason
that that package had to move to the newest EAPI, or maybe it was just a
sense that it's cool to be with the cutting edge.  It seems to me that
isodate (which is actually tied, perhaps indirectly, to clearly slow
United Nations rule-making) must be pretty stable.


...
It might not hurt if that error message included the suggestion to run
"emerge -u portage" to update it. It does say that the solution is to
update portage - it just doesn't explicitly tell you how to do so.



The way out of my dilema would be first to emerge portage and then
emerge @world?




...

To address your follow-up email, many popular binary distros have been
working on reproducible builds, so if your main concern is fear of
what might be bundled inside packages, I'd think that would mitigate a
lot of it.



I will look into reproducible builds, thank you.





Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-06 Thread n952162

On 8/6/21 5:09 PM, Peter Humphrey wrote:

On Friday, 6 August 2021 12:58:59 BST n952162 wrote:


(sorry, Peter, for the direct email, apparently a mis-click)

It's easily forgiven. For who among us has never misclicked?

:)



:-)))




Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-06 Thread n952162

On 8/6/21 2:37 PM, n952162 wrote:

On 8/6/21 2:16 PM, Rich Freeman wrote:

On Tue, Aug 3, 2021 at 2:03 AM n952162  wrote:

Well, what you say is likely true, but does "old software" really need
to be kept working?  Couldn't problems necessarily  only be dealt with
in the newest versions?


I think you are misunderstanding what actually went wrong in your
situation.  Nothing broke in your existing software.

You're using an old version of portage.  It will continue to work as
it always has.

However, you wanted to use it with a newer version of the software
repository.  This contained a package that wasn't compatible with old
versions of portage.  The version of portage you're using detected
this, and refused to install it, so as to not randomly break your
system.  Your system continued to work as it always had.  You just
couldn't install that particular package, or anything that depends on
it.



I think that doesn't characterize my point quite.

I was complaining, mostly, that isodate had to be the thing that was
incompatible with my configuration.  Maybe there is a unavoidable reason
that that package had to move to the newest EAPI, or maybe it was just a
sense that it's cool to be with the cutting edge.  It seems to me that
isodate (which is actually tied, perhaps indirectly, to clearly slow
United Nations rule-making) must be pretty stable.




Generally we try to maintain a reasonably sane upgrade path going back
maybe six months or so.  You just needed to update portage first.



My update was two months late.




If your system is more than a month or two out of date just running
emerge -uD world or whatever blindly is more likely to run into a
problem.  It shouldn't break your system unless you go adding random
options to the command line to override safety features,



I don't have the expertise to do something like that.




but it might
involve a few steps (like updating portage, @system, and so on before
trying to update everything).




It usually isn't unmanageable, but Gentoo is definitely not an
LTS-oriented distro.  If you want to only get security fixes for three
years and then update everything in one go, then stick with something
like RHEL, Ubuntu LTS, or debian stable.  Those distros deliver
exactly that sort of experience, and really there isn't as much
benefit to something like Gentoo if you're just going to update it
every other year anyway.



Those distros are not source distros.  I'm making an argument that
there's a large space between binary distributions and source
distributions that pass every upstream change down in realtime. Gentoo
is in the best position to service that space





I see that that begs the question of why someone would be interested in
a source distribution.

With a binary distribution, you fly on trust.  With a source
distribution, you do, too, given the size of the code base.

The difference is, with a source distribution, there's a "paper trail"
that can be followed back if that trust was abused.

That's just about impossible with a binary distro.





Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-06 Thread n952162

On 8/6/21 2:16 PM, Rich Freeman wrote:

On Tue, Aug 3, 2021 at 2:03 AM n952162  wrote:

Well, what you say is likely true, but does "old software" really need
to be kept working?  Couldn't problems necessarily  only be dealt with
in the newest versions?


I think you are misunderstanding what actually went wrong in your
situation.  Nothing broke in your existing software.

You're using an old version of portage.  It will continue to work as
it always has.

However, you wanted to use it with a newer version of the software
repository.  This contained a package that wasn't compatible with old
versions of portage.  The version of portage you're using detected
this, and refused to install it, so as to not randomly break your
system.  Your system continued to work as it always had.  You just
couldn't install that particular package, or anything that depends on
it.



I think that doesn't characterize my point quite.

I was complaining, mostly, that isodate had to be the thing that was
incompatible with my configuration.  Maybe there is a unavoidable reason
that that package had to move to the newest EAPI, or maybe it was just a
sense that it's cool to be with the cutting edge.  It seems to me that
isodate (which is actually tied, perhaps indirectly, to clearly slow
United Nations rule-making) must be pretty stable.




Generally we try to maintain a reasonably sane upgrade path going back
maybe six months or so.  You just needed to update portage first.



My update was two months late.




If your system is more than a month or two out of date just running
emerge -uD world or whatever blindly is more likely to run into a
problem.  It shouldn't break your system unless you go adding random
options to the command line to override safety features,



I don't have the expertise to do something like that.




but it might
involve a few steps (like updating portage, @system, and so on before
trying to update everything).




It usually isn't unmanageable, but Gentoo is definitely not an
LTS-oriented distro.  If you want to only get security fixes for three
years and then update everything in one go, then stick with something
like RHEL, Ubuntu LTS, or debian stable.  Those distros deliver
exactly that sort of experience, and really there isn't as much
benefit to something like Gentoo if you're just going to update it
every other year anyway.



Those distros are not source distros.  I'm making an argument that
there's a large space between binary distributions and source
distributions that pass every upstream change down in realtime. Gentoo
is in the best position to service that space









Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-06 Thread n952162

On 8/3/21 5:54 PM, Peter Humphrey wrote:

On Tuesday, 3 August 2021 15:51:15 BST Arve Barsnes wrote:

On Tue, 3 Aug 2021 at 15:58, Neil Bothwick  wrote:

I don't see them when syncing from a cron script, when all output is
captured and emailed, but do when running sync on a shell. It seems you
only see this when running sync interactively.

I see these messages in the output from my cron "script". I use
"/usr/sbin/emaint sync -a", and it regularly shows the message about
new portage versions.

The message might not be generated by the sync itself, but from the
postsync 'eix-update' which would maybe show messages like this.

I sync daily via git, ...



Then you probably build a lot more than I do.

I synced, like yesterday or the day before, and then, on a second
machine, I synced today, in order to update from the first machine,
using a binary update, and, in fact, I was able to get thunderbird, but
llvm AND clang, both huge builds, had to be rebuilt!  Oh man.  Bad
luck?  No, life with gentoo.


(sorry, Peter, for the direct email, apparently a mis-click)





... and every time a new version of portage is included I
see a prominent warning to update it before anything else. Portage has
done
this for many years, apart from a few months a year or two ago.





Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-03 Thread n952162



On 8/3/21 3:58 PM, Neil Bothwick wrote:

On Tue, 3 Aug 2021 15:35:41 +0200, n952162 wrote:


You should have seen a message from emerge --sync telling you that a
new version of portage was available and to run emerge -1au portage
before updating anything else.

I find no informational messages containing "portage", "emerge", or
"-1au" in any of the 3 sync runs I captured into one log file. I did
double check news beforehand, but didn't find anything there.

I don't see them when syncing from a cron script, when all output is
captured and emailed, but do when running sync on a shell. It seems you
only see this when running sync interactively.




Okay.  A good example of why silently ("automatically") mucking with the
stdout device is a bad  idea.  I wish gentoo wouldn't do that.  When I
want colorization, I write a vim file.




Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-03 Thread n952162

On 8/3/21 12:52 PM, Neil Bothwick wrote:

On Tue, 3 Aug 2021 07:20:47 +0200, n952162 wrote:


I read that, but I last updated 2 months ago.  So, this update breaks
because portage was updated and new ebuilds using that are already being
pushed out?

You should have seen a message from emerge --sync telling you that a new
version of portage was available and to run emerge -1au portage before
updating anything else.




I find no informational messages containing "portage", "emerge", or
"-1au" in any of the 3 sync runs I captured into one log file. I did
double check news beforehand, but didn't find anything there.




Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-03 Thread n952162

On 8/3/21 8:29 AM, cal wrote:

On 8/2/21 11:03 PM, n952162 wrote:

On 8/3/21 7:37 AM, cal wrote:

On 8/2/21 10:26 PM, n952162 wrote:

On 8/3/21 7:20 AM, n952162 wrote:

On 8/2/21 10:10 PM, David Haller wrote:

Hello,

On Mon, 02 Aug 2021, n952162 wrote:

!!! All ebuilds that could satisfy
"dev-python/isodate[python_targets_python3_8(-)?,python_targets_python3_9(-)?]"


have been masked.
!!! One of the following masked packages is required to complete your
request:
- dev-python/isodate-0.6.0-r2::gentoo (masked by: EAPI 8)

The current version of portage supports EAPI '7'. You must upgrade
to a

    ^^

newer version of portage before EAPI masked packages can be
installed.

You should read a bit more carefully... It seems your sys-apps/portage
is a bit dated.

Upgrade sys-apps/portage first, then it should work.

HTH,
-dnh

I read that, but I last updated 2 months ago.  So, this update breaks
because portage was updated and new ebuilds using that are already
being pushed out?  Seems strict to me ... but /isodate/ being the only
one?  I still have a EAPI 4 on my system (1). Plenty of EAPI 5.  Was
there something in isodate that needed to be urgently updated -
utilizing the the cutting edge EAPI?


We just had to update portage not so long ago.  I admittedly presumed at
first that something else must be wrong, because it didn't occur to me
that portage would be so volatile.

Everything in gentoo is so nicely configurable, but I think another
dimension should be add: configurable volatility - i.e. a configurable
hysteresis for upstream updates.




It sounds like you would be more satisfied with a distribution that has
releases.  You are fighting a losing battle to use a rolling-release
distribution on a machine you intend to update infrequently.

Keeping old software working in a rolling release ecosystem is a pain,
doubly so if you have to maintain the newer version in parallel.  What
you ask for is more difficult than you think.


Well, what you say is likely true, but does "old software" really need
to be kept working?  Couldn't problems necessarily  only be dealt with
in the newest versions?

Old software does not exist in a vacuum.  Old software has old
dependencies; those dependencies get updated in ways that are
incompatible, or stop working, or a new version of Python is released
with which the old version of the software is incompatible; etc.  Or as
you've noticed with Portage, the old version of the software may not
work compatibly with newer packages, so now you have to maintain older
versions of those packages as well...



Intuitively, i.e. from vague experience, I know you're right, but I
can't think it through ... a release would be a snapshot of a working
configuration at a point in time.

Ah, perhaps the problem is ... in my case, I could make a distribution
out of what I emerge every month and distibute that - an intermediate
level of hysteresis.  But that's just the system as I require it.  A
Ubuntu makes all those decisions for all supported packages, an effort
that doesn't interest me...





Re: [gentoo-user] emerging package with rR?

2021-08-03 Thread n952162

On 8/3/21 7:13 AM, n952162 wrote:


Hello,

can someone explain why rR?

[ebuild  rR    ] virtual/perl-Pod-Parser-1.630.0-r8::gentoo  0 KiB

Why would this be happening?

  r   reinstall (forced for some reason, possibly due to
slot or sub-slot)
  R   replacing (remerging same version)

I had 181 packages to install.  It completed, but with one restart, so
I re-ran the emerge to make sure everything was done:

+ emerge --getbinpkg n -v --tree --deep --update --noreplace
--changed-use --binpkg-changed-deps=n --binpkg-respect-use=n
--verbose-conflicts --keep-going --with-bdeps=y --backtrack=100 @world

Now there's 177 packages to install (no --sync in between). Most ar rR.




Okay, it seems to have at least gone fast, without rebuilds.




Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-03 Thread n952162

On 8/3/21 7:37 AM, cal wrote:

On 8/2/21 10:26 PM, n952162 wrote:

On 8/3/21 7:20 AM, n952162 wrote:

On 8/2/21 10:10 PM, David Haller wrote:

Hello,

On Mon, 02 Aug 2021, n952162 wrote:

!!! All ebuilds that could satisfy
"dev-python/isodate[python_targets_python3_8(-)?,python_targets_python3_9(-)?]"

have been masked.
!!! One of the following masked packages is required to complete your
request:
- dev-python/isodate-0.6.0-r2::gentoo (masked by: EAPI 8)

The current version of portage supports EAPI '7'. You must upgrade to a

   ^^

newer version of portage before EAPI masked packages can be installed.

You should read a bit more carefully... It seems your sys-apps/portage
is a bit dated.

Upgrade sys-apps/portage first, then it should work.

HTH,
-dnh


I read that, but I last updated 2 months ago.  So, this update breaks
because portage was updated and new ebuilds using that are already
being pushed out?  Seems strict to me ... but /isodate/ being the only
one?  I still have a EAPI 4 on my system (1). Plenty of EAPI 5.  Was
there something in isodate that needed to be urgently updated -
utilizing the the cutting edge EAPI?


We just had to update portage not so long ago.  I admittedly presumed at
first that something else must be wrong, because it didn't occur to me
that portage would be so volatile.

Everything in gentoo is so nicely configurable, but I think another
dimension should be add: configurable volatility - i.e. a configurable
hysteresis for upstream updates.




It sounds like you would be more satisfied with a distribution that has
releases.  You are fighting a losing battle to use a rolling-release
distribution on a machine you intend to update infrequently.

Keeping old software working in a rolling release ecosystem is a pain,
doubly so if you have to maintain the newer version in parallel.  What
you ask for is more difficult than you think.



Well, what you say is likely true, but does "old software" really need
to be kept working?  Couldn't problems necessarily  only be dealt with
in the newest versions?

Yes, a release distribution would be one end of the configuration
spectrum I'm thinking of.   That works for other distibutions.

My problem is, I want a source distribution.  Maybe there's something
about source distributions that dictates a rolling strategy?  I don't
see it, but it might be there.

I've raised this issue before and someone mentioned a derivative of
gentoo, which sounds promising, but I'm not convinced by that one
implementation.






Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-02 Thread n952162

On 8/3/21 7:20 AM, n952162 wrote:

On 8/2/21 10:10 PM, David Haller wrote:

Hello,

On Mon, 02 Aug 2021, n952162 wrote:

!!! All ebuilds that could satisfy
"dev-python/isodate[python_targets_python3_8(-)?,python_targets_python3_9(-)?]"
have been masked.
!!! One of the following masked packages is required to complete your
request:
- dev-python/isodate-0.6.0-r2::gentoo (masked by: EAPI 8)

The current version of portage supports EAPI '7'. You must upgrade to a

  ^^

newer version of portage before EAPI masked packages can be installed.

You should read a bit more carefully... It seems your sys-apps/portage
is a bit dated.

Upgrade sys-apps/portage first, then it should work.

HTH,
-dnh



I read that, but I last updated 2 months ago.  So, this update breaks
because portage was updated and new ebuilds using that are already
being pushed out?  Seems strict to me ... but /isodate/ being the only
one?  I still have a EAPI 4 on my system (1). Plenty of EAPI 5.  Was
there something in isodate that needed to be urgently updated -
utilizing the the cutting edge EAPI?



We just had to update portage not so long ago.  I admittedly presumed at
first that something else must be wrong, because it didn't occur to me
that portage would be so volatile.

Everything in gentoo is so nicely configurable, but I think another
dimension should be add: configurable volatility - i.e. a configurable
hysteresis for upstream updates.




Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-02 Thread n952162

On 8/2/21 10:10 PM, David Haller wrote:

Hello,

On Mon, 02 Aug 2021, n952162 wrote:

!!! All ebuilds that could satisfy
"dev-python/isodate[python_targets_python3_8(-)?,python_targets_python3_9(-)?]"
have been masked.
!!! One of the following masked packages is required to complete your
request:
- dev-python/isodate-0.6.0-r2::gentoo (masked by: EAPI 8)

The current version of portage supports EAPI '7'. You must upgrade to a

  ^^

newer version of portage before EAPI masked packages can be installed.

You should read a bit more carefully... It seems your sys-apps/portage
is a bit dated.

Upgrade sys-apps/portage first, then it should work.

HTH,
-dnh



I read that, but I last updated 2 months ago.  So, this update breaks
because portage was updated and new ebuilds using that are already being
pushed out?  Seems strict to me ... but /isodate/ being the only one?  I
still have a EAPI 4 on my system (1). Plenty of EAPI 5.  Was there
something in isodate that needed to be urgently updated - utilizing the
the cutting edge EAPI?



[gentoo-user] emerging package with rR?

2021-08-02 Thread n952162

Hello,

can someone explain why rR?

   [ebuild  rR    ] virtual/perl-Pod-Parser-1.630.0-r8::gentoo  0 KiB

Why would this be happening?

  r   reinstall (forced for some reason, possibly due to
slot or sub-slot)
  R   replacing (remerging same version)

I had 181 packages to install.  It completed, but with one restart, so I
re-ran the emerge to make sure everything was done:

   + emerge --getbinpkg n -v --tree --deep --update --noreplace
   --changed-use --binpkg-changed-deps=n --binpkg-respect-use=n
   --verbose-conflicts --keep-going --with-bdeps=y --backtrack=100 @world

Now there's 177 packages to install (no --sync in between).  Most ar rR.





[gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-02 Thread n952162

Sorry, I have to bitch.

This kept me going for several additional gentoo hours:


!!! All ebuilds that could satisfy
"dev-python/isodate[python_targets_python3_8(-)?,python_targets_python3_9(-)?]"
have been masked.
!!! One of the following masked packages is required to complete your
request:
- dev-python/isodate-0.6.0-r2::gentoo (masked by: EAPI 8)

The current version of portage supports EAPI '7'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
(dependency required by "dev-python/rdflib-5.0.0::gentoo" [ebuild])
(dependency required by
"media-libs/lv2-1.18.2::gentoo[python_single_target_python3_9]" [ebuild])
(dependency required by "media-libs/sratom-0.6.8::gentoo" [installed])
(dependency required by "media-sound/audacity-2.4.2-r1::gentoo[lv2]"
[installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

After realizing that I didn't have the dependency tree to help me debug,
and finally realized I had to remove audacity, world started emerging
(it'll take a day or two to complete - it does every month).

dev-python/isodate?  Isodate???  How can that not be stable?

That was the only ebuild on my system with EAPI 8.

This isn't a distribution, it's a silly toy for some super-intelligent
people to play with, causing idiots like me hours and hours just trying
to maintain stability.




Re: [gentoo-user] emerge --sync keeps failing

2021-08-02 Thread n952162

On 8/2/21 2:01 PM, Michael wrote:

On Monday, 2 August 2021 12:10:12 BST n952162 wrote:

On 8/1/21 8:32 PM, Michael Orlitzky wrote:

On Sun, 2021-08-01 at 17:32 +0200, n952162 wrote:

* Verifying /var/db/repos/gentoo/.tmp-unverified-download-quarantine

...!!! Manifest verification failed:
Manifest mismatch for metadata/news/Manifest

I've raised this question before and the only useful answer I got was to
keep trying

On the off chance that something is screwy on the remote end, you can
always use "emerge-webrsync" and delay the problem until next time.

Otherwise, I would say check "dmesg" for disk errors, but if it's
happening on two machines that's a lot less likely.

I have this problem every month.  Why does it fail?  Is it just a
timeout because my network is slow?  Can that be tweaked?

I get this problem over here, but on rare occasions.  Leaving it for half a
day usually fixes it.  Have you tried a different rsync mirror?  You can use
'mirrorselect -i -r' for this task.



Ah, good idea.




Re: [gentoo-user] emerge --sync keeps failing

2021-08-02 Thread n952162

On 8/1/21 8:32 PM, Michael Orlitzky wrote:

On Sun, 2021-08-01 at 17:32 +0200, n952162 wrote:

   * Verifying /var/db/repos/gentoo/.tmp-unverified-download-quarantine
...!!! Manifest verification failed:
   Manifest mismatch for metadata/news/Manifest

I've raised this question before and the only useful answer I got was to
keep trying


On the off chance that something is screwy on the remote end, you can
always use "emerge-webrsync" and delay the problem until next time.

Otherwise, I would say check "dmesg" for disk errors, but if it's
happening on two machines that's a lot less likely.





I have this problem every month.  Why does it fail?  Is it just a
timeout because my network is slow?  Can that be tweaked?





Re: [gentoo-user] emerge --sync keeps failing

2021-08-02 Thread n952162

On 8/2/21 9:20 AM, n952162 wrote:

On 8/1/21 8:32 PM, Michael Orlitzky wrote:

On Sun, 2021-08-01 at 17:32 +0200, n952162 wrote:

   * Verifying /var/db/repos/gentoo/.tmp-unverified-download-quarantine
...!!! Manifest verification failed:
   Manifest mismatch for metadata/news/Manifest

I've raised this question before and the only useful answer I got
was to
keep trying


On the off chance that something is screwy on the remote end, you can
always use "emerge-webrsync" and delay the problem until next time.



Does that install binary images?



Otherwise, I would say check "dmesg" for disk errors, but if it's
happening on two machines that's a lot less likely.



There's plenty of space available.





No movement in /var/log/messages during the attempt.  I've had two fails
already this morning.




Re: [gentoo-user] emerge --sync keeps failing

2021-08-02 Thread n952162

On 8/1/21 8:32 PM, Michael Orlitzky wrote:

On Sun, 2021-08-01 at 17:32 +0200, n952162 wrote:

   * Verifying /var/db/repos/gentoo/.tmp-unverified-download-quarantine
...!!! Manifest verification failed:
   Manifest mismatch for metadata/news/Manifest

I've raised this question before and the only useful answer I got was to
keep trying


On the off chance that something is screwy on the remote end, you can
always use "emerge-webrsync" and delay the problem until next time.



Does that install binary images?



Otherwise, I would say check "dmesg" for disk errors, but if it's
happening on two machines that's a lot less likely.



There's plenty of space available.





Re: [gentoo-user] Can anyone give me a hint how to get this to update?

2021-08-02 Thread n952162

On 8/2/21 9:16 AM, n952162 wrote:


I uninstalled blender (emerge -C) and now it's installing.



I mean, it's emerging @world.





Re: [gentoo-user] Can anyone give me a hint how to get this to update?

2021-08-02 Thread n952162

On 8/1/21 9:05 PM, Arve Barsnes wrote:

On Sun, 1 Aug 2021 at 20:02, n952162  wrote:

Ok, I'm sure I can manage that, thank you...

Can you clue me in, how you identified blender?  I see it it forces
dev-python/requests, but that target is just one of 10 apparently
problem packages.

Your output was a little mangled for me, so it was mostly luck, but I
spotted blender there, and remembered having a python problem with it
myself only a few months ago. The main thing is that the little block
showing the slot conflict for dev-python/requests itself showed
blender holding it back, and I don't think blender can be a dependency
of any other packages, so it's something you can definitely directly
affect yourself (worse case scenario uninstall it).

Side note: summer brain in full effect, it took me a long time to
remember the word "uninstall".

Regards,
Arve



I uninstalled blender (emerge -C) and now it's installing.  I update
once a month but I haven't been able to update that machine for 3
months, clueless to what the problem was - it seemed like that old
python problem that caused me to have to re-install two machines and
that I thought was finally solved.





Re: [gentoo-user] Can anyone give me a hint how to get this to update?

2021-08-01 Thread n952162

On 8/1/21 7:51 PM, Arve Barsnes wrote:

On Sun, 1 Aug 2021 at 19:18, n952162  wrote:

I removed all python_targets_python3_6 from my use flags, but I still
have a very similar looking situation, with python-requests still dominant.

It seems to be blender holding you back now. If you are running
stable, you can keyword the newer media-gfx/blender-2.93.0, which
supports newer python.

Regards,
Arve



Ok, I'm sure I can manage that, thank you...

Can you clue me in, how you identified blender?  I see it it forces
dev-python/requests, but that target is just one of 10 apparently
problem packages.




Re: [gentoo-user] Can anyone give me a hint how to get this to update?

2021-08-01 Thread n952162

On 8/1/21 6:19 PM, Arve Barsnes wrote:

On Sun, 1 Aug 2021 at 17:17, n952162  wrote:

A couple of the things I have tried:

- change default python from 3.7 to 3.9

- removing net-analyze from the world file

- changing the license file.

- running perl-cleaner

- emerging only @system

Many of the conflicts seem related to an old version of
dev-python/requests. Could newer versions be masked, or could there be
older python targets set for it in /etc/portage/package.use/ ?

Regards,
Arve



I have this:

02/etc/portage/package.use>grep -i request *
...
201213:>=dev-python/requests-2.24.0-r1 python_targets_python3_7
...
use-flags-201110:>=dev-python/requests-2.23.0 python_targets_python3_6

Is it not the case that those just insist on a newer version?

Or, is the problem python_targets+python3_6.  I've got a lot of those. 
Do they all force that version and need to come out?  To be replaced
with something else?








[gentoo-user] emerge --sync keeps failing

2021-08-01 Thread n952162

 * Verifying /var/db/repos/gentoo/.tmp-unverified-download-quarantine
...!!! Manifest verification failed:
 Manifest mismatch for metadata/news/Manifest

I've raised this question before and the only useful answer I got was to
keep trying

Today, I get this on two machines.  On one, I've run it 6 times and it
fails every time.  Each time, it takes about 26 minutes to run.  That's
almost 3 hours with no progress.

Am I doing something wrong?




Re: [gentoo-user] gentoo alternatives

2021-06-07 Thread n952162

On 6/7/21 2:03 PM, Rich Freeman wrote:

On Mon, Jun 7, 2021 at 4:10 AM n952162  wrote:

I'm looking for a gentoo alternative and am surprised to see that google chrome 
os is based on gentoo.

Uh, you might want to read up more on what ChromeOS is.  While you can
in theory run it on anything, it is designed basically to power
Chromebooks.  It is closer to something like Android than something
like Ubuntu/etc.


Do they support multi-media and basic modern desktop capabilities?

Yes.  Emphasis on "basic."


   I see that there's some concentration on a special browser, but I'd be 
running Firefox and FVWM anyway.

If you want to run anything other than Chrome, good luck.  Maybe you
could get Firefox to run.  Running fvwm is going to be much harder to
pull off.  Really at that point I'm not sure why you'd even start with
ChromeOS since running Chrome with their special DE is the entire
point of the distro.


Do they use portage and source packages?

Yes and yes.  However, the build system doesn't install portage, so
you can't do updates using portage.  The OS is designed to be packaged
as a read-only system image and updates are performed by updating the
system image.  It is a completely non-traditional distro.


Do they push down every single upstream modification, like gentoo does, or 
maybe have a bit of hysteresis?

I imagine the upstream repo has a big emphasis on security updates,
but probably doesn't stay current on every little library.  Just look
at Chrome and the state of its own bundled libs if you use the
upstream repo (which Gentoo goes to a lot of work to strip out).

Really, if you want to run ChromeOS just go buy a Chromebook for $150.
Trying to roll your own is great if you want to experiment, but it
definitely isn't doing things "the easy way."



Okay, good info, thank you.






Re: [gentoo-user] gentoo alternatives

2021-06-07 Thread n952162



On 6/7/21 11:16 AM, Neil Bothwick wrote:

On Mon, 7 Jun 2021 11:10:13 +0200, n952162 wrote:


Yes, I know, there are binary versions, but if I wanted to use binary,
I wouldn't use gentoo.  And anyway, there's always rust and gcc and
...



Okay, I guess I got it, at least for the worst offenders, firefox and
thunderbird: not have them in my world file and every quarter update
them manually.  Would that work?

Not really, because you wouldn't get security updates. Also, because they
aren't in your world set, depclean would try to remove them and their
dependencies.

A somewhat less clunky, but still far from perfect, option would be to
use package.mask to block updates beyond the current version.



Hmmm.  That's interesting ...




Using stable rather than testing, I don't know which you are currently
using, would reduce the number of updates significantly. This laptop runs
testing, but I have Chromium set to use stable to avoid the situation of
a rebuild completing just in time to start the next one :(



:-)))  That's exactly what I have (almost) with stable.




You could also look at using distcc if you have more than one machine to
spread the load.




Ah, that's also interesting  ... that's like an alternative to a local
binary server (which I'm currently doing) - the compilations are
distributed on all nodes in the network - and then, presumably are also
available to all nodes?  ...




Re: [gentoo-user] gentoo alternatives

2021-06-07 Thread n952162

On 6/7/21 10:10 AM, n952162 wrote:


I'm looking for a gentoo alternative and am surprised to see that
google chrome os is based on gentoo.

Does anybody have any experience with this?

Do they support multi-media and basic modern desktop capabilities?  I
see that there's some concentration on a special browser, but I'd be
running Firefox and FVWM anyway.

Do they use /portage/ and source packages?

Do they push down every single upstream modification, like gentoo
does, or maybe have a bit of hysteresis?

I updated on May first and built firefox 78.10.*0*.  2+ days of
building.  I updated on June first and built firefox 78.10.*1*. and
spent 2+ days building.  I updated today because of the same old slot
collision problems I've run into over a year

dev-python/setuptools:0
dev-python/setuptools_scm:0
dev-python/toml:0
dev-python/certifi:0
dev-python/jinja:0
dev-python/markupsafe:0

and now, on the 7th, I'm building firefox 78.11.   I just don't have
the time for this.  It impacts my machines too much.

Yes, I know, there are binary versions, but if I wanted to use binary,
I wouldn't use gentoo.  And anyway, there's always rust and gcc and ...




Okay, I guess I got it, at least for the worst offenders, firefox and
thunderbird: not have them in my world file and every quarter update
them manually.  Would that work?



[gentoo-user] gentoo alternatives

2021-06-07 Thread n952162

I'm looking for a gentoo alternative and am surprised to see that google
chrome os is based on gentoo.

Does anybody have any experience with this?

Do they support multi-media and basic modern desktop capabilities?  I
see that there's some concentration on a special browser, but I'd be
running Firefox and FVWM anyway.

Do they use /portage/ and source packages?

Do they push down every single upstream modification, like gentoo does,
or maybe have a bit of hysteresis?

I updated on May first and built firefox 78.10.*0*.  2+ days of
building.  I updated on June first and built firefox  78.10.*1*. and
spent 2+ days building.  I updated today because of the same old slot
collision problems I've run into over a year

   dev-python/setuptools:0
   dev-python/setuptools_scm:0
   dev-python/toml:0
   dev-python/certifi:0
   dev-python/jinja:0
   dev-python/markupsafe:0

and now, on the 7th, I'm building firefox 78.11.   I just don't have the
time for this.  It impacts my machines too much.

Yes, I know, there are binary versions, but if I wanted to use binary, I
wouldn't use gentoo.  And anyway, there's always rust and gcc and ...




Re: [gentoo-user] nice-to-have: time stamp when each package starts emerging

2021-06-05 Thread n952162

On 6/5/21 11:38 AM, tastytea wrote:

On 2021-06-05 09:35+0200 n952162  wrote:


   Just sayin'

/etc/portage/bashrc is sourced for every package.[1][2]

Try something like
   [[ "${EBUILD_PHASE}" == "setup" ]] && date

[1] <https://wiki.gentoo.org/wiki//etc/portage/bashrc>
[2] 
<https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/Advanced#Using_.2Fetc.2Fportage.2Fbashrc_and_affiliated_files>


Hey cool!  Good idea.




[gentoo-user] Where does emerge --sync store the versions of pkgs for updates?

2021-06-05 Thread n952162

I'm trying to track down why sometimes binary packages on my server
aren't used by my client.

Does anyone know where the information gotten by emerge --sync is stored?




[gentoo-user] nice-to-have: time stamp when each package starts emerging

2021-06-05 Thread n952162

 Just sayin'




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

2021-06-03 Thread n952162

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

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


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



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

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




  1   2   3   4   5   6   >