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

Bug#1066530: marked as done (pd-tclpd: FTBFS: tcl_class.c:108:9: error: implicit declaration of function ‘error’; did you mean ‘perror’? [-Werror=implicit-function-declaration])



Your message dated Sat, 16 Mar 2024 23:10:36 +0000
with message-id <E1rldAi-0072cS-4J@fasolo.debian.org>
and subject line Bug#1066530: fixed in pd-tclpd 0.3.1-3
has caused the Debian Bug report #1066530,
regarding pd-tclpd: FTBFS: tcl_class.c:108:9: error: implicit declaration of function ‘error’; did you mean ‘perror’? [-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.)


-- 
1066530: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066530
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: pd-tclpd
Version: 0.3.1-2
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):
> cc -DPD -I "/usr/include/pd"  -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=c99 -DHASHTABLE_COPY_KEYS -I/usr/include/tcl8.6  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o tcl_widgetbehavior.pd_linux.o -c tcl_widgetbehavior.c
> swig -v -tcl -o tcl_wrap.c -I/usr/include/pd tclpd.i
> In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
>                  from /usr/include/stdint.h:26,
>                  from /usr/lib/gcc/x86_64-linux-gnu/13/include/stdint.h:9,
>                  from hashtable.h:7,
>                  from hashtable.c:1:
> /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"
>       |   ^~~~~~~
> hashtable.c: In function ‘list_remove’:
> hashtable.c:37:17: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>    37 |         free(tmp->k);
>       |              ~~~^~~
> In file included from hashtable.h:8:
> /usr/include/stdlib.h:568:25: note: expected ‘void *’ but argument is of type ‘const char *’
>   568 | extern void free (void *__ptr) __THROW;
>       |                   ~~~~~~^~~~~
> hashtable.c:51:21: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>    51 |             free(tmp->k);
>       |                  ~~~^~~
> /usr/include/stdlib.h:568:25: note: expected ‘void *’ but argument is of type ‘const char *’
>   568 | extern void free (void *__ptr) __THROW;
>       |                   ~~~~~~^~~~~
> tcl_class.c: In function ‘tclpd_new’:
> tcl_class.c:108:9: error: implicit declaration of function ‘error’; did you mean ‘perror’? [-Werror=implicit-function-declaration]
>   108 |         error("tclpd: class not found: %s", name);
>       |         ^~~~~
>       |         perror
> tcl_widgetbehavior.c: In function ‘tclpd_guiclass_vis’:
> tcl_widgetbehavior.c:297:28: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘struct _glist *’ [-Wformat=]
>   297 |     snprintf(buf, 32, ".x%lx.c", glist_getcanvas(glist));
>       |                          ~~^     ~~~~~~~~~~~~~~~~~~~~~~
>       |                            |     |
>       |                            |     struct _glist *
>       |                            long unsigned int
> tclpd.c: In function ‘tclpd_setup’:
> tclpd.c:32:9: error: implicit declaration of function ‘error’; did you mean ‘perror’? [-Werror=implicit-function-declaration]
>    32 |         error("tclpd: error loading %s", buf);
>       |         ^~~~~
>       |         perror
> tcl_loader.c: In function ‘tclpd_do_load_lib’:
> tcl_loader.c:80:9: error: implicit declaration of function ‘error’; did you mean ‘perror’? [-Werror=implicit-function-declaration]
>    80 |         error("tclpd loader: error trying to load %s", filename);
>       |         ^~~~~
>       |         perror
> tcl_proxyinlet.c: In function ‘proxyinlet_anything’:
> tcl_proxyinlet.c:26:9: error: implicit declaration of function ‘error’; did you mean ‘perror’? [-Werror=implicit-function-declaration]
>    26 |         error("proxyinlet: getbytes: out of memory");
>       |         ^~~~~
>       |         perror
> tcl_loader.c:69:50: warning: ‘%s’ directive output may be truncated writing up to 999 bytes into a region of size 984 [-Wformat-truncation=]
>    69 |     snprintf(buf, MAXPDSTRING, "set auto_path \"{%s} $auto_path\"", dirbuf);
>       |                                                  ^~                 ~~~~~~
> In file included from /usr/include/stdio.h:906,
>                  from /usr/include/pd/m_pd.h:82,
>                  from tclpd.h:1,
>                  from tcl_loader.c:1:
> In function ‘snprintf’,
>     inlined from ‘tclpd_do_load_lib’ at tcl_loader.c:69:5:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 30 and 1029 bytes into a destination of size 1000
>    54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    55 |                                    __glibc_objsize (__s), __fmt,
>       |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    56 |                                    __va_arg_pack ());
>       |                                    ~~~~~~~~~~~~~~~~~
> Language subdirectory: tcl
> Search paths:
>    ./
>    /usr/include/pd/
>    ./swig_lib/tcl/
>    /usr/share/swig/4.2.1/tcl/
>    ./swig_lib/
>    /usr/share/swig/4.2.1/
> Preprocessing...
> Starting language-specific parse...
> cc1: some warnings being treated as errors
> cc1: some warnings being treated as errors
> cc1: some warnings being treated as errors
> make[1]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:987: tcl_loader.pd_linux.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/pd-tclpd_0.3.1-2_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: pd-tclpd
Source-Version: 0.3.1-3
Done: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>

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

Debian distribution maintenance software
pp.
IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> (supplier of updated pd-tclpd 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: Sat, 16 Mar 2024 23:35:42 +0100
Source: pd-tclpd
Architecture: source
Version: 0.3.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Closes: 1066530
Changes:
 pd-tclpd (0.3.1-3) unstable; urgency=medium
 .
   * Patch to use pd_error() instead of error() (Closes: #1066530)
   * B-D on pkgconf (but also accept legacy pkg-config)
   * Bump standards version to 4.6.2
Checksums-Sha1:
 909fd94b83e8a9ba2bcc97da2102b0f6285d82f8 2220 pd-tclpd_0.3.1-3.dsc
 54a32fdc756cdd48383dc09a6695ba9c9d5ca420 5120 pd-tclpd_0.3.1-3.debian.tar.xz
Checksums-Sha256:
 b24b01ac2f829bf9253722cb3b7a5fde4edfb87b0d6d8d18f3d66fd88c037df0 2220 pd-tclpd_0.3.1-3.dsc
 0fee8c9df8ccbd405228b04ee7ca6fd921c1cf959183dbc4374b3e2eb8f103b2 5120 pd-tclpd_0.3.1-3.debian.tar.xz
Files:
 e897b4c39cced2da8b06e25d7eed5fe3 2220 sound optional pd-tclpd_0.3.1-3.dsc
 e82ec77096497446c6cf8eeedc24477d 5120 sound optional pd-tclpd_0.3.1-3.debian.tar.xz

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

iQJKBAEBCAA0FiEEdAXnRVdICXNIABVttlAZxH96NvgFAmX2IboWHGZvcnVtQHVt
bGFldXRlLm11ci5hdAAKCRC2UBnEf3o2+BW7D/9p3HNmfXLA2OhAtbR89VER5WL3
G+O/DwdHzCEXsIorr5BT9IVZjcXMT+PBSl6zIqWDdhSV/D4zrvWI0pP2TlEBiHhp
3lhNBWKcbaWaRNcRgChcjgRg/bgKyMC3ys6RLnA6CuhV9zid/jQfmEc2Te7FfqAF
dMWqoXDwR2AlOggDHiMuV1tTItMWyJhxszHcRY60TZtgUiFjCCN5g1uQ59M5MhEo
OUPzTxNA95bzNp9S9DP5CKT9ec/63WC3HUfrz06FGjHolZH/B8ymzqNTSkglnlfZ
u540PTxf/kkAFrkSwcgs2hcFtJh78QgsSMqUHhk+KJIBcfq3b1ARjWCs3hN4oEWL
1qE5EtJU6Hki/7tZ+K04NO+LbKYkGocbj7y4YRodvRWcBrfg9bVA24uDaCJp5Ost
aQbrkkB3VO3KZhBsRc8HAxvtiM5CFJCKgSBcx9ti1EGUuy0sxqOou8U2PoXA+KZv
V75ZdZCYQIa3nLSaSAb74Xr6xaTzA3ZdzTk/ZN1xpy+3JkymMfNU+OnYQE4sXiok
XbjNOskQlUGKG1EhNqjvv8Px6ItPvrj1//RniALdqQR5J5t/KLC88iCLCQLhjug5
SUYuEJF7x7xBjkrAURNkGnC5g30vHe5gDzd8LigyIrUfka38+9GRJCEY6OEG+lIH
k1U+q14min6H2URp5A==
=8v8F
-----END PGP SIGNATURE-----

Attachment: pgpNh8GD5onwT.pgp
Description: PGP signature


--- End Message ---

Reply to: