[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1066625: marked as done (wnn6-sdk: FTBFS: rk_modread.c:654:67: error: implicit declaration of function ‘getuid’; did you mean ‘getpwuid’? [-Werror=implicit-function-declaration])



Your message dated Fri, 29 Mar 2024 16:08:49 +0000
with message-id <E1rqEmf-00Gaoe-QP@fasolo.debian.org>
and subject line Bug#1066625: fixed in wnn6-sdk 1.0.0-20
has caused the Debian Bug report #1066625,
regarding wnn6-sdk: FTBFS: rk_modread.c:654:67: error: implicit declaration of function ‘getuid’; did you mean ‘getpwuid’? [-Werror=implicit-function-declaration]
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.)


-- 
1066625: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066625
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: wnn6-sdk
Version: 1.0.0-19
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include     -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				 -Wdate-time -D_FORTIFY_SOURCE=2 -DFUNCPROTO=15 -DNARROWPROTO   -DLIBDIR=\"/usr/local/lib/wnn6\" -DWNNDEFAULT -DJAPANESE  	-g -O2 -fno-strict-aliasing -g  rk_modread.c -o unshared/rk_modread.o
> In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
>                  from /usr/include/stdio.h:27,
>                  from rk_header.h:166,
>                  from rk_multi.h:143,
>                  from rk_modread.c:147:
> /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>   195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>       |   ^~~~~~~
> rk_modread.c: In function ‘get_hmdir’:
> rk_modread.c:654:67: error: implicit declaration of function ‘getuid’; did you mean ‘getpwuid’? [-Werror=implicit-function-declaration]
>   654 |                 if(NULL == (usr = (*soc? getpwnam(soc) : getpwuid(getuid()))))
>       |                                                                   ^~~~~~
>       |                                                                   getpwuid
> cc1: some warnings being treated as errors
> make[5]: *** [Makefile:1316: rk_modread.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/wnn6-sdk_1.0.0-19_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: wnn6-sdk
Source-Version: 1.0.0-20
Done: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>

We believe that the bug you reported is fixed in the latest version of
wnn6-sdk, 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 1066625@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ying-Chun Liu (PaulLiu) <paulliu@debian.org> (supplier of updated wnn6-sdk 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, 29 Mar 2024 18:11:16 +0800
Source: wnn6-sdk
Architecture: source
Version: 1.0.0-20
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Closes: 1066625
Changes:
 wnn6-sdk (1.0.0-20) unstable; urgency=low
 .
   * QA upload.
   * Fix FTBFS due to -Werror=implicit-function-declaration (Closes: #1066625)
     - Add debian/patches/ftbfs-implicit-function-declaration.patch
     - Update debian/patches/malloc.patch
Checksums-Sha1:
 10b2a8f5e63a455b858c7b5778d33d978dee46bf 1999 wnn6-sdk_1.0.0-20.dsc
 a896ed905650f528a8940c180b0cb8a14483ad21 16460 wnn6-sdk_1.0.0-20.debian.tar.xz
 2c8872a93afe6dbc68fd6e03e4e4396cf146abdc 7132 wnn6-sdk_1.0.0-20_source.buildinfo
Checksums-Sha256:
 0bb34398b83cc5efb21860017c86d58db404cf6d2be6119dbe63da23f9088cdd 1999 wnn6-sdk_1.0.0-20.dsc
 9c51ecd615e0985783913f06569e00f2ba3126cc14a5f5895e8a594aa346e0a7 16460 wnn6-sdk_1.0.0-20.debian.tar.xz
 dbdd9c5081d541d1992de89da8a7ceb338668e6574dacd98fd0870e269b7672b 7132 wnn6-sdk_1.0.0-20_source.buildinfo
Files:
 dce69912f637efac05c6a59ba4ad02ea 1999 libs optional wnn6-sdk_1.0.0-20.dsc
 8a47d946fda730c52a15aadc7d664b7c 16460 libs optional wnn6-sdk_1.0.0-20.debian.tar.xz
 1c13ec2ffdc41453f4736f255079b4e9 7132 libs optional wnn6-sdk_1.0.0-20_source.buildinfo

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

iQJHBAEBCgAxFiEEo2h49GQQhoFgDLZIRBc/oT0FiIgFAmYGxVYTHHBhdWxsaXVA
ZGViaWFuLm9yZwAKCRBEFz+hPQWIiCL1D/4xx4KtuvlEJs8pwIKuy0fTL6WswN5O
xvcTtZZznfvx5tNl0R3SiimkADO7TnzCnN+b7aXU56YV7PMj9gH1P4MsEB+KiKQj
9fdbrzdBWHgFwKSIJbsvQ8hmafo91NIIRxYA5XBCRvg5ax63W8P21rtw7BsKBeyt
07R31dfYMZa7ISRiKJ6uuyN+xcSDGHsuw6dQKP188aUtgEg/oWDAeOuGlj/hxbT4
ZYR9/TRI6Ndgp7Qt6bigkqJc+U7Pbu+jx1FbxUOsIxv5kYB/U+5mwatI8dX2XVcp
lfaRIL/E+wI82JShonUsMciT1gcJF0xTD0UDAMzayXJR5vYFeTK0WeU3GF0FtnhA
e+AXOCf5UeQc7KDJDi8ZopQU1QolyUSMZ69W4H9M93v8lUs/za+rYLxIWR1EADKB
JN89lhUlH3QIR4LWKV4yv66pNJz8jIErjOlQg53sCzNvpHvtam6qAycNhiWHc/RP
06hQO8mRu85ptu3NxiTcbpvhGPGfE/MKcll/4P9q0G4dzHwIuZ6AvBFOcNYcF0qZ
syuxhMUC6fQV9+jNUkfhK0NCeUBIlbIEdyxttVP4iiEYZRyaQZQFsD19VVqID6Nv
WlCu+UDzXHJUZAYrCdDBbadwiQ2sHJCyb7NnvSOQ8lopiWAtuu757f0SFywoeuR9
IJ+vkqm2tmIemw==
=tkiQ
-----END PGP SIGNATURE-----

Attachment: pgpOEIDYJF7sg.pgp
Description: PGP signature


--- End Message ---

Reply to: