Your message dated Fri, 15 Mar 2024 22:59:35 +0000
with message-id <e1rlgwv-0029eh...@fasolo.debian.org>
and subject line Bug#1066367: fixed in libsearpc 
3.3.0+really3.3+git20230527.783141f-3.2
has caused the Debian Bug report #1066367,
regarding libsearpc: FTBFS on arm{el,hf}: searpc-demo-packet.h:40:34: error: 
implicit declaration of function ‘write’; did you mean ‘writen’? 
[-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 ow...@bugs.debian.org
immediately.)


-- 
1066367: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066367
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libsearpc
Version: 3.3.0+really3.3+git20230527.783141f-3.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=libsearpc&arch=armhf&ver=3.3.0%2Breally3.3%2Bgit20230527.783141f-3.1&stamp=1709152397&raw=0

gcc -DHAVE_CONFIG_H -I. -I..   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 
-I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I../lib -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -Wall -pedantic -c -o demo-async-client.o 
demo-async-client.c
test-object.c:3:55: warning: ISO C does not allow extra ‘;’ outside of a 
function [-Wpedantic]
    3 | G_DEFINE_TYPE (TestObject, test_object, G_TYPE_OBJECT);
      |                                                       ^
In file included from searpc-demo-client.c:13:
searpc-demo-packet.h:22:10: warning: ISO C forbids zero-size array ‘data’ 
[-Wpedantic]
   22 |     char data[0];
      |          ^~~~
searpc-demo-packet.h: In function ‘writen’:
searpc-demo-packet.h:40:34: error: implicit declaration of function ‘write’; 
did you mean ‘writen’? [-Werror=implicit-function-declaration]
   40 |                 if ( (nwritten = write(fd, ptr, nleft)) <= 0) {
      |                                  ^~~~~
      |                                  writen
searpc-demo-packet.h: In function ‘readn’:
searpc-demo-packet.h:65:31: error: implicit declaration of function ‘read’; did 
you mean ‘readn’? [-Werror=implicit-function-declaration]
   65 |                 if ( (nread = read(fd, buf, nleft)) < 0) {
      |                               ^~~~
      |                               readn
searpc-demo-client.c: In function ‘transport_callback’:
searpc-demo-client.c:34:13: warning: unused variable ‘ret’ [-Wunused-variable]
   34 |     int fd, ret;
      |             ^~~
searpc-demo-client.c: In function ‘rpc_string_test’:
searpc-demo-client.c:124:5: error: implicit declaration of function ‘close’; 
did you mean ‘pclose’? [-Werror=implicit-function-declaration]
  124 |     close(sockfd);
      |     ^~~~~
      |     pclose
In file included from demo-async-client.c:10:
searpc-demo-packet.h:22:10: warning: ISO C forbids zero-size array ‘data’ 
[-Wpedantic]
   22 |     char data[0];
      |          ^~~~
searpc-demo-packet.h: In function ‘writen’:
searpc-demo-packet.h:40:34: error: implicit declaration of function ‘write’; 
did you mean ‘writen’? [-Werror=implicit-function-declaration]
   40 |                 if ( (nwritten = write(fd, ptr, nleft)) <= 0) {
      |                                  ^~~~~
      |                                  writen
In file included from searpc-demo-client.c:14:
searpc-demo-client.c: In function ‘rpc_glist_test’:
test-object.h:7:38: error: implicit declaration of function 
‘test_object_get_type’; did you mean ‘g_object_get_type’? 
[-Werror=implicit-function-declaration]
    7 | #define TEST_OBJECT_TYPE            (test_object_get_type())
      |                                      ^~~~~~~~~~~~~~~~~~~~
searpc-demo-client.c:133:44: note: in expansion of macro ‘TEST_OBJECT_TYPE’
  133 |                                            TEST_OBJECT_TYPE, &error, 3,
      |                                            ^~~~~~~~~~~~~~~~
searpc-demo-packet.h: In function ‘readn’:
searpc-demo-packet.h:65:31: error: implicit declaration of function ‘read’; did 
you mean ‘readn’? [-Werror=implicit-function-declaration]
   65 |                 if ( (nread = read(fd, buf, nleft)) < 0) {
      |                               ^~~~
      |                               readn
demo-async-client.c: In function ‘transport_send’:
searpc-demo-client.c: In function ‘main’:
demo-async-client.c:39:19: warning: unused variable ‘pac_ret’ 
[-Wunused-variable]
   39 |     packet *pac, *pac_ret;
      |                   ^~~~~~~
demo-async-client.c:37:13: warning: unused variable ‘ret’ [-Wunused-variable]
   37 |     int fd, ret;
      |             ^~~
demo-async-client.c:37:9: warning: unused variable ‘fd’ [-Wunused-variable]
   37 |     int fd, ret;
      |         ^~
searpc-demo-client.c:178:11: warning: unused variable ‘ret_str’ 
[-Wunused-variable]
  178 |     char *ret_str;
      |           ^~~~~~~
demo-async-client.c: In function ‘main’:
demo-async-client.c:149:5: error: implicit declaration of function ‘close’; did 
you mean ‘pclose’? [-Werror=implicit-function-declaration]
  149 |     close(sockfd);
      |     ^~~~~
      |     pclose
demo-async-client.c:92:11: warning: unused variable ‘ret_str’ 
[-Wunused-variable]
   92 |     char *ret_str;
      |           ^~~~~~~
In file included from searpc-demo-server.c:13:
searpc-demo-packet.h:22:10: warning: ISO C forbids zero-size array ‘data’ 
[-Wpedantic]
   22 |     char data[0];
      |          ^~~~
In file included from searpc-demo-server.c:12:
searpc-demo-server.c: In function ‘searpc_objlisttest’:
test-object.h:7:38: error: implicit declaration of function 
‘test_object_get_type’; did you mean ‘g_object_get_type’? 
[-Werror=implicit-function-declaration]
    7 | #define TEST_OBJECT_TYPE            (test_object_get_type())
      |                                      ^~~~~~~~~~~~~~~~~~~~
searpc-demo-server.c:43:39: note: in expansion of macro ‘TEST_OBJECT_TYPE’
   43 |         TestObject *obj=g_object_new (TEST_OBJECT_TYPE, NULL);
      |                                       ^~~~~~~~~~~~~~~~
In file included from searpc-demo-server.c:55:
searpc-marshal.h: In function ‘marshal_int__string’:
searpc-marshal.h:8:16: warning: ISO C forbids conversion of object pointer to 
function pointer type [-Wpedantic]
    8 |     int ret = ((int (*)(const char*, GError **))func) (param1, &error);
      |                ^
searpc-marshal.h: In function ‘marshal_objlist__int_int_string’:
searpc-marshal.h:24:19: warning: ISO C forbids conversion of object pointer to 
function pointer type [-Wpedantic]
   24 |     GList* ret = ((GList* (*)(int, int, const char*, GError **))func) 
(param1, param2, param3, &error);
      |                   ^
searpc-demo-server.c: In function ‘start_rpc_service’:
searpc-demo-server.c:69:37: warning: ISO C forbids passing argument 2 of 
‘searpc_server_register_function’ between function pointer and ‘void *’ 
[-Wpedantic]
   69 |                                     searpc_strlen,
      |                                     ^~~~~~~~~~~~~
In file included from ../lib/searpc.h:7,
                 from searpc-demo-server.c:10:
../lib/searpc-server.h:113:49: note: expected ‘void *’ but argument is of type 
‘int (*)(const char *)’
  113 |                                           void* func,
      |                                           ~~~~~~^~~~
searpc-demo-server.c:73:37: warning: ISO C forbids passing argument 2 of 
‘searpc_server_register_function’ between function pointer and ‘void *’ 
[-Wpedantic]
   73 |                                     searpc_objlisttest,
      |                                     ^~~~~~~~~~~~~~~~~~
../lib/searpc-server.h:113:49: note: expected ‘void *’ but argument is of type 
‘GList * (*)(int,  int,  const char *)’ {aka ‘struct _GList * (*)(int,  int,  
const char *)’}
  113 |                                           void* func,
      |                                           ~~~~~~^~~~
searpc-demo-server.c: In function ‘main’:
searpc-demo-server.c:132:17: warning: unused variable ‘error’ 
[-Wunused-variable]
  132 |         GError *error = NULL;
      |                 ^~~~~
cc1: some warnings being treated as errors
make[4]: *** [Makefile:428: demo-async-client.o] Error 1

Cheers
-- 
Sebastian Ramacher

--- End Message ---
--- Begin Message ---
Source: libsearpc
Source-Version: 3.3.0+really3.3+git20230527.783141f-3.2
Done: Andrey Rakhmatullin <w...@debian.org>

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

Debian distribution maintenance software
pp.
Andrey Rakhmatullin <w...@debian.org> (supplier of updated libsearpc 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: Sat, 16 Mar 2024 00:36:38 +0500
Source: libsearpc
Architecture: source
Version: 3.3.0+really3.3+git20230527.783141f-3.2
Distribution: unstable
Urgency: medium
Maintainer: Debian Seafile Team <team+seaf...@tracker.debian.org>
Changed-By: Andrey Rakhmatullin <w...@debian.org>
Closes: 1066367
Changes:
 libsearpc (3.3.0+really3.3+git20230527.783141f-3.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS with -Werror=implicit-function-declaration (Closes: #1066367).
Checksums-Sha1:
 caa31d399f723e174f4c1848604f4d2c66512261 2447 
libsearpc_3.3.0+really3.3+git20230527.783141f-3.2.dsc
 4cc363ebb75fe44b6c31b2c9ea7f6c306f2480c4 7968 
libsearpc_3.3.0+really3.3+git20230527.783141f-3.2.debian.tar.xz
 9e6721c3c490ed77ecefb96f8aef5b04385dfc88 8906 
libsearpc_3.3.0+really3.3+git20230527.783141f-3.2_amd64.buildinfo
Checksums-Sha256:
 c1735e76b7f0d02d0c2ce79be19cd4d83c763f3e2dcf1a10a3e576970f469032 2447 
libsearpc_3.3.0+really3.3+git20230527.783141f-3.2.dsc
 f99933c1f6a2f4b8133d2a47a8dc91368e1a1844cb4ef6910df60609d7e7cb9a 7968 
libsearpc_3.3.0+really3.3+git20230527.783141f-3.2.debian.tar.xz
 e1448b4a2e4250b77a4505cdcf6612e311cd908468c8485202619bf6ebffbc43 8906 
libsearpc_3.3.0+really3.3+git20230527.783141f-3.2_amd64.buildinfo
Files:
 c8304efade2484472bb2852b1c18e697 2447 libs optional 
libsearpc_3.3.0+really3.3+git20230527.783141f-3.2.dsc
 a92356fa2933f508d96306a4728b7d22 7968 libs optional 
libsearpc_3.3.0+really3.3+git20230527.783141f-3.2.debian.tar.xz
 cbbde77163c492ffa563ced4d37228d5 8906 libs optional 
libsearpc_3.3.0+really3.3+git20230527.783141f-3.2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmX0pHoACgkQM2L3AxpJ
kuHvCA/+LBl40NjKh4RBjR7TUblvBkSWiGqM+kv/OkqyaaH+kl3cDpOE5rWGeCva
jlNspHNYT7aS3rj1BcD7Otxmjzes+eGMhE1J+Oqod4F7DNHPTFDp9Hzkp1IAx6YI
13+bwzHdVsMBYj4voSLDGPhIzjRTZMdXbmLWVMVgAaVB4PDJdlQcYA3UBHhvBNdY
68/m9sI0ET90bYEN44kfsI4EBYQxWDEG+aaR1Ov7UgxUHpt2gtdQnYK7/+jmZze7
/LlfqwO/MCpkfpcVIN9wNaJ8TUXEblltYU3gl2LxNpXkpGm2bGd9TzHz7LSZGWjl
6KOULxY0bTBrDcRIW2Wo0lk2qdkINtEMDYLLdoJzBnSRuPwvwymjtmLpVD+3fejx
Fd8pQKHTl4gC58qf2TMgMP3uTyvPBCybBu0Fy/5ToaDLgxat5HzQYtDXwJm82Ad0
xy0DW2A/GKuLKWS3j3zeS+rcWYC3vVd0JdZf2CFX++jIy0Vgl32bSDgPZljbZJ5E
jrBuyiqPfiwE0weIpgjHXBUDJ6B76MFe0gTEG1EDHHWocx6xLFuyLHAJZHKmtsFB
pbe9EgwV1rC9WYTV4Xid7tcKCbUB94rjI/LxDpW2OPqpLdv7yAO69o/l7oFfonx4
LYbdHxWUhCIiMBs0OoSWWcFgKXFXUPXYYK8nelorfLcLdavRAlk=
=M6fY
-----END PGP SIGNATURE-----

Attachment: pgpmFkrF5iuut.pgp
Description: PGP signature


--- End Message ---

Reply via email to