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

Add developer ovirt-engine-sdk instructions for C compiler errors #546

Merged
merged 1 commit into from
May 8, 2024

Conversation

jrafanie
Copy link
Member

@jrafanie jrafanie commented May 8, 2024

No description provided.

@jrafanie jrafanie force-pushed the add_ovirt_engine_sdk_instructions branch from 204f9a9 to 6d837ff Compare May 8, 2024 15:11
developer_setup.md Outdated Show resolved Hide resolved
@@ -211,6 +211,22 @@ bin/setup

macOS requires platform specific Gems. Run `bundle config specific_platform true` before running `bin/setup`.

The ovirt-engine-sdk gem contains C code that generated warnings with older CLANG versions. These warnings are marked as errors in newer CLANG 15 and 16 depending on the CLANG version, architecture, and possibly OS. If this is the case, you can mark these as warnings and not errors to allow installation:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
The ovirt-engine-sdk gem contains C code that generated warnings with older CLANG versions. These warnings are marked as errors in newer CLANG 15 and 16 depending on the CLANG version, architecture, and possibly OS. If this is the case, you can mark these as warnings and not errors to allow installation:
The ovirt-engine-sdk gem contains C code that generated warnings with older Clang versions. These warnings are marked as errors in newer Clang 15 and 16 depending on the Clang version, architecture, and possibly OS. If this is the case, you can mark these as warnings and not errors to allow installation:

The ovirt-engine-sdk gem contains C code that generated warnings with older CLANG versions. These warnings are marked as errors in newer CLANG 15 and 16 depending on the CLANG version, architecture, and possibly OS. If this is the case, you can mark these as warnings and not errors to allow installation:

```
gem install ovirt-engine-sdk -v4.6.0 -- --with-cflags="-Wno-error=incompatible-function-pointer-types -Wno-error=implicit-function-declaration"
Copy link
Member

Choose a reason for hiding this comment

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

I'm wondering if we should remove the -v4.6.0 here, since it could apply to future versions too and we don't want to have to keep updating this. Besides, the application seems to use 4.4.1 anyway.

Comment on lines 226 to 228
See https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/14 and https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/11

Hopefully, the code in the gem can be resolved to avoid these warnings in the future.
Copy link
Member

Choose a reason for hiding this comment

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

Think we can merge these into 1 paragraph.

Suggested change
See https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/14 and https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/11
Hopefully, the code in the gem can be resolved to avoid these warnings in the future.
See https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/14 and https://github.com/oVirt/ovirt-engine-sdk-ruby/issues/11. Hopefully, the code in the gem can be resolved to avoid these warnings in the future.

@jrafanie jrafanie force-pushed the add_ovirt_engine_sdk_instructions branch from 7b5062c to a2aa259 Compare May 8, 2024 15:45
Co-authored-by: Jason Frey <fryguy9@gmail.com>
@jrafanie jrafanie force-pushed the add_ovirt_engine_sdk_instructions branch from a2aa259 to 78e02c6 Compare May 8, 2024 15:47
@jrafanie
Copy link
Member Author

jrafanie commented May 8, 2024

Ok, I believe I included all of the suggestions.

@miq-bot
Copy link
Member

miq-bot commented May 8, 2024

Checked commit jrafanie@78e02c6 with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint
0 files checked, 0 offenses detected
Everything looks fine. 🍪

@Fryguy Fryguy merged commit ada2c73 into ManageIQ:master May 8, 2024
1 check passed
github-actions bot pushed a commit to ManageIQ/manageiq.github.io that referenced this pull request May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants