Mailinglist Archive: opensuse-buildservice (74 mails)

< Previous Next >
Re: [opensuse-buildservice] python3 macros broken on CentOS_7
On 09/05/2019 03.14, Julio González Gil wrote:
Seems to me you are maybe affected by:

Thanks! That was it. And in March they announced the final switch to 3.6:

I thought that the macros are wrong, and did not think of the
possibility that EPEL would actually change it's python version.

After a small timeframe (not determined how long yet), the macros will
change and python36
will be the main python3 in EPEL.
As at the prjconfig you are forcing python34, that could explain it:
Yeah, it is not so easy to get the specfiles compatible with openSUSE,
Fedora and CentOS as CentOS uses a different naming scheme for packages
and binaries.
If so, I am not 100% sure, but maybe if you define %python3_pkgversion at
the prjconfig to be 34, your problem will be fixed:

I now did it the other way round and switched the macros to Python 3.6,
but now RHEL_7 has a problem :/


On miércoles, 8 de mayo de 2019 19:20:02 (CEST) Sebix wrote:
Dear list,

On my CentOS_7 builds on the
%python3_sitelib/%python3_sitearch macros do not work anymore:

-bash-4.2$ rpmspec -E '%python3_sitelib'
sh: /usr/bin/python3.6: No such file or directory

-bash-4.2$ rpmspec -E '%python3_sitearch'
sh: /usr/bin/python3.6: No such file or directory

The correct binary would be python3.4

In the job history I see that there was a meta change at April 04, 2019
18:58 and the builds failed from this time on, e.g.:

I guess that this is a configuration error, but I am not sure where (and
by whom) this can be fixed.


< Previous Next >
Follow Ups