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

Several errors while packaging libraries for Fedora Linux #521

Closed
mattiaverga opened this issue Jan 8, 2022 · 0 comments
Closed

Several errors while packaging libraries for Fedora Linux #521

mattiaverga opened this issue Jan 8, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mattiaverga
Copy link
Contributor

mattiaverga commented Jan 8, 2022

In Fedora Linux we provide several different packages for libraries and drivers we can ship (due to patent issues).
As this requires a lot of work, I'm starting to create a single package for all libraries. I've started to do a scratch build with only the libapogee library, but while working on this I discovered that running rpmlint both on new package and the one currently in Fedora repositories points out several errors:

E: shared-library-without-dependency-information /usr/lib64/libapogee.so.3.2
Bad detection

E: missing-PT_GNU_STACK-section /usr/lib64/libapogee.so.3.2
Bad detection

E: incorrect-fsf-address /usr/share/licenses/indi-3rdparty-libapogee/LICENSE
It seems there are outdated license files in the repo that should be updated.
But looking deeper, I see most of libapogee files have a MPLv2 license header, while the provided license file is GPLv2... I'm confused.

W: conffile-without-noreplace-flag /etc/Apogee/camera/A12HC.txt
It doesn't seem to me that these files are actually config files. I think they're not supposed to be edited by users, so wouldn't be better to install them under /usr/share/indi ?

W: binary-or-shlib-calls-gethostbyname /usr/lib64/libapogee.so.3.2
As per rpmlint explanation: The binary calls gethostbyname. Please port the code to use getaddrinfo.

@mattiaverga mattiaverga added the bug Something isn't working label Jan 8, 2022
@knro knro closed this as completed Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants