Re: [gentoo-user] Using the new binpkgs

2024-04-16 Thread Arve Barsnes
On Tue, 16 Apr 2024 at 15:43, Peter Humphrey  wrote:
> I'm still mystified by these Gentoo binary packages. I assume that they're
> generated using the default USE flags in the profile version (whence the need 
> to
> specify it in gentoobinhost.conf).
>
> So why is portage not fetching webkit-gtk from the repo? I've just had to
> compile it from source, even though nothing in /etc/portage/ refers to it
> (except for wxGTK depending on it). Therefore I assume i meet the conditions
> for using the binpkg, but apparently not.

A variety of USE combinations are built, but it needs to match your
case. Check your binhost mirror to see which combinations exist, for
instance at 
https://ftp.lysator.liu.se/gentoo/releases/amd64/binpackages/23.0/x86-64/Packages

Search for 'CPV: net-libs/webkit-gtk' and check the USE line for the
matching package versions you're wondering about.

Regards,
Arve



Re: [gentoo-user] Re: Slightly corrupted file systems when resuming from hibernation

2024-04-16 Thread Arve Barsnes
On Tue, 16 Apr 2024 at 15:29, Dr Rainer Woitok  wrote:
> > My understanding is the gentoo-sources kernels are aligned with the LTS
> > upstream releases.
>
> Right,  they use the same version numbers.   But you can't see from just
> looking at the available "gentoo-sources" which one is LTS and which one
> is not.   You have to consult "https://www.kernel.org/;  to get this in-
> formation.

Only LTS kernels get stabilised, so this information is readily available.

Regards,
Arve



Re: [gentoo-user] Problem with "GRUB upgrades" news item

2024-03-05 Thread Arve Barsnes
On Wed, 6 Mar 2024 at 07:02, Dale  wrote:
> If you followed the docs for installing grub with EFI, you need to point it 
> to the location of the efi directory.  The command might look like this.
>
> grub-install --efi-directory=/efi
>
> Hope that helps.
>
> Dale

Specifically in your case, Walter, that would be --efi-directory=/boot

Regards,
Arve



Re: [gentoo-user] gui-libs/egl-wayland and x11-drivers/nvidia-drivers dependency conflict.

2024-02-17 Thread Arve Barsnes
On Sat, 17 Feb 2024 at 18:03, Dale  wrote:
> Is there a proper long term fix for this or do I need to mask the egl
> package until things catch up?  As long as things work, I'm fine with
> masking and waiting.  I just figure there may be a better fix I'm
> missing.  Maybe someone else sees it.

Others already answered about the arrows and the meaning of them, but
I just wanted to chime in and say that there's no reason to mask
anything at the moment, it is just a warning from portage that it
can't upgrade egl-wayland because nvidia-drivers requires the older
version. If the drivers are ever updated to allow for newer
egl-wayland, any masks would just make the upgrade more of a chore.

Regards,
Arve



Re: [gentoo-user] Help with local mail, please

2024-02-13 Thread Arve Barsnes
On Tue, 13 Feb 2024 at 23:11, Peter Humphrey  wrote:
> On Tuesday, 13 February 2024 17:20:40 GMT Arve Barsnes wrote:
> I think those entries must be for sendmail.

Yes, that machine has sendmail from mail-mta/opensmtpd, not postfix,
not sure it matters.

> > In /etc/postfix/main.cf there is this, and I assume at least some of
> > this makes this all work:
> > myhostname = .lan
> > inet_interfaces = $myhostname, localhost
> > mydestination = $myhostname, localhost.$mydomain, localhost, 
>
> Isn't  the same as $myhostname?

No, $myhostname is .lan

Like you I've had some trouble in the past, so a lot of this is from
trying and failing, but it works as I want it now, so I'm happy-ish.

Regards,
Arve



Re: [gentoo-user] Help with local mail, please

2024-02-13 Thread Arve Barsnes
On Tue, 13 Feb 2024 at 16:52, Peter Humphrey  wrote:
> For years, I've been using postfix to accept mail from LAN hosts, and from the
> Internet via my ISP. This has never worked as I want it - it's just so complex
> to set up and understand. Well, it is for a bear of little brain like me.
>
> Can someone tell me how to make postfix accept all mail addressed to any host
> or user on the LAN - and not forward any mail to anywhere at all? It's running
> on a single-homed host on the LAN, and all other hosts are also single homed.
> Any of four hosts can originate mail, and I have fetchmail running on the same
> host to collect POP3 mail from my ISP. Dovecot serves IMAP4 to KMail clients
> on the LAN.
>
> At present, postfix is insisting on forwarding mail addressed to root on a LAN
> machine, but it's supposed to be acting on behalf of that machine. Two other
> hosts' mails never show up anywhere.

I'm not sure I quite understood where you're having problems, but I
have a machine that accepts mail from the LAN through postfix, so I'll
show some of my setup. Replace any <> with your hostnames.

On the LAN machine I don't have postfix, I only send mail directly to
the machine with 'sendmail', but I found that I have in
/etc/mail/mailertable:
192.168. smtp:
 esmtp:
And in /etc/mail/local-host-names I have set  -
maybe that does something, but I send mail directly with sendmail
either way.

On the postfix machine I have in /etc/postfix/aliases:
root:   arve
This should make all mail to root be delivered to me. It also contains
a bunch of aliases that I'm not sure if is necessary:
arve@ arve
arve@.lan arve
arve@.localdomain arve
arve@.lan  arve

In /etc/postfix/main.cf there is this, and I assume at least some of
this makes this all work:
myhostname = .lan
inet_interfaces = $myhostname, localhost
mydestination = $myhostname, localhost.$mydomain, localhost, 
mynetworks = 192.168.0.0/24, 127.0.0.0/8

Regards,
Arve



Re: [gentoo-user] 'make install' hijacked by installkernel ?

2024-01-26 Thread Arve Barsnes
On Fri, 26 Jan 2024 at 10:55, Adam Carter  wrote:
>
> I just tried to install a new kernel using 'make install' only to find that 
> the behaviour has changed and it appears to be running a bunch on 
> installkernel stuff.
>
> 'make help' says
>   install - Install kernel using (your) ~/bin/installkernel or
>  (distribution) /sbin/installkernel or install to
>  $(INSTALL_PATH) and run lilo
>
> So I guess that I want the 'install to  $(INSTALL_PATH) and run lilo' 
> behaviour that i'm used to. How to i get 'make install' to ignore 
> /sbin/installkernel ?

I think 'make install' has always called installkernel, but this was
previously provided by sys-apps/debianutils. For reasons that I
haven't investigated too much, this is now 'forked' and provided by
the installkernel package, so as I understand it, having the
installkernel binary provides the behaviour that you're used to.

Regards,
Arve



Re: [gentoo-user] Kernel questions. Availability and upgrading from old kernel.

2024-01-22 Thread Arve Barsnes
On Sun, 21 Jan 2024 at 23:39, Jack  wrote:
> On 2024.01.21 15:51, Jack wrote:
> > discussions about how many and which kernels (gentoo-sources, and
> > possibly others) will ever get marked Stable.  I believe it is
> > something like only series marked "longterm" at kernel.org will get
> > marked stable, and I think it is not even all of them, although I
> > don't recall how they choose which in each series do get stabilized.
> > As 6.6 and 6.7 are "stable" at kernel.org, none of them will be
> > "stable" in Gentoo.
> And clearly I'm wrong, at least partly, as 6.6.13 was just marked
> stable.

The policy now as I understand it, is that the last release of the
year gets chosen as the next LTS release. This was 6.6 in 2023.

To check/confirm which branches are LTS, see
https://www.kernel.org/category/releases.html

Regards,
Arve



Re: [gentoo-user] dependency conflict

2024-01-09 Thread Arve Barsnes
On Wed, 10 Jan 2024 at 03:36,  wrote:
> The error messages indicate that there are conflicting versions and USE flags 
> for these packages.
> Any hint how to resolve it?

The messages say that python requires USE=berkdb on sys-libs/gdbm,
while hylafaxplus requires an older version of media-libs/tiff.

The first one you can fix yourself, while the other probably needs an
update of hylafaxplus that supports the newer versions.

Regards,
Arve



Re: [gentoo-user] "eix" doesn't find a freshly installed package

2024-01-08 Thread Arve Barsnes
On Mon, 8 Jan 2024 at 11:18, Dr Rainer Woitok  wrote:
> >   running eix
> > on its own by default only outputs 50 packages, so there's that.
>
> Where do you take this limit from?

Running eix in any way that produces more than 50 package results, it
shows this for me:

Only 50 matches displayed on terminal
Set EIX_LIMIT=0 to show all matches

I can only assume that it detects that the output is a pipe and
ignores this limit.

Not going to investigate, as you found your answers :)

Cheers,
Arve



Re: [gentoo-user] "eix" doesn't find a freshly installed package

2024-01-07 Thread Arve Barsnes
On Sun, 7 Jan 2024 at 19:41, Arve Barsnes  wrote:
>
> On Sun, 7 Jan 2024 at 18:24, Dr Rainer Woitok  wrote:
> >
> > Greetings,
> >
> > during my last routine upgrade  package "media-video/vlc"  installed new
> > dependency  "media-libs/libmpg123".   However,  after installation "eix"
> > did not list the new package, while "eix-installed" did:
> >
> ># eix-update --quiet
> ># env -i eix | grep -E 'app-portage/eix|media-libs/libmpg123'
> >[I] app-portage/eix
> ># env -i eix-installed all | grep -E 
> > 'app-portage/eix|media-libs/libmpg123'
> >app-portage/eix-0.36.7
> >media-libs/libmpg123-1.32.3-r1
> >#
> >
> > Are there any "eix" gurus out there  who can tell me  how to trick "eix"
> > into listing _all_ packages?
>
> I'm no "eix guru", but reading the man page to show me what the '-i'
> flag does pretty much explain why it would exclude many packages. You
> probably want the capital '-I' version to list installed packages.

Right, ignore that, I see the '-i' flag was to 'env'. But running eix
on its own by default only outputs 50 packages, so there's that.

Regards,
Arve



Re: [gentoo-user] "eix" doesn't find a freshly installed package

2024-01-07 Thread Arve Barsnes
On Sun, 7 Jan 2024 at 18:24, Dr Rainer Woitok  wrote:
>
> Greetings,
>
> during my last routine upgrade  package "media-video/vlc"  installed new
> dependency  "media-libs/libmpg123".   However,  after installation "eix"
> did not list the new package, while "eix-installed" did:
>
># eix-update --quiet
># env -i eix | grep -E 'app-portage/eix|media-libs/libmpg123'
>[I] app-portage/eix
># env -i eix-installed all | grep -E 'app-portage/eix|media-libs/libmpg123'
>app-portage/eix-0.36.7
>media-libs/libmpg123-1.32.3-r1
>#
>
> Are there any "eix" gurus out there  who can tell me  how to trick "eix"
> into listing _all_ packages?

I'm no "eix guru", but reading the man page to show me what the '-i'
flag does pretty much explain why it would exclude many packages. You
probably want the capital '-I' version to list installed packages.

Regards,
Arve



Re: [gentoo-user] SDDM tmp file goes missing?

2024-01-05 Thread Arve Barsnes
On Fri, 5 Jan 2024 at 10:57, Andreas Fink  wrote:
> It's the anacron job in /etc/cron.daily/systemd-tmpfiles-clean that
> cleans files in the tmp folder.
> There has also been a news item about the change on November 21st 2022.
>
> You might have to adapt the files that should not be cleaned by the
> automatic cleanup (or disable automatic cleanup).

Good shout. Upstream has created a fix, but it is not in a release (yet).

https://github.com/sddm/sddm/commit/b002d02bbe9281b8362fa549991b7581b7758668

I'll try that and see if my version of the problem appears again.

Cheers,
Arve



Re: [gentoo-user] SDDM tmp file goes missing?

2024-01-04 Thread Arve Barsnes
On Fri, 5 Jan 2024 at 02:49, Spackman, Chris  wrote:
> Any thoughts on possible causes or fixes?

I've also had this happen a few times over the last months, with error
mails about SDDM tmp files from cron. Just wanted to pipe in and say
that I don't have either rkhunter or keepassxc, so they must be
unrelated. Running on openbox.

I also have the 'unable to open new GUI apps' problem on a Plasma
machine now and then. I had not connected the two, but maybe the same
root cause.

Regards,
Arve



Re: [gentoo-user] Re: Python 3.11 USE flags being flipped on

2023-12-28 Thread Arve Barsnes
On Thu, 28 Dec 2023 at 16:21, Martin Vaeth  wrote:
>
> stefan1  wrote:
> > This got me wondering though, is there no way to fix this globally
> > via make.conf instead of adding patched ebuilds to my overlay?
>
> No. Until https://bugs.gentoo.org/209653 is fixed (which did not
> happen since 16 years and presumably never will), there is no
> other way to fix dependencies than to copy the ebuild to some
> overlay.

The fix to stefan1's problem is surely to extend the allowed
python versions in PYTHON_COMPAT though, the solution for that would
be different than changing the dependencies directly.

Regards,
Arve



Re: [gentoo-user] Re: Python 3.11 USE flags being flipped on

2023-12-15 Thread Arve Barsnes
On Fri, 15 Dec 2023 at 10:09,  wrote:
> The problem is that I'm on python 3.12 and portage is pulling in an
> older version.

Should have mentioned it in the first post, then it would be easy to
look into it and tell you that media-libs/mesa is only supported up to
3.11 (in the ebuild anyway). You can try adding 3.12 to the ebuild
yourself, as it seems to be working fine according to
https://bugs.gentoo.org/919912

Regards,
Arve



Re: [gentoo-user] ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict

2023-12-04 Thread Arve Barsnes
On Mon, 4 Dec 2023 at 12:41, Dale  wrote:
> From what I've read so far, opencascade wants a older ffmpeg than
> everything else I have installed.  It looks like opencascade needs to
> upgrade its code to work with newer ffmpeg.  If I understand it correctly.

Correct, according to the gentoo maintainer. Upstream says it is used
for 'video recording', so if you don't use that part of it, you
shouldn't miss it.

Regards,
Arve



Re: [gentoo-user] ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict

2023-12-04 Thread Arve Barsnes
On Mon, 4 Dec 2023 at 09:28, Dale  wrote:
> Anyone see a way to fix this?  It's getting old seeing this every week
> when I try to do my updates and it may be blocking other updates as well.

Take a look at everything Jigme wrote, but the easy fix seems to
disable USE="ffmpeg" on the opencascade package. What that does to
your use of that package is outside of my knowledge.

Regards,
Arve



Re: [gentoo-user] Portage reports preserved libs, but won't rebuild

2023-11-23 Thread Arve Barsnes
On Fri, 24 Nov 2023 at 04:07, Jack  wrote:
>
> May or may not help, but have you tried revdep-rebuild?

Also, you can try just one-shotting the reported packages, such as
(for the last one in your list):

emerge -1 sys-libs/zlib

Regards,
Arve



Re: [gentoo-user] Unwanted fonts

2023-10-02 Thread Arve Barsnes
On Mon, 2 Oct 2023 at 13:06, Peter Humphrey  wrote:
> Has anyone found a way to exclude media-fonts/noto from a Plasma system?
> They're a 1GB download and I have no intention of ever using them - DejaVu
> suits me perfectly.

If they're actually not in use, try package.provided.

# echo "media-fonts/noto" >> /etc/portage/profile/package.provided
# emerge -C media-fonts/noto

Regards,
Arve



Re: [gentoo-user] What is a dependency of ruby

2023-09-21 Thread Arve Barsnes
On Thu, 21 Sept 2023 at 13:45, Alan McKinnon  wrote:
>
> Hey Gentooers,
>
> Not 100% back in the gentoo groove yet, forget some basic tools.
>
> Something pulled in ruby, I know not what.
>
> What commands show me what installed packages have ruby as a dependency?

I tend to use
# equery d dev-lang/ruby

equery from app-portage/gentoolkit

Regards,
Arve



Re: [gentoo-user] net-libs:webkit-gtk-2.40.5-r410 fails to configure

2023-09-09 Thread Arve Barsnes
On Fri, 8 Sept 2023 at 21:12, John Covici  wrote:
> Thanks a lot for everyone's response, but its a puzzle to me.
>
> So, I looked at that bug, but could not find any resolution.  Also, I
> don't have any pkgconfig other than dev-perl/ExtUtils-PkgConfig
> 1.160.0-r1  and a virtual for the  same 2-r1 .  So, I am puzzled.

The package is named dev-util/pkgconf, no "ig" in the name :)

Regards,
Arve



Re: [gentoo-user] net-libs:webkit-gtk-2.40.5-r410 fails to configure

2023-09-08 Thread Arve Barsnes
On Fri, 8 Sept 2023 at 10:01, Dale  wrote:
> John Covici wrote:
> > Searching yields the following:
> > eix media-libs/gstreamer
> > [I] media-libs/gstreamer
> >  Available versions:  (1.0) 1.20.3^t{xpak} 1.20.4^t{xpak}
> >   1.20.5^t{xpak} 1.20.6^t (~)1.22.3^t{xpak}
> >  {+caps +introspection nls +orc test unwind ABI_MIPS="n32
> > n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
> >  Installed versions:  1.22.3(1.0)^t{xpak}(08:40:21 PM
> > 06/04/2023)(caps introspection nls orc -test -unwind
> > ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64"
> > ABI_X86="64 -32 -x32")
> >  Homepage:
> > https://gstreamer.freedesktop.org/
> >  Description: Open source 
> > multimedia
> > framework
>
> I can't tell anything from that command since the installed version is
> highlighted with color.  You need to run the command I posted so that it
> lists them and shows which version is installed in plain text.  If I
> read that error right, you just have a old version installed for some
> reason.  First we need to be sure that is the case and if it is, figure
> out why.

I think you might be misreading the initial message Dale, the output
is saying that it requires a version of 1.16.2 or higher, and John's
latest shows that he has version 1.22.3 installed.

I found a bug on bgo which might be related,
https://bugs.gentoo.org/913644, it could be worth a try to downgrade
dev-util/pkgconfig. I have the same versions installed, but when I
last compiled webkit-gtk I had version 1.8.1 installed.

Regards,
Arve



Re: [gentoo-user] mcomix (really python)

2023-09-07 Thread Arve Barsnes
On Thu, 7 Sept 2023 at 13:12, Jorge Almeida  wrote:
> Nope. I don't run a Gnome system, and evince pulls an absurd bunch of 
> dependencies, even with most USE variables unset

Sure, which is why I put in that caveat :)

> why would I need elogind, udisks, polkit, etc. just to read a comic book or 
> view a pdf?

I do have elogind because sddm requires it (have been pondering if I
should switch), but I don't have udisks or polkit, so those can at
least be controlled with some USE variables.

Regards,
Arve



Re: [gentoo-user] mcomix (really python)

2023-09-07 Thread Arve Barsnes
On Thu, 7 Sept 2023 at 11:51, Jorge Almeida  wrote:
>
> $ mcomix foo.cbr
> 10:44:31 [MainThread] ERROR: You don't have the required version of the 
> Python Imaging Library Fork (Pillow) installed.
> 10:44:31 [MainThread] ERROR: Installed Pillow version is: 10.0.0
> 10:44:31 [MainThread] ERROR: Required Pillow version is: 6.0.0 or higher
>
> What is one supposed to do with an error message like this?!
> I even uninstalled pillow and then re-emerged mcomix. Sure enough, it pulled 
> pillow, as expected. No avail.
> Thanks

Had a lot of trouble with mcomix when I tried it sometime in the last
few years. If you already have most of the dependencies I can
recommend trying app-text/evince as an alternative. It works fine in
my limited usage.

Regards,
Arve



Re: [gentoo-user] Is distfile partial mirror with failover possible?

2023-09-04 Thread Arve Barsnes
On Mon, 4 Sept 2023 at 22:02, Mark Knecht  wrote:
> I'm a GMail user also. Sadly you'll want to not only bottom post, but also
> select all text you're responding to, remove formatting (Ctrl-V) and then
> type your response or you'll be down voted for responding in HTML.
>
> I hate it also, but this list is easily one of my favorites and I'm no longer
> a Gentoo user.

I also use both GMail and Outlook, and you can set up GMail to be
plain text by default. It's not too difficult to click the three dots
and type your reply where it belongs. Not so easy in Outlook which is
actively hating its users.

Regards,
Arve



Re: [gentoo-user] problem emerging dev-php/xdebug

2023-08-28 Thread Arve Barsnes
On Mon, 28 Aug 2023 at 15:07, John Covici  wrote:
>
> OK, thanks, funny portage said any of ... and it listed the php 7.4,
> that is what tripped me up.

That's because the package itself still lists it as a possibility, but
the php 7.4 is masked at a higher level. The package will be updated
in time, and you would get more or less the same error message. Timing
these kinds of changes across the repository can be hard :)

Regards,
Arve



Re: [gentoo-user] problem emerging dev-php/xdebug

2023-08-28 Thread Arve Barsnes
On Mon, 28 Aug 2023 at 14:21, John Covici  wrote:
>   The following REQUIRED_USE flag constraints are unsatisfied:
>   any-of ( php_targets_php7-4 php_targets_php8-0
>   php_targets_php8-1 )
>
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
>
> Now I have in a package.use file
> dev-php/xdebug php_targets_php7-4
>
> which I thought was correct.  So how to fix?

The parantheses around php 7.4 in PHP_TARGETS="(-php7-4) -php8-0
-php8-1" means that this flag is masked. dev-lang/php:7.4 is also
masked, so I assume this is due to be removed soon. You should move to
8.0 or 8.1 to successfully install this package.

Regards,
Arve



Re: [gentoo-user] How to find which .keep file creation is failing

2023-08-26 Thread Arve Barsnes
On Fri, 25 Aug 2023 at 17:28, Peter Humphrey  wrote:
> Now what? I can't do without webkit-gtk.

webkit-gtk's ruby dependency also is given by RUBY_TARGETS, so this
should mean you have set ruby30 on it somewhere in /etc/portage/

Regards,
Arve



Re: [gentoo-user] Klayout and ruby target problem.

2023-06-25 Thread Arve Barsnes
On Sun, 25 Jun 2023 at 19:24, Dale  wrote:
> WARNING: One or more updates/rebuilds have been skipped due to a
> dependency conflict:
>
> media-video/ffmpeg:0
>
>   (media-video/ffmpeg-6.0-r1:0/58.60.60::gentoo, ebuild scheduled for
> merge) USE="X alsa bluray bzip2 dav1d encode fdk fontconfig frei0r
> gnutls gpl iconv jpeg2k lcms libass lzma mp3 network opengl openh264
> postproc pulseaudio sdl svg theora threads truetype vorbis vpx vulkan
> webp x264 x265 xvid zlib -amf -amr -amrenc (-appkit) -bs2b -cdio
> -chromaprint -chromium -codec2 -cpudetection -cuda -debug -doc -flite
> -fribidi -gcrypt -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394
> -jack -jpegxl -kvazaar -ladspa -libaom -libaribb24 -libcaca -libdrm
> -libilbc -libplacebo -librtmp -libsoxr -libtesseract -libv4l -libxml2
> -lv2 (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -nvenc
> -openal -opencl -openssl -opus -oss -pic -qsv -rav1e -rubberband -samba
> -snappy -sndio -speex -srt -ssh -static-libs -svt-av1 -test -twolame
> -v4l -vaapi -vdpau -verify-sig -vidstab -vmaf -zeromq -zimg -zvbi"
> ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext
> sse sse2 sse3 sse4_1 sse4_2 ssse3 xop -3dnow -3dnowext -avx2"
> FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot
> ismindex pktdumper qt-faststart sidxindex trasher" conflicts with
> media-video/ffmpeg:0/56.58.58= required by
> (sci-libs/vtk-9.2.5:0/9.2::gentoo, installed) USE="ffmpeg java logging
> mysql openmp qt5 rendering sdl threads -all-modules -boost -cuda
> (-debug) -doc -examples -freetype -gdal -imaging -las -mpi -odbc
> -openvdb -pdal -postgres -python -qt6 -tbb -test -tk -views -vtkm -web"
> ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
> VIDEO_CARDS="-nvidia"
>   
> media-video/ffmpeg:0/56.58.58=[abi_x86_64(-)] required by
> (media-libs/opencv-4.7.0:0/4.7.0::gentoo, installed) USE="contrib
> contribdnn eigen features2d ffmpeg gphoto2 java jpeg jpeg2k opengl
> openmp png python qt5 tiff webp -contribcvv -contribfreetype -contribhdf
> (-contribovis) -contribsfm -contribxfeatures2d -cuda -debug -dnnsamples
> -download -examples -gdal -gflags -glog -gstreamer -gtk3 -ieee1394
> -lapack -lto -opencl -opencvapps -openexr -tesseract -testprograms
> -threads -v4l -vaapi -vtk -xine" ABI_X86="(64) -32 (-x32)"
> CPU_FLAGS_X86="avx f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3
> -avx2 -avx512f" PYTHON_TARGETS="python3_11 -python3_10"
>   
> And MUCH MUCH more.  O_O
>
> If someone happens to have seen this and knows a fix, I'd appreciate a
> hint.  ;-)  Again, the whole output is huge.  If I can't sort it and no
> one recognizes that little snippet, may start another thread.  Then beat
> it into submission.  ROFL

It seems like ffmpeg 6 has been unmasked? Haven't synced my tree in a
few days, but it seems right according to packages.gentoo.org.

Your two examples, sci-libs/vtk and media-libs/opencv, requires the
older subslot version. These things tend to sort themselves out with
world rebuilding, unless they really require something older. There
probably is a tracker bug for ffmpeg 6 unmasking, where you could see
if your packages are not supported for ffmpeg 6 yet.

Regards,
Arve



Re: [gentoo-user] Klayout and ruby target problem.

2023-06-25 Thread Arve Barsnes
On Sun, 25 Jun 2023 at 18:19, Dale  wrote:
>   The following REQUIRED_USE flag constraints are unsatisfied:
> ruby_targets_ruby30
>
>   The above constraints are a subset of the following complete expression:
> exactly-one-of ( python_single_target_python3_10
> python_single_target_python3_11 ) any-of ( ruby_targets_ruby30 )
>
> By default, it has no ruby target it seems, although it used to.  The
> on/off status changes.  Setting to match the old way made it worse, as
> mentioned above.  I can't figure out how to make this work.

This might be a bug from the recent move to ruby31 as the default
target, but the easy solution as I see it now is installing the
unstable version klayout-0.28.9, which has the ruby31 target
available.

I found this bug, https://bugs.gentoo.org/903497, which was about
stabilising 0.28.5 "because needed by ruby30", so I assume a similar
action is needed now.

Regards,
Arve



Re: [gentoo-user] emerge conflict. Need help. ffmpeg, kpipewire, handbrake, ffmpegthumbnailer and others.

2023-06-04 Thread Arve Barsnes
On Sun, 4 Jun 2023 at 21:56, Dale  wrote:
>
> Howdy,
>
> Doing my updates, most things updated but some still have conflicts.
> Emerge is trying to tell me but I use Konsole and I think it messes up
> the ^ bit and points to the wrong thing.  I'm thinking this is a USE
> flag problem but I can't tell for sure.  Anyone else recognize this and
> make sense of it?  I recently switched to the pipewire thing and that
> could be part of it, maybe.  It's among those mentioned at least.
>
> Ideas?  Thoughts??

It seems opencascade and handbrake are the culprits for you, blocking
the ffmpeg upgrade, in your output they require 

Re: [gentoo-user] problems with today's update and python 3.12

2023-06-04 Thread Arve Barsnes
On Sun, 4 Jun 2023 at 15:40, John Covici  wrote:
> Hi there.  I am having problems with world update and I don't know how
> to solve this one.
>
>   (dev-lang/python-exec-2.4.10-2:2/2::gentoo, installed)
>   USE="(native-symlinks) userland_GNU -test" ABI_X86="(64)"
>   PYTHON_TARGETS="(pypy3) (python3_10) (python3_11) python3_9" pulled
>   in by
>   >=dev-lang/python-exec-2:2/2=[python_targets_python3_9(-)]
>   required by (dev-python/slackclient-2.5.0-1:0/0::gentoo, installed)
>   USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_9
>   -python3_8"
>
> Thanks in advance for any suggestions.

Your problem is an outdated dev-python/slackclient which requires
python 3.8 or 3.9. This package does not seem to be in the ::gentoo
repo any more, so I would try to find an alternative.

Regards,
Arve



Re: [gentoo-user] Portage load control

2023-05-12 Thread Arve Barsnes
On Fri, 12 May 2023 at 10:34, Peter Humphrey  wrote:
> On Friday, 12 May 2023 01:38:52 BST Jack wrote:
> > The --load-average to emerge itself just tells it not to start a new job
> > if the load is above the setting.  If there are several large jobs, but
> > all start with single  threaded configuration activity such as
> > ./configure or cmake, multiple jobs can clearly get started before the
> > load average starts climbing.
>
> I have said several times that portage is ignoring that setting. I have it at
> 40, yet portage kicks off more packages at 72, and continues doing so for
> extended periods - at least 15 minutes.

But are you sure that it is actually ignored? It was said in an
earlier message from Mark that the value was related to number of
cores, where your 24 cores at 100% average load would translate to a
value of --load-average 24.0. That would put your value of 40 at 166%
average load? What load are you actually trying to limit it to? If you
want 40% load, that should apparently be --load-average 9.6.

Regards,
Arve



Re: [gentoo-user] Nvidia-drivers fails to patch

2023-04-21 Thread Arve Barsnes
On Fri, 21 Apr 2023 at 11:55, Dale  wrote:
> Did something change with overlays?  In the past, I copied the ebuild
> over to local overlay and ran the ebuild command for the manifest.  It
> downloaded everything that was needed.  Now, it seems it doesn't.  They
> add a step?  I miss a step that slipped my mind?

I don't think the files/ directory contents were ever downloaded by
the ebuilds, they are a part of the portage tree, so they appear when
you sync. Maybe the files/ contents from the main tree were available
for your overlay ebuild somehow? I've never had that luxury, so now
I*m wondering how your ebuild ever worked :-)

Regards,
Arve



Re: [gentoo-user] Nvidia-drivers fails to patch

2023-04-21 Thread Arve Barsnes
On Fri, 21 Apr 2023 at 10:58, Dale  wrote:
> I put my local ebuilds in /usr/local/portage.  Obviously emerge sees it
> since it was trying to use it.  I don't understand why it doesn't work
> tho.  I looked at the ebuild in the tree and my overlay, they look the
> same, including the patches from different versions.
>
> Now I need to figure out why the overlay version isn't working.  I've
> had occasion to need older versions before, due to some bug or
> something.  Gonna see if it builds against the new kernel now.  Let us
> pray.

If your ebuild and the repo ebuild are the same, that means that the
patch was changed, look in your
/usr/local/portage/x11-drivers/nvidia-drivers/files/ folder and
compare with the current files.

Regards,
Arve



Re: [gentoo-user] Re: Portage 'Completed (m of n)' messages

2023-04-11 Thread Arve Barsnes
On Tue, 11 Apr 2023 at 14:45, Peter Humphrey  wrote:
>
> On Tuesday, 11 April 2023 13:28:58 BST Nikos Chantziaras wrote:
> > On 11/04/2023 13:59, Peter Humphrey wrote:
> > > What does the panel think of these new status messages from portage
> > > (~amd64)?
> > What messages? Where? When? :P
>
> They seem to be a feature of sys-apps/portage-3.0.46 and probably 3.0.45.

Nikos' questions still stand :P

Cheers,
Arve



Re: [gentoo-user] net-libs/webkit-gtk-2.38.5 and net-libs/webkit-gtk-2.38.5-r500

2023-04-10 Thread Arve Barsnes
On Sun, 9 Apr 2023 at 22:37,  wrote:
>
> My system pulled IN two versions of webkit-gtk (slot 4 and 5)
> net-libs/webkit-gtk-2.38.5
> net-libs/webkit-gtk-2.38.5-r500
>
> Running:
> equery d =net-libs/webkit-gtk-2.38.5-r500
>   * These packages depend on net-libs/webkit-gtk-2.38.5-r500:
> app-office/gnucash-4.8 (net-libs/webkit-gtk:4/37)
> net-libs/libproxy-0.4.18 (webkit ? net-libs/webkit-gtk:4)
>
> equery d =net-libs/webkit-gtk-2.38.5
>   * These packages depend on net-libs/webkit-gtk-2.38.5:
> app-office/gnucash-4.8 (net-libs/webkit-gtk:4/37)
> net-libs/libproxy-0.4.18 (webkit ? net-libs/webkit-gtk:4)
>
> Which package is pulling IN slotted version?

It definitely seems like gnucash and libproxy are pulling in the slot
4 version? You might have other packages that don't depend on any
particular slot, and portage will then pull in the latest version,
which on a stable system is the slot 5 package. This could maybe be
considered a bug. On my system, I have one package depending on a slot
4.1 package, and one with no slot requirement, so I have both a slot
4.1 package and a slot 6 package installed. It's annoying, true.

Regards,
Arve



Re: [gentoo-user] Openrc service crash

2023-04-08 Thread Arve Barsnes
On Sat, 8 Apr 2023 at 10:41, Michael  wrote:
> OK, I added rc_gatling_after="net" in rc.conf, but it didn't work.  gatling
> crashed.  However, adding 'sleep 5s' in its init.d startup script works.  What
> might be causing this discrepancy?

I see now in your first message that the output says that gatling will
wait and start after net.enp2s0 has started, I guess there must be a
crash while waiting. Is there no logs from the daemon? There might be
a way to add a delay in rc.conf as well, so you don't directly edit
the init script.

Regards,
Arve



Re: [gentoo-user] Openrc service crash

2023-04-08 Thread Arve Barsnes
On Sat, 8 Apr 2023 at 10:00, Michael  wrote:
> It was probably the addition of IPv6 - as a workaround I added 'sleep 5s'
> before the gatling init.d exec command and it now starts normally.

If it was indeed the network that was missing, you could try changing
the service from "need" to "after" starting the net service.

Add to /etc/rc.conf:
rc_gatling_after="net"

Regards,
Arve



Re: [gentoo-user] portage ignores -drafts flag set in /etc/portage/package.use

2023-04-06 Thread Arve Barsnes
On Thu, 6 Apr 2023 at 12:12, gevisz  wrote:
> portage reported the following:
>
> The following USE changes are necessary to proceed:
>  (see "package.use" in the portage(5) man page for more details)
> # required by dev-python/pyzmq-25.0.2::gentoo[-test]
> # required by dev-python/qtconsole-5.4.0::gentoo
> # required by dev-python/ipython-8.12.0::gentoo[qt5]
> # required by dev-python/ipyparallel-8.4.1::gentoo
> >=net-libs/zeromq-4.3.4-r1 -drafts
>
> I have set this in /etc/portage/package.use/ipython file.

Show us what you have in /etc/portage/package.use/ipython (and the
file that portage created for you).

Also, check if you have set the drafts flag on zeromq in a different
file in /etc/portage/package.use/
# grep drafts /etc/portage/package.use/*

Regards,
Arve



Re: [gentoo-user] NodeJS compiling problem

2023-03-05 Thread Arve Barsnes
On Sun, 5 Mar 2023 at 16:21, Peter Humphrey  wrote:
>
> Hello list,
>
> Am I the only one unable to install net-libs/nodejs-18.14.2? The log file has
> some interesting entries:
>
>  * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>  * Checking whether python3_11 is suitable ...
>  *   >=dev-lang/python-3.11.1-r1:3.11[threads(+)] ...
>  [ ok ]
>  * Using python3.11 to build (via PYTHON_COMPAT iteration)
>  * Determining the location of the kernel source code
>  * Found kernel source directory:
>  * /usr/src/linux
>  * Could not detect kernel version.

I wouldn't think this is really the problem, as long as you get the
"found kernel source directory" message. Being able to determine the
version doesn't seem that important, depending on what the actual
compile errors are.

Regards,
Arve



Re: [gentoo-user] Duel boot - How to verify boot loader updates?

2022-12-09 Thread Arve Barsnes
On Fri, 9 Dec 2022 at 11:55, Michael  wrote:
> To check the GRUB version of the second OS without booting into it, you can
> grep for grub in its /var/log/emerge.log

Or see what version is named in the /usr/share/doc/grub-2.?? folder name.

On the other hand, if the question is *really* about knowing if
grub-install has been run on one of the machines, I don't know if
there is a way. Probably look at change dates on the files in
/boot/grub/?

Regards,
Arve



Re: [gentoo-user] Playing .wav files?

2022-12-01 Thread Arve Barsnes
On Thu, 1 Dec 2022 at 18:28, Peter Humphrey  wrote:
>
> Hello list,
>
> What do you use to play .wav files? I've come across a collection which I'd
> like to be able to play, but I can't find a usable player in Gentoo. Media-
> sound/wavplay doesn't do it.

I play them in audacious, which is my regular audio player, but if you
have some hard-to-play files maybe try ffplay from the ffmpeg package?
ffmpeg tends to handle most formats after all.

Regards,
Arve



Re: [gentoo-user] Kernel 6.0 upgrade broke sound to TV over HDMI

2022-11-26 Thread Arve Barsnes
On Sat, 26 Nov 2022 at 05:40, Dale  wrote:
> To get sound to go to the TV screen, I set this in Smplay preferences
> for audio where it says Output driver:  alsa:device=hw=1.7  Until now,
> that has always worked and that is several years and even a few kernel
> upgrades.  Sound for Smplayer goes to TV screen but all other sound goes
> to the main speakers through the little jack and a amp I have hooked to
> it.

I won't be telling you what to one way or the other about pulseaudio,
but I don't expect ALSA to stop working any time soon. Just for
reference, to get sound to my TV when playing video with mpv
(originally a fork of mplayer, so possibly accepts most of the same
parameters that would work for you in smplay), I use this parameter:

--audio-device=alsa/hdmi:CARD=NVidia,DEV=0

Looking at your aplay output from the old kernel, putting this in
Smplay might work:

Output driver: alsa/hdmi:CARD=NVidia,DEV=1

I wonder though if it means anything that in the new aplay -l output
for your TV it says, Subdevices: 0/1.

Cheers,
Arve



Re: [gentoo-user] where is 'mke2fs' ?

2022-11-17 Thread Arve Barsnes
On Thu, 17 Nov 2022 at 21:30, Philip Webb  wrote:
>
> I need to rewrite the filesystem on a USB stick after it got damaged.
> My notes tell me to use 'mke2fs', but 'which' doesn't find it :
> has it been replaced by something else ?
> I have 'e2fsprogs' installed, but there's no 'man' file for it
> & it doesn't seem to create filesystems.
> There is a utility 'sys-fs/genext2fs', which I emerged & looked at,
> but it's not clear whether it does the simple job I need.

# equery b `which mke2fs`
 * Searching for /sbin/mke2fs ...
sys-fs/e2fsprogs-1.46.5-r4 (/sbin/mke2fs)

Might it be hidden behind USE="tools"?

Regards,
Arve



Re: [gentoo-user] Upgrading from 5.14 to 6.0 version

2022-11-11 Thread Arve Barsnes
On Fri, 11 Nov 2022 at 11:30, Peter Humphrey  wrote:
> I can't remember any difficulty going from the 5 series to 6.0.0 either, even
> though it was a .0 version, which we all know is generally to be suspected.

Not when it comes to the linux kernel though, where major version
changes are arbitrary and comes around the x.19/20/21 switch no matter
which new features are in it.

Regards,
Arve



Re: [gentoo-user] x11-bas/xorg-x11 removal

2022-11-01 Thread Arve Barsnes
On Tue, 1 Nov 2022 at 09:44, Peter Humphrey  wrote:
> > > >   1) Has /var/lib/portage/set_name been deprecated?
> > >
> > > No. The new default is now /var/lib/portage. Check your
> > > /etc/portage/repos.conf/gentoo.conf if you're in doubt about where
> > > your main repo is.
> >
> > When did that happen? The portage man page still shows /etc/portage/sets/
> > as the location for  user-defined sets.
>
> There seems to be some confusion here. /var/lib/portage is where portage
> stores things; /etc/portage is where you store portage things.

Indeed, this was my mistake. Has /var/lib/portage/ ever been possible
for sets? Since the world file is there, I could see an initial
implementation choosing that as the logical destination, but I have no
memory of it.

Regards,
Arve



Re: [gentoo-user] x11-bas/xorg-x11 removal

2022-10-31 Thread Arve Barsnes
On Mon, 31 Oct 2022 at 22:12, Walter Dnes  wrote:
>
> On Sat, Oct 29, 2022 at 11:39:47PM +0100, Neil Bothwick wrote
> >
> > qlist -IC | grep -e x11-base -e x11-apps -e x11-fonts >/etc/portage/sets/x11
> > emerge -n @x11
> >
> > Saves filling @world with dozens of x11 entries.
>
>   1) Has /var/lib/portage/set_name been deprecated?

No. The new default is now /var/lib/portage. Check your
/etc/portage/repos.conf/gentoo.conf if you're in doubt about where
your main repo is.

>   2) Will items in /etc/portage/sets/ be automatically updated
> each time you update world?

What kind of updates would that be? You never update world, it is a
registry of what packages you have installed, generally, not a
specific version. A set would be the same.

Regards,
Arve



Re: [gentoo-user] problems emerging some ruby packages

2022-10-11 Thread Arve Barsnes
On Wed, 12 Oct 2022 at 02:12, Jack  wrote:
> As I said in my reply to Neil, why would this happen in just a handful
> of packages, but not in over thirty others?  mini_mime is the other
> problem package, and it does not use ruby_add_bdepend so there is only
> one line with USE_RUBY:  'USE_RUBY="ruby26 ruby27 ruby30 ruby31"'.
>
> So - why is ruby31 disabled for (so far) only these two packages?
> (The other packages which are failing depend on one of these two.)

Maybe these two are just written more strict? I'm unable to read the
eclass to determine how it masks these flags on a stable system on
these packages, it will happily install it with ruby31 on my unstable
system, but you can try to unmask the flag in
/etc/portage/package.use.mask

dev-ruby/thor -ruby_targets_ruby31

Not the minus sign.

Regards,
Arve



Re: [gentoo-user] problems emerging some ruby packages

2022-10-11 Thread Arve Barsnes
On Tue, 11 Oct 2022 at 22:02, Jack  wrote:
> Does anybody see what I'm missing?

Maybe you have something in package.use for this package?

You could try to get emerge to tell you more explicitly what problem it has

USE="ruby_targets_ruby31" emerge -av dev-ruby/thor

Regards,
Arve



Re: [gentoo-user] Dolphin and adding a option, if it exists.

2022-10-09 Thread Arve Barsnes
On Sat, 8 Oct 2022 at 22:33, Frank Steinmetzger  wrote:
> Am Thu, Oct 06, 2022 at 10:10:52AM +0200 schrieb Arve Barsnes:
> > 1. Equivalent to your method
> > - Select old file, F2 (rename), ctrl+c, esc, select new file in other
> > pane, shift+F6 (move with rename), ctrl+v, enter
>
> Shift+F6 only moves without rename—only if the destination already
> exists.

Not sure what you mean here, although in essence any "rename"
operation in this context is always just a "mv" anyway. Maybe you
missed that I was talking about emelfm2, where shift+F6 lets you
change the name of the file you want to move before moving it. If you
change the name to something that exist in the destination, then
you'll get asked if you want to replace it.

Regards,
Arve



Re: [gentoo-user] Dolphin and adding a option, if it exists.

2022-10-06 Thread Arve Barsnes
On Thu, 6 Oct 2022 at 06:40, Dale  wrote:
>
> Howdy,
>
> This may not exist.  If not, oh well.  Sometimes when I'm moving files
> with Dolphin, I need a added feature.  I tend to use split panes when I
> copy or move files.  Quite often, I want to move files from one location
> to another and the new file use the same name as the old file I'm
> replacing.  What I *wish* I could do, move the file from one pane to the
> other and drag the new file on top of the old file and it replace it
> with the name of the old file.  As it is now, I have to bring up
> properties, select the name of the file, while not including the
> extension, and copy it, then close that window and open properties on
> the new file, highlight the old name, paste new name, close window, copy
> new file over and either delete old file or tell it to overwrite the
> file.  Sometimes it has a different extension and I have to delete
> instead.
>
> It would be a lot faster if I could just drag it on top of file I want
> to replace and either it be configured to use name of old file for new
> file or me select in a pop up what I want to do.  Basically, move and
> drop instead of all the properties, copy, repeat with paste on new file
> and then move and maybe delete a file as well.  I went to the services
> window and looked for anything I could add but I didn't see anything
> that would do what I describe but it could be a hidden feature of one
> that isn't obvious.
>
> Has anyone ever seen something that does this?  While I use dolphin, I
> may could use another tool if it has this feature.

This is probably a case of Dolphin not being a good tool, unless it
has a built-in command-line?
$ mv newfile oldfile
will overwrite the old file in place with the new file with the name
of the old file.

In my file manager, emelfm2 (sadly not in tree any more), which has a
built-in command-line there are at least two ways I could solve this.

1. Equivalent to your method
- Select old file, F2 (rename), ctrl+c, esc, select new file in other
pane, shift+F6 (move with rename), ctrl+v, enter

2. Equivalent to explicit command-line on the built-in terminal
- mv %f %F (referencing selected file(s) in the active and inactive
pane respectively)

I know there are many file managers with a built-in terminal, so maybe
others have similar possible solutions. I saw someone mention midnight
commander which I believe is one.

Regards,
Arve



Re: [gentoo-user] x11-base/xorg-x11 masked

2022-10-04 Thread Arve Barsnes
On Tue, 4 Oct 2022 at 08:41, w...@op.pl  wrote:
>
> Hello everyone!
> Upon upgrade, portage told me that x11-base/xorg-x11 is masked and will
> be removed from the repo on November 1st. I thought "ok, why not do it
> now", so I have typed:
> # emerge -W x11-base/xorg-x11
> # emerge -cav
> and there was a surprise (not a pleasant one). Since xorg-x11 is a
> metapackage it pulled so many things I would like to have still here.
> Is there any reasonable way to put all those packages to my world file,
> so I can easily remove xorg-x11 without deleting half of my desktop
> apps?

Are you sure that you would miss any of them? From the lists on the
bugs posted by Holger here, it seems like most of it are small
specialised tools used for specific needs. If you don't know that you
explicitly use them, you probably don't.

The proposed meta package for the to-be-removed fonts is a different
matter, but I don't know how much use those fonts get in practice,
might be worth following that bug for info.

Regards,
Arve



Re: [gentoo-user] problem with emerge depclean after world update

2022-09-30 Thread Arve Barsnes
On Fri, 30 Sept 2022 at 22:27, Wol  wrote:
> Does that mean an update typically cleans a replaced package
> automagically? I thought that usually they got left behind and that was
> why you needed depclean - to remove all the old versions?
>
> Certainly that's what I remember of depclean of old - the list of stuff
> being cleaned was mostly old versions of what was installed.

I don't remember that, although my memory might be less than stellar.

Unless a package is slotted, an update replaces the old version, and
hence nothing to depclean.

Cheers,
Arve



Re: [gentoo-user] problem with emerge depclean after world update

2022-09-30 Thread Arve Barsnes
On Fri, 30 Sept 2022 at 20:47, John Covici  wrote:
>
> Hi.  So, when I tried to do my emerge depclean after my world update,
> which went through with no problems, I get the following message:
>
> Calculating dependencies... done!
>  * Dependencies could not be completely resolved due to
>   * the following required packages not being installed:
>*
> *   >=app-text/poppler-0.16.0:0/123=[cairo] pulled in by:
>  * app-misc/tracker-miners-3.4.0
>
> But I have:
>
> ebuild   R] app-text/poppler-22.09.0:0/124::gentoo  USE="cairo cxx
> introspection jpeg jpeg2k lcms png qt5 tiff utils -boost -cjk -curl
> -debug -doc -nss -verify-sig"
> and
> ebuild   R] app-misc/tracker-miners-3.4.0:3::gentoo  USE="exif gif
> gstreamer iso jpeg networkmanager pdf playlist rss (seccomp) tiff
> upower xml -cue -ffmpeg -gsf -iptc -raw -test -xmp -xps"
>
> So, what have I done wrong this time -- or is it some kind of bug
> somewhere?

Probably a temporary problem. app-misc/tracker-miners requires a
version of app-text/poppler with subslot 123, but only ones with
subslot 122 and 124 currently exists in tree (as of my tree synced
within the last 24 hours). I'm sure that'll resolve itself at some
point one way or another.

Regards,
Arve



Re: [gentoo-user] seems lots of packages no longer in the tree

2022-09-25 Thread Arve Barsnes
On Sun, 25 Sept 2022 at 16:04, John Covici  wrote:
>
> Hi.  I updated the tree yesterday using git.  Now, in this mornings
> batch of announcements, I am finding lots of packages no longer in the
> tree -- one of them is app-admin/logcheck .  Another is rxvt.  Now, I
> don't use these packages, but I am wondering if something has gone
> wrong with my tree?

I don't have either of those packages in my tree, so we're in the same
boat. I don't know about rxvt (rxvt-unicode is still in the tree), but
logcheck was lastrited on the gentoo-dev mailing list a while back, so
I assume it was expected to disappear.

Regards,
Arve



Re: [gentoo-user] C compiler cannot create executables

2022-09-10 Thread Arve Barsnes
On Sat, 10 Sept 2022 at 17:28, Jack  wrote:
> Any thoughts or suggestions?

I feel like this is an error that tends to pop up when your toolchain
is broken. Are you able to re-emerge gcc?

Regards,
Arve



Re: [gentoo-user] rsync not deleting removed directory and drive PW DIS 3.3v question

2022-09-02 Thread Arve Barsnes
On Fri, 2 Sept 2022 at 10:36, Dale  wrote:
> I've tried removing the -u, adding --force but no change.  Basically, if
> I remove a directory on the source, how do I get it to remove the same
> on the backup/target?  I went through the options on the man page and
> nothing hit me as a fix.  What am I missing?

Not sure if it would make any difference, but did you try the prune
empty dirs switch, '-m'?

Regards,
Arve



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

2022-07-27 Thread Arve Barsnes
On Wed, 27 Jul 2022 at 15:24, n952162  wrote:
> 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.

It shows both in --help and in the man page for my up-to-date grub.

Regards,
Arve



Re: [gentoo-user] google-chrome-103.0.5060 - choose password for new keyring

2022-07-08 Thread Arve Barsnes
On Fri, 8 Jul 2022 at 15:34, Matt Connell  wrote:
> > Should not this instruction say emerge --pretend  --depclean rather
> > than --unmerge ?
>
> Since its pretended, the result is the same, ultimately.
>

Actually, none of them gives you any info about why a package is
installed, and --unmerge doesn't even try to check. Without --pretend
it's perfectly happy to let you shoot yourself in the foot. What you
actually need to get portage to tell you what requires the package in
question is
# emerge --pretend --depclean --verbose gnome-keyring

Regards,
Arve



Re: [gentoo-user] GeForce GT 710 and nvidia-drivers-510.73

2022-07-07 Thread Arve Barsnes
On Thu, 7 Jul 2022 at 23:00,  wrote:

> Does "nvidia-drivers-510.73" works with GeForce GT 710 card?
>
>
It does not seem so, when searching on nvidia's pages for drivers for that
model, the latest available are 465.31.

Regards,
Arve


Re: [gentoo-user] Failing to emerge "sys-apps/fwupd-1.8.1"

2022-06-02 Thread Arve Barsnes
On Thu, 2 Jun 2022 at 17:33, Dr Rainer Woitok 
wrote:

> Greetings,
>
> my last successful build of "sys-apps/fwupd" was 1.7.7-r2.   Immediately
> before my vacation  1.8.0 failed on 2022-05-10,  and today 1.8.1 failed,
> too.
>
> Since the build log says at its end
>
>   * If you need support, post the output of `emerge --info
> '=sys-apps/fwupd-1.8.1::gentoo'`,
>   * the complete build log and the output of `emerge -pqv
> '=sys-apps/fwupd-1.8.1::gentoo'`.
>
> and since I am currently  absolutely clueless,  I'm including the output
> from these two commands  as well as the  complete build log  (except for
> ANSI control characters) as requested above.  Hopefully, somebody has an
> idea what's going wrong here.
>

According to https://bugs.gentoo.org/841767 this could possibly be fixed
for you by either activating the gusb USE flag, or de-activating the
modemmanager USE flag.

Regards,
Arve


Re: [gentoo-user] emerge-webrsync

2022-04-15 Thread Arve Barsnes
On Fri, 15 Apr 2022 at 19:58, Jude DaShiell  wrote:

> Found no snapshots on rit.edu and went back from now to March 6, 2022.
> I'm using openrc now.  Has gentoo got a site where it shows latest
> available snapshot information for its snapshots?
>

What kind of information are you after?

I looked at a different mirror, and it doesn't really have any information
except signatures and the like.

https://ftp-stud.hs-esslingen.de/Mirrors/gentoo/snapshots/

Regards,
Arve


Re: [gentoo-user] How to see make output when emerging a package?

2022-04-15 Thread Arve Barsnes
On Fri, 15 Apr 2022 at 19:23, Dex Conner  wrote:

> Hi everyone
>
> I've tried setting --quiet-build=n and --quiet=n but to no avail
> because I have --jobs set to higher than 1. I've checked
> /var/log/emerge.log but that's only the emerge output not the make
> output that I'm looking for. What am I missing here?
>
>
You're missing that the make log is in a separate place for each package.
Usually in /var/tmp/portage somewhere. As you noticed, setting --jobs
higher than 1 automatically sets --quiet-build, and makes it unable to
activate.

It will tell you after portage is finished about any failed packages, and
where that log is, but if you want to see all that output while it's
compiling you'd need to script a way to automatically check for new
build.log files in /var/tmp/portage as new package compile jobs starts and
monitor them.

Basically, my advice is to use --jobs=1 if you want to see the output.

Regards,
Arve


Re: [gentoo-user] Problem with libcrypt transition

2022-04-10 Thread Arve Barsnes
On Sun, 10 Apr 2022 at 15:32, Walter Dnes  wrote:

>   I know that the news item gives dire warnings about not unmerging
> glibc.  Can I safely unmerge virtual/libcrypt and replace it?
>
>
Sure, but you would probably get the same errors. I'm suspecting you have
some USE flags configured which creates the conflict. Possibly you have set
the USE="crypt" for glibc.

Regards,
Arve


Re: [gentoo-user] Problem with libcrypt transition

2022-04-10 Thread Arve Barsnes
On Sun, 10 Apr 2022 at 04:35, Walter Dnes  wrote:

> To quote Rowan and Martin "Later... that very same evening" (7 hours
> and 265 packages) it finished.  Now to tackle libcrypt.  How do I handle
> the following?  As near as I can tell from the news item, glibc's
> internal libcrypt is being replaced by an external libxcrypt but the
> details are vague..
>


Hard to tell from your output what the status of any conflicts are on your
system. As the message correctly indicates, it cannot upgrade glibc because
virtual/libcrypt-1 requires the older version.

What would portage complain about before you excluded it? What is the
output from:
emerge -1va =virtual/libcrypt-2

As mentioned in the news item, most upgrades should have just happened on
its own without user interference, so it might also be as simple as
re-running the @world command with --backtrack=1000

Regards,
Arve


Re: [gentoo-user] Re: Java wants cups?

2022-04-03 Thread Arve Barsnes
On Sun, 3 Apr 2022 at 18:43, Matthias Hanft  wrote:

> And jdk-11 seems to need just openjdk (and not icedtea any more).
>
>
This is because icedtea doesn't exist for java 11 (at least in portage). If
you don't need it for anything in particular, I would go with your initial
thought to just mask >=virtual/jdk-11 and see if you can get away with it,
it might just have been installed because it has been keyworded for you
lately.

Regards,
Arve


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

2022-04-03 Thread Arve Barsnes
On Sun, 3 Apr 2022 at 15:34, Neil Bothwick  wrote:

> On Sun, 3 Apr 2022 15:12:36 +0200, Arve Barsnes wrote:
>
> > This file is for setting or unsetting USE flags on a package.
> > To "mask the system USE flag" on libxcrypt you would put this in
> > /etc/portage/package.use.mask:
> > sys-libs/libxcrypt system
>
> Shouldn't that be /etc/portage/profile/package.use.mask?
>
>
I guess so. I've never used it, but refer to the portage man page to
confirm.

Cheers,
Arve


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

2022-04-03 Thread Arve Barsnes
On Sun, 3 Apr 2022 at 11:54, n952162  wrote:
> 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.

This file is for adding or removing keywords from packages (like amd64 or
~amd64).
To "unmask and enable the crypt USE flag of sys-libs/glibc" you would put
this in /etc/portage/package.use.mask:
sys-libs/glibc -crypt

> 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?

This file is for setting or unsetting USE flags on a package.
To "mask the system USE flag" on libxcrypt you would put this in
/etc/portage/package.use.mask:
sys-libs/libxcrypt system

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

To mask a package, you put it in /etc/portage/package.mask. Exactly as you
write it here, but in a different file.

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

It is masked here. To unmask it, you could in /etc/portage/package.unmask
put something like this:
=virtual/libcrypt-1-r1

Regards,
Arve


Re: [gentoo-user] Piping "emerge -a" to some other command

2022-02-25 Thread Arve Barsnes
On Fri, 25 Feb 2022 at 10:00, Dr Rainer Woitok  wrote:
> A quick search in the "emerge" manual page  for "pars" and "pip" did not
> turn up anything I considered relevant.  Can anyone give more hints?

I'm guessing any proposed solution would fail when what you want to
capture has an interactive component like this.

My solution would rather be to run your emerge commands in a place
that would give you the scroll-back that you lack now, such as in a
screen session. It feels like something like a screen session would be
potentially beneficial in more ways as well, such as being able to do
this remotely.

Regards,
Arve



Re: [gentoo-user] Options for "emerge"

2022-02-20 Thread Arve Barsnes
On Sun, 20 Feb 2022 at 15:40, Dr Rainer Woitok  wrote:
> But if I understand the "emerge" manual page correctly, "--changed-deps"
> causes a rebuild of a package,  if one of its  dependencies has been re-
> build, even though the package does not require the newer version of the
> dependency.  So does it really make sense  to have this option hardcoded
> in a script?   Or does it just cause  plenty of package rebuilds without
> any real effect?  Likewise, what about "--deep"?  Should I keep it?

"--deep" seems like a good idea, to minimise the chance of trouble,
but "--changed-deps" does indeed seem excessive.

I also have "--oneshot" in my updates, although I'm not sure if this
actually makes a difference on a world update.

I also have "--backtrack=100" to minimise the risk of portage not
being able to find an upgrade path for some troublesome package. Just
as "--deep" it will add to the time portage needs to calculate what
packages to update, but it feels like I've had less instances of
upgrade path troubles since adding it to my regular world update
command.

Regards,
Arve



Re: [gentoo-user] Kicad and complications from hdf5 and vtk USE flags. Not package specific tho.

2022-02-16 Thread Arve Barsnes
On Thu, 17 Feb 2022 at 08:02, Dale  wrote:
> !!! The ebuild selected to satisfy " unmet requirements.
> - sci-libs/hdf5-1.10.5-r1::gentoo USE="cxx hl threads zlib -debug
> -examples -fortran -mpi -szip -unsupported" ABI_X86="(64)"
>
>   The following REQUIRED_USE flag constraints are unsatisfied:
> !unsupported? ( threads? ( !cxx !hl ) )
>
>   The above constraints are a subset of the following complete expression:
> !unsupported? ( at-most-one-of ( cxx mpi ) threads? ( !cxx !mpi
> !fortran !hl ) )

The mpi flag now seeds to be a distraction, as the actual problem now
is that hdf5 can't have both the threads and the cxx USE flag enabled
at the same time. Maybe you have these in global, or set somewhere in
your config?

Regards,
Arve



Re: [gentoo-user] nvidia-drivers wants static-libs, I do not.

2022-02-13 Thread Arve Barsnes
On Sun, 13 Feb 2022 at 14:12, Dale  wrote:
> I suspect Kicad is not used by most but removing digikam seemed to be
> the one that opened the door to a clear path for emerge.  That package
> is commonly used.  So, that info may help if a person runs into this.
> I'm not sure what if any effect boost had.  It may be worth not removing
> it unless others fail to give a clear path.
>
> Thanks again for the help.  I saw it but didn't realize its meaning.
> You did.

You shouldn't have libs in your world file anyway, it should only be
the packages that you directly use. If packages need it, and many use
boost, they will pull it in as needed. :)

Regards,
Arve



Re: [gentoo-user] nvidia-drivers wants static-libs, I do not.

2022-02-13 Thread Arve Barsnes
On Sun, 13 Feb 2022 at 09:43, Dale  wrote:
> The following USE changes are necessary to proceed:
>  (see "package.use" in the portage(5) man page for more details)
> # required by sci-libs/vtk-9.0.3-r4::gentoo[video_cards_nvidia]
> # required by sci-libs/opencascade-7.5.2-r5::gentoo[vtk]
> # required by sci-electronics/kicad-5.1.12-r2::gentoo[occ]
> # required by sci-electronics/kicad-packages3d-5.1.12-r1::gentoo
> # required by sci-electronics/kicad-meta-5.1.12::gentoo[-minimal]
> # required by @selected
> # required by @world (argument)
> >=x11-drivers/nvidia-drivers-470.103.01 static-libs
>
> Would you like to add these changes to your config files? [Yes/No]
>
>
> I'm not sure if the boost output is related or not.  I did read
> somewhere that opencascade is replacing oce.  From the above, I suspect
> vtk and/or opencascade is causing this.  That may be related but dang if
> I can figure out a way around this.  Anyone else run into this and find
> a fix or see something I'm missing?

I don't know how this would impact functionality, but it looks like
you could avoid this by setting USE on sci-libs/vtk to
"-video_cards_nvidia". The cuda USE flag requires this, but that is
already disabled for you.

Regards,
Arve



Re: [gentoo-user] emerge failes due to no valid source for pythonexec-2.2 when I have pythonexec-2.4 installed???

2022-02-06 Thread Arve Barsnes
On Mon, 7 Feb 2022 at 03:42, Steven Lembark  wrote:
> # emerge --update --newuse --deep --with-bdeps=y @world
>
> emerge: there are no ebuilds to satisfy 
> ">=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),-python_single_target_python2_7(-)]".
> (dependency required by "dev-python/ipaddress-1.0.23::gentoo" [installed])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
>
>
> These are all python packages... is there no way to just sync
> the python version and be done with it?

Have you done a depclean regularly? This package,
dev-python/ipaddress, has appeared in at least half of all threads
where someone is having upgrade trouble with these python errors. This
package left the repo a long time ago, and simply does not exist any
more, and hence can also be depcleaned.

emerge --depclean --pretend to see if you have a long list of packages
that portage could remove.

Regards,
Arve



Re: [gentoo-user] emerge failes due to no valid source for pythonexec-2.2 when I have pythonexec-2.4 installed???

2022-02-06 Thread Arve Barsnes
On Sun, 6 Feb 2022 at 21:52, Steven Lembark  wrote:
> emerge: there are no ebuilds built with USE flags to satisfy 
> ">=dev-lang/python-exec-2:2/2=[python_targets_python3_6]".
> !!! One of the following packages is required to complete your request:
> - dev-lang/python-exec-2.4.8::gentoo (Missing IUSE: python_targets_python3_6)
> (dependency required by "sys-devel/clang-9.0.1::gentoo" [installed])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])

Why do you have clang 9 installed? It is no longer in the repo, and
apparently requires a python-exec compiled against python 3.6. Unless
you have a particular need for it, the solution seems to be to remove
clang 9.

Cheers,
Arve



Re: [gentoo-user] Manually updating gentoo-sources

2022-02-05 Thread Arve Barsnes
On Sat, 5 Feb 2022 at 08:57, Neil Bothwick  wrote:
> You're using ~amd64 sources, which means they update frequently. I found
> this annoying so I only use the stable sources, even on ~amd64 systems to
> keep updates to a reasonable level while ensuring I don't miss important
> updates. I added this to package.accept_keywords
>
> sys-kernel/gentoo-sources -~amd64
> sys-kernel/linux-headers -~amd64
>
> Having said that, it wants to install a new kernel this morning :-/

If you want a bit more control, I'd just mask it completely in
/etc/portage/package.mask/ and then unmask whatever version you want
to install in /etc/portage/package.unmask

Regards,
Arve



Re: [gentoo-user] Removing or renaming old /boot/grub directory warning

2022-02-04 Thread Arve Barsnes
On Sat, 5 Feb 2022 at 07:37, Dale  wrote:
> Should I reinstall grub after removing the old directory so it puts
> things where it needs to be or what?  Or does a new install have that
> old directory too?  While at it, is there something that can give me
> better options in cases like this or do I need to stop renaming stuff?

For what it's worth, this machine is new enough to only ever having
had grub2 on it, and the directory in /boot is still named /boot/grub

Regards,
Arve



Re: [gentoo-user] Re: How to invoke non-selected versions of 'java'?

2022-02-04 Thread Arve Barsnes
On Sat, 5 Feb 2022 at 00:48, Grant Edwards  wrote:
> Yep. I've currently got '-bin' versions installed so here it's:
>
> $ find /opt/{icedtea*,openjdk*} -type f -executable -name 'java'
> /opt/icedtea-bin-3.16.0/jre/bin/java
> /opt/icedtea-bin-3.16.0/bin/java
> /opt/openjdk-bin-11.0.14_p9/bin/java

You should also have the /opt/openjdk-bin-11 symbolic link, so the bin
versions also have a "permanent" path to use in your commands. They're
not in your path since it is the folder names that are versioned, and
not the executables.

Regards,
Arve



Re: [gentoo-user] How to invoke non-selected versions of 'java'?

2022-02-04 Thread Arve Barsnes
On Fri, 4 Feb 2022 at 22:49, Grant Edwards  wrote:
>
> I've got two "slots" of java currently installed (8 and 11). I see how
> one uses "eselect java" to contol which one is invoked by /usr/bin/java.
>
> How does one manually invoke non-selected version(s) of java?
>
> For other slotted things like gcc and python, you can use pythonX.Y or
> gcc-X.Y.Z to invoke the non-selected version.
>
> What's the equivalent for java?

I don't think there is any convenient out of the box link like for
python or gcc, but you could make equivalent links if you want.
Otherwise you should use the paths in your commands. On this box I
have:

/usr/lib64/openjdk-8/bin/java
/usr/lib64/openjdk-11/bin/java

Regards,
Arve



Re: [gentoo-user] Seamonkey and Firefox clash over rust version.

2022-01-12 Thread Arve Barsnes
On Wed, 12 Jan 2022 at 11:15, Dale  wrote:
> Well, first a patch failed to . . . patch.  I commented it out and
> rebuilt the manifest and gave that a try.  Then it failed with this:

You might need to copy some files from the files/ directory in the
overlay as well. I'm guessing, but the patch probably failed because
it didn't exist?

Regards,
Arve



Re: [gentoo-user] Seamonkey and Firefox clash over rust version.

2022-01-11 Thread Arve Barsnes
On Wed, 12 Jan 2022 at 02:14, Dale  wrote:
> rsync: getaddrinfo: rsync.gentoofan.org 873: Temporary failure in name
> resolution

I noticed somewhere on the page it said that the layman method of
adding the overlay was deprecated, maybe he has removed rsync
capability for it.

Regards,
Arve



Re: [gentoo-user] Re: How to diagnose version conflicts?

2022-01-11 Thread Arve Barsnes
On Wed, 12 Jan 2022 at 01:44, Grant Edwards  wrote:
> Still not sure what command one uses to determine what package is
> preventing some other package from being upgraded...

It should all be in the emerge output, although it's quite hard to read.

If you want help interpreting it you could post the complete conflict
output, but what you've posted in your initial message is just the bit
that says that python-exec-2.4.8 requires python-exec-conf-2.4.6.
That's not a conflict, that's just one of the packages having one
dependency. To have a conflict, a different package would need to
require a different version.

Most of the times this particular kind of conflict is with an older
package that requires older PYTHON_TARGETS than can be provided, and I
expect something that got depcleaned with ipkg-utils, or ipkg-utils
directly, required python-exec or python-exec-conf with
PYTHON_TARGETS="python3_7". Note that dev-lang/python itself is not
the source of any of these problems, I still have python 2.7 and 3.10
installed (along with 3.9 which is the default version on this machine
now).

Regards,
Arve



Re: [gentoo-user] Seamonkey and Firefox clash over rust version.

2022-01-10 Thread Arve Barsnes
On Mon, 10 Jan 2022 at 12:28, Arve Barsnes  wrote:
>
> On Mon, 10 Jan 2022 at 11:33, Dale  wrote:
> > I read in a bug report that this is fixed in a overlay.  Makes me wonder
> > why this has been going on for a month or so without a 'in tree' fix.
> > I'd rather not add a overlay but if it is the only fix, may have too.
>
> An alternative to adding the whole overlay (and the poly-c overlay is
> quite big) is to just copy the ebuild you want to your local overlay.
> It looks like poly is involved in the maintenance of this package
> normally, so I'm not sure why this is not in the main repo yet, if
> there is something weird being worked on.
>
> The biggest change if you copy it locally, is that you get the latest
> released version of seamonkey, and the rust dependency in the ebuild
> has been updated to:
>
> >=virtual/rust-1.34.0
>
> That seems to indicate that the current requirement of <1.53 was never 
> correct?
>
> Either way, worth a try if you ask me, you're on a newer version, the
> rust conflict with firefox will not come up again, and hopefully
> eventually, the main gentoo repo will get even newer versions so
> you'll get automatically updated without having added a full extra
> overlay.

Also, the ebuild to copy:

https://www.gentoofan.org/gentoo/poly-c_overlay/www-client/seamonkey/seamonkey-2.53.10.2-r2.ebuild

Cheers,
Arve



Re: [gentoo-user] Seamonkey and Firefox clash over rust version.

2022-01-10 Thread Arve Barsnes
On Mon, 10 Jan 2022 at 11:33, Dale  wrote:
> I read in a bug report that this is fixed in a overlay.  Makes me wonder
> why this has been going on for a month or so without a 'in tree' fix.
> I'd rather not add a overlay but if it is the only fix, may have too.

An alternative to adding the whole overlay (and the poly-c overlay is
quite big) is to just copy the ebuild you want to your local overlay.
It looks like poly is involved in the maintenance of this package
normally, so I'm not sure why this is not in the main repo yet, if
there is something weird being worked on.

The biggest change if you copy it locally, is that you get the latest
released version of seamonkey, and the rust dependency in the ebuild
has been updated to:

>=virtual/rust-1.34.0

That seems to indicate that the current requirement of <1.53 was never correct?

Either way, worth a try if you ask me, you're on a newer version, the
rust conflict with firefox will not come up again, and hopefully
eventually, the main gentoo repo will get even newer versions so
you'll get automatically updated without having added a full extra
overlay.

Regards,
Arve



Re: [gentoo-user] Seamonkey and Firefox clash over rust version.

2022-01-10 Thread Arve Barsnes
On Mon, 10 Jan 2022 at 08:50, Dale  wrote:
>
> Howdy,
>
> I've been dealing with this for a while.  When I do my updates, it
> either omits seamonkey because the rust version installed is to new or
> downgrades rust.  I keyworded rust to see if emerge could sort it out
> itself but Seamonkey then complains about the newer version of rust.
>
> I've read some stories about rust and such but this is annoying.  Is
> there not a way to make both packages happy?  For once, I'd like to be
> able to update and get a clean outcome.  Heck, at this point, I'm a bit
> confused.  I've went around in circles so much, I feel like a
> professional drunk.  :/
>
> Thoughts?

I would try to remove this dependency in an overlay. I noticed the
release notes for seamonkey 2.53.10.2 mentions fixing something about
rust-1.57, and no mention of rust in any of the versions between the
latest in portage and that one, so I question if there is actually a
dependency on an older rust here.

Regards,
Arve



Re: [gentoo-user] How to degrade Gentoo system with webrsync method?

2022-01-09 Thread Arve Barsnes
On Sun, 9 Jan 2022 at 12:48, gevisz  wrote:
> The problem is that I do not know how to sync my Gentoo repository
> to the state it was on 12-12-2021.
>
> I use webrsync sync method via "maint -A sync" and would prefer
> to use the same sync method for degrading my Gentoo system.
>
> Can anybody, please, tell me how to do it using this sync method?

This is probably not possible at all using any of the tools available.
These tools only support downloading the latest snapshot to get you up
to date. Additionally, most mirrors only keep snapshots of the last 7
days or so, so it would take some (possibly futile) effort to find a
snapshot of the date you need.

The only option, as far as I ca nsee, is to migrate your portage tree
to git, where you can specify a commit that you want to sync to from
the wanted day.

The better option would of course be to figure out why your tensorflow
compiles keeps failing, if that is possible.

Regards,
Arve



Re: [gentoo-user] yt-dlp config file different than old youtube-dl

2022-01-08 Thread Arve Barsnes
On Sat, 8 Jan 2022 at 06:27, Dale  wrote:
> The part it really doesn't like seems to be this:
>
> SyntaxError: Invalid filter specification 'ext=webm,ext=mp4'
>
> Can someone tell me what the new and improved yt-dlp wants in its conf
> file to try for mp4 first and then webm?  Nothing I tried seems to
> work.  :-(

I have never used extension filtering before, but it might not be
possible to specify a list, so then you need to make one extra format
in your syntax. This worked for me:

--format 
'bv*[ext=webm][width<=?1280]+bestaudio/bv*[ext=mp4][width<=?1280]+bestaudio/best'

Regards,
Arve



Re: [gentoo-user] [ebuild R ] for USERLAND="(-GNU%*)" ELIBC="(-FreeBSD%)" and KERNEL="(-linux%)"

2022-01-06 Thread Arve Barsnes
On Thu, 6 Jan 2022 at 12:51, hitachi303  wrote:
> When running my updates for some days I have received numerous rebuilds.
> Have I missed some changes in the handling of use flags? I think those
> are related to use flags, are they? Do I have to set them somewhere?

These flags have been removed, which is why you're getting the
rebuilds. I noticed a bit of discussion about the kernel flag on the
-dev list at least. This should calm down pretty soon I expect.

Regards,
Arve



Re: [gentoo-user] Apparently 2.4 is not >= 2.2?

2021-12-21 Thread Arve Barsnes
On Wed, 22 Dec 2021 at 01:28, Steven Lembark  wrote:
>
> Before I spend a lot of time backtracking all of this...
>
> Q: Are either of these issues well-known pathologies of emerge?

Python target troubles are indeed common around major python version
upgrades, which we've had quite a few of lately.

In your case, I would try running a depclean, dev-python/pytest-runner
does not seem to be in the tree at all, so complaining about not
finding a newer version satisfying the wanted python targets makes
sense there. Removing outdated packages is almost always helpful in
these instances.

Regards,
Arve



Re: [gentoo-user] updating to udev

2021-12-19 Thread Arve Barsnes
On Sun, 19 Dec 2021 at 17:36,  wrote:
>
> Updating 3-months old system.
> What should I watch for when it comes to updating from eudev to udev
>
> from the news file:
> "If you DO NOT want the "predictable interface naming" of newer versions
> of udev and instead prefer the old style (e.g. "eth0"), there are several
> options available."
>
> my interface is: enp4s0
> so I assume it will become: eth0  after upgrade, changing the name via 
> "rc-update" will be necessary.

You are misreading that a bit. You will need to take an active action
to make it register as eth0 or similar. Your interface will stay as
enp4s0 on both eudev and udev.

Regards,
Arve



Re: [gentoo-user] KDE upgrade dependency problem

2021-12-11 Thread Arve Barsnes
On Sat, 11 Dec 2021 at 02:09, Jack  wrote:
> The line from portage is:
>(kde-frameworks/kglobalaccel-5.85.0-r1:5/5.85::gentoo, installed)
> USE="-debug -doc -nls -test" ABI_X86="(64)" pulled in by
>  >=kde-frameworks/kglobalaccel-5.82.0:5/5.85= required by
> (kde-plasma/kwin-5.22.5:5/5::gentoo, installed) USE="caps handbook
> plasma -accessibility -debug -gles2-only -multimedia -screencast -test"
> ABI_X86="(64)"

Feels like there should be more output that would explain this,
nothing in this output claims that this dependency would not be
satisfied by the upgrade. Please post more if you can.

Cheers,
Arve



Re: [gentoo-user] x11-base/xorg-server does not want to update

2021-12-03 Thread Arve Barsnes
On Fri, 3 Dec 2021 at 17:36, Dan Johansson  wrote:
> If I check the dependencies listed (kde-plasma/kwin,
> x11-drivers/xf86-video-amdgpu, x11-drivers/xf86-input-evdev,
> x11-drivers/xf86-video-ati, x11-drivers/xf86-input-libinput) I can not
> see any dependencies "blocking" the 1.20.13-r1 release.
>
> Have I missed something obvious or is my "logic" flawed?

kde-plasma/kwin-5.22.5 requires either x11-base/xwayland or xorg with
the wayland flag. The wayland flag does not exist on the newer xorg
version. The newer version of kwin fixes this dependency. If you run
stable and can't upgrade kwin, you could manually install xwayland to
satisfy the requirements for kwin and allow the xorg update.

Regards,
Arve



Re: [gentoo-user] eudev/udev changeover: a warning to Linode customers

2021-12-01 Thread Arve Barsnes
On Wed, 1 Dec 2021 at 20:28, Rich Freeman  wrote:
> I suspect they would have had similar issues with other distros, but
> that would have been years ago when udev made the change and eudev
> decided not to merge it.  That dates to around the time eudev started.

I have been running eudev for as long as it has existed, and have also
been using the predictable interface names more or less since they
were introduced. The eudev ebuild also shows a message about this
every single time you emerge it (with ewarn messages in pkg_pretend).
This was apparently available in eudev within a month of the change in
systemd. No one should be surprised by this.

Cheers,
Arve



Re: [gentoo-user] world update problem again

2021-11-30 Thread Arve Barsnes
On Tue, 30 Nov 2021 at 14:20, John Covici  wrote:
>
> Hi.  So, on my latest attempt at a world update today, I am getting a
> crazy problem with libpng, with some packages insisting on the use
> flag -apng (portage made me put it in), but other packages insisting
> on the use flag apng.
>
> Thanks in advance for any suggestions.

That is a direct conflict between chromium and firefox/thunderbird.
You can avoid it by removing the system-png flag from chromium.

Regards,
Arve



Re: [gentoo-user] Gordian knot systemd / hwids

2021-11-29 Thread Arve Barsnes
On Mon, 29 Nov 2021 at 16:11, Helmut Jarausch  wrote:
>
> Hi
> systemd-249.6-r1  conflicts with sys-apps/hwids[udev]
>
> But when I remove the udev use flag,
> emerge sys-apps/hwids gives
>
>The following REQUIRED_USE flag constraints are unsatisfied:
>  systemd? ( udev )
>
>
> So, I would have to remove sys-apps/systemd-249.6 first.
> Is it save to
> emerge -C sys-apps/systemd
>
> ?
> Thanks for a hint,

It seems like systems-249.6-r1 has removed support for hwids. There
are references in the ebuild to systemd-hwdb, so I guess they have
their own version. You need to remove the systemd USE flag from hwids
to solve your knot.

Regards,
Arve



Re: [gentoo-user] Git change logs

2021-11-29 Thread Arve Barsnes
On Mon, 29 Nov 2021 at 11:26, Peter Humphrey  wrote:
> /var/db/repos/gentoo # git log sys-devel/gcc-11.2.1_p20211127
> fatal: ambiguous argument 'sys-devel/gcc-11.2.1_p20211127': unknown revision
> or path not in the working tree.
> Use '--' to separate paths from revisions, like this:
> 'git  [...] -- [...]'
>
> So I did that, but whatever I tried returned 'bad revision'. What's the proper
> syntax?

It lists the syntax right there. I don't sync with git, so I can't
check this with my repo, but it seems like you need to refer to an
actual path or file, so one of these:
$ git log sys-devel/gcc
$ git log sys-devel/gcc/gcc-11.2.1_p20211127.ebuild

Regards,
Arve



Re: [gentoo-user] opencv problem

2021-11-25 Thread Arve Barsnes
On Thu, 25 Nov 2021 at 11:10, Jacques Montier  wrote:
> media-libs/opencv-4.5.2-r3::gentoo (Change USE: +contribdnn, this change 
> violates use flag constraints defined by media-libs/opencv-4.5.2-r3: 
> 'cpu_flags_x86_avx2? ( cpu_flags_x86_f16c ) cpu_flags_x86_f16c? ( 
> cpu_flags_x86_avx ) cuda? ( contrib tesseract? ( opencl ) ) dnnsamples? ( 
> examples ) gflags? ( contrib ) glog? ( contrib ) contribcvv? ( contrib qt5 ) 
> contribdnn? ( contrib ) contribfreetype? ( contrib ) contribhdf? ( contrib ) 
> contribovis? ( contrib ) contribsfm? ( contrib eigen gflags glog ) 
> contribxfeatures2d? ( contrib download ) examples? ( contribdnn ) java? ( 
> python ) opengl? ( qt5 ) python? ( any-of ( python_targets_python3_8 
> python_targets_python3_9 ) ) tesseract? ( contrib ) at-most-one-of ( gtk3 qt5 
> )')
>
> Changing the contribdnn use flag does not solve the problem.

This says that activating the contribdnn flag also needs the contrib
flag to be activated. Hard to give any direct advice without knowing
what you are trying to do. On my computers I don't install opencv, so
the easiest solution if you don't need it is to remove the opencv flag
from any packages you have installed.

Regards,
Arve



Re: [gentoo-user] Suggestions for NAS appliance?

2021-11-10 Thread Arve Barsnes
On Thu, 11 Nov 2021 at 03:48, Alan Grimes  wrote:
>
> Hey, my old NAS box croaked the other day. I had to spend $400 ond
> hardware and software to recover my data but the issue now is finding a
> good new NAS solution.
>
> Use is basically media server + backup provider.
>
> I was happy with my old Netgear ReadyNAS idiot-proof box until it died.
> Any experience with products on the market?

I have good experience with both QNAP and Synology boxes, running both
right now. I run regular HDD's in them, and have had them fail on both
systems, but have never had to restore data from online backup, as
their redundancy works very well (some sort of RAID solution).

Regards,
Arve



  1   2   3   >