Your message dated Mon, 31 Jul 2023 19:11:11 +0000
with message-id <e1qqyir-00e8wy...@fasolo.debian.org>
and subject line Bug#1038207: fixed in tp-smapi 0.44-1
has caused the Debian Bug report #1038207,
regarding tp-smapi-dkms: module fails to build for Linux 6.4: error: macro 
"DEFINE_SEMAPHORE" requires 2 arguments, but only 1 given
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 ow...@bugs.debian.org
immediately.)


-- 
1038207: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038207
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tp-smapi-dkms
Version: 0.43-3
Severity: important
Tags: sid trixie
User: debian...@lists.debian.org
Usertags: piuparts


DKMS make.log for tp_smapi-0.43 for kernel 6.4.0-0-amd64 (x86_64)
Fri Jun 16 14:10:47 UTC 2023
make: Entering directory '/usr/src/linux-headers-6.4.0-0-amd64'
  CC [M]  /var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.o
  CC [M]  /var/lib/dkms/tp_smapi/0.43/build/tp_smapi.o
  CC [M]  /var/lib/dkms/tp_smapi/0.43/build/hdaps.o
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:94:42: error: macro 
"DEFINE_SEMAPHORE" requires 2 arguments, but only 1 given
   94 | static DEFINE_SEMAPHORE(thinkpad_ec_mutex);
      |                                          ^
In file included from /var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:45:
/usr/src/linux-headers-6.4.0-0-common/include/linux/semaphore.h:34: note: macro 
"DEFINE_SEMAPHORE" defined here
   34 | #define DEFINE_SEMAPHORE(_name, _n)     \
      |
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:94:8: error: type defaults to 
'int' in declaration of 'DEFINE_SEMAPHORE' [-Werror=implicit-int]
   94 | static DEFINE_SEMAPHORE(thinkpad_ec_mutex);
      |        ^~~~~~~~~~~~~~~~
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c: In function 'thinkpad_ec_lock':
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:112:35: error: 
'thinkpad_ec_mutex' undeclared (first use in this function); did you mean 
'thinkpad_ec_lock'?
  112 |         ret = down_interruptible(&thinkpad_ec_mutex);
      |                                   ^~~~~~~~~~~~~~~~~
      |                                   thinkpad_ec_lock
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:112:35: note: each undeclared 
identifier is reported only once for each function it appears in
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c: In function 
'thinkpad_ec_try_lock':
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:126:30: error: 
'thinkpad_ec_mutex' undeclared (first use in this function); did you mean 
'thinkpad_ec_lock'?
  126 |         return down_trylock(&thinkpad_ec_mutex);
      |                              ^~~~~~~~~~~~~~~~~
      |                              thinkpad_ec_lock
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c: In function 
'thinkpad_ec_unlock':
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:138:13: error: 
'thinkpad_ec_mutex' undeclared (first use in this function); did you mean 
'thinkpad_ec_lock'?
  138 |         up(&thinkpad_ec_mutex);
      |             ^~~~~~~~~~~~~~~~~
      |             thinkpad_ec_lock
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c: In function 
'thinkpad_ec_try_lock':
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:127:1: error: control reaches 
end of non-void function [-Werror=return-type]
  127 | }
      | ^
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c: At top level:
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:94:8: warning: 
'DEFINE_SEMAPHORE' defined but not used [-Wunused-variable]
   94 | static DEFINE_SEMAPHORE(thinkpad_ec_mutex);
      |        ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [/usr/src/linux-headers-6.4.0-0-common/scripts/Makefile.build:257: 
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/var/lib/dkms/tp_smapi/0.43/build/tp_smapi.c:115:36: error: macro 
"DEFINE_SEMAPHORE" requires 2 arguments, but only 1 given
  115 | static DEFINE_SEMAPHORE(smapi_mutex);
      |                                    ^
In file included from 
/usr/src/linux-headers-6.4.0-0-common/include/linux/fs.h:25,
                 from 
/usr/src/linux-headers-6.4.0-0-common/include/linux/proc_fs.h:10,
                 from /var/lib/dkms/tp_smapi/0.43/build/tp_smapi.c:41:
/usr/src/linux-headers-6.4.0-0-common/include/linux/semaphore.h:34: note: macro 
"DEFINE_SEMAPHORE" defined here
   34 | #define DEFINE_SEMAPHORE(_name, _n)     \
      |
/var/lib/dkms/tp_smapi/0.43/build/tp_smapi.c:115:8: error: type defaults to 
'int' in declaration of 'DEFINE_SEMAPHORE' [-Werror=implicit-int]
  115 | static DEFINE_SEMAPHORE(smapi_mutex);
      |        ^~~~~~~~~~~~~~~~
/var/lib/dkms/tp_smapi/0.43/build/tp_smapi.c: In function 
'store_battery_start_charge_thresh':
/var/lib/dkms/tp_smapi/0.43/build/tp_smapi.c:780:15: error: 'smapi_mutex' 
undeclared (first use in this function)
  780 |         down(&smapi_mutex);
      |               ^~~~~~~~~~~
/var/lib/dkms/tp_smapi/0.43/build/tp_smapi.c:780:15: note: each undeclared 
identifier is reported only once for each function it appears in
/var/lib/dkms/tp_smapi/0.43/build/tp_smapi.c: In function 
'store_battery_stop_charge_thresh':
/var/lib/dkms/tp_smapi/0.43/build/tp_smapi.c:822:15: error: 'smapi_mutex' 
undeclared (first use in this function)
  822 |         down(&smapi_mutex);
      |               ^~~~~~~~~~~
/var/lib/dkms/tp_smapi/0.43/build/tp_smapi.c: At top level:
/var/lib/dkms/tp_smapi/0.43/build/tp_smapi.c:115:8: warning: 'DEFINE_SEMAPHORE' 
defined but not used [-Wunused-variable]
  115 | static DEFINE_SEMAPHORE(smapi_mutex);
      |        ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [/usr/src/linux-headers-6.4.0-0-common/scripts/Makefile.build:257: 
/var/lib/dkms/tp_smapi/0.43/build/tp_smapi.o] Error 1
make: *** [/usr/src/linux-headers-6.4.0-0-common/Makefile:2051: 
/var/lib/dkms/tp_smapi/0.43/build] Error 2
make: Leaving directory '/usr/src/linux-headers-6.4.0-0-amd64'


Andreas

--- End Message ---
--- Begin Message ---
Source: tp-smapi
Source-Version: 0.44-1
Done: Evgeni Golov <evg...@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 1038...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Evgeni Golov <evg...@debian.org> (supplier of updated tp-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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 31 Jul 2023 20:09:41 +0200
Source: tp-smapi
Architecture: source
Version: 0.44-1
Distribution: unstable
Urgency: medium
Maintainer: Evgeni Golov <evg...@debian.org>
Changed-By: Evgeni Golov <evg...@debian.org>
Closes: 1038207
Changes:
 tp-smapi (0.44-1) unstable; urgency=medium
 .
   * New upstream version 0.44
     + Support 6.4 kernel
       Closes: #1038207
Checksums-Sha1:
 abb10a045e2ea27eb4be9a6ffd5a23719bac141f 1907 tp-smapi_0.44-1.dsc
 16c2229068628ff58d363f61de0d094b2177ea5c 40724 tp-smapi_0.44.orig.tar.gz
 64d8a1f944d9a34a2032392edf18fd943ca64c4e 4980 tp-smapi_0.44-1.debian.tar.xz
 9b72246616e80a5dbb7f2ebe40d667ec7b231e1c 6029 tp-smapi_0.44-1_source.buildinfo
Checksums-Sha256:
 477f895302c88817e9efde36a73a81f251bbe70c04c46b85b6cfd34a01324f3b 1907 
tp-smapi_0.44-1.dsc
 cccff96e8994bfc9dfe2bec071c4dfb6baf060f988bc338bbab95e639fd4c126 40724 
tp-smapi_0.44.orig.tar.gz
 6a95e1d5d1df6ff60fbac019e025153587d1002ba3709930c231558e5dc45a44 4980 
tp-smapi_0.44-1.debian.tar.xz
 7122f3f4458accd57d69f8fbc7f6d4a829e473df1449b116b022806bda05f3d6 6029 
tp-smapi_0.44-1_source.buildinfo
Files:
 de37c8bbb26684d1230c6213e42fccb8 1907 kernel optional tp-smapi_0.44-1.dsc
 e74404020e402b2fa871bcc3833632c7 40724 kernel optional 
tp-smapi_0.44.orig.tar.gz
 23d759443963a6f3ff70bbb7ae34c072 4980 kernel optional 
tp-smapi_0.44-1.debian.tar.xz
 a5118fba51a0071a241917793df15032 6029 kernel optional 
tp-smapi_0.44-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEExW57amdnGPa81AdGTrsFQAtaiq4FAmTIAcYACgkQTrsFQAta
iq5BwA//UuwIuL3dXPi8doCyHDCrJS82rx5GA95p7bye1cRLr7Kt392o9Bzuj/TD
9zcmtWKwb+kHQn2m/YTVOBcWSAym2HA3BDvdffLy45OQvjGPt/FZxjNsS8joeW9t
JjLiu+NrTouCCPxyk/N0qbjNXyMZJyLMntZbDTUvL9QVEUmhRcxcp89VY6v2y7C1
pt2JYOR2POPQCKhA0Vr9nVsQ9i1R7xKZeM9F47WEodmzD1uciuoH+dB023G1S2c7
Ql7iFVnHacZvjVpSk7zbE6gNAc8BQ8Opj5/dD4qSR+0Q0HVZeldZe5IQfrNnEgUs
ba0/nVA5BI04Vfqe6AIoKgd8s36nqLM3jrG+lD3Mg/7+pxMhDgvIsVisefr+Q7f0
FigbQdw4cEXSflt/NILQJ2dz4LjWaLObDm41/5HBt+W+FcgsRXeQ7f7DdwComUd6
+iwxkyr7X/hotyat2rX32sCo46mA7NfsAN14d3TZGdl3qV8Y+XHj8aBLeox5fCK3
ZZsetVW19nNoHRiir24RWa8puojs8azCCWYJYL+aawetqdQbyniB/OLeKrar344H
2e2ixwLpdd3t/WcKO5ld85+OeD5rcalYJoQaSekAoUdBhntPvnxK6E/zrcxJ1d4L
eTFyrbg3Hr3Q1PCCPGFAHpNAjGxG9dUs++pTuaGShNYeu4Mygko=
=an1S
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to