Thread View: linux.debian.bugs.rc
1 messages
1 total messages
Started by Debian Bug Tracking System
Fri, 09 Oct 2026 12:30
Bug#1146537: marked as done (tp-smapi-dkms: module fails to build for Linux 7.2: error: implicit declaration of function 'strnc...
Author: Debian Bug Tracking System
Date: Fri, 09 Oct 2026 12:30
Date: Fri, 09 Oct 2026 12:30
308 lines
14685 bytes
14685 bytes
This is a multi-part message in MIME format...
------------=_1791548583-566695-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Fri, 09 Oct 2026 12:20:14 +0000
with message-id <E1xF9aA-0000000GLHZ-3gez@fasolo.debian.org>
and subject line Bug#1146537: fixed in tp-smapi 0.45-1.1
has caused the Debian Bug report #1146537,
regarding tp-smapi-dkms: module fails to build for Linux 7.2: error: implic=
it declaration of function 'strncpy'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--=20
1146537: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1146537
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1791548583-566695-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 2 Sep 2026 20:07:03 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-16.2 required=4.0 tests=BAYES_00,
BODY_INCLUDES_PACKAGE,FOURLA,FROMDEVELOPER,HAS_PACKAGE,SPF_HELO_NONE,
SPF_SOFTFAIL autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 30; hammy, 150; neutral, 60; spammy,
0. spammytokens: hammytokens:0.000-+--H*Ad:N*Bug,
0.000-+--HTo:N*Debian, 0.000-+--HTo:N*System, 0.000-+--HTo:N*Bug,
0.000-+--HTo:N*Tracking
Return-path: <anbe@debian.org>
Received: from lambdaproxy.unixos.de ([87.106.170.14]:55580)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <anbe@debian.org>)
id 1x1rEc-000Ltb-1L
for submit@bugs.debian.org;
Wed, 02 Sep 2026 20:07:03 +0000
Received: from web4.unixos.de (h3068949.stratoserver.net [85.214.89.203])
by lambdaproxy.unixos.de (Postfix) with ESMTPS id 0DC6240928;
Wed, 02 Sep 2026 22:07:02 +0200 (CEST)
Received: from web4.unixos.de (localhost [127.0.0.1])
by web4.unixos.de (Postfix) with ESMTPS id C829D7E0151;
Wed, 2 Sep 2026 22:07:01 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
Authentication-Results: web4.unixos.de;
auth=pass smtp.auth=beckmann@unixos.de smtp.mailfrom=anbe@debian.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Andreas Beckmann <anbe@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tp-smapi-dkms: module fails to build for Linux 7.2: error: implicit declaration of function 'strncpy'
Message-ID: <178837962094.921403.6536352707189601202.reportbug@caipi>
Date: Wed, 02 Sep 2026 22:07:00 +0200
X-Rspamd-Action: no action
X-Spamd-Result: default: False [0.40 / 10.00];
MID_RHS_NOT_FQDN(0.50)[];
MIME_GOOD(-0.10)[text/plain];
RCVD_COUNT_ZERO(0.00)[0];
ARC_NA(0.00)[];
MISSING_XM_UA(0.00)[];
ASN(0.00)[asn:3320, ipnet:93.192.0.0/10, country:DE];
MIME_TRACE(0.00)[0:+];
FROM_HAS_DN(0.00)[];
TO_MATCH_ENVRCPT_ALL(0.00)[];
TO_DN_ALL(0.00)[];
FROM_EQ_ENVFROM(0.00)[];
LOCAL_OUTBOUND(0.00)[];
RCPT_COUNT_ONE(0.00)[1]
X-Rspamd-Server: lambda.unixos.de
X-Rspamd-Queue-Id: 6F7B97E00BB
X-Spamd-Bar: /
Delivered-To: submit@bugs.debian.org
Package: tp-smapi-dkms
Version: 0.45-1
Severity: important
Tags: upstream
Hi,
tp-smapi-dkms fails to build a module for Linux 7.2 in experimental:
DKMS (dkms-3.2.2) make.log for tp_smapi/0.45 for kernel 7.2-amd64 (x86_64)
Wed Sep 2 19:45:18 UTC 2026
Building module(s)
# command: make -j14 KERNELRELEASE=7.2-amd64 -C /lib/modules/7.2-amd64/build M=/var/lib/dkms/tp_smapi/0.45/build HDAPS=1
make: Entering directory '/usr/src/linux-headers-7.2-amd64'
make[1]: Entering directory '/var/lib/dkms/tp_smapi/0.45/build'
CC [M] thinkpad_ec.o
CC [M] tp_smapi.o
CC [M] hdaps.o
tp_smapi.c: In function 'show_tp_ec_bat_str':
tp_smapi.c:672:9: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration]
672 | strncpy(buf, (char *)row+offset, maxlen);
| ^~~~~~~
tp_smapi.c:47:1: note: include '<string.h>' or provide a declaration of 'strncpy'
46 | #include <linux/platform_device.h>
+++ |+#include <string.h>
47 | #include <asm/uaccess.h>
tp_smapi.c:672:9: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch]
672 | strncpy(buf, (char *)row+offset, maxlen);
| ^~~~~~~
tp_smapi.c:672:9: note: include '<string.h>' or provide a declaration of 'strncpy'
make[3]: *** [/usr/src/linux-headers-7.2-common/scripts/Makefile.build:294: tp_smapi.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-7.2-common/Makefile:2211: .] Error 2
make[1]: *** [/usr/src/linux-headers-7.2-common/Makefile:260: __sub-make] Error 2
make[1]: Leaving directory '/var/lib/dkms/tp_smapi/0.45/build'
make: *** [/usr/src/linux-headers-7.2-common/Makefile:260: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-7.2-amd64'
# exit code: 2
# elapsed time: 00:00:01
----------------------------------------------------------------
Andreas
------------=_1791548583-566695-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 1146537-close) by bugs.debian.org; 9 Oct 2026 12:20:17 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
(2024-03-25) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-114.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,
HAS_BUG_NUMBER,MD5_SHA1_SUM,PGPSIGNATURE,SPF_HELO_PASS,SPF_PASS,
USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 97; hammy, 150; neutral, 133; 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-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:41278)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xF9aD-002N3l-1u
for 1146537-close@bugs.debian.org;
Fri, 09 Oct 2026 12:20:17 +0000
Received: via submission
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.96)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xF9aB-000eAx-2H
for 1146537-close@bugs.debian.org;
Fri, 09 Oct 2026 12:20:15 +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=KDYlamxYnDuF6PPi7b5cjFUYhDakWeQBFlEFRajkq7M=; b=mWzAErIijXAjA5lueqi87XglXV
6ZTk6xhqUW/Fh8N7NpfI/ePU7uoBLTWHpPlzTtNUBNnYP3GqZfqwRY/x7luMjrdvaXKLeRHXNja1Q
6aRWA/THQy7XDM/BIrkn2aj7xg4aGG/fp0qDaTrGEeNdvXZnExUZIRZOZEuZ8uXVMo1swUN92GsVp
Sng6sKdIojfL1yk5cqqVkp0fRacE8Z3wSA976tonHqWBX1BFn6MoBGRtVf+f2sMJXBMseJh3DxZ7M
QHAK156CMAcko/yfOye+n3Ht0nqc0xh/hhw3ZB/8Y9ecX873yK9e6Yg0HyXba1TzU0mykdDxFf00Y
u8HLX/UA==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
(envelope-from <envelope@ftp-master.debian.org>)
id 1xF9aA-0000000GLHZ-3gez;
Fri, 09 Oct 2026 12:20:14 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: =?utf-8?b?SMOpY3RvciBPcsOzbiBNYXJ0w61uZXo=?= <zumbi@debian.org>
To: 1146537-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: tp-smapi
Debian: DAK
Debian-Changes: tp-smapi_0.45-1.1_source.changes
Debian-Source: tp-smapi
Debian-Version: 0.45-1.1
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1146537: fixed in tp-smapi 0.45-1.1
Content-Type: multipart/signed; micalg="pgp-sha256";
protocol="application/pgp-signature";
boundary="===============0990509046169150826=="
Message-Id: <E1xF9aA-0000000GLHZ-3gez@fasolo.debian.org>
Date: Fri, 09 Oct 2026 12:20:14 +0000
--===============0990509046169150826==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Source: tp-smapi
Source-Version: 0.45-1.1
Done: H=C3=A9ctor Or=C3=B3n Mart=C3=ADnez <zumbi@debian.org>
We believe that the bug you reported is fixed in the latest version of
tp-smapi, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1146537@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
H=C3=A9ctor Or=C3=B3n Mart=C3=ADnez <zumbi@debian.org> (supplier of updated t=
p-smapi package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 02 Oct 2026 13:32:46 +0200
Source: tp-smapi
Architecture: source
Version: 0.45-1.1
Distribution: unstable
Urgency: medium
Maintainer: Evgeni Golov <evgeni@debian.org>
Changed-By: H=C3=A9ctor Or=C3=B3n Mart=C3=ADnez <zumbi@debian.org>
Closes: 1146537
Changes:
tp-smapi (0.45-1.1) unstable; urgency=3Dmedium
.
* Non-maintainer upload.
* d/p/use_strscpy_instead_of_strncpy_since_7.2.patch: fixes build against
Linux kernel 7.2
(Closes: #1146537)
Checksums-Sha1:
be0d3a92522a9b887f9ed3e0c53efe3ac2d2b712 1909 tp-smapi_0.45-1.1.dsc
ced1ea185dc6acdf0dd9f2a51cd75fc14a19fa82 40001 tp-smapi_0.45.orig.tar.gz
31c4d6846c9c5faea8be057982a6b5e235b07187 6236 tp-smapi_0.45-1.1.debian.tar.xz
674784afaafe8d495cbcf1102ae2a7a213b30f8e 5819 tp-smapi_0.45-1.1_source.build=
info
Checksums-Sha256:
b2a754859c6d262f15c2261f5f33c5e3d27fc224b6c56f7f730be7e075f13f21 1909 tp-sma=
pi_0.45-1.1.dsc
627b15affc3ed993d633be1421b66db8c96789464390029b86bb16b00239bb24 40001 tp-sm=
api_0.45.orig.tar.gz
b066e073d52f5354026e2b39d4edde1e09ddbd18e2f935e05a3daaa28ae1538c 6236 tp-sma=
pi_0.45-1.1.debian.tar.xz
eb5accb2a1b41b0098d8f1fffa0e34b72117836b33857b8f36bf8941d97043cc 5819 tp-sma=
pi_0.45-1.1_source.buildinfo
Files:
a46c3498e0a425e330b57f9b2f3ed067 1909 kernel optional tp-smapi_0.45-1.1.dsc
c796e498f649db66b099f2afbdc1ce2a 40001 kernel optional tp-smapi_0.45.orig.ta=
r.gz
da63056f1c356819f3e1b6beaeac25eb 6236 kernel optional tp-smapi_0.45-1.1.debi=
an.tar.xz
7e9fa553367ed9c9419496c6f399ce86 5819 kernel optional tp-smapi_0.45-1.1_sour=
ce.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE6Q8IiVReeMgqnedOryKDqnbirHsFAmq/mQ8ACgkQryKDqnbi
rHsXKhAAjZJGjSV0wv52iflShZ80i3dzYaT3HGaQ21YvHDpBnp1204iA2WD7qUQB
3yrdPS7WDY86HpstUItxpuSxXXF8p8lI41DOs/hBvx0aw206QVIPrqKF35j3Ibeb
oVtSF+L7PqxmR0ferAdilXFoE2hlErFgM44JMR2/UebD7PsaiYVuE8YHDMfofQlr
sYT9/BWo0sKHkImjD2TVhidd1afzMQtjPxwchaBHydmFDswskFQX7/vIQypnYXFB
NpI01RjXS6ZBtj60yBXE1NYeQo8h+jWiztPK8IYCP+8nIuTQf9j7pPE68dqJqKPD
Xe5gtoHV4j73q3RXxD80WFdP50Ccub11cgVz0DofAoD3QvK48+vkZOJCHC03EdR9
BLs1YmxCyfIottqQJAx18sy5k+87G+CQT4+G3ma8lhlRmtV85l0aGUscfmiJur0v
1XkvIUpn/Iuy8pA7IZ/9tyhflpFf9GZSSPZuBgaklQAYZopd/eWOMd1ISHLz1CHe
SdqWKgQF/ZXvrtaKJPp/+i9kJKpLlhM6HNf3VZzO+XsILihBZG/UXyhRI5nH0VdG
LbFc1wtc8BN1t7nqSBEd089dWk7h7ravl2BrHU8Us7VtCj4da+2hetky4fsujkne
XULWK1Na7brvApDgV12ZO9b0zPiFHLKL4clKWGPbc3aeS9fvToo=3D
=3Dj+6e
-----END PGP SIGNATURE-----
--===============0990509046169150826==
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCasjb/gAKCRCb9qggYcy5
IRm8AQCK4O76tqRSlUm05YuTrxQMByl7dIxEzmuIHr4klUp1IAEA/GKWUNgurxV7
/1IuNgeBOaFsYmlBnogh3n7LafEVjgE=
=CVj/
-----END PGP SIGNATURE-----
--===============0990509046169150826==--
------------=_1791548583-566695-0--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads