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

Bug#1066642: marked as done (pd-pdogg: FTBFS: oggwrite~.c:156:25: error: implicit declaration of function ‘error’; did you mean ‘herror’? [-Werror=implicit-function-declaration])



Your message dated Mon, 18 Mar 2024 12:09:44 +0000
with message-id <E1rmBoG-00EWk7-L8@fasolo.debian.org>
and subject line Bug#1066642: fixed in pd-pdogg 0.25.1-9
has caused the Debian Bug report #1066642,
regarding pd-pdogg: FTBFS: oggwrite~.c:156:25: error: implicit declaration of function ‘error’; did you mean ‘herror’? [-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.)


-- 
1066642: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066642
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: pd-pdogg
Version: 0.25.1-8
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  -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 oggwrite~.pd_linux.o -c oggwrite~.c
> oggwrite~.c: In function ‘oggwrite_write’:
> oggwrite~.c:156:25: error: implicit declaration of function ‘error’; did you mean ‘herror’? [-Werror=implicit-function-declaration]
>   156 |                         error("oggwrite~: could not send ogg header to server (%d)", err);
>       |                         ^~~~~
>       |                         herror
> oggamp~.c: In function ‘oggamp_vorbis_init’:
> oggamp~.c:252:17: error: implicit declaration of function ‘error’; did you mean ‘herror’? [-Werror=implicit-function-declaration]
>   252 |                 error("oggamp~: input does not appear to be an ogg bitstream (error %d)", result);
>       |                 ^~~~~
>       |                 herror
> oggwrite~.c: In function ‘oggwrite_comment’:
> oggwrite~.c:555:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>   555 |         comment = atom_gensym(argv)->s_name;
>       |                 ^
> oggamp~.c: In function ‘oggamp_child_main’:
> oggamp~.c:826:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   826 |                 sprintf(boo, "fifosize %d\n",
>       |                                        ~^
>       |                                         |
>       |                                         int
>       |                                        %ld
>   827 |                 x->x_fifosize);
>       |                 ~~~~~~~~~~~~~            
>       |                  |
>       |                  t_int {aka long int}
> oggamp~.c:843:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   843 |                                 sprintf(boo, "head %d, tail %d\n", x->x_fifohead, x->x_fifotail);
>       |                                                    ~^              ~~~~~~~~~~~~~
>       |                                                     |               |
>       |                                                     int             t_int {aka long int}
>       |                                                    %ld
> oggamp~.c:843:62: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   843 |                                 sprintf(boo, "head %d, tail %d\n", x->x_fifohead, x->x_fifotail);
>       |                                                             ~^                    ~~~~~~~~~~~~~
>       |                                                              |                     |
>       |                                                              int                   t_int {aka long int}
>       |                                                             %ld
> oggamp~.c:883:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   883 |                         sprintf(boo, "after: head %d, tail %d\n",
>       |                                                   ~^
>       |                                                    |
>       |                                                    int
>       |                                                   %ld
>   884 |                                 x->x_fifohead, x->x_fifotail);
>       |                                 ~~~~~~~~~~~~~       
>       |                                  |
>       |                                  t_int {aka long int}
> oggamp~.c:883:61: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   883 |                         sprintf(boo, "after: head %d, tail %d\n",
>       |                                                            ~^
>       |                                                             |
>       |                                                             int
>       |                                                            %ld
>   884 |                                 x->x_fifohead, x->x_fifotail);
>       |                                                ~~~~~~~~~~~~~ 
>       |                                                 |
>       |                                                 t_int {aka long int}
> oggamp~.c: In function ‘oggamp_perform’:
> oggamp~.c:1090:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>  1090 |                         pd_error(x, "dsp: error %d", x->x_connecterror);
>       |                                                 ~^   ~~~~~~~~~~~~~~~~~
>       |                                                  |    |
>       |                                                  int  t_int {aka long int}
>       |                                                 %ld
> oggamp~.c: In function ‘oggamp_connect’:
> oggamp~.c:1190:31: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>  1190 |                 x->x_hostname = hostsym->s_name;
>       |                               ^
> oggamp~.c:1191:33: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>  1191 |                 x->x_mountpoint = mountsym->s_name;
>       |                                 ^
> oggamp~.c: In function ‘oggamp_connect_url’:
> oggamp~.c:1224:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>  1224 |         p = url->s_name;
>       |           ^
> oggcast~.c: In function ‘oggcast_stream’:
> oggcast~.c:289:25: error: implicit declaration of function ‘error’; did you mean ‘herror’? [-Werror=implicit-function-declaration]
>   289 |                         error("oggcast~: could not send ogg header to server (%d)", err);
>       |                         ^~~~~
>       |                         herror
> oggcast~.c: In function ‘oggcast_child_connect’:
> oggcast~.c:602:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   602 |                 if(sprintf(resp, "%d", br_nom) == -1)    /* convert int to a string */
>       |                                   ~^   ~~~~~~
>       |                                    |   |
>       |                                    int t_int {aka long int}
>       |                                   %ld
> oggcast~.c:670:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   670 |                 if(sprintf(resp, "%d", br_nom) == -1)    /* convert int to a string */
>       |                                   ~^   ~~~~~~
>       |                                    |   |
>       |                                    int t_int {aka long int}
>       |                                   %ld
> oggcast~.c: In function ‘oggcast_child_main’:
> oggcast~.c:845:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   845 |                         sprintf(boo, "fifosize %d\n", x->x_fifosize);
>       |                                                ~^     ~~~~~~~~~~~~~
>       |                                                 |      |
>       |                                                 int    t_int {aka long int}
>       |                                                %ld
> oggcast~.c:891:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   891 |                         sprintf(boo, "after: head %d, tail %d, pages %d\n", x->x_fifohead, x->x_fifotail, sysrtn);
>       |                                                   ~^                        ~~~~~~~~~~~~~
>       |                                                    |                         |
>       |                                                    int                       t_int {aka long int}
>       |                                                   %ld
> oggcast~.c:891:61: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘t_int’ {aka ‘long int’} [-Wformat=]
>   891 |                         sprintf(boo, "after: head %d, tail %d, pages %d\n", x->x_fifohead, x->x_fifotail, sysrtn);
>       |                                                            ~^                              ~~~~~~~~~~~~~
>       |                                                             |                               |
>       |                                                             int                             t_int {aka long int}
>       |                                                            %ld
> oggcast~.c: In function ‘oggcast_connect’:
> oggcast~.c:1183:31: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>  1183 |                 x->x_hostname = hostsym->s_name;
>       |                               ^
> oggcast~.c:1184:33: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>  1184 |                 x->x_mountpoint = mountsym->s_name;
>       |                                 ^
> oggcast~.c: In function ‘oggcast_password’:
> oggcast~.c:1245:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>  1245 |     x->x_passwd = password->s_name;
>       |                 ^
> ++++ info: linking objects in oggread~.pd_linux for lib pdogg
> cc -rdynamic -shared -fPIC -Wl,-rpath,"\$ORIGIN",--enable-new-dtags  -Wl,-z,relro -Wl,-z,now  -o oggread~.pd_linux oggread~.pd_linux.o  -lc -lm -lvorbis -lvorbisenc -lvorbisfile   
> cc1: some warnings being treated as errors
> make[1]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:987: oggwrite~.pd_linux.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/pd-pdogg_0.25.1-8_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-pdogg
Source-Version: 0.25.1-9
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-pdogg, 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 1066642@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-pdogg 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: Mon, 18 Mar 2024 12:55:21 +0100
Source: pd-pdogg
Architecture: source
Version: 0.25.1-9
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: 1066642
Changes:
 pd-pdogg (0.25.1-9) unstable; urgency=medium
 .
   * Add patch to replace error() with pd_error() (Closes: #1066642)
   * Add patch to honour const'ness of struct-members
   * B-D on pkgconf (with fallback to pkg-config)
Checksums-Sha1:
 760ab3a6f75c39ce30c4452855bda2300fc60f10 2150 pd-pdogg_0.25.1-9.dsc
 d39119c1ef5a15a1c94a93c8a9ce513f71d59be8 7524 pd-pdogg_0.25.1-9.debian.tar.xz
Checksums-Sha256:
 a81a42d0976c55177f3185f4c2e2c61366f903d4f7962bc8e39928bf96808e74 2150 pd-pdogg_0.25.1-9.dsc
 4841ebf0ca9d5f1fa18273537c39ee1cd4a4454c7920cf457fb7bd3cb2eeff5b 7524 pd-pdogg_0.25.1-9.debian.tar.xz
Files:
 ab0e1d60c1f86adc8352a1c3aee4dd73 2150 sound optional pd-pdogg_0.25.1-9.dsc
 3313c8d7cedce60ed4ba89d6323f3180 7524 sound optional pd-pdogg_0.25.1-9.debian.tar.xz

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

iQJKBAEBCAA0FiEEdAXnRVdICXNIABVttlAZxH96NvgFAmX4K+wWHGZvcnVtQHVt
bGFldXRlLm11ci5hdAAKCRC2UBnEf3o2+L9pEACUQIdMmNSfN/r8LJxadsd9I/b4
0tl2vIy7ZCy3PdKBzO1RC/rieSY4KzsQACa53RnUfkv2Gv005FXxyscCQOOxL8GH
lv2bwHA14rGB6uJON/bTi/e9wF9+osAEQhTv3GxjTra4ikPteAOHpSmROr1A5J8J
62TzSmeI9PR4j9Pm3+XQgImOW+CC0gM/uh4EOdVTDbQ+2QJzJAS3dxJHqbSAUP0l
98TRbzdwfYiAx0YzB/AwpeEK3vS9b2u8PfjMvD/TjiRZJM0zzcHh/6XFxvaJ/OZ5
KSJmMWBztYdI1R/6+vNf7BJ108jIlNV1sBv5HCVCvgg0axqQ2K75oJe2mnREUvrV
wLLSnfknesyhkoSVefoETRx+As4DZhoUvHslhGzI6NR6xUCc91wkT0FcmR8fyp35
FeM4jN/Mdt0xD7Qu08UdkNMOpWI7ukxm2cVW5ej5vQl3r8tLoMn8nU+lHp5hlyjE
C2WB/TWOoz8VJ/jtzRbUVZCtCNhc/rVYnYPDp/K0iYI7wfuiAWRaZMBz8VGKQIEW
DYkSY3vojyLa6Io+yFlUwUKXUfF6jfTH9+M1uboEj2p0adTUf2jXNeFwipbNOrc+
RF1AiqNij4GNqAAnO3aQ4LyS4x6Izzz3n0IV8C1paGg+m01+jqD7zt7xWGvBVm7Q
aUlClCbTPntLfUs/Jg==
=3hZU
-----END PGP SIGNATURE-----

Attachment: pgpKAKXQtgOKr.pgp
Description: PGP signature


--- End Message ---

Reply to: