Bug 2366508 - bluechi: FTBFS in Fedora Rawhide: error: call to ‘*__inet_pton_chk’ declared with attribute warning: inet_pton called with a destination buffer size too small
Summary: bluechi: FTBFS in Fedora Rawhide: error: call to ‘*__inet_pton_chk’ declared ...
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: bluechi
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michael Engel
QA Contact:
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: PYTHON3.14 F43FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2025-05-15 13:46 UTC by Karolina Surma
Modified: 2025-05-16 08:14 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2025-05-15 13:46:30 UTC
Description of problem:
Package bluechi fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
0.10.2-1.fc43

Steps to Reproduce:
koji build --scratch f43 bluechi-0.10.2-1.fc43.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/bluechi

Reproducible: Always

Actual Results:
In file included from /usr/include/features.h:524,
                 from /usr/include/assert.h:35,
                 from ../src/libbluechi/test/common/network/get_address_test.c:6:
In function ‘inet_pton’,
    inlined from ‘getaddrinfo_mock’ at ../src/libbluechi/test/common/network/get_address_test.c:75:17:
/usr/include/bits/inet-fortified.h:56:10: error: call to ‘*__inet_pton_chk’ declared with attribute warning: inet_pton called with a destination buffer size too small [-Werror=attribute-warning]
   56 |   return __glibc_fortify (inet_pton, sz, sizeof (char),
      |          ^~~~~~~~~~~~~~~
In function ‘inet_pton’,
    inlined from ‘getaddrinfo_mock’ at ../src/libbluechi/test/common/network/get_address_test.c:76:22:
/usr/include/bits/inet-fortified.h:56:10: error: call to ‘*__inet_pton_chk’ declared with attribute warning: inet_pton called with a destination buffer size too small [-Werror=attribute-warning]
   56 |   return __glibc_fortify (inet_pton, sz, sizeof (char),
      |          ^~~~~~~~~~~~~~~

Comment 1 Michael Engel 2025-05-16 08:14:30 UTC
This has been fixed in this PR:
https://github.com/eclipse-bluechi/bluechi/pull/1067

It will be part of the next BlueChi release.


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