Red Hat Bugzilla – Bug 427647
implicit definition of strptime because of missing define
Last modified: 2017-04-06 06:28:43 EDT
Description of problem:
strptime is only defined if #define __USE_XOPEN as can be seen in <time.h>
as per the documentation, since glibc2 this function is only available if
_GNU_SOURCE or _XOPEN_SOURCE had been defined.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. download source rpm
2. rebuild in a 64bit architecture (x86_64 or ppc)
cronoutils.c: In function 'parse_time':
cronoutils.c:673: warning: cast to pointer from integer of different size
more details (linked to ia64) reported in debian in the linked bug (URL) as well
as in the following gentoo bug :
Created attachment 290901 [details]
define _GNU_SOURCE in cronoutils.c to satisfy glibc2 compatibility feature to define
cronolog.org is no more.
You might want to submit these patches to the new GitHub upstream repo: https://github.com/fordmason/cronolog
FYI EPEL 5 is going EOL soon: https://email@example.com/message/PFGUA4UNOCICASB6W7JLNBL7EJ6L4J2X/
Fedora EPEL 5 changed to end-of-life (EOL) status on 2017-03-31. Fedora EPEL 5
is no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of Fedora
or Fedora EPEL, please feel free to reopen this bug against that version. If
you are unable to reopen this bug, please file a new report against the current
release. If you experience problems, please add a comment to this bug.
Thank you for reporting this bug and we are sorry it could not be fixed.