Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make openssl depend on linux-headers #12217

Conversation

AndreyMlashkin
Copy link
Contributor

@AndreyMlashkin AndreyMlashkin commented Aug 14, 2022

Specify library name and version: openssl/1.1.1q

implements #12216

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the conan-center hook activated.

@ghost
Copy link

ghost commented Aug 14, 2022

I detected other pull requests that are modifying openssl/1.x.x recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@conan-center-bot

This comment has been minimized.

@AndreyMlashkin
Copy link
Contributor Author

@jgsogo seems to be a CI issue

@conan-center-bot
Copy link
Collaborator

Failure in build 2 (48efd653003eb2e6dcfb9f2cdae37c7f1e6d5891):

  • openssl/1.1.1q@:
    All packages built successfully! (All logs)

  • openssl/1.1.0l@:
    All packages built successfully! (All logs)

  • openssl/1.1.1p@:
    All packages built successfully! (All logs)

  • openssl/1.1.1o@:
    All packages built successfully! (All logs)

  • openssl/1.0.2u@:
    CI failed to create some packages (All logs)

    Logs for packageID 0b1b3f27ed642f9085bd5df72048335a41e039cc:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    openssl:shared=False
    
    [...]
        method(args[0][1:])
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/command.py", line 565, in install
        require_overrides=args.require_override)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/conan_api.py", line 93, in wrapper
        return f(api, *args, **kwargs)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/conan_api.py", line 567, in install_reference
        require_overrides=require_overrides)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/manager.py", line 84, in deps_install
        graph_lock, keep_build=keep_build)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/installer.py", line 318, in install
        graph_lock, remotes, build_mode, update)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/installer.py", line 458, in _build
        self._handle_node_cache(node, keep_build, processed_package_refs, remotes)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/installer.py", line 551, in _handle_node_cache
        pref = self._build_package(node, output, keep_build, remotes)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/installer.py", line 594, in _build_package
        pref = builder.build_package(node, keep_build, self._recorder, remotes)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/installer.py", line 230, in build_package
        prev = self._package(conanfile, pref, package_layout, conanfile_path)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/installer.py", line 171, in _package
        TXTGenerator(conanfile).content)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/generators/text.py", line 240, in content
        deps = DepCppTXT(cpp_info)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/generators/text.py", line 42, in __init__
        super(DepCppTXT, self).__init__(cpp_info)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/client/generators/text.py", line 22, in __init__
        for p in cpp_info.res_paths)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/model/build_info.py", line 199, in res_paths
        self._res_paths = self._filter_paths(self.resdirs)
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/model/build_info.py", line 147, in _filter_paths
        if not os.path.isabs(p) else p for p in paths]
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/model/build_info.py", line 147, in <listcomp>
        if not os.path.isabs(p) else p for p in paths]
      File "/opt/pyenv/versions/3.7.13/lib/python3.7/posixpath.py", line 66, in isabs
        s = os.fspath(s)
    TypeError: expected str, bytes or os.PathLike object, not NoneType
    
    make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
    ar: creating ../libcrypto.a
    make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
    make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
    ar: creating ../libssl.a
    make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
    make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
    make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
    WARNING: can't open config file: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.0.2u/_/_/package/0b1b3f27ed642f9085bd5df72048335a41e039cc/res/openssl.cnf
    WARNING: can't open config file: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.0.2u/_/_/package/0b1b3f27ed642f9085bd5df72048335a41e039cc/res/openssl.cnf
    WARNING: can't open config file: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.0.2u/_/_/package/0b1b3f27ed642f9085bd5df72048335a41e039cc/res/openssl.cnf
    WARNING: can't open config file: /home/conan/w/prod/BuildSingleReference/.conan/data/openssl/1.0.2u/_/_/package/0b1b3f27ed642f9085bd5df72048335a41e039cc/res/openssl.cnf
    ERROR: expected str, bytes or os.PathLike object, not NoneType
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should not be added to openssl. Linux headers is an expected system package. We can't enforce a specific version. You are using Alpine, which is minimal distro which does not cover regular packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants