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

rpmlint warning #271

Open
luigino opened this issue Oct 27, 2019 · 1 comment
Assignees

Comments

@luigino
Copy link

@luigino luigino commented Oct 27, 2019

Packaging 7.2.13 for openSUSE Tumbleweed and I thought you should know:

ipe.x86_64: W: shared-lib-calls-exit /usr/lib64/libipe.so.7.2.13 exit@GLIBC_2.2.5
This library package calls exit() or _exit(), probably in a non-fork()
context. Doing so from a library is strongly discouraged - when a library
function calls exit(), it prevents the calling program from handling the
error, reporting it to the user, closing files properly, and cleaning up any
state that the program has. It is preferred for the library to return an
actual error code and let the calling program decide how to handle the
situation.
@otfried

This comment has been minimized.

Copy link
Owner

@otfried otfried commented Oct 27, 2019

This has been brought up a few times over the years.

I've now added a make option IPE_NO_IPELIB_VERSION_CHECK which will remove the exit call from ipelib. It's only there to avoid problem when people compile Ipe themselves and link with old libraries.

@otfried otfried self-assigned this Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.