FS#60456 - [libfaketime] fails to build in clean chroot

Attached to Project: Community Packages
Opened by Erich Eckner (deepthought) - Wednesday, 17 October 2018, 11:41 GMT
Last edited by freswa (frederik) - Sunday, 10 May 2020, 13:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

extra-x86_64-build fails with:

faketime.c: In function ‘main’:
faketime.c:289:45: error: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=]
snprintf(shared_objs, PATH_BUFSIZE, "%s %s", sem_name, shm_name);
^~ ~~~~~~~~
faketime.c:289:5: note: ‘snprintf’ output between 2 and 8192 bytes into a destination of size 4096
snprintf(shared_objs, PATH_BUFSIZE, "%s %s", sem_name, shm_name);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
...

Additional info:
* package version(s)
libfaketime 0.9.7-1 (git revision 71d40007affd3b613a61a2b96193e2b7e7bddf85)
* config and/or log files etc.
full log is attached

Steps to reproduce:
> git checkout 71d40007affd3b613a61a2b96193e2b7e7bddf85
> cd libfaketime/repos/community-x86_64
> extra-x86_64-build
This task depends upon

Closed by  freswa (frederik)
Sunday, 10 May 2020, 13:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.9.8 is in the repos and can be built in a clean chroot
Comment by loqs (loqs) - Saturday, 20 October 2018, 13:53 GMT

Loading...