thoth-station / s2i-thoth

Thoth's addition to OpenShift's s2i Python builds to benefit from Thoth's recommendations in your application
GNU General Public License v3.0
6 stars 19 forks source link

Source build failing due to yaspin package latest version v1.5.0 #181

Closed harshad16 closed 3 years ago

harshad16 commented 3 years ago

Describe the bug

The package yaspin is breaking the builds-in system while doing a source build. https://github.com/thoth-station/s2i-thoth/blob/833507affd4907f45ebd000d6eec73c7c97189f6/ubi8-py38/requirements.txt#L589

Collecting yaspin==1.5.0
  Downloading yaspin-1.5.0-py2.py3-none-any.whl (27 kB)
Installing collected packages: yaspin
Successfully installed yaspin-1.5.0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  4649  100  4649    0     0  51087      0 --:--:-- --:--:-- --:--:-- 51087
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

cuda                                             15 MB/s | 937 kB     00:00
nvidia-ml                                       293 kB/s |  11 kB     00:00
Red Hat Universal Base Image 8 (RPMs) - BaseOS   11 MB/s | 785 kB     00:00
Red Hat Universal Base Image 8 (RPMs) - AppStre  67 MB/s | 7.4 MB     00:00
Red Hat Universal Base Image 8 (RPMs) - CodeRea 354 kB/s |  15 kB     00:00
Error:
 Problem 1: package perl-threads-1:2.21-2.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both perl-libs-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64 and perl-libs-4:5.26.3-419.el8.x86_64
  - cannot install the best update candidate for package perl-threads-1:2.21-2.el8.x86_64
  - cannot install the best update candidate for package perl-libs-4:5.26.3-419.el8.x86_64
 Problem 2: package perl-threads-shared-1.58-2.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both perl-libs-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64 and perl-libs-4:5.26.3-419.el8.x86_64
  - package perl-Errno-1.30-451.module+el8.3.0+6961+31ca2e7a.x86_64 requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed
  - cannot install the best update candidate for package perl-threads-shared-1.58-2.el8.x86_64
  - cannot install the best update candidate for package perl-Errno-1.28-419.el8.x86_64
  - package perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 is filtered out by modular filtering
 Problem 3: package perl-Unicode-Normalize-1.25-396.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both perl-libs-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64 and perl-libs-4:5.26.3-419.el8.x86_64
  - package perl-IO-1.40-451.module+el8.3.0+6961+31ca2e7a.x86_64 requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed
  - package perl-IO-1.40-451.module+el8.3.0+6961+31ca2e7a.x86_64 requires libperl.so.5.30()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package perl-Unicode-Normalize-1.25-396.el8.x86_64
  - cannot install the best update candidate for package perl-IO-1.38-419.el8.x86_64
  - package perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 is filtered out by modular filtering
 Problem 4: package perl-TermReadKey-2.37-7.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both perl-libs-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64 and perl-libs-4:5.26.3-419.el8.x86_64
  - package perl-interpreter-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64 requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed
  - package perl-interpreter-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64 requires libperl.so.5.30()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package perl-interpreter-4:5.26.3-419.el8.x86_64
  - cannot install the best update candidate for package perl-TermReadKey-2.37-7.el8.x86_64
  - package perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 is filtered out by modular filtering
 Problem 5: package perl-Storable-1:3.11-3.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both perl-libs-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64 and perl-libs-4:5.26.3-419.el8.x86_64
  - package perl-macros-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64 requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed
  - cannot install the best update candidate for package perl-macros-4:5.26.3-419.el8.x86_64
  - cannot install the best update candidate for package perl-Storable-1:3.11-3.el8.x86_64
  - package perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.x86_64 is filtered out by modular filtering

Even though this package is updated in the latest release of s2i-thoth v0.27.0, it is still affecting all the older versions of s2i-thoth. due to this : https://github.com/thoth-station/s2i-thoth/blob/833507affd4907f45ebd000d6eec73c7c97189f6/ubi8-py38/Dockerfile#L34

Actual behavior Latest updates should not break older stable versions.

harshad16 commented 3 years ago

This can be just a cluster issue, don't see it in some of the cluster.