-
Notifications
You must be signed in to change notification settings - Fork 32
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
[openSUSE] W: shared-lib-calls-exit from RPMLINT #139
Comments
There are indeed some |
This is probably the offending function: Lines 24 to 29 in 4614fe5
|
RPMLINT was invoke by openSUSE build service, I' not sure how to run it separately myself, but the comment above might already found the issue. |
So if I understand correctly we should avoid calling the |
I understand that it's common practice for libraries to not call |
I agree that not letting the code stop and giving the caller the decision would be better. But maybe we indeed need to package this with an API update. For scripted runs it is typically OK if the calculations stop if something unexpected happens (this is the situation now). Not crashing would be good for web-based portals that are now getting more and more fashionable. There we would not like the browser to crash just because we made a typo in the functional. |
Thanks for letting us know about this warning message from the packaging linter. As mentioned, the changes required would mean breaking the API. This is a massive investment in redesigning how XCFun would look and, most importantly, educating a community to a different programming style. This is currently low priority for us and I've labeled the issue accordingly. However, I'd like to keep the issue open as it raises a point that will be important to keep in mind if and when a version 3 happens. |
Thanks |
Hello,
I am trying to package xcfun to openSUSE.
https://build.opensuse.org/package/show/home:andythe_great/xcfun
I got a warning from RPMLINT as shown below.
There is probably
exit
use somewhere in a library?Thank you.
The text was updated successfully, but these errors were encountered: