Am 16.03.2017 um 18:42 schrieb Ferdinand Thiessen:
Hi, I noticed that if a package is using stdlib.h, then the build will fail on Factory with "E: a implicit-fortify-decl". To show this I have created this package: https://build.opensuse.org/package/show/home:susnux/a
If I read the man page ( https://linux.die.net/man/3/ptsname ), it shows that only _XOPEN_SOURCE is needed for the prototype:
char *ptsname(int fd); But it only works on Factory if _GNU_SOURCE is defined. Do I miss something? Regards, Ferdinand Case closed ;-)
FYI: This was a bug in glibc < 2.24, as this functions (like ptsname) are new in XPG4, so _XOPEN_SOURCE has to be defined to 500 or higher: https://sourceware.org/bugzilla/show_bug.cgi?id=20094 This means no bug on Factory etc, only the man pages are missing this information. Regards, Ferdinand -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org