easybuild-easyblocks icon indicating copy to clipboard operation
easybuild-easyblocks copied to clipboard

tweak version regex in OpenSSL easyblock for compatiblity with Arch Linux

Open LukeLabrie opened this issue 2 years ago • 4 comments

see issue #2823 @ebknudsen

LukeLabrie avatar Nov 16 '22 13:11 LukeLabrie

@LukeLabrie: Tests failed in GitHub Actions, see https://github.com/easybuilders/easybuild-easyblocks/actions/runs/3479856236 Output from first failing test suite run:

ERROR: test_easyblock__home_runner_work_easybuild-easyblocks_easybuild-easyblocks_easybuild_easyblocks_o_openssl_wrapper (test.easyblocks.init_easyblocks.InitTest)
Test for initialisation of easyblock /home/runner/work/easybuild-easyblocks/easybuild-easyblocks/easybuild/easyblocks/o/openssl_wrapper.py
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/easyblocks/init_easyblocks.py", line 201, in innertest
    template_init_test(self, easyblock, **kwargs)
  File "test/easyblocks/init_easyblocks.py", line 172, in template_init_test
Log available at /tmp/eb-Pu1xJz/eb-b3kUrO/eb-tcxeio/eb-WqS_G2/easybuild-easyblocks-tests-cDggq8.log
    app = app_class(EasyConfig(self.eb_file))
  File "/tmp/runner/9b483afc9b4bd10b84441ef6003bb4b71777bff4/lib/python2.7/site-packages/easybuild/easyblocks/o/openssl_wrapper.py", line 267, in __init__
    raise EasyBuildError(err_msg, self.version, self.system_ssl['version'])
EasyBuildError: u"OpenSSL v1.1 headers not found in host system, but libraries for v1.1 are present. Install the development package of OpenSSL for your system or force building OpenSSL from source in EasyBuild by setting 'wrap_system_openssl = False' in the OpenSSL easyconfig."

======================================================================
ERROR: test_easyblock__home_runner_work_easybuild-easyblocks_easybuild-easyblocks_easybuild_easyblocks_o_openssl_wrapper (test.easyblocks.module.ModuleOnlyTest)
Test for using --module-only with easyblock /home/runner/work/easybuild-easyblocks/easybuild-easyblocks/easybuild/easyblocks/o/openssl_wrapper.py
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/easyblocks/module.py", line 403, in innertest
    template_module_only_test(self, easyblock, **kwargs)
  File "test/easyblocks/module.py", line 354, in template_module_only_test
    app = app_class(EasyConfig(self.eb_file))
  File "/tmp/runner/9b483afc9b4bd10b84441ef6003bb4b71777bff4/lib/python2.7/site-packages/easybuild/easyblocks/o/openssl_wrapper.py", line 267, in __init__
    raise EasyBuildError(err_msg, self.version, self.system_ssl['version'])
EasyBuildError: u"OpenSSL v1.1 headers not found in host system, but libraries for v1.1 are present. Install the development package of OpenSSL for your system or force building OpenSSL from source in EasyBuild by setting 'wrap_system_openssl = False' in the OpenSSL easyconfig."

----------------------------------------------------------------------
Ran 578 tests in 60.780s

FAILED (errors=2)
ERROR: Not all tests were successful.

bleep, bloop, I'm just a bot (boegelbot v20200716.01) Please talk to my owner @boegel if you notice you me acting stupid), or submit a pull request to https://github.com/boegel/boegelbot fix the problem.

boegelbot avatar Nov 17 '22 14:11 boegelbot

Hi Luke. Need any assistance with figuring this one out? Cheers Erik

On Wed, Nov 16, 2022, 14:41 Luke Labrie-Cleary @.***> wrote:

see issue #2823 https://github.com/easybuilders/easybuild-easyblocks/issues/2823 @ebknudsen https://github.com/ebknudsen

You can view, comment on, or merge this pull request online at:

https://github.com/easybuilders/easybuild-easyblocks/pull/2829 Commit Summary

File Changes

(1 file https://github.com/easybuilders/easybuild-easyblocks/pull/2829/files)

Patch Links:

  • https://github.com/easybuilders/easybuild-easyblocks/pull/2829.patch
  • https://github.com/easybuilders/easybuild-easyblocks/pull/2829.diff

— Reply to this email directly, view it on GitHub https://github.com/easybuilders/easybuild-easyblocks/pull/2829, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGQ7FBEJIUTHH5HI7ERPGLWITQA5ANCNFSM6AAAAAASCHYZYU . You are receiving this because you were mentioned.Message ID: @.***>

ebknudsen avatar Nov 23 '22 08:11 ebknudsen

@ebknudsen that would be great :) I will also take a look

LukeLabrie avatar Nov 23 '22 15:11 LukeLabrie

@LukeLabrie: Tests failed in GitHub Actions, see https://github.com/easybuilders/easybuild-easyblocks/actions/runs/4787819922 Output from first failing test suite run:

ERROR: test_easyblock__home_runner_work_easybuild-easyblocks_easybuild-easyblocks_easybuild_easyblocks_o_openssl_wrapper (test.easyblocks.init_easyblocks.InitTest)
Test for initialisation of easyblock /home/runner/work/easybuild-easyblocks/easybuild-easyblocks/easybuild/easyblocks/o/openssl_wrapper.py
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/easyblocks/init_easyblocks.py", line 201, in innertest
Log available at /tmp/eb-EYLENc/eb-p82CJk/eb-fPR_pC/eb-5iXd9a/easybuild-easyblocks-tests-D7BG08.log
    template_init_test(self, easyblock, **kwargs)
  File "test/easyblocks/init_easyblocks.py", line 172, in template_init_test
    app = app_class(EasyConfig(self.eb_file))
  File "/tmp/runner/8749f02636695854bec8c36ca244bee31efda335/lib/python2.7/site-packages/easybuild/easyblocks/o/openssl_wrapper.py", line 267, in __init__
    raise EasyBuildError(err_msg, self.version, self.system_ssl['version'])
EasyBuildError: u"OpenSSL v1.1 headers not found in host system, but libraries for v1.1 are present. Install the development package of OpenSSL for your system or force building OpenSSL from source in EasyBuild by setting 'wrap_system_openssl = False' in the OpenSSL easyconfig."

======================================================================
ERROR: test_easyblock__home_runner_work_easybuild-easyblocks_easybuild-easyblocks_easybuild_easyblocks_o_openssl_wrapper (test.easyblocks.module.ModuleOnlyTest)
Test for using --module-only with easyblock /home/runner/work/easybuild-easyblocks/easybuild-easyblocks/easybuild/easyblocks/o/openssl_wrapper.py
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/easyblocks/module.py", line 404, in innertest
    template_module_only_test(self, easyblock, **kwargs)
  File "test/easyblocks/module.py", line 355, in template_module_only_test
    app = app_class(EasyConfig(self.eb_file))
  File "/tmp/runner/8749f02636695854bec8c36ca244bee31efda335/lib/python2.7/site-packages/easybuild/easyblocks/o/openssl_wrapper.py", line 267, in __init__
    raise EasyBuildError(err_msg, self.version, self.system_ssl['version'])
EasyBuildError: u"OpenSSL v1.1 headers not found in host system, but libraries for v1.1 are present. Install the development package of OpenSSL for your system or force building OpenSSL from source in EasyBuild by setting 'wrap_system_openssl = False' in the OpenSSL easyconfig."

----------------------------------------------------------------------
Ran 580 tests in 67.743s

FAILED (errors=2)
ERROR: Not all tests were successful.

bleep, bloop, I'm just a bot (boegelbot v20200716.01) Please talk to my owner @boegel if you notice me acting stupid), or submit a pull request to https://github.com/boegel/boegelbot fix the problem.

boegelbot avatar May 10 '23 14:05 boegelbot