FS#49270 - [evince] Build error: '%c' yields only last 2 digits of year in some locales [-Werror=format-y2k]

Attached to Project: Arch Linux
Opened by Nikos Theodorou (GordonGR) - Sunday, 08 May 2016, 16:01 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 09 May 2016, 00:52 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Greetings.

I am trying to build current extra/evince 3.20.0 via ABS, and I get this error:
[code]
make[3]: Entering directory '/home/nikos/Desktop/evince/src/evince-3.20.0/libdocument'
CC libevdocument3_la-ev-document-misc.lo
ev-document-misc.c: In function 'ev_document_misc_format_date':
ev-document-misc.c:534:33: error: '%c' yields only last 2 digits of year in some locales [-Werror=format-y2k]
len = strftime (s, sizeof (s), fmt_hack, &t);
[/code]

Full log attached.

The same error happens when I try to build AUR/evince-no-gnome, which is why I tried the mothership first. My system is, of course, fully up to date.

Thank you.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Monday, 09 May 2016, 00:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  evince 3.20.0-2
Comment by Doug Newgard (Scimmia) - Monday, 09 May 2016, 00:13 GMT
Does it build in a clean chroot?
Comment by Doug Newgard (Scimmia) - Monday, 09 May 2016, 00:21 GMT
OK, it does not. Likely something changed in the check for gcc 6.1.

Loading...