Bug 1716474

Summary: libforensic1394 fails to build with Python 3.8
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: libforensic1394Assignee: Fabian Affolter <mail>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: mail, pviktori
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/libforensic1394/
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-23 14:51:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1686977    

Description Miro Hrončok 2019-06-03 14:36:21 UTC
See https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/libforensic1394/ for actual logs. This report is automated and not very verbose, but feel free to ping me for help.

Comment 1 Miro Hrončok 2019-07-10 12:35:57 UTC
The error is:

+ make -j2
In file included from /usr/include/string.h:494,
                 from /builddir/build/BUILD/libforensic1394-0.2/src/linux/juju.c:26:
In function 'strncpy',
    inlined from 'alloc_dev' at /builddir/build/BUILD/libforensic1394-0.2/src/linux/juju.c:367:5,
    inlined from 'platform_update_device_list' at /builddir/build/BUILD/libforensic1394-0.2/src/linux/juju.c:275:41:
/usr/include/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 64 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Comment 2 Petr Viktorin (pviktori) 2019-07-23 14:51:44 UTC

*** This bug has been marked as a duplicate of bug 1675274 ***