Bug 1421114 - libhid: FTBFS in Fedora Rawhide
Summary: libhid: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libhid
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL: http://apps.fedoraproject.org/koschei...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-10 11:42 UTC by Jitka Plesnikova
Modified: 2017-02-12 11:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-12 11:33:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jitka Plesnikova 2017-02-10 11:42:09 UTC
Description of problem:
Package libhid fails to build from source in Fedora Rawhide. It is probably related to update to GCC 7.

Version-Release number of selected component (if applicable):
0.2.17-21.fc25

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/libhid

Details about changes in buildroot, which caused build failure on all architectures, can be found:
https://apps.fedoraproject.org/koschei/build/2519619

The build fails with error:
hid_opening.c: In function 'hid_get_usb_handle':
hid_opening.c:127:47: error: '%s' directive output may be truncated writing up to 4096 bytes into a region of size 32 [-Werror=format-truncation=]
       snprintf(hidif->id, sizeof(hidif->id), "%s/%s[%d]",
                                               ^~

Comment 1 Hans de Goede 2017-02-12 11:33:47 UTC
Fixed in rawhide, closing.


Note You need to log in before you can comment on or make changes to this bug.