Mailinglist Archive: opensuse-buildservice (74 mails)

< Previous Next >
Re: [opensuse-buildservice] python3 macros broken on CentOS_7
Seems to me you are maybe affected by:

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:
%if 0%{?rhel_version} || 0%{?centos_version}
Substitute: python3 python34
(and a lot of other substitutions)

Do you really need to force 3.4 for your packages?

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:

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.


Julio González Gil
Release Engineer, SUSE Manager and Uyuni
< Previous Next >
Follow Ups