Hi Robert,Thanks for the reply.I have tried this but unfortunately it doesn't solve the problem.While it provides a '/usr/bin/python' file, it doesn't solve the problem of providing a package which has the required dependency.
Hi Vince,I could force the rpm installation, but was hoping to get the WeeWX rpm file fixed since this will be an ongoing issue.
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/9e391add-0fc0-4181-91ef-25d422cb3cec%40googlegroups.com.
On 28 May 2020, at 22:13, Tom Keffer = wrote:
As per Vince's request...
-tk
---------- Forwarded message ---------
From: vince
Date: Thu, May 28, 2020 at 7:06 PM
Subject: Private message regarding: [weewx-user] Re: Broken python dependency with CentOS 8
To: Tom Keffer
On Thursday, May 28, 2020 at 6:58:59 PM UTC-7, Tom Keffer wrote:
Could one of you two file an issue so we can track this? If we can't make a package that "just installs," there should be at least some documentation telling a user what to do.
If he doesn't do so, I'll get to it this week.
I took a pass at hacking on Matthew's spec file, but had an epic fail, so I cooked up a quick interim fake-it-out rpm for the user.
It looks from the spec file that he's building everything on centos7 which might be where things are getting whacko. I built mine in a centos7 docker container just in case, but this is another one of those places where a bunch'o'containers might helps us work these kinds of os issues. Worth a thought.
(if you can forward this to Matthew, I'd appreciate it - can't find a way to add a cc in reply-via-email in the google gui)
however, there *are* bld_deps that are python2:%define bld_deps python, python-configobjare these somehow getting propagated into the rpm itself?
[root@320c68ef1804 /]# rpm -qp --requires weewx-4.1.0-1.el8.noarch.rpmwarning: weewx-4.1.0-1.el8.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 15306a67: NOKEY/bin/sh/bin/sh/bin/sh/bin/sh/usr/bin/env/usr/bin/perl/usr/bin/python
config(weewx) = 4.1.0-1.el8perl(strict)python3python3-configobjpython3-pillowpython3-pyserialpython3-pyusbpython3-setuptoolsrpmlib(CompressedFileNames) <= 3.0.4-1rpmlib(FileDigests) <= 4.6.0-1rpmlib(PartialHardlinkSets) <= 4.0.4-1rpmlib(PayloadFilesHavePrefix) <= 4.0-1rpmlib(PayloadIsXz) <= 5.2-1
[root@320c68ef1804 /]# rpm -qp --provides weewx-4.1.0-1.el8.noarch.rpmwarning: weewx-4.1.0-1.el8.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 15306a67: NOKEYconfig(weewx) = 4.1.0-1.el8weewx = 4.1.0-1.el8
I'll open an issue on this one this afternoon and provide some updates there, if that's ok with Tom+Matthew...
On Friday, May 29, 2020 at 11:32:47 AM UTC+9:30, vince wrote:Thanks for that Vince, i'll give it a go and get back to you.I understand people volunteer to do this stuff and certainly wasn't expecting an immediate fix.