swipl-devel icon indicating copy to clipboard operation
swipl-devel copied to clipboard

binary-or-shlib-calls-gethostbyname issues

Open mcepl opened this issue 1 year ago • 2 comments
trafficstars

When packaging for openSUSE, our rpmlinter is unhappy because of:

[  126s] swipl.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib/swipl/lib/x86_64-linux/pl2xpce.so
[  126s] swipl.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib/swipl/lib/x86_64-linux/socket.so
[  126s] The binary calls gethostbyname. Please port the code to use getaddrinfo.

I am not sure whether it is a false positive or not, but search for gethostbyname through this organization finds couple of hits.

mcepl avatar Jul 22 '24 10:07 mcepl