[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse-packaging
Subject: Re: [opensuse-packaging] Package using stdlib.h broken on Factory
From: Ferdinand Thiessen <f.thiessen () gmx ! de>
Date: 2017-03-17 18:21:30
Message-ID: af20c69a-e05b-b512-43fd-f22242598860 () gmx ! de
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic