Bug 1459818
| Summary: | Build instructions fails | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine-sdk-python | Reporter: | Fabrice Bacchella <fabrice.bacchella> |
| Component: | Build | Assignee: | Ondra Machacek <omachace> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Radim Hrazdil <rhrazdil> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.5 | CC: | bugs, juan.hernandez, lsvaty, lveyde, mperina, omachace |
| Target Milestone: | ovirt-4.1.5 | Flags: | rule-engine:
ovirt-4.1+
lsvaty: testing_ack+ |
| Target Release: | 4.1.6 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-ovirt-engine-sdk4-4.1.6 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-23 08:02:39 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Ok, installing python-nose helped, but now I got: [INFO] --- exec-maven-plugin:1.2.1:exec (build) @ python-sdk --- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'bdist_wheel' 4.2.1.a2 Ok, last additions: python-wheel python2-rpm-macros What was the change here? Can you propose verification steps? Follow the instructions in: https://github.com/oVirt/ovirt-engine-sdk/blob/master/README.adoc And check if you succeed to build the SDK. |
In the build instructions, the dependencies listed are gcc, libxml2-devel and python-devel. But running from the master branch, I got: [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (format-check) on project python-sdk: Command execution failed. Cannot run program "flake8" (in directory "/ovirt-engine-sdk/sdk"): error=2, No such file or directory -> [Help 1] So I installed python-flake8, it run slightly longer, I now got: [INFO] --- exec-maven-plugin:1.2.1:exec (test) @ python-sdk --- usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'nosetests' 4.2.1.a2 Also, the pom.xml says: <configuration> <source>1.8</source> <target>1.8</target> </configuration> So a java 8 installation is needed.