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

Bug#1066343: marked as done (wily: FTBFS: getrect.c:27:17: error: implicit declaration of function ‘sleep’ [-Werror=implicit-function-declaration])



Your message dated Thu, 04 Apr 2024 23:51:05 +0000
with message-id <E1rsWrJ-00C8Kf-Q0@fasolo.debian.org>
and subject line Bug#1066343: fixed in wily 0.13.42-2
has caused the Debian Bug report #1066343,
regarding wily: FTBFS: getrect.c:27:17: error: implicit declaration of function ‘sleep’ [-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.)


-- 
1066343: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066343
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: wily
Version: 0.13.42-1
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):
> x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o menuhit.o menuhit.c
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/libmsg'
> getrect.c: In function ‘grabcursor’:
> getrect.c:27:17: error: implicit declaration of function ‘sleep’ [-Werror=implicit-function-declaration]
>    27 |                 sleep(2);
>       |                 ^~~~~
> mkfont.c: In function ‘mkfont’:
> mkfont.c:17:24: error: implicit declaration of function ‘malloc’ [-Werror=implicit-function-declaration]
>    17 |         font = (Font *)malloc(sizeof(Font));
>       |                        ^~~~~~
> mkfont.c:5:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
>     4 | #include <string.h>
>   +++ |+#include <stdlib.h>
>     5 | 
> mkfont.c:17:24: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch]
>    17 |         font = (Font *)malloc(sizeof(Font));
>       |                        ^~~~~~
> mkfont.c:17:24: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
> mkfont.c:24:17: error: implicit declaration of function ‘free’ [-Werror=implicit-function-declaration]
>    24 |                 free(font);
>       |                 ^~~~
> mkfont.c:24:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> mkfont.c:24:17: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
> mkfont.c:24:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> mkfont.c:32:17: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>    32 |                 free(font->name);
>       |                 ^~~~
> mkfont.c:32:17: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
> x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o point.o point.c
> x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o polysegment.o polysegment.c
> ar rv libframe.a frbox.o frdelete.o frdraw.o frinit.o frinsert.o frptofchar.o frselect.o frstr.o frutil.o misc.o
> ar: creating libframe.a
> a - frbox.o
> a - frdelete.o
> a - frdraw.o
> a - frinit.o
> a - frinsert.o
> a - frptofchar.o
> a - frselect.o
> a - frstr.o
> a - frutil.o
> a - misc.o
> gwin.c: In function ‘Keyaction’:
> gwin.c:311:42: error: implicit declaration of function ‘unicode’; did you mean ‘nice’? [-Werror=implicit-function-declaration]
>   311 |                                 c = (int)unicode(compose);
>       |                                          ^~~~~~~
>       |                                          nice
> x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I.. -I./../include  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o rdbitmap.o rdbitmap.c
> gwin.c:319:34: error: implicit declaration of function ‘latin1’ [-Werror=implicit-function-declaration]
>   319 |                         c = (int)latin1(compose);
>       |                                  ^~~~~~
> ranlib libframe.a
> cc1: some warnings being treated as errors
> make[3]: *** [<builtin>: mkfont.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/wily_0.13.42-1_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: wily
Source-Version: 0.13.42-2
Done: Andreas Beckmann <anbe@debian.org>

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

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated wily 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: SHA256

Format: 1.8
Date: Fri, 05 Apr 2024 01:30:35 +0200
Source: wily
Architecture: source
Version: 0.13.42-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1047100 1066343
Changes:
 wily (0.13.42-2) unstable; urgency=medium
 .
   * QA upload.
   * Fix building with -Werror=implicit-function-declaration.
     (Closes: #1066343)
   * Fix building twice in a row.  (Closes: #1047100)
Checksums-Sha1:
 167ad522a0aa6659375120db2270bc5f7f524b84 2321 wily_0.13.42-2.dsc
 f29db05502e49424db712559134aab5c5f0f31f0 19780 wily_0.13.42-2.debian.tar.xz
 8394144850e744bd2636e173237dad4a6f64293d 6200 wily_0.13.42-2_source.buildinfo
Checksums-Sha256:
 c0bfde397dd6b35e9918708eb5a1c016e07619c58bd19d31d5416aab8eeaa894 2321 wily_0.13.42-2.dsc
 42e3ca10dace434081f0b80ae119de48d5cecabcf42cb81780682c53437ffa71 19780 wily_0.13.42-2.debian.tar.xz
 0cb619b10710270b699c4fc70b41e50822d68fb5f512e721ee5b6cdc844b2020 6200 wily_0.13.42-2_source.buildinfo
Files:
 2f9fef11e0fce7a36580b55b6edc6d3f 2321 editors optional wily_0.13.42-2.dsc
 7ece7a5ba9b73a9c92940fa0182b689b 19780 editors optional wily_0.13.42-2.debian.tar.xz
 0982db83f7b44c9751c4d1d2931fc2b9 6200 editors optional wily_0.13.42-2_source.buildinfo

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

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmYPOMkQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCBuXD/4q4OCGRcpoOOCiKu+ykvoMi5SGvq0eBgVU
QnwGmssOZokxzwHTFFk9G/HtMDDKeEg+cm/JF0pUU+vDhyeVrIkEqS4gj2x+GXTy
ekhMopn4Z6flKYNGtmZVb7EMBAJNFm2jxJcWapzXD1/ZPtUcr7tXlRwdEhL8cNEQ
n8WYM5C95ULEFW8FrSowtRRH+gnxIKE1UeqYz3kttu5liO2jFbs7K8ju4BbnzCHP
0/D5P2vb/rLMshzX0oeUaZuO5B03h6pnToeslYSrchgIskyoKfKY0t6fuFV9e0uU
W2F24F8Gl22Hh/z/A+DJ2Lms4KpGua12FeuCtA9KR9UXjhFJ7voj6cx9w6D4VQUk
oN37l7hWC7eVkVpSilRLfGg5N3NRgmjSm+cRT1iVlv+4Rpwi0Rv6vifUrjQ4b/f3
rkY4RWKxfhXLOAhw+PxdY1x18mItyPFiH+viQB4FYcBAECK9+jT3ohuC+26oYcrp
SfcpyLI1mKa2Q+XcAVhG0hdSjYUIcdMoQG3x/yjzeYsLy/1O9G7/9rwCSzoYfaiR
AIcZwVf4lXaFYWj1Tz71hqhhztu5XoLFwmTy8jru/RMmSlDsCJlkaZBT1Kt95K6F
WKLE9hJgg4T7G/+A2LPGwQkLg9y2rHPCA5DK8FYXYx0xmpxIVZTZJ9jmJg4EAJ0R
eLrY9ZUKzQ==
=0NaY
-----END PGP SIGNATURE-----

Attachment: pgpTBOMspeqrP.pgp
Description: PGP signature


--- End Message ---

Reply to: