• Bug#1074814: marked as done (aprx: ftbfs with GCC-14) (2/3)

    From Debian Bug Tracking System@1:229/2 to All on Wed Aug 28 00:30:01 2024
    [continued from previous message]

    beacon.c:954:37: warning: overflow in conversion from ‘int’ to ‘char’ changes value from ‘240’ to ‘-16’ [-Woverflow]
    954 | bset->exec_buf[1] = 0xF0;
    | ^~~~
    beacon.c:1054:40: warning: format ‘%p’ expects argument of type ‘void *’, but argument 2 has type ‘const struct aprx_interface *’ [-Wformat=]
    1054 | printf("Beacon: aif=%p callsign='%s' src='%s' bm->dest='%s' bm->via='%s'\n",
    | ~^
    | |
    | void *
    1055 | aif, callsign, src, bm->dest, bm->via);
    | ~~~
    | |
    | const struct aprx_interface *
    ttyreader.c: In function ‘aprx_cfmakeraw’:
    ttyreader.c:706:1: error: type of ‘f’ defaults to ‘int’ [-Wimplicit-int]
    706 | aprx_cfmakeraw(t, f)
    | ^~~~~~~~~~~~~~
    beacon.c: In function ‘beacon_childexit’:
    beacon.c:1232:27: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    1232 | write(1, buf, strlen(buf));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~
    make[1]: *** [Makefile:142: ttyreader.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    netax25.c: In function ‘discard_read_fd’:
    netax25.c:716:15: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    716 | (void)read(fd, buf, sizeof(buf));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~
    netax25.c: In function ‘scan_linux_devices.isra’:
    netax25.c:337:11: warning: ‘__builtin_strncpy’ output may be truncated copying 15 bytes from a string of length 511 [-Wstringop-truncation]
    337 | strncpy(ifr.ifr_name, s, IFNAMSIZ-1);
    | ^
    In file included from /usr/include/string.h:548,
    from aprx.h:82,
    from aprsis.c:13:
    In function ‘memcpy’,
    inlined from ‘aprsis_sockread’ at aprsis.c:459:4,
    inlined from ‘aprsis_postpoll_’ at aprsis.c:696:10,
    inlined from ‘aprsis_main’ at aprsis.c:826:3,
    inlined from ‘aprsis_start’ at aprsis.c:1006:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ specified bound between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
    29 | return __builtin___memcpy_chk (__dest, __src, __len,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    30 | __glibc_objsize0 (__dest));
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~
    beacon.c: In function ‘fix_beacon_time’:
    beacon.c:700:31: warning: ‘%02d’ directive writing between 2 and 3 bytes into a region of size between 2 and 4 [-Wformat-overflow=]
    700 | sprintf(hms, "%02d%02d%02dh", hour, min, sec);
    | ^~~~
    beacon.c:700:22: note: directive argument in the range [-59, 59]
    700 | sprintf(hms, "%02d%02d%02dh", hour, min, sec);
    | ^~~~~~~~~~~~~~~
    In file included from /usr/include/stdio.h:964,
    from aprx.h:13,
    from beacon.c:11:
    In function ‘sprintf’,
    inlined from ‘fix_beacon_time’ at beacon.c:700:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 8 and 11 bytes into a destination of size 8
    30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    31 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    32 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_build: error: make -j8 returned exit code 2
    make: *** [debian/rules:23: build] Error 25
    dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

    Received: (at 1074814-close) by bugs.debian.org; 27 Aug 2024 22:19:08 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-112.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
    DKIM_VALID,DKIM_VALID_AU,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,
    PGPSIGNATURE,SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,WORD_WITHOUT_VOWELS
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 63; hammy, 150; neutral, 135; spammy,
    0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
    0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
    0.000-+--UD:debian.tar.xz, 0.000-+--Hx-spam-relays-external:sk:fasolo. Return-path: <[email protected]>
    Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:39806)
    from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=mailly.debian.org,EMAIL=[email protected] (verified)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.94.2)
    (envelope-from <[email protected]>)
    id 1sj4Wq-005lk5-5D
    for [email protected]; Tue, 27 Aug 2024 22:19:08 +0000 Received: from [192.91.235.231] (port=48096 helo=fasolo.debian.org)
    from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=[email protected] (verified)
    by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.94.2)
    (envelope-from <[email protected]>)
    id 1sj4Wp-00F5Nu-Dy
    for [email protected]; Tue, 27 Aug 2024 22:19:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
    d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
    Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
    :Content-Description:In-Reply-To:References;
    bh=mtFTGt2JJ23IL37z0az+lxT1idmiDp02TY/sIstXiJY=; b=Hn/zZbZ3PrNgi9aZ9ZHoGZJJpA
    oVarDE7fDFGR5EmjjCGAmAQOYmhlTETlKONLZwK4sU8OliUx9MIW9uh1DAcEcAIVK1dj6kO5/po2Z
    BedLebuePBWonwIAtarLpQDlq937z2jgsXhfsSRUBT5zQiLKYymEvmNb/zYZ+cxIdAEU7//HqNN5x
    w5s75lbxbTJicYntOjsomUgfBDvR/3/cV8ehub2vTRi04mMuKWIYlBQ89pK6o6Ckl+SGdedtmPam8
    OKpGf4deFtPLI/kOY6Ki4ucQrRDCd55DpFXYd0kijuhZPv4YlcAt8I0oY+T1xLUFZznnliRg5G0Jd
    Q94B8D7g==;
    Received: from dak by fasolo.debian.org with local (Exim 4.94.2)
    (envelope-from <[email protected]>)
    id 1sj4Wm-00EijV-I5; Tue, 27 Aug 2024 22:19:04 +0000
    From: Debian FTP Masters <[email protected]>
    Reply-To: Dave Hibberd <[email protected]>
    To: [email protected]
    X-DAK: dak process-upload
    X-Debian: DAK
    X-Debian-Package: aprx
    Debian: DAK
    Debian-Changes: aprx_2.9.1-3_source.changes
    Debian-Source: aprx
    Debian-Version: 2.9.1-3
    Debian-Architecture: source
    Debian-Suite: unstable
    Debian-Archive-Action: accept
    MIME-Version: 1.0

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)