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
various dependency issues on Fedora, search path /usr/lib/x86_64-linux-gnu does not exist, broken links in README files #617
Comments
It seems like you have not followed our issue template. To make it easier for us help you resolve this issue, please update the issue by following our template. |
updated |
Thank you @RobbieTheK . I have updated the broken links in oclint-scripts README. For the other issues, it's mainly due to the fact that many of the scripts are assumed with a Ubuntu distribution, including using an official LLVM ubuntu build. I guess the most straightforward fix would be change that to a LLVM build on Fedora, but LLVM community doesn't seem to have one. Could you by any chance provide me a pointer? |
Would this work? https://fedora.pkgs.org/34/fedora-x86_64/clang-12.0.0-0.3.rc1.fc34.x86_64.rpm.html Perhaps a simple solution is to add the requirements in the README or other file? |
Don't think this rpm would work since we are pointing to the LLVM/clang 13 build. But I found this https://copr.fedorainfracloud.org/coprs/g/fedora-llvm-team/llvm-snapshots/ that is akin to https://apt.llvm.org/ that might work. However, I don't have a Fedora and it seems to me that GitHub Actions also do not provide a Fedora image. I'll appreciate it if you could give it a try and let me know how it goes. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment. |
Some updates. First there's in include directory that is mentioned in the installation instructions:
Then using the sample instructions there's an issue with ncurses and possibly that symbol versioning isn't enabled or being found. I compiled it based on this SO suggestion and I'm still getting this error:
I do have a symbolic link at
Is the Edit: I made some progress using these options with configure: Using your sample code there are some more errors picked up:
Should there be any output for |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment. |
I still see this, but is this expected?
Also the instructions on the web page appear to be incorrect:
There is an And I guess I didn't notice but |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment. |
We've been on the latest version from Feb 22 so per my last comment the same problems exist. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment. |
Issues are still present |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment. |
No update since Feb 2022 of course these issues remain. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment. |
Problems still exist |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment. |
Issue was not fixed in latest update. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment. |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem. |
Issue Summary
various dependency issues on Fedora, search path /usr/lib/x86_64-linux-gnu does not exist, broken links in README files
Environment
via ./make
Reproduction Steps
run ./make
Sample code
First ninja needs to be installed, e.g. with
dnf install ninja-build
otherwise this error appears:Then re2c needs installing,
dnf install re2c
:re2c was not found; changes to src/*.in.cc will not affect your build.
Then the path to ncurses-compat-libs or libtinfo.so does not exist on Fedora, so this error happens:
ninja: error: '/usr/lib/x86_64-linux-gnu/libtinfo.so', needed by 'bin/oclint-21.05', missing and no known rule to make it
So a work around is
ln -s /usr/lib64/libtinfo.so /usr/lib/x86_64-linux-gnu/libtinfo.so
, unless a path can be specified?The installation instructions says to
cp -rp include/* /usr/local/include/
but the only include directory I found wasoclint/build/llvm-install
The README in
oclint/oclint-scripts
has 2 broken links:Expected Behavior
Better detection of dependencies
Actual Behavior
missing libraries and non-existent path in Fedora
The text was updated successfully, but these errors were encountered: