* Package: sys-auth/pam_smb-2.0.0_rc6-r2 * Repository: gentoo * Maintainer: samba@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/02a5ba7553229af96307182af052f49f5ebf0560 @@@@@ END @@@@@ >>> Unpacking source... >>> Unpacking pam_smb-2.0.0-rc6.tar.gz to /var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work >>> Source unpacked in /var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work >>> Preparing source in /var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work/pam_smb-2.0.0-rc6 ... * Applying 10-pam_smb-bash-3.1.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work/pam_smb-2.0.0-rc6 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-root-only creating cache ./config.cache Will compile with encrypted password support Will compile for any user access Will compile with daemon support checking for gcc... gcc checking whether the C compiler (gcc -O2 -pipe -march=native -frecord-gcc-switches -fcommon -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes checking whether the C compiler (gcc -O2 -pipe -march=native -frecord-gcc-switches -fcommon -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no checking whether we are using GNU C... yes checking whether the C compiler (gcc -O2 -pipe -march=native -frecord-gcc-switches -fcommon -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes checking whether the C compiler (gcc -O2 -pipe -march=native -frecord-gcc-switches -fcommon -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for security/pam_appl.h... yes checking for security/pam_modules.h... yes checking for pam/pam_modules.h... no checking for shadow.h... yes checking for unistd.h... yes checking for sys/vfs.h... yes checking for LOG_AUTHPRIV... yes checking for main in -lcrypt... yes checking for main in -lnsl... yes checking for main in -lsocket... no checking for working const... yes checking system version (for dynamic loading)... Linux-5.4.0-1011-aws checking for dlopen in -ldl... yes updating cache ./config.cache creating ./config.status creating Makefile creating ./include/config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work/pam_smb-2.0.0-rc6 ... make -j4 mkdir -p ./dynamic set -e; for i in smbval tdb pamsmbd pamsmbm; do make -C $i; done *** Building pam-smb(alpha) module of the framework... make[1]: Entering directory '/var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work/pam_smb-2.0.0-rc6/smbval' Makefile:29: warning: ignoring prerequisites on suffix rule definition Makefile:29: warning: ignoring prerequisites on suffix rule definition Makefile:29: warning: ignoring prerequisites on suffix rule definition Makefile:29: warning: ignoring prerequisites on suffix rule definition Contact: airlied@samba.org Compiling valid.c gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -c valid.c Compiling session.c gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -c session.c Compiling rfcnb-util.c gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -c rfcnb-util.c Compiling rfcnb-io.c gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -c rfcnb-io.c session.c: In function ‘RFCNB_Get_Error_Msg’: session.c:372:40: warning: implicit declaration of function ‘abs’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 372 | strncpy(msg_buf, RFCNB_Error_Strings[abs(code)], len); | ^~~ valid.c: In function ‘Valid_User’: valid.c:48:3: warning: implicit declaration of function ‘SMB_Init’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 48 | SMB_Init(); | ^~~~~~~~ valid.c:50:3: warning: implicit declaration of function ‘RFCNB_Set_Timeout’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 50 | RFCNB_Set_Timeout(timeout); | ^~~~~~~~~~~~~~~~~ valid.c:62:7: warning: implicit declaration of function ‘SMB_Negotiate’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 62 | if (SMB_Negotiate(con, SMB_Prots) < 0) { /* An error */ | ^~~~~~~~~~~~~ valid.c:74:7: warning: implicit declaration of function ‘SMB_Logon_Server’; did you mean ‘SMB_Connect_Server’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 74 | if (SMB_Logon_Server(con, USERNAME, PASSWORD) < 0) { | ^~~~~~~~~~~~~~~~ | SMB_Connect_Server valid.c:81:3: warning: implicit declaration of function ‘SMB_Discon’; did you mean ‘SMBtcon’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 81 | SMB_Discon(con,0); | ^~~~~~~~~~ | SMBtcon Compiling smblib-util.c gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -c smblib-util.c Compiling smblib.c gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -c smblib.c smblib-util.c: In function ‘SMB_AtrToStr’: smblib-util.c:91:5: warning: implicit declaration of function ‘strcat’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 91 | strcat(SMB_Attrib_Temp, (verbose?"Read Only ":"R")); | ^~~~~~ smblib-util.c:91:5: warning: incompatible implicit declaration of built-in function ‘strcat’ smblib-util.c:34:1: note: include ‘’ or provide a declaration of ‘strcat’ 33 | #include "rfcnb.h" +++ |+#include 34 | smblib-util.c:94:5: warning: incompatible implicit declaration of built-in function ‘strcat’ 94 | strcat(SMB_Attrib_Temp, (verbose?"Hidden ":"H")); | ^~~~~~ smblib-util.c:94:5: note: include ‘’ or provide a declaration of ‘strcat’ smblib-util.c:97:5: warning: incompatible implicit declaration of built-in function ‘strcat’ 97 | strcat(SMB_Attrib_Temp, (verbose?"System ":"S")); | ^~~~~~ smblib-util.c:97:5: note: include ‘’ or provide a declaration of ‘strcat’ smblib-util.c:100:5: warning: incompatible implicit declaration of built-in function ‘strcat’ 100 | strcat(SMB_Attrib_Temp, (verbose?"Volume ":"V")); | ^~~~~~ smblib-util.c:100:5: note: include ‘’ or provide a declaration of ‘strcat’ smblib-util.c:103:5: warning: incompatible implicit declaration of built-in function ‘strcat’ 103 | strcat(SMB_Attrib_Temp, (verbose?"Directory ":"D")); | ^~~~~~ smblib-util.c:103:5: note: include ‘’ or provide a declaration of ‘strcat’ smblib-util.c:106:5: warning: incompatible implicit declaration of built-in function ‘strcat’ 106 | strcat(SMB_Attrib_Temp, (verbose?"Archive ":"A")); | ^~~~~~ smblib-util.c:106:5: note: include ‘’ or provide a declaration of ‘strcat’ smblib-util.c: In function ‘SMB_Figure_Protocol’: smblib-util.c:182:11: warning: implicit declaration of function ‘strcmp’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 182 | if (strcmp(dialects[prot_index], SMB_Prots[i]) == 0) { /* A match */ | ^~~~~~ Compiling smbencrypt.c smblib-util.c: In function ‘SMB_Negotiate’: smblib-util.c:218:29: warning: implicit declaration of function ‘strlen’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 218 | prots_len = prots_len + strlen(Prots[i]) + 2; /* Account for null etc */ | ^~~~~~ smblib-util.c:218:29: warning: incompatible implicit declaration of built-in function ‘strlen’ smblib-util.c:218:29: note: include ‘’ or provide a declaration of ‘strlen’ gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -c smbencrypt.c smblib-util.c:270:5: warning: implicit declaration of function ‘strcpy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 270 | strcpy(p + 1, Prots[i]); | ^~~~~~ smblib-util.c:270:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ smblib-util.c:270:5: note: include ‘’ or provide a declaration of ‘strcpy’ smblib-util.c:271:13: warning: incompatible implicit declaration of built-in function ‘strlen’ 271 | p = p + strlen(Prots[i]) + 2; /* Adjust len of p for null plus dialectID */ | ^~~~~~ smblib-util.c:271:13: note: include ‘’ or provide a declaration of ‘strlen’ smblib-util.c:366:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘char *’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 366 | fprintf(stderr, "%d", (char *)(SMB_Hdr(pkt) + SMB_negrLM_buf_offset)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int char * | %s smblib-util.c:367:5: warning: implicit declaration of function ‘memcpy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 367 | memcpy(Con_Handle->Encrypt_Key, p, 8); | ^~~~~~ smblib-util.c:367:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ smblib-util.c:367:5: note: include ‘’ or provide a declaration of ‘memcpy’ smblib-util.c:371:5: warning: implicit declaration of function ‘strncpy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 371 | strncpy(p, Con_Handle -> Svr_PDom, sizeof(Con_Handle -> Svr_PDom) - 1); | ^~~~~~~ smblib-util.c:371:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ smblib-util.c:371:5: note: include ‘’ or provide a declaration of ‘strncpy’ smblib-util.c: In function ‘SMB_Get_My_Name’: smblib-util.c:425:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ 425 | strncpy(name, "unknown", len); | ^~~~~~~ smblib-util.c:425:5: note: include ‘’ or provide a declaration of ‘strncpy’ smblib-util.c: In function ‘SMB_TreeConnect’: smblib-util.c:469:15: warning: incompatible implicit declaration of built-in function ‘strlen’ 469 | param_len = strlen(path) + 2 + strlen(password) + 2 + strlen(device) + 2; | ^~~~~~ smblib-util.c:469:15: note: include ‘’ or provide a declaration of ‘strlen’ smblib-util.c:507:3: warning: incompatible implicit declaration of built-in function ‘strncpy’ 507 | strncpy(tree -> path, path, sizeof(tree -> path)); | ^~~~~~~ smblib-util.c:507:3: note: include ‘’ or provide a declaration of ‘strncpy’ smblib-util.c:527:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ 527 | strcpy(p + 1, path); | ^~~~~~ smblib-util.c:527:3: note: include ‘’ or provide a declaration of ‘strcpy’ smblib-util.c: In function ‘SMB_Get_Error_Msg’: smblib-util.c:769:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ 769 | strncpy(msgbuf, | ^~~~~~~ smblib-util.c:769:5: note: include ‘’ or provide a declaration of ‘strncpy’ smblib-util.c:780:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ 780 | strncpy(msgbuf, | ^~~~~~~ smblib-util.c:780:5: note: include ‘’ or provide a declaration of ‘strncpy’ smblib-util.c:786:9: warning: incompatible implicit declaration of built-in function ‘strlen’ 786 | if (strlen(msgbuf) < len) { /* If there is space, put rest in */ | ^~~~~~ smblib-util.c:786:9: note: include ‘’ or provide a declaration of ‘strlen’ smblib-util.c:788:7: warning: implicit declaration of function ‘strncat’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 788 | strncat(msgbuf, "\n\t", len - strlen(msgbuf)); | ^~~~~~~ smblib-util.c:788:7: warning: incompatible implicit declaration of built-in function ‘strncat’ smblib-util.c:788:7: note: include ‘’ or provide a declaration of ‘strncat’ smblib.c: In function ‘SMBlib_Set_Sock_NoDelay’: smblib.c:105:7: warning: implicit declaration of function ‘RFCNB_Set_Sock_NoDelay’; did you mean ‘SMBlib_Set_Sock_NoDelay’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 105 | if (RFCNB_Set_Sock_NoDelay(Con_Handle -> Trans_Connect, yn) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~ | SMBlib_Set_Sock_NoDelay smblib.c: In function ‘SMB_Connect_Server’: smblib.c:156:3: warning: implicit declaration of function ‘SMB_Get_My_Name’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 156 | SMB_Get_My_Name(con -> myname, sizeof(con -> myname)); | ^~~~~~~~~~~~~~~ smblib.c:172:17: warning: implicit declaration of function ‘toupper’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 172 | called[i] = toupper(server[i]); | ^~~~~~~ smblib.c: In function ‘SMB_Connect’: smblib.c:341:7: warning: implicit declaration of function ‘SMB_Negotiate’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 341 | if (SMB_Negotiate(con, SMB_Prots_Restrict) < 0) { | ^~~~~~~~~~~~~ smblib.c: In function ‘SMB_Logon_Server’: smblib.c:388:5: warning: implicit declaration of function ‘SMBencrypt’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 388 | SMBencrypt((uchar *) PassWord, (uchar *)Con_Handle -> Encrypt_Key,(uchar *)pword); | ^~~~~~~~~~ Compiling smbdes.c gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -c smbdes.c smblib.c:540:5: warning: implicit declaration of function ‘RFCNB_Free_Pkt’; did you mean ‘RFCNB_Alloc_Pkt’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 540 | RFCNB_Free_Pkt(pkt); | ^~~~~~~~~~~~~~ | RFCNB_Alloc_Pkt Compiling md4.c gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -c md4.c ar rcs smbvalid.a valid.o session.o rfcnb-util.o rfcnb-io.o smblib-util.o smblib.o smbencrypt.o smbdes.o md4.o make[1]: Leaving directory '/var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work/pam_smb-2.0.0-rc6/smbval' make[1]: Entering directory '/var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work/pam_smb-2.0.0-rc6/tdb' gcc -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -I../include -DSTANDALONE -c -o tdb.o tdb.c gcc -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -I../include -DSTANDALONE -c -o spinlock.o spinlock.c tdb.c: In function ‘tdb_dump_record’: tdb.c:427:69: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 427 | ("ERROR: tailer does not match record! tailer=%u totalsize=%u\n", tailer, rec.rec_len + sizeof(rec)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int long unsigned int | %lu make[1]: Leaving directory '/var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work/pam_smb-2.0.0-rc6/tdb' make[1]: Entering directory '/var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work/pam_smb-2.0.0-rc6/pamsmbd' gcc -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -I../include -I../tdb -c -o server.o server.c gcc -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -I../include -I../tdb -c -o pam_read_conf.o pam_read_conf.c gcc -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -I../include -I../tdb -c -o map_user.o map_user.c gcc -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -I../include -I../tdb -c -o cache.o cache.c pam_read_conf.c: In function ‘smb_readpamconf’: pam_read_conf.c:47:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 47 | fgets(buf, 255, fl); | ^~~~~~~~~~~~~~~~~~~ pam_read_conf.c:60:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 60 | fgets(pamsmb_dlist->controllers[0].servers[0].sername, MAX_SERV_LEN, fl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pam_read_conf.c:65:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 65 | fgets(pamsmb_dlist->controllers[0].servers[1].sername, MAX_SERV_LEN, fl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pam_read_conf.c:59:56: warning: writing 1 byte into a region of size 0 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=]8;;] 59 | pamsmb_dlist->controllers[0].domain[MAX_SERV_LEN]='\0'; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from pam_read_conf.c:26: ../include/cache.h:34:8: note: at offset 64 to object ‘domain’ with size 32 declared here 34 | char domain[MAX_NTDOM_LEN]; | ^~~~~~ pam_read_conf.c:64:68: warning: writing 1 byte into a region of size 0 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=]8;;] 64 | pamsmb_dlist->controllers[0].servers[0].sername[MAX_SERV_LEN]='\0'; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from pam_read_conf.c:26: ../include/cache.h:27:8: note: at offset 64 to object ‘sername’ with size 64 declared here 27 | char sername[MAX_SERV_LEN]; | ^~~~~~~ pam_read_conf.c:69:68: warning: writing 1 byte into a region of size 0 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=]8;;] 69 | pamsmb_dlist->controllers[0].servers[1].sername[MAX_SERV_LEN]='\0'; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from pam_read_conf.c:26: ../include/cache.h:27:8: note: at offset 64 to object ‘sername’ with size 64 declared here 27 | char sername[MAX_SERV_LEN]; | ^~~~~~~ gcc -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -I../include -I../tdb -c -o md5.o md5.c md5.c: In function ‘md5_append’: md5.c:354:2: warning: implicit declaration of function ‘memcpy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 354 | memcpy(pms->buf + offset, p, copy); | ^~~~~~ md5.c:354:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ md5.c:42:1: note: include ‘’ or provide a declaration of ‘memcpy’ 41 | #include "md5.h" +++ |+#include 42 | md5.c:368:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ 368 | memcpy(pms->buf, p, left); | ^~~~~~ md5.c:368:2: note: include ‘’ or provide a declaration of ‘memcpy’ gcc -O2 -pipe -march=native -frecord-gcc-switches -fcommon -DHAVE_CONFIG_H -fPIC -I../include -I../tdb -c -o md5driver.o md5driver.c md5driver.c: In function ‘md5string’: md5driver.c:70:9: warning: implicit declaration of function ‘strlen’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 70 | len = strlen(inString); | ^~~~~~ md5driver.c:70:9: warning: incompatible implicit declaration of built-in function ‘strlen’ md5driver.c:44:1: note: include ‘’ or provide a declaration of ‘strlen’ 43 | #include "md5driver.h" +++ |+#include 44 | gcc -g -o pamsmbd -I../include -I../tdb server.o pam_read_conf.o map_user.o cache.o md5.o md5driver.o ../tdb/tdb.o ../tdb/spinlock.o ../smbval/smbvalid.a -lnsl make[1]: Leaving directory '/var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work/pam_smb-2.0.0-rc6/pamsmbd' make[1]: Entering directory '/var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work/pam_smb-2.0.0-rc6/pamsmbm' gcc -DHAVE_CONFIG_H -I../include -I.. -fPIC -c pam_smb_auth.c -o pam_smb_auth.o gcc -DHAVE_CONFIG_H -I../include -I.. -fPIC -c support.c -o support.o gcc -DHAVE_CONFIG_H -I../include -I.. -fPIC -c queue_valid.c -o queue_valid.o gcc -shared -o pam_smb_auth.so pam_smb_auth.o support.o queue_valid.o -lcrypt make[1]: Leaving directory '/var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/work/pam_smb-2.0.0-rc6/pamsmbm' >>> Source compiled. >>> Test phase [not enabled]: sys-auth/pam_smb-2.0.0_rc6-r2 >>> Install sys-auth/pam_smb-2.0.0_rc6-r2 into /var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/image/ >>> Completed installing sys-auth/pam_smb-2.0.0_rc6-r2 into /var/tmp/portage/sys-auth/pam_smb-2.0.0_rc6-r2/image/ * Final size of build directory: 1072 KiB (1.0 MiB) * Final size of installed tree: 212 KiB * QA Notice: Files built without respecting CFLAGS have been detected * Please include the following list of files in your report: * /lib64/security/pam_smb_auth.so * QA Notice: Files built without respecting LDFLAGS have been detected * Please include the following list of files in your report: * /lib64/security/pam_smb_auth.so * /usr/sbin/pamsmbd * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * smblib-util.c:91:5: warning: incompatible implicit declaration of built-in function ‘strcat’ * smblib-util.c:94:5: warning: incompatible implicit declaration of built-in function ‘strcat’ * smblib-util.c:97:5: warning: incompatible implicit declaration of built-in function ‘strcat’ * smblib-util.c:100:5: warning: incompatible implicit declaration of built-in function ‘strcat’ * smblib-util.c:103:5: warning: incompatible implicit declaration of built-in function ‘strcat’ * smblib-util.c:106:5: warning: incompatible implicit declaration of built-in function ‘strcat’ * smblib-util.c:218:29: warning: incompatible implicit declaration of built-in function ‘strlen’ * smblib-util.c:270:5: warning: incompatible implicit declaration of built-in function ‘strcpy’ * smblib-util.c:271:13: warning: incompatible implicit declaration of built-in function ‘strlen’ * smblib-util.c:367:5: warning: incompatible implicit declaration of built-in function ‘memcpy’ * smblib-util.c:371:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ * smblib-util.c:425:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ * smblib-util.c:469:15: warning: incompatible implicit declaration of built-in function ‘strlen’ * smblib-util.c:507:3: warning: incompatible implicit declaration of built-in function ‘strncpy’ * smblib-util.c:527:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ * smblib-util.c:769:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ * smblib-util.c:780:5: warning: incompatible implicit declaration of built-in function ‘strncpy’ * smblib-util.c:786:9: warning: incompatible implicit declaration of built-in function ‘strlen’ * smblib-util.c:788:7: warning: incompatible implicit declaration of built-in function ‘strncat’ * md5.c:354:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ * md5.c:368:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ * md5driver.c:70:9: warning: incompatible implicit declaration of built-in function ‘strlen’ * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: http://www.csn.ul.ie/~airlied/pam_smb/ strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version /usr/sbin/pamsmbd /lib64/security/pam_smb_auth.so >>> Done. * You must create /etc/pam_smb.conf yourself, containing * your domainname, PDC and BDC. See example files in docdir. emerge --info: Portage 2.3.100 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r5, 5.4.0-1011-aws x86_64) ================================================================= System uname: Linux-5.4.0-1011-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011348 total, 2223800 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 13 Jun 2020 19:39:09 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0-r1::gentoo sys-devel/gcc-config: 2.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fcommon" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fcommon" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fcommon" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fcommon" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS