I just double-checked by doing a copy/paste of the command for both “Packages for Rockstor function” and “Packages for Building Rockstor from source,” with a “Nothing to do” result from both. So all of the stated required packages are installed.
I’ve created a /usr/opt directory to use in lieu of the RPM default /opt/rockstor.
In /usr/opt I ran
git clone GitHub - rockstor/rockstor-core: Linux/BTRFS based Network Attached Storage(NAS)
When that was complete, I referred to the Dev section of the Contributing, using the “Build VM initial setup” as reference:
python ./rockstor-core/bootstrap.py -c ./rockstor-core/buildout.cfg
The result:
ez_setup.py is deprecated and when using it setuptools will be pinned to 33.1.1 since it’s the last version that supports setuptools self upgrade/installation, check Drop support for self upgrade/installation · Issue #581 · pypa/setuptools · GitHub for more info; use pip to install setuptools
Downloading https://pypi.io/packages/source/s/setuptools/setuptools-33.1.1.zip
Extracting in /tmp/tmpYSgSlM
Now working in /tmp/tmpYSgSlM/setuptools-33.1.1
Building a Setuptools egg in /tmp/tmpuLHSCs
warning: no files found matching ‘*’ under directory ‘setuptools/_vendor’
/tmp/tmpuLHSCs/setuptools-33.1.1-py2.7.egg
/tmp/tmpuLHSCs/setuptools-33.1.1-py2.7.egg/pkg_resources/init.py:184: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.
no previously-included directories found matching ‘doc’
no previously-included directories found matching ‘old-tutorial’
Setting socket time out to 120 seconds.
Creating directory ‘/usr/opt/rockstor-core/eggs’.
Creating directory ‘/usr/opt/rockstor-core/bin’.
Creating directory ‘/usr/opt/rockstor-core/parts’.
Creating directory ‘/usr/opt/rockstor-core/develop-eggs’.
Generated script ‘/usr/opt/rockstor-core/bin/buildout’.
Based on the error statement regarding ez_setup.py, I don’t know that installing the openSUSE python-setuptools (v40.8.0) package would resolve it.
Moving on then to
./rockstor-core/bin/buildout -N -c ./rockstor-core/buildout.cfg
Results in the previous mentioned errors.