Your message dated Thu, 14 Mar 2024 16:19:46 +0000
with message-id <e1rkno2-00cpzg...@fasolo.debian.org>
and subject line Bug#1065995: fixed in libauthen-smb-perl 0.91-8
has caused the Debian Bug report #1065995,
regarding libauthen-smb-perl: FTBFS on arm{el,hf}: smblib.c:494:5: error: 
implicit declaration of function ‘RFCNB_Free_Pkt’; did you mean 
‘RFCNB_Alloc_Pkt’? [-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.)


-- 
1065995: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065995
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libauthen-smb-perl
Version: 0.91-7
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=libauthen-smb-perl&arch=armhf&ver=0.91-7%2Bb3&stamp=1709806890&raw=0

valid.c: In function ‘Valid_User’:
valid.c:22:3: error: implicit declaration of function ‘SMB_Init’ 
[-Werror=implicit-function-declaration]
   22 |   SMB_Init();
      |   ^~~~~~~~
valid.c:30:7: error: implicit declaration of function ‘SMB_Negotiate’ 
[-Werror=implicit-function-declaration]
   30 |   if (SMB_Negotiate(con, SMB_Prots) < 0) { /* An error */
      |       ^~~~~~~~~~~~~
valid.c:31:5: error: implicit declaration of function ‘SMB_Discon’; did you 
mean ‘SMBtcon’? [-Werror=implicit-function-declaration]
   31 |     SMB_Discon(con,0);
      |     ^~~~~~~~~~
      |     SMBtcon
Please specify prototyping behavior for Smb.xs (see perlxs manual)
session.c: In function ‘RFCNB_Get_Error_Msg’:
session.c:360:40: error: implicit declaration of function ‘abs’ 
[-Werror=implicit-function-declaration]
  360 |   strncpy(msg_buf, RFCNB_Error_Strings[abs(code)], len);
      |                                        ^~~
session.c:38:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘abs’
   37 | #include "rfcnb-io.h"
  +++ |+#include <stdlib.h>
   38 | 
mv Smb.xsc Smb.c
smblib-util.c: In function ‘SMB_AtrToStr’:
smblib-util.c:87:5: error: implicit declaration of function ‘strcat’ 
[-Werror=implicit-function-declaration]
   87 |     strcat(SMB_Attrib_Temp, (verbose?"Read Only ":"R"));
      |     ^~~~~~
smblib-util.c:30:1: note: include ‘<string.h>’ or provide a declaration of 
‘strcat’
   29 | #include "rfcnb.h"
  +++ |+#include <string.h>
   30 | 
smblib-util.c:87:5: warning: incompatible implicit declaration of built-in 
function ‘strcat’ [-Wbuiltin-declaration-mismatch]
   87 |     strcat(SMB_Attrib_Temp, (verbose?"Read Only ":"R"));
      |     ^~~~~~
smblib-util.c:87:5: note: include ‘<string.h>’ or provide a declaration of 
‘strcat’
smblib-util.c:90:5: warning: incompatible implicit declaration of built-in 
function ‘strcat’ [-Wbuiltin-declaration-mismatch]
   90 |     strcat(SMB_Attrib_Temp, (verbose?"Hidden ":"H"));
      |     ^~~~~~
smblib-util.c:90:5: note: include ‘<string.h>’ or provide a declaration of 
‘strcat’
smblib-util.c:93:5: warning: incompatible implicit declaration of built-in 
function ‘strcat’ [-Wbuiltin-declaration-mismatch]
   93 |     strcat(SMB_Attrib_Temp, (verbose?"System ":"S"));
      |     ^~~~~~
smblib-util.c:93:5: note: include ‘<string.h>’ or provide a declaration of 
‘strcat’
valid.c:42:7: error: implicit declaration of function ‘SMB_Logon_Server’; did 
you mean ‘SMB_Connect_Server’? [-Werror=implicit-function-declaration]
   42 |   if (SMB_Logon_Server(con, USERNAME, PASSWORD) < 0) {
      |       ^~~~~~~~~~~~~~~~
      |       SMB_Connect_Server
smblib-util.c:96:5: warning: incompatible implicit declaration of built-in 
function ‘strcat’ [-Wbuiltin-declaration-mismatch]
   96 |     strcat(SMB_Attrib_Temp, (verbose?"Volume ":"V"));
      |     ^~~~~~
smblib-util.c:96:5: note: include ‘<string.h>’ or provide a declaration of 
‘strcat’
smblib-util.c:99:5: warning: incompatible implicit declaration of built-in 
function ‘strcat’ [-Wbuiltin-declaration-mismatch]
   99 |     strcat(SMB_Attrib_Temp, (verbose?"Directory ":"D"));
      |     ^~~~~~
smblib-util.c:99:5: note: include ‘<string.h>’ or provide a declaration of 
‘strcat’
smblib-util.c:102:5: warning: incompatible implicit declaration of built-in 
function ‘strcat’ [-Wbuiltin-declaration-mismatch]
  102 |     strcat(SMB_Attrib_Temp, (verbose?"Archive ":"A"));
      |     ^~~~~~
smblib-util.c:102:5: note: include ‘<string.h>’ or provide a declaration of 
‘strcat’
smblib-util.c: In function ‘SMB_Figure_Protocol’:
smblib-util.c:178:11: error: implicit declaration of function ‘strcmp’ 
[-Werror=implicit-function-declaration]
  178 |       if (strcmp(dialects[prot_index], SMB_Prots[i]) == 0) { /* A match 
*/
      |           ^~~~~~
smblib-util.c:178:11: note: include ‘<string.h>’ or provide a declaration of 
‘strcmp’
smblib-util.c: In function ‘SMB_Negotiate’:
smblib-util.c:214:29: error: implicit declaration of function ‘strlen’ 
[-Werror=implicit-function-declaration]
  214 |     prots_len = prots_len + strlen(Prots[i]) + 2; /* Account for null 
etc */
      |                             ^~~~~~
smblib-util.c:214:29: note: include ‘<string.h>’ or provide a declaration of 
‘strlen’
smblib-util.c:214:29: warning: incompatible implicit declaration of built-in 
function ‘strlen’ [-Wbuiltin-declaration-mismatch]
smblib-util.c:214:29: note: include ‘<string.h>’ or provide a declaration of 
‘strlen’
arm-linux-gnueabihf-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2   
-DVERSION=\"0.91\" -DXS_VERSION=\"0.91\" -fPIC 
"-I/usr/lib/arm-linux-gnueabihf/perl/5.38/CORE"   Smb.c
smblib-util.c:266:5: error: implicit declaration of function ‘strcpy’ 
[-Werror=implicit-function-declaration]
  266 |     strcpy(p + 1, Prots[i]);
      |     ^~~~~~
smblib-util.c:266:5: note: include ‘<string.h>’ or provide a declaration of 
‘strcpy’
smblib-util.c:266:5: warning: incompatible implicit declaration of built-in 
function ‘strcpy’ [-Wbuiltin-declaration-mismatch]
smblib-util.c:266:5: note: include ‘<string.h>’ or provide a declaration of 
‘strcpy’
smblib-util.c:267:13: warning: incompatible implicit declaration of built-in 
function ‘strlen’ [-Wbuiltin-declaration-mismatch]
  267 |     p = p + strlen(Prots[i]) + 2; /* Adjust len of p for null plus 
dialectID */
      |             ^~~~~~
smblib-util.c:267:13: note: include ‘<string.h>’ or provide a declaration of 
‘strlen’
smblib-util.c:362:23: warning: format ‘%d’ expects argument of type ‘int’, but 
argument 3 has type ‘char *’ [-Wformat=]
  362 |     fprintf(stderr, "%d", (char *)(SMB_Hdr(pkt) + 
SMB_negrLM_buf_offset));
      |                      ~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                       |   |
      |                       int char *
      |                      %s
smblib-util.c:363:5: error: implicit declaration of function ‘memcpy’ 
[-Werror=implicit-function-declaration]
  363 |     memcpy(Con_Handle->Encrypt_Key, p, 8);
      |     ^~~~~~
smblib-util.c:363:5: note: include ‘<string.h>’ or provide a declaration of 
‘memcpy’
smblib-util.c:363:5: warning: incompatible implicit declaration of built-in 
function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
smblib-util.c:363:5: note: include ‘<string.h>’ or provide a declaration of 
‘memcpy’
smblib-util.c:367:5: error: implicit declaration of function ‘strncpy’ 
[-Werror=implicit-function-declaration]
  367 |     strncpy(p, Con_Handle -> Svr_PDom, sizeof(Con_Handle -> Svr_PDom) - 
1);
      |     ^~~~~~~
smblib-util.c:367:5: note: include ‘<string.h>’ or provide a declaration of 
‘strncpy’
smblib-util.c:367:5: warning: incompatible implicit declaration of built-in 
function ‘strncpy’ [-Wbuiltin-declaration-mismatch]
smblib-util.c:367:5: note: include ‘<string.h>’ or provide a declaration of 
‘strncpy’
smblib-util.c: In function ‘SMB_Get_My_Name’:
smblib-util.c:421:5: warning: incompatible implicit declaration of built-in 
function ‘strncpy’ [-Wbuiltin-declaration-mismatch]
  421 |     strncpy(name, "unknown", len);
      |     ^~~~~~~
smblib-util.c:421:5: note: include ‘<string.h>’ or provide a declaration of 
‘strncpy’
smblib-util.c: In function ‘SMB_TreeConnect’:
smblib-util.c:465:15: warning: incompatible implicit declaration of built-in 
function ‘strlen’ [-Wbuiltin-declaration-mismatch]
  465 |   param_len = strlen(path) + 2 + strlen(password) + 2 + strlen(device) 
+ 2;
      |               ^~~~~~
smblib-util.c:465:15: note: include ‘<string.h>’ or provide a declaration of 
‘strlen’
smblib-util.c:503:3: warning: incompatible implicit declaration of built-in 
function ‘strncpy’ [-Wbuiltin-declaration-mismatch]
  503 |   strncpy(tree -> path, path, sizeof(tree -> path));
      |   ^~~~~~~
smblib-util.c:503:3: note: include ‘<string.h>’ or provide a declaration of 
‘strncpy’
smblib-util.c:523:3: warning: incompatible implicit declaration of built-in 
function ‘strcpy’ [-Wbuiltin-declaration-mismatch]
  523 |   strcpy(p + 1, path);
      |   ^~~~~~
smblib-util.c:523:3: note: include ‘<string.h>’ or provide a declaration of 
‘strcpy’
smblib-util.c: In function ‘SMB_Get_Error_Msg’:
smblib-util.c:765:5: warning: incompatible implicit declaration of built-in 
function ‘strncpy’ [-Wbuiltin-declaration-mismatch]
  765 |     strncpy(msgbuf,
      |     ^~~~~~~
smblib-util.c:765:5: note: include ‘<string.h>’ or provide a declaration of 
‘strncpy’
smblib-util.c:776:5: warning: incompatible implicit declaration of built-in 
function ‘strncpy’ [-Wbuiltin-declaration-mismatch]
  776 |     strncpy(msgbuf,
      |     ^~~~~~~
smblib-util.c:776:5: note: include ‘<string.h>’ or provide a declaration of 
‘strncpy’
smblib-util.c:782:9: warning: incompatible implicit declaration of built-in 
function ‘strlen’ [-Wbuiltin-declaration-mismatch]
  782 |     if (strlen(msgbuf) < len) { /* If there is space, put rest in */
      |         ^~~~~~
smblib-util.c:782:9: note: include ‘<string.h>’ or provide a declaration of 
‘strlen’
smblib-util.c:784:7: error: implicit declaration of function ‘strncat’ 
[-Werror=implicit-function-declaration]
  784 |       strncat(msgbuf, "\n\t", len - strlen(msgbuf));
      |       ^~~~~~~
smblib-util.c:784:7: note: include ‘<string.h>’ or provide a declaration of 
‘strncat’
smblib-util.c:784:7: warning: incompatible implicit declaration of built-in 
function ‘strncat’ [-Wbuiltin-declaration-mismatch]
smblib-util.c:784:7: note: include ‘<string.h>’ or provide a declaration of 
‘strncat’
smblib.c: In function ‘SMBlib_Set_Sock_NoDelay’:
smblib.c:94:7: error: implicit declaration of function 
‘RFCNB_Set_Sock_NoDelay’; did you mean ‘SMBlib_Set_Sock_NoDelay’? 
[-Werror=implicit-function-declaration]
   94 |   if (RFCNB_Set_Sock_NoDelay(Con_Handle -> Trans_Connect, yn) < 0) {
      |       ^~~~~~~~~~~~~~~~~~~~~~
      |       SMBlib_Set_Sock_NoDelay
smblib.c: In function ‘SMB_Connect_Server’:
smblib.c:145:3: error: implicit declaration of function ‘SMB_Get_My_Name’ 
[-Werror=implicit-function-declaration]
  145 |   SMB_Get_My_Name(con -> myname, sizeof(con -> myname));
      |   ^~~~~~~~~~~~~~~
smblib.c:160:17: error: implicit declaration of function ‘toupper’ 
[-Werror=implicit-function-declaration]
  160 |     called[i] = toupper(server[i]);
      |                 ^~~~~~~
smblib.c:37:1: note: include ‘<ctype.h>’ or provide a declaration of ‘toupper’
   36 | #include "rfcnb.h"
  +++ |+#include <ctype.h>
   37 | 
cc1: some warnings being treated as errors
make[2]: *** [Makefile:343: valid.o] Error 1
make[2]: *** Waiting for unfinished jobs....
smblib.c: In function ‘SMB_Connect’:
smblib.c:296:7: error: implicit declaration of function ‘SMB_Negotiate’ 
[-Werror=implicit-function-declaration]
  296 |   if (SMB_Negotiate(con, SMB_Prots_Restrict) < 0) {
      |       ^~~~~~~~~~~~~
smblib.c: In function ‘SMB_Logon_Server’:
smblib.c:343:5: error: implicit declaration of function ‘SMBencrypt’ 
[-Werror=implicit-function-declaration]
  343 |     SMBencrypt((uchar *) PassWord, (uchar *)Con_Handle -> 
Encrypt_Key,(uchar *)pword);
      |     ^~~~~~~~~~
smblib.c:494:5: error: implicit declaration of function ‘RFCNB_Free_Pkt’; did 
you mean ‘RFCNB_Alloc_Pkt’? [-Werror=implicit-function-declaration]
  494 |     RFCNB_Free_Pkt(pkt);
      |     ^~~~~~~~~~~~~~
      |     RFCNB_Alloc_Pkt
cc1: some warnings being treated as errors
make[2]: *** [Makefile:343: session.o] Error 1
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[2]: *** [Makefile:343: smblib.o] Error 1
make[2]: *** [Makefile:343: smblib-util.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/smbval'
make[1]: *** [Makefile:1068: smbval/smbvalid.a] Error 2
make[1]: *** Waiting for unfinished jobs....
Smb.c: In function ‘XS_Authen__Smb_Valid_User’:
Smb.c:309:18: error: implicit declaration of function ‘Valid_User’ 
[-Werror=implicit-function-declaration]
  309 |         RETVAL = Valid_User(username, password, server, backup, domain);
      |                  ^~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [Makefile:339: Smb.o] Error 1

Cheers
-- 
Sebastian Ramacher

--- End Message ---
--- Begin Message ---
Source: libauthen-smb-perl
Source-Version: 0.91-8
Done: gregor herrmann <gre...@debian.org>

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

Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (supplier of updated libauthen-smb-perl 
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: Thu, 14 Mar 2024 16:54:50 +0100
Source: libauthen-smb-perl
Architecture: source
Version: 0.91-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: gregor herrmann <gre...@debian.org>
Closes: 1065995
Changes:
 libauthen-smb-perl (0.91-8) unstable; urgency=medium
 .
   * Update include_string.patch and rename it to missing_includes.patch.
     Add more missing includes. Fixes parts of #1065995.
   * Refresh spelling.patch (offset).
   * Add implicit-function-declaration.patch.
     Declare functions before use. (Closes: #1065995)
   * Update years of packaging copyright.
   * Add /me to Uploaders.
   * Declare compliance with Debian Policy 4.6.2.
   * Set Rules-Requires-Root: no.
   * Enable all hardening flags.
   * Remove ancient Conflicts.
     libapache2-authenntlm-perl was removed from the archive in 2017.
   * Add debian/tests/pkg-perl/use-name for more autopkgtests.
   * Fix module name in long description.
Checksums-Sha1:
 555360f7dd2903c13755c229d9d7dcb8ea788286 2355 libauthen-smb-perl_0.91-8.dsc
 32a9964d0c833564135160e4065573a82a51c1f2 4060 
libauthen-smb-perl_0.91-8.debian.tar.xz
Checksums-Sha256:
 17ba02b4f51910b5135fc3c5d94f76506f3f9b92ca0ca64951b5bc6f265dfcc1 2355 
libauthen-smb-perl_0.91-8.dsc
 b731ae017beab8d91ca8671a847fda4142bbfc5bef04653e32fd0f3182566555 4060 
libauthen-smb-perl_0.91-8.debian.tar.xz
Files:
 799fc9a551c35cd3af115039f1d1c41a 2355 perl optional 
libauthen-smb-perl_0.91-8.dsc
 a33eb4e09c3085938dae5eba33264088 4060 perl optional 
libauthen-smb-perl_0.91-8.debian.tar.xz

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

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmXzHl1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgbnOhAAxXzuhj01G0CPwSei+66PnirWU4s+YqmmnT4jVxfLWlzPugOxQrPWN9j0
QcHsW1Vjb6lzvJULMDXoYVf/cgui5OwxHul6FiggnxwBwbYnYzsA6AowDPqdgEnU
hlsHFKgrqiFRZN0ilQ9JL4RR4kMrv+K3JJz27i7XlKpDhivfQPCRSiMWFwamEpbq
TTEEC/hKDt924Aoi0byGgR7AyEB6YMy+8+Rv+Pv6m8m1txrXcYvARJM8dE89hR96
5/VOfXTNcKZlA0r7pABfsBsVQdCT6OLOGo/YesWU6aBoW5kzM236LhXvbeEP6dHR
9wMHvSJWdAIEy811B0czDyc/rzHWdRdOLk/ZxAwveurVaQcWGRcyb7gt7JoqHwRc
9WE5Jx2hZ8weJeDKu+A8gDbkWd/uOO8tZVL/qHYcVq/Va/vu1DmYcZOOkN2VSQnt
MFBl1msjUz0qMAmZE9/l9Uwq81IillOkdKyet8nj67rWcJ8IPlV0GZnN+qtg1tBu
E5uov1o0QGfC6E8pFtCx7UedWYg5sTnQPmOVeR/hdK4QCLny6bj5elisanlvNcbY
5DWpBjNph/x/Bmtx1gkzliCR+GOqhafT1XOQDJxx1So+8EcfAc6Ib0ozCQ5brgES
efJvfblYEjcYXI/uOxLb8wrikQhCaZ0rlTKfN1Pgcx/A6ZhdtcM=
=qIcT
-----END PGP SIGNATURE-----

Attachment: pgpAmncNJb1CH.pgp
Description: PGP signature


--- End Message ---

Reply via email to