Giter Site home page Giter Site logo

anvil-external-deps's People

Contributors

fabbione avatar ylei-tsubame avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ylei-tsubame

anvil-external-deps's Issues

`python3-websockify` dependencies not installed

The python3-websockify package itself installs without issues (non-EPEL dependencies are already present), but it doesn't function correctly:

$ websockify --help
Traceback (most recent call last):
  File "/usr/bin/websockify", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'simplejson' distribution was not found and is required by websockify

dnf shows the correct dependencies after dnf install epel-release:

  • python3-simplejson
  • python3-redis
  • python3-jwcrypto (which requires enabling module stream idm)
  • python3-numpy (which requires libgfortran, libquadmath, openblas, and openblas-threads)

Note: dependencies above are specified in the setup.py within the sources, not the spec file.

Workarounds I've tried that doesn't work:

  • Add epel-release as a dependency to one of 1) anvil-core, or 2) anvil-node and anvil-dr. This method failed because epel-release isn't installed prior to the dependency resolution for installing anvil-core and either anvil-node or anvil-dr. dnf resolves all dependencies before installation, meaning epel-release must be installed before the dependency resolution to make the correct dependencies visible.
  • Add dnf install epel-release to the %pre section and dnf remove epel-release to the %post section for anvil-node and anvil-dr. This method failed because it instructs dnf to do a nested installation which causes a deadlock.

Note: this issue has not been tested on a freshly installed system; not sure if it only happens on the system I'm using.

May I get some direction(s) on how to solve this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.