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

2022-01-09 Thread Dale
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. 
This is just one example of what I get. 


root@fireball / # emerge -auDN world

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

Calculating dependencies... done!
[ebuild  N ] dev-lang/rust-bin-1.53.0:stable::gentoo  USE="-clippy
-doc (-prefix) -rls -rustfmt -verify-sig" ABI_X86="32 (64) (-x32)"
CPU_FLAGS_X86="sse2" 358,655 KiB
[ebuild UD ] virtual/rust-1.53.0-r1::gentoo [1.55.0::gentoo]
USE="-rustfmt" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild U  ] dev-lang/rust-1.56.1:stable/1.56::gentoo
[1.55.0:stable/1.55::gentoo] USE="-clippy -debug -doc (-miri) (-nightly)
(-parallel-compiler) -rls -rust-src% -rustfmt (-system-bootstrap)
(-system-llvm) -test -verify-sig -wasm" ABI_X86="32 (64) (-x32)"
CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -AVR -BPF
-Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ
-WebAssembly -XCore" 477,539 KiB
[ebuild U  ] virtual/rust-1.56.1::gentoo [1.55.0::gentoo]
USE="-rustfmt" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 4 packages (2 upgrades, 1 downgrade, 1 new), Size of downloads:
836,193 KiB

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

virtual/rust:0

  (virtual/rust-1.56.1:0/0::gentoo, ebuild scheduled for merge)
USE="-rustfmt" ABI_X86="32 (64) (-x32)" pulled in by
    =virtual/rust-1.56.1 required by
(www-client/firefox-95.0.1-r1:0/95::gentoo, installed) USE="clang dbus
gmp-autoupdate openh264 -debug -eme-free -geckodriver -hardened -hwaccel
-jack -lto -pgo -pulseaudio -screencast (-selinux) -sndio (-system-av1)
-system-harfbuzz -system-icu -system-jpeg -system-libevent
-system-libvpx -system-png -system-webp -wayland -wifi" ABI_X86="(64)"
L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia
-cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES
-es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb
-hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk
-mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sco
-si -sk -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz
-vi -xh -zh-CN -zh-TW"
    ^
^^  






























 

Re: [gentoo-user] OT: whats a good laptop for gentoo these days?

2022-01-09 Thread Lee K
On Mon, Jan 10, 2022 at 12:59:09AM +0100, Marco Rebhan wrote:
> Take a look at the Framework laptop if you value repairability and 
> customizability! I don't have one myself (yet, it's going to be my next 
> laptop though), but there seems to be great Linux support and an active 
> Linux support community.
> https://frame.work/blog/linux-on-the-framework-laptop
> 
> -Marco


I've had a good experience with AVADirect. They also have very good online
reviews. They will tell you if a particular laptop is compatible with linux,
and will even install Ubuntu if you request. They use mainly rebranded
Clevo's (made in Taiwan I believe).



Re: [gentoo-user] What is the difference between emerge's --changed-deps=y and @changed-deps?

2022-01-09 Thread Lee K
On Mon, Jan 10, 2022 at 01:59:13AM +0100, Morgan Wesström wrote:
> On a freshly updated system (emerge -uDN @world):
> 
> "emerge @changed-deps" wants to reinstall 0 packages.
> 
> "emerge -u --changed-deps=y" wants to reinstall 24 packages.
> 
> "emerge -uD --changed-deps=y" wants to reinstall 181 packages.
> 
> A couple of years ago there was a build breakage in Portage because, as I 
> understood it at the time, some developer changed the dependencies in an 
> existing ebuild without bumping its revision level. The solution was to use 
> --changed-deps=y to catch these occurrences and I've been using it in my 
> regular update routine since then. But as you can see in the third example 
> above, it usually wants to reinstall hundreds of packages that doesn't have 
> any 
> updated versions and I'm wondering if this is working as intended. I have a 
> hard time believing that gentoo devs are pushing changes to existing ebuilds 
> in 
> such numbers on a regular basis without bumping the revision level.
> 
> Some time ago I became aware that Portage now has a @changed-deps set, which 
> I 
> assumed was accomplishing the same thing, but it doesn't produce the same 
> result as --changed-deps=y - usually just a dozen reinstalls or so.
> 
> Can someone please elaborate on what's going on here, what the difference is 
> between --changed-deps=y and @changed-deps, if that difference is intended 
> and 
> what the recommended update procedure is these days to catch these and other 
> kinds of inconsistencies in Portage?
> 
> Regards
> Morgan

Don't know if it's relevant or not but recently upstream deprecated the
"KERNEL" USE flag, resulting in many rebuilds for packages.



[gentoo-user] What is the difference between emerge's --changed-deps=y and @changed-deps?

2022-01-09 Thread Morgan Wesström

On a freshly updated system (emerge -uDN @world):

"emerge @changed-deps" wants to reinstall 0 packages.

"emerge -u --changed-deps=y" wants to reinstall 24 packages.

"emerge -uD --changed-deps=y" wants to reinstall 181 packages.

A couple of years ago there was a build breakage in Portage because, as I 
understood it at the time, some developer changed the dependencies in an 
existing ebuild without bumping its revision level. The solution was to use 
--changed-deps=y to catch these occurrences and I've been using it in my 
regular update routine since then. But as you can see in the third example 
above, it usually wants to reinstall hundreds of packages that doesn't have any 
updated versions and I'm wondering if this is working as intended. I have a 
hard time believing that gentoo devs are pushing changes to existing ebuilds in 
such numbers on a regular basis without bumping the revision level.


Some time ago I became aware that Portage now has a @changed-deps set, which I 
assumed was accomplishing the same thing, but it doesn't produce the same 
result as --changed-deps=y - usually just a dozen reinstalls or so.


Can someone please elaborate on what's going on here, what the difference is 
between --changed-deps=y and @changed-deps, if that difference is intended and 
what the recommended update procedure is these days to catch these and other 
kinds of inconsistencies in Portage?


Regards
Morgan




Re: [gentoo-user] OT: whats a good laptop for gentoo these days?

2022-01-09 Thread William Kenworthy



On 10/1/22 00:26, Jack wrote:

On 1/9/22 07:49, William Kenworthy wrote:
My MS surface pro4 has died (swelling battery has popped the screen - 
known problem) so I am looking for a better replacement. I bought it 
new years ago but it only got good Linux support (touchscreen etc.) 
in the last couple of years so its been a bit frustrating.


So the question is - whats a good replacement?  Criteria is good 
battery life, can dual boot windows (this is my only windows machine 
these days and there are still some cases - Logitech harmony remote 
for one) and gentoo with everything working/supported.  I do like the 
tablet with detachable physical keyboard design but I mostly use it 
with keyboard attached.  And non-microsoft hardware is preferred (the 
sp4 failure is a design issue for which MS suffered a class action 
lawsuit to get them to honour the warranty - I don't want a repeat)


BillK


Do you really need/want dual boot, or would Windows in a VM work?

No, has to be a hardware install.  Trying to do usb flashing using vm's 
(which I have) has not worked well. (logitech harmony, bluefin, ...)


BillK





Re: [gentoo-user] Re: tensorflow-2.5.0-r1 compilation failed

2022-01-09 Thread gevisz
пн, 10 янв. 2022 г. в 01:29, gevisz :
>
> вс, 9 янв. 2022 г. в 16:52, Mark Knecht :
> >
> > On Sun, Jan 9, 2022 at 3:59 AM gevisz  wrote:
> > >
> > > вс, 21 нояб. 2021 г. в 17:12, Mark Knecht :
> > > >
> > > > Congrats!
> > >
> > > Thank you. However, it was not for long. On 30-12-2021 recompilation
> > > of the same tensorflow-2.7.0 because of some changed dependencies
> > > failed with the same f**ng "Bazel failed" error as before.
> > >
> > > So, I am currently going to degrade my Gentoo system to the state it
> > > was in on 12-12-2021, when its last update was successful and froze it
> > > forever.
> > >
> > > The problem is that I do not know how to do it but I am going to post
> > > this question as a separate thread. (I am using webrsync method.)
> > >
> >
> > Sorry for the problems. I saw your other thread about downgrading
> > Gentoo. I agree with the other responses you got there that Gentoo, in
> > general, does not support standing still much less going backward.
> >
> > I will offer what will probably not be a popular comment but my
> > opinion is Gentoo is exactly the wrong sort of distribution for doing
> > work in tensorflow. With all of it's updates, limited testing of
> > packages, extreme amounts of code building, and not being a distro
> > that the official tensorflow folks even verify on, it's just too hard.
> > (And a contributing factor to how I moved away in the beginning.)
> >
> > My thought is that you might create a 20.04 LTS Ubuntu VM (or possibly
> > an LXC container) running whatever your desktop flavor of Gentoo is -
> > I run Kubuntu - and just run tensorflow in the VM. You won't easily
> > get GPU support unless you deal with passthrough, but the software
> > will just work and you won't spend time dealing with building code
> > which can be spent coding tensorflow.
> >
> > If you insist on running in Gentoo consider the LXD container running
> > an older rev of Gentoo. (If you can find one) Get it working, if you
> > can, and then never update it.
> >
> > lxc image list images: gentoo
> >
> > There are openrc and systemd versions available, but a Kubuntu stable
> > container would more likely to 'just work' IMO.
>
> Thank you for your reply, Mark.
>
> Unfortunately, you missed my previous message in this thread
> where I wrote that I do have Ubuntu 20.04 on the same computer.

Correction:

> However, tensorflow fails to run on it because it is compiled
> to be inconsistent with my videocard. So, Gentoo is my only option
> for this hardware.



Re: [gentoo-user] Re: tensorflow-2.5.0-r1 compilation failed

2022-01-09 Thread gevisz
вс, 9 янв. 2022 г. в 16:52, Mark Knecht :
>
> On Sun, Jan 9, 2022 at 3:59 AM gevisz  wrote:
> >
> > вс, 21 нояб. 2021 г. в 17:12, Mark Knecht :
> > >
> > > Congrats!
> >
> > Thank you. However, it was not for long. On 30-12-2021 recompilation
> > of the same tensorflow-2.7.0 because of some changed dependencies
> > failed with the same f**ng "Bazel failed" error as before.
> >
> > So, I am currently going to degrade my Gentoo system to the state it
> > was in on 12-12-2021, when its last update was successful and froze it
> > forever.
> >
> > The problem is that I do not know how to do it but I am going to post
> > this question as a separate thread. (I am using webrsync method.)
> >
>
> Sorry for the problems. I saw your other thread about downgrading
> Gentoo. I agree with the other responses you got there that Gentoo, in
> general, does not support standing still much less going backward.
>
> I will offer what will probably not be a popular comment but my
> opinion is Gentoo is exactly the wrong sort of distribution for doing
> work in tensorflow. With all of it's updates, limited testing of
> packages, extreme amounts of code building, and not being a distro
> that the official tensorflow folks even verify on, it's just too hard.
> (And a contributing factor to how I moved away in the beginning.)
>
> My thought is that you might create a 20.04 LTS Ubuntu VM (or possibly
> an LXC container) running whatever your desktop flavor of Gentoo is -
> I run Kubuntu - and just run tensorflow in the VM. You won't easily
> get GPU support unless you deal with passthrough, but the software
> will just work and you won't spend time dealing with building code
> which can be spent coding tensorflow.
>
> If you insist on running in Gentoo consider the LXD container running
> an older rev of Gentoo. (If you can find one) Get it working, if you
> can, and then never update it.
>
> lxc image list images: gentoo
>
> There are openrc and systemd versions available, but a Kubuntu stable
> container would more likely to 'just work' IMO.

Thank you for your reply, Mark.

Unfortunately, you missed my previous message in this thread
where I wrote that I do have Ubuntu 20.04 on the same computer.
However, tensorflow fails to run on it because it is not compiled
to be inconsistent with my videocard. So, Gentoo is my only option
for this hardware.



[gentoo-user] Re: Portage detects fake "world file problems" and packages that don't exist

2022-01-09 Thread Nikos Chantziaras

On 09/01/2022 12:00, Neil Bothwick wrote:

On Sat, 8 Jan 2022 22:44:08 +0200, Nikos Chantziaras wrote:


emerge -auDU @world

!!! Problems have been detected with your world file
!!! Please run emaint --check world


!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
media-sound/pavucontrol media-sound/pulseeffects sys-block/gparted

My world file is fine and "emaint --check world" doesn't find anything.


Have you edited your world file manually? I wonder if you could have
introduced some non-ASCII characters or changed line endings - something
that portage objects to but emaint doesn't.


I checked and there's nothing weird in there. I even deleted the world 
file, and then recreated it by doing "emerge --noreplace" all these 
packages. Portage then re-created the world file.


Same result.

I then spend some time trying to find the packages that cause the 
problem. I tracked it down to media-sound/pulseeffects. If I remove just 
that one package from the world file, then the error message is gone, 
but also "emerge -uDU @world" is now much faster.


This package is probably triggering a portage bug.




Re: [gentoo-user] Portage detects fake "world file problems" and packages that don't exist

2022-01-09 Thread Peter Humphrey
On Sunday, 9 January 2022 10:00:52 GMT Neil Bothwick wrote:

> Top Oxymorons Number 19: Passive aggression

> Top Oxymorons Number 20: Emotional intelligence.


-- 
Regards,
Peter.






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

2022-01-09 Thread Neil Bothwick
On Sun, 9 Jan 2022 14:46:17 +, Wol wrote:

> But in there it has the line(s)
> 
> =package.version ~amd64
> 
> I've deliberately used the "=" so for it, and every package it depends 
> on, that version will be accepted. Aiui, if the stable version goes 
> above that it will then upgrade to the stable version, so that my
> system will be pretty much just stable packages.

I'd use ~ instead of = so it will accept -r1, -r2, etc. variants of that
version, to pick up any bug fixes. Once one of those variants, or a
higher version, becomes stable you'll be back on stable and
eix-test-obsolete will let you know you can remove the entry.


-- 
Neil Bothwick

Quality control, n.:
  Assuring that the quality of a product does not get out of hand
   and add to the cost of its manufacture or design.


pgpTP7MU9eriK.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] OT: whats a good laptop for gentoo these days?

2022-01-09 Thread Jack

On 1/9/22 07:49, William Kenworthy wrote:
My MS surface pro4 has died (swelling battery has popped the screen - 
known problem) so I am looking for a better replacement. I bought it 
new years ago but it only got good Linux support (touchscreen etc.) in 
the last couple of years so its been a bit frustrating.


So the question is - whats a good replacement?  Criteria is good 
battery life, can dual boot windows (this is my only windows machine 
these days and there are still some cases - Logitech harmony remote 
for one) and gentoo with everything working/supported.  I do like the 
tablet with detachable physical keyboard design but I mostly use it 
with keyboard attached.  And non-microsoft hardware is preferred (the 
sp4 failure is a design issue for which MS suffered a class action 
lawsuit to get them to honour the warranty - I don't want a repeat)


BillK


Do you really need/want dual boot, or would Windows in a VM work?



Re: [gentoo-user] Re: tensorflow-2.5.0-r1 compilation failed

2022-01-09 Thread Mark Knecht
On Sun, Jan 9, 2022 at 3:59 AM gevisz  wrote:
>
> вс, 21 нояб. 2021 г. в 17:12, Mark Knecht :
> >
> > Congrats!
>
> Thank you. However, it was not for long. On 30-12-2021 recompilation
> of the same tensorflow-2.7.0 because of some changed dependencies
> failed with the same f**ng "Bazel failed" error as before.
>
> So, I am currently going to degrade my Gentoo system to the state it
> was in on 12-12-2021, when its last update was successful and froze it
> forever.
>
> The problem is that I do not know how to do it but I am going to post
> this question as a separate thread. (I am using webrsync method.)
>

Sorry for the problems. I saw your other thread about downgrading
Gentoo. I agree with the other responses you got there that Gentoo, in
general, does not support standing still much less going backward.

I will offer what will probably not be a popular comment but my
opinion is Gentoo is exactly the wrong sort of distribution for doing
work in tensorflow. With all of it's updates, limited testing of
packages, extreme amounts of code building, and not being a distro
that the official tensorflow folks even verify on, it's just too hard.
(And a contributing factor to how I moved away in the beginning.)

My thought is that you might create a 20.04 LTS Ubuntu VM (or possibly
an LXC container) running whatever your desktop flavor of Gentoo is -
I run Kubuntu - and just run tensorflow in the VM. You won't easily
get GPU support unless you deal with passthrough, but the software
will just work and you won't spend time dealing with building code
which can be spent coding tensorflow.

If you insist on running in Gentoo consider the LXD container running
an older rev of Gentoo. (If you can find one) Get it working, if you
can, and then never update it.

lxc image list images: gentoo

There are openrc and systemd versions available, but a Kubuntu stable
container would more likely to 'just work' IMO.

Good luck,
Mark



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

2022-01-09 Thread Wol




On 09/01/2022 13:39, Dale wrote:

As a starting point, check the ebuild and see what all packages are
listed there that it depends on.  Put the needed entries in package.mask
and then use your world upgrade command plus -p to see what emerge wants
to upgrade.  Keep adding until it is reporting nothing to upgrade.  The
packages in the ebuild should help save some time.  I can't think of a
easier way to do it.  Someone else may have ideas tho.  Oh, don't forget
the ">=" signs and to specify versions.  Can't recall if it matters
which symbol comes first.


Or do you want to use package.accept_keywords

I had a package that was in testing, so I've ended up creating a file in 
there called - I think the package was avidemux so that's what it's 
called ...


But in there it has the line(s)

=package.version ~amd64

I've deliberately used the "=" so for it, and every package it depends 
on, that version will be accepted. Aiui, if the stable version goes 
above that it will then upgrade to the stable version, so that my system 
will be pretty much just stable packages.


I also made the mistake of doing

ACCEPT_KEYWORDS="~amd64" emerge blah blah ...

which upgraded glibc! So now I need to configure this to keep the 
current version of glibc and wait till the stable version goes past.


Cheers,
Wol



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

2022-01-09 Thread gevisz
вс, 9 янв. 2022 г. в 15:40, Dale :
>
> gevisz wrote:
> > вс, 9 янв. 2022 г. в 14:43, Dale :
> >> gevisz wrote:
> >>> вс, 9 янв. 2022 г. в 14:08, 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 "emaint -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 can see, is to migrate your portage tree
>  to git, where you can specify a commit that you want to sync to from
>  the wanted day.
> >>> It is a pity, but thank you for the answer.
> >> I'm not sure if I'm understanding completely the problem here but
> >> thought I'd suggest something.  Can you not just mask newer versions of
> >> the package so emerge won't update it until you are ready?  I do that
> >> sometimes here.  I've did it with smplayer at one point because some
> >> changes broke things for me.  I kept it from upgrading for months until
> >> things got fixed.  I then removed the mask, while keeping the old ebuild
> >> and even a binary of the package, and allowed emerge to upgrade
> >> smplayer.  At that point, things worked for me that didn't before.
> >>
> >> The only downside to this, things your package depends on may go past
> >> what your package supports and you run into issues.  As the other person
> >> said, it's best to figure out why your package fails and fix that, then
> >> you can worry about new problems.  ;-)  Masking the newer version may
> >> work at least in the meantime though.  Give you time to sort out the 
> >> failure.
> > Thank you for your reply, Dale.
> >
> > Yes, masking some new package can work in this case.
> >
> > However, it is not so easy as it may seem because it is not the new
> > version of tensorflow that I should mask in my case as on the day
> > when the tensorflow recompilation failed its version remained the same
> > and only some of its dependencies were supposed to be upgraded.
> >
> > Of course, I may try this approach. However, tensorflow is not
> > considered stable in gentoo tree and it has a lot of dependencies
> > that are also not considered stable and should be unmasked.
> >
> > All this leads to a large number of possible choices on
> > which packages to mask/unmask.
> >
> > So, playing with this is like playing in a casino with about
> > 4 hours of compilation for each bet.
>
> As a starting point, check the ebuild and see what all packages are
> listed there that it depends on.  Put the needed entries in package.mask
> and then use your world upgrade command plus -p to see what emerge wants
> to upgrade.  Keep adding until it is reporting nothing to upgrade.  The
> packages in the ebuild should help save some time.  I can't think of an
> easier way to do it.  Someone else may have ideas thogh.  Oh, don't forget
> the ">=" signs and to specify versions.  Can't recall if it matters
> which symbol comes first.

Thank you. I probably should also look into the emerge logs to see
which of the tensorflow dependencies was updated the last time,
when its recompilation failed.



Re: [gentoo-user] OT: whats a good laptop for gentoo these days?

2022-01-09 Thread Wols Lists

On 09/01/2022 12:49, William Kenworthy wrote:
My MS surface pro4 has died (swelling battery has popped the screen - 
known problem) so I am looking for a better replacement. I bought it new 
years ago but it only got good Linux support (touchscreen etc.) in the 
last couple of years so its been a bit frustrating.


So the question is - whats a good replacement?  Criteria is good battery 
life, can dual boot windows (this is my only windows machine these days 
and there are still some cases - Logitech harmony remote for one) and 
gentoo with everything working/supported.  I do like the tablet with 
detachable physical keyboard design but I mostly use it with keyboard 
attached.  And non-microsoft hardware is preferred (the sp4 failure is a 
design issue for which MS suffered a class action lawsuit to get them to 
honour the warranty - I don't want a repeat)


BillK


I've bought a laptop off these people ...


https://junocomputers.com/product-category/laptops/

They're UK or US but I guess they probably can ship to you. I bought the 
NyX 14 v2 or similar for my wife (weight was the primary concern, at 
1.2kg her previous laptop was heavy, this added 2" on the screen for 
100g but was the lightest I could find that wasn't an astronomic price).


I'm looking at the NyX 15 AMD v2 for me, I want AMD and don't want more 
than a 15" screen. I've had a 17" - it's too big for a laptop. Luggable, 
maybe ... :-)


You can get a Windows Pro OEM licence pretty cheap off Amazon or 
wherever, I configured my wife's laptop as dual boot. However, it was 
some grief. Make sure you install linux first or you'll find the EFI 
partition is too small to multi-boot.


And whatever you choose make sure you investigate upping the spec, I 
think the difference between a 256GB or 512GB m2 was about £10 ...


Cheers,
Wol



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

2022-01-09 Thread Dale
gevisz wrote:
> вс, 9 янв. 2022 г. в 14:43, Dale :
>> gevisz wrote:
>>> вс, 9 янв. 2022 г. в 14:08, 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 "emaint -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 can see, is to migrate your portage tree
 to git, where you can specify a commit that you want to sync to from
 the wanted day.
>>> It is a pity, but thank you for the answer.
>> I'm not sure if I'm understanding completely the problem here but
>> thought I'd suggest something.  Can you not just mask newer versions of
>> the package so emerge won't update it until you are ready?  I do that
>> sometimes here.  I've did it with smplayer at one point because some
>> changes broke things for me.  I kept it from upgrading for months until
>> things got fixed.  I then removed the mask, while keeping the old ebuild
>> and even a binary of the package, and allowed emerge to upgrade
>> smplayer.  At that point, things worked for me that didn't before.
>>
>> The only downside to this, things your package depends on may go past
>> what your package supports and you run into issues.  As the other person
>> said, it's best to figure out why your package fails and fix that, then
>> you can worry about new problems.  ;-)  Masking the newer version may
>> work at least in the meantime though.  Give you time to sort out the failure.
> Thank you for your reply, Dale.
>
> Yes, masking some new package can work in this case.
>
> However, it is not so easy as it may seem because it is not the new
> version of tensorflow that I should mask in my case as on the day
> when the tensorflow recompilation failed its version remained the same
> and only some of its dependencies were supposed to be upgraded.
>
> Of course, I may try this approach. However, tensorflow is not
> considered stable in gentoo tree and it has a lot of dependencies
> that are also not considered stable and should be unmasked.
>
> All this leads to a large number of possible choices on
> which packages to mask/unmask.
>
> So, playing with this is like playing in a casino with about
> 4 hours of compilation for each bet.
>
>


As a starting point, check the ebuild and see what all packages are
listed there that it depends on.  Put the needed entries in package.mask
and then use your world upgrade command plus -p to see what emerge wants
to upgrade.  Keep adding until it is reporting nothing to upgrade.  The
packages in the ebuild should help save some time.  I can't think of a
easier way to do it.  Someone else may have ideas tho.  Oh, don't forget
the ">=" signs and to specify versions.  Can't recall if it matters
which symbol comes first. 

Hope that helps.

Dale

:-)  :-)



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

2022-01-09 Thread gevisz
вс, 9 янв. 2022 г. в 14:43, Dale :
>
> gevisz wrote:
> > вс, 9 янв. 2022 г. в 14:08, 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 "emaint -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 can see, is to migrate your portage tree
> >> to git, where you can specify a commit that you want to sync to from
> >> the wanted day.
> > It is a pity, but thank you for the answer.
>
> I'm not sure if I'm understanding completely the problem here but
> thought I'd suggest something.  Can you not just mask newer versions of
> the package so emerge won't update it until you are ready?  I do that
> sometimes here.  I've did it with smplayer at one point because some
> changes broke things for me.  I kept it from upgrading for months until
> things got fixed.  I then removed the mask, while keeping the old ebuild
> and even a binary of the package, and allowed emerge to upgrade
> smplayer.  At that point, things worked for me that didn't before.
>
> The only downside to this, things your package depends on may go past
> what your package supports and you run into issues.  As the other person
> said, it's best to figure out why your package fails and fix that, then
> you can worry about new problems.  ;-)  Masking the newer version may
> work at least in the meantime though.  Give you time to sort out the failure.

Thank you for your reply, Dale.

Yes, masking some new package can work in this case.

However, it is not so easy as it may seem because it is not the new
version of tensorflow that I should mask in my case as on the day
when the tensorflow recompilation failed its version remained the same
and only some of its dependencies were supposed to be upgraded.

Of course, I may try this approach. However, tensorflow is not
considered stable in gentoo tree and it has a lot of dependencies
that are also not considered stable and should be unmasked.

All this leads to a large number of possible choices on
which packages to mask/unmask.

So, playing with this is like playing in a casino with about
4 hours of compilation for each bet.



[gentoo-user] OT: whats a good laptop for gentoo these days?

2022-01-09 Thread William Kenworthy
My MS surface pro4 has died (swelling battery has popped the screen - 
known problem) so I am looking for a better replacement. I bought it new 
years ago but it only got good Linux support (touchscreen etc.) in the 
last couple of years so its been a bit frustrating.


So the question is - whats a good replacement?  Criteria is good battery 
life, can dual boot windows (this is my only windows machine these days 
and there are still some cases - Logitech harmony remote for one) and 
gentoo with everything working/supported.  I do like the tablet with 
detachable physical keyboard design but I mostly use it with keyboard 
attached.  And non-microsoft hardware is preferred (the sp4 failure is a 
design issue for which MS suffered a class action lawsuit to get them to 
honour the warranty - I don't want a repeat)


BillK





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

2022-01-09 Thread Dale
gevisz wrote:
> вс, 9 янв. 2022 г. в 14:08, 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 "emaint -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 can see, is to migrate your portage tree
>> to git, where you can specify a commit that you want to sync to from
>> the wanted day.
> It is a pity, but thank you for the answer.
>
>

I'm not sure if I'm understanding completely the problem here but
thought I'd suggest something.  Can you not just mask newer versions of
the package so emerge won't update it until you are ready?  I do that
sometimes here.  I've did it with smplayer at one point because some
changes broke things for me.  I kept it from upgrading for months until
things got fixed.  I then removed the mask, while keeping the old ebuild
and even a binary of the package, and allowed emerge to upgrade
smplayer.  At that point, things worked for me that didn't before.

The only downside to this, things your package depends on may go past
what your package supports and you run into issues.  As the other person
said, it's best to figure out why your package fails and fix that, then
you can worry about new problems.  ;-)  Masking the newer version may
work at least in the meantime tho.  Give you time to sort out the failure. 

Just a thought. 

Dale

:-)  :-) 



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

2022-01-09 Thread gevisz
вс, 9 янв. 2022 г. в 14:08, 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 "emaint -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 can see, is to migrate your portage tree
> to git, where you can specify a commit that you want to sync to from
> the wanted day.

It is a pity, but thank you for the answer.



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



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

2022-01-09 Thread gevisz
I constantly have problems with updating/recompiling tensorflow.
Sometimes, it compiles ok but most of the time it is not.
The last time when it failed to recompile was on 30-12-2021.
I reported this in the thread "tensorflow-2.5.0-r1 compilation failed"

So, I decided to degrade my Gentoo system to the state in which
it was on 12-12-2021, when my tensorflow was still ok, and froze it forever.

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?



Re: [gentoo-user] Re: tensorflow-2.5.0-r1 compilation failed

2022-01-09 Thread gevisz
вс, 21 нояб. 2021 г. в 17:12, Mark Knecht :
>
> Congrats!

Thank you. However, it was not for long. On 30-12-2021 recompilation
of the same tensorflow-2.7.0 because of some changed dependencies
failed with the same f**ng "Bazel failed" error as before.

So, I am currently going to degrade my Gentoo system to the state it
was in on 12-12-2021, when its last update was successful and froze it
forever.

The problem is that I do not know how to do it but I am going to post
this question as a separate thread. (I am using webrsync method.)



Re: [gentoo-user] Portage detects fake "world file problems" and packages that don't exist

2022-01-09 Thread Neil Bothwick
On Sat, 8 Jan 2022 22:44:08 +0200, Nikos Chantziaras wrote:

> This is weird. When doing:
> 
> emerge -auDU @world
> 
> Portage says:
> 
> 
> !!! Problems have been detected with your world file
> !!! Please run emaint --check world
> 
> 
> !!! Ebuilds for the following packages are either all
> !!! masked or don't exist:
> media-sound/pavucontrol media-sound/pulseeffects sys-block/gparted
> 
> Nothing to merge; quitting.
> 
> 
> My world file is fine and "emaint --check world" doesn't find anything. 
> Also, all these packages that portage claims are masked or don't exist 
> are not masked and they exist.

Have you edited your world file manually? I wonder if you could have
introduced some non-ASCII characters or changed line endings - something
that portage objects to but emaint doesn't. 

If that sounds like clutching at straws, it's because it is.


-- 
Neil Bothwick

Top Oxymorons Number 19: Passive aggression


pgpJ8aAanYTTw.pgp
Description: OpenPGP digital signature