View previous topic :: View next topic |
Author |
Message |
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9697 Location: almost Mile High in the USA
|
Posted: Fri Jan 15, 2021 6:19 am Post subject: net-wireless/chirp removed from portage - what do you do? |
|
|
I'm sort of stuck now. As a ham, net-wireless/chirp is kind of an important piece of software for me, have it installed, but now it's causing conflicts as python2_7 gets removed.
Currently the problem I'm seeing is that python is trying to update to 2.7.18-r5 and I get this block:
[blocks B ] <=dev-lang/python-exec-2.4.6-r1 ("<=dev-lang/python-exec-2.4.6-r1" is blocking dev-lang/python-2.7.18-r5)
Holding this and python-2.7.18-r5 packages back causes more problems...
What have people been doing to retain usage of chirp? Whole VM or chroot to work around it?
Is it possible to retain this software somehow and keep the rest of the system updated? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3667
|
Posted: Fri Jan 15, 2021 8:39 am Post subject: |
|
|
See bug 708304 |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2732
|
Posted: Fri Jan 15, 2021 9:00 am Post subject: |
|
|
Upstream seem to be willing to work on it, but sounds like it'll take a long time still.
porting away from python2 itself isn't so bad, but porting away from pygtk is terrible
If I needed it I'd go for a chroot or virtualenv if that works, rather than try to keep this working with portage. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9697 Location: almost Mile High in the USA
|
Posted: Fri Jan 15, 2021 3:54 pm Post subject: |
|
|
Right, it's been lastrited a while ago but it's still installed on my machine and well, I still need it. (Plus chirp has been warned to port to python 3 for 8 years...)
Unfortunately at this stage of the game, how does one create an image specifically for it? Anyone dealing with this situation now (or back when it was lastrited?)
I'm not sure I can "emerge --unmerge chirp" just yet, it's the only machine I have this installed and only way I can program my radio without painfully going through the front panel... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54407 Location: 56N 3W
|
Posted: Fri Jan 15, 2021 7:11 pm Post subject: |
|
|
eccerr0r,
Do an install in a chroot with an old stage3 and a portage snapshot that still has net-wireless/chirp.
Getting an old portage snapshot is easy. You checkout at a time/commit.
The old stage3 is harder.
git log -- net-wireless/chirp: | commit 3bcf928002389abb44b5e5aecefcd074b8a581ad
Author: Michał Górny <mgorny@gentoo.org>
Date: Mon Sep 21 08:03:02 2020 +0200
net-wireless/chirp: Remove last-rited pkg
Closes: https://bugs.gentoo.org/708304
Signed-off-by: Michał Górny <mgorny@gentoo.org> |
That's it being removed, so you want a prior commit, so its still there.
There is a July stage 3 at https://mirror.bytemark.co.uk/gentoo/releases/amd64/autobuilds/20200705T214503Z/ _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9697 Location: almost Mile High in the USA
|
Posted: Fri Jan 15, 2021 9:09 pm Post subject: |
|
|
What's annoying is that I would have to have to install pretty much all the X libraries as well... sheesh.
I wonder if flatpak is the route I have to go. I really wish that this is not the way that things are going but might have to go this way, though even flatpak is a lot of redundancy -- though not as much as a chroot... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9697 Location: almost Mile High in the USA
|
Posted: Sat Jan 16, 2021 4:31 pm Post subject: |
|
|
Hmm, will have to look into it, I'm sure danplanet already is kind of ticked he had to virtually completely rewrite chirp due to python, so that's worse than all the python problems I've been having... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Fri Jan 29, 2021 3:45 pm Post subject: |
|
|
And for the fun of it - your question of "what do you do?"
I have a system with Devuan Beowulf. Would update to testing (Chimaera) where there is this package available:
https://pkginfo.devuan.org/xsl-bin/policy-query.html?c=package&q=chirp
https://pkginfo.devuan.org/xsl-bin/package-query.html?c=package&q=chirp=1:20200227+py3+20200213-3
edit #1
And to have a Gentoo feeling on Debian based distros use Code: | apt-get --no-install-recommends | or hardwired in config file Code: | /etc/apt/apt.conf.d/99synaptic:1:APT::Install-Recommends "false";
|
edit #2
If you want to keep it on Gentoo. Update ebuild to fetch from mirror://debian/pool/main/c/chirp/chirp_20200227+py3+20200213.orig.tar.gz and http://deb.debian.org/pool/main/c/chirp/chirp_20200227+py3+20200213-3.debian.tar.xz. Apply patches and update DEPENDs and other needful changes. _________________ hear hear |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9697 Location: almost Mile High in the USA
|
Posted: Wed Sep 08, 2021 2:43 am Post subject: |
|
|
Well, I got another radio I need to program. So this has been rushed.
Looks like flatpak is the path that needs to be done so I can use the much better supported Py2 version, until Py3+WxPython is usable which may be never. Last git pull was still quite unstable.
(??? MB - emerge flatpak)
89MB - Platform.GL
9MB - Platform.VAAPI.Intel (hey... I thought I was running ATI)
2MB - Platform.openh264
193MB - General platform code.
20MB - com.danplanet.chirp
-------------------
313MB(+emerge flatpak) - total of potentially unsafe binaries I'm forced to download and install
Well this is still smaller than a full second chroot install...
Feel very soiled. Alas now I need to hack up a programming cable for this old Kenwood so I can transmit more watts than the Baofeng... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|