Bug 1716474 - libforensic1394 fails to build with Python 3.8
Summary: libforensic1394 fails to build with Python 3.8
Keywords:
Status: CLOSED DUPLICATE of bug 1675274
Alias: None
Product: Fedora
Classification: Fedora
Component: libforensic1394
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL: https://copr.fedorainfracloud.org/cop...
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-06-03 14:36 UTC by Miro Hrončok
Modified: 2019-07-23 14:51 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-07-23 14:51:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


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