<86>Dec 19 10:31:00 userdel[18996]: delete user 'rooter'
<86>Dec 19 10:31:00 userdel[18996]: removed group 'rooter' owned by 'rooter'
<86>Dec 19 10:31:00 userdel[18996]: removed shadow group 'rooter' owned by 'rooter'
<86>Dec 19 10:31:00 groupadd[19008]: group added to /etc/group: name=rooter, GID=537
<86>Dec 19 10:31:00 groupadd[19008]: group added to /etc/gshadow: name=rooter
<86>Dec 19 10:31:00 groupadd[19008]: new group: name=rooter, GID=537
<86>Dec 19 10:31:00 useradd[19022]: new user: name=rooter, UID=537, GID=537, home=/root, shell=/bin/bash
<86>Dec 19 10:31:00 userdel[19037]: delete user 'builder'
<86>Dec 19 10:31:00 userdel[19037]: removed group 'builder' owned by 'builder'
<86>Dec 19 10:31:00 userdel[19037]: removed shadow group 'builder' owned by 'builder'
<86>Dec 19 10:31:00 groupadd[19046]: group added to /etc/group: name=builder, GID=538
<86>Dec 19 10:31:00 groupadd[19046]: group added to /etc/gshadow: name=builder
<86>Dec 19 10:31:00 groupadd[19046]: new group: name=builder, GID=538
<86>Dec 19 10:31:00 useradd[19053]: new user: name=builder, UID=538, GID=538, home=/usr/src, shell=/bin/bash
<13>Dec 19 10:31:04 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed
<13>Dec 19 10:31:04 rpmi: libtasn1-4.15.0-alt1 sisyphus+241940.100.1.1 1574959866 installed
<13>Dec 19 10:31:04 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Dec 19 10:31:04 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Dec 19 10:31:05 rpmi: ca-certificates-2019.10.28-alt1 sisyphus+239875.300.1.1 1572267834 installed
<13>Dec 19 10:31:05 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed
<13>Dec 19 10:31:05 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed
<13>Dec 19 10:31:05 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed
<13>Dec 19 10:31:05 rpmi: libp11-0.4.10-alt2 sisyphus+237787.500.3.1 1570526928 installed
<13>Dec 19 10:31:05 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed
<13>Dec 19 10:31:05 rpmi: libssl-devel-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed
<13>Dec 19 10:31:05 rpmi: rpm-macros-pam0-1.3.1.0.5.955b-alt2 1530819916 installed
<13>Dec 19 10:31:05 rpmi: libpam0-devel-1.3.1.0.5.955b-alt2 1530819925 installed
<13>Dec 19 10:31:05 rpmi: libp11-devel-0.4.10-alt2 sisyphus+237787.500.3.1 1570526928 installed
<13>Dec 19 10:31:05 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/pam_p11-0.2.0-alt1.nosrc.rpm
Installing pam_p11-0.2.0-alt1.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.14977
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf pam_p11-0.2.0
+ echo 'Source #0 (pam_p11-0.2.0.tar):'
Source #0 (pam_p11-0.2.0.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/pam_p11-0.2.0.tar
+ cd pam_p11-0.2.0
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (pam_p11-0.2.0.patch):'
Patch #0 (pam_p11-0.2.0.patch):
+ /usr/bin/patch -p1
patching file .gear/rules
patching file .gear/tags/159b7828e7b0762fae83e5ed349ef91d079e874f
patching file .gear/tags/list
patching file configure.ac
patching file pam_p11.spec
patching file src/match_openssh.c
patching file src/pam_p11.c
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.14977
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd pam_p11-0.2.0
+ autoreconf -fisv
autoreconf-default: Entering directory `.'
autoreconf-default: running: autopoint --force
Copying file ABOUT-NLS
Copying file ./config.rpath
Copying file m4/codeset.m4
Copying file m4/extern-inline.m4
Copying file m4/fcntl-o.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intlmacosx.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/threadlib.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
autoreconf-default: running: aclocal --force -I m4
autoreconf-default: configure.ac: tracing
autoreconf-default: running: libtoolize --force --install
libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize-default: linking file './config.guess'
libtoolize-default: linking file './config.sub'
libtoolize-default: linking file './install-sh'
libtoolize-default: linking file './ltmain.sh'
libtoolize-default: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize-default: linking file 'm4/libtool.m4'
libtoolize-default: linking file 'm4/ltoptions.m4'
libtoolize-default: linking file 'm4/ltsugar.m4'
libtoolize-default: linking file 'm4/ltversion.m4'
libtoolize-default: linking file 'm4/lt~obsolete.m4'
libtoolize-default: Remember to add 'LT_INIT' to configure.ac.
autoreconf-default: configure.ac: not using Intltool
autoreconf-default: configure.ac: not using gtk-doc
autoreconf-default: running: /usr/bin/autoconf-2.60 --force
autoreconf-default: running: /usr/bin/autoheader-2.60 --force
autoreconf-default: running: automake --add-missing --force-missing
configure.ac:18: installing './compile'
configure.ac:13: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf-default: Leaving directory `.'
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=' -march=i586 -mtune=generic'
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ xargs -ri dirname -- '{}'
+ sort -u
+ ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --with-pamdir=/lib/security
configure: WARNING: unrecognized options: --without-included-gettext
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i586-alt-linux-gnu
checking host system type... i586-alt-linux-gnu
checking for i586-alt-linux-gcc... i586-alt-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-alt-linux-gcc accepts -g... yes
checking for i586-alt-linux-gcc option to accept ISO C89... none needed
checking whether i586-alt-linux-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of i586-alt-linux-gcc... none
checking for i586-alt-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how to run the C preprocessor... i586-alt-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for a sed that does not truncate output... /bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by i586-alt-linux-gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking how to run the C preprocessor... i586-alt-linux-gcc -E
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking whether make sets $(MAKE)... (cached) yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i586-alt-linux-gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop
checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for i586-alt-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for i586-alt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i586-alt-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for i586-alt-linux-strip... no
checking for strip... strip
checking for i586-alt-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for i586-alt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC
checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if i586-alt-linux-gcc static flag -static works... no
checking if i586-alt-linux-gcc supports -c -o file.o... yes
checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes
checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for libp11 >= 0.2.4... yes
checking for libcrypto >= 0.9.7... yes
checking for EVP_MD_CTX_new... yes
checking for EVP_MD_CTX_free... yes
checking for EVP_MD_CTX_reset... yes
checking for pam_authenticate in -lpam... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking security/pam_ext.h usability... yes
checking security/pam_ext.h presence... yes
checking for security/pam_ext.h... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for memset... yes
checking for strdup... yes
checking for strerror... yes
checking for PKCS11_enumerate_public_keys... yes
checking for PKCS11_is_logged_in... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool commands
configure: WARNING: unrecognized options: --without-included-gettext

pam_p11 has been configured with the following options:


Version:                 0.2.0
Libraries:               /usr/lib

Host:                    i586-alt-linux-gnu
Compiler:                i586-alt-linux-gcc
Preprocessor flags:      
Compiler flags:          -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wno-unused-parameter -Werror
Linker flags:            
Libraries:               

pamdir                   /lib/security

PAM_CFLAGS:              
PAM_LIBS:                -lpam
LIBP11_CFLAGS:           
LIBP11_LIBS:             -lp11
OPENSSL_CFLAGS:          
OPENSSL_LIBS:            -lcrypto

+ make -j8
make  all-recursive
Making all in po
test ! -f ./pam_p11.pot || \
  test -z "de.gmo" || make de.gmo
make[3]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/po'
rm -f de.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de.gmo de.po
de.po: 18 translated messages, 3 fuzzy translations.
make[3]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/po'
make[2]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/po'
touch stamp-po
make[2]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/po'
Making all in src
make[2]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..       -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DTEST -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wno-unused-parameter -Werror -c -o test_login-login.o `test -f 'login.c' || echo './'`login.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..       -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DTEST -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wno-unused-parameter -Werror -c -o test_passwd-passwd.o `test -f 'passwd.c' || echo './'`passwd.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..       -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DTEST -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wno-unused-parameter -Werror -c -o test_passwd-base64.o `test -f 'base64.c' || echo './'`base64.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..       -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DTEST -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wno-unused-parameter -Werror -c -o test_passwd-test.o `test -f 'test.c' || echo './'`test.c
In file included from /usr/include/string.h:507,
                 from /usr/include/security/pam_client.h:17,
                 from /usr/include/security/pam_misc.h:7,
                 from test.c:27:
In function 'strncpy',
    inlined from 'main' at test.c:58:4:
/usr/include/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 32 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'main' at test.c:61:4:
/usr/include/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 4096 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:633: test_passwd-test.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..       -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DTEST -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wno-unused-parameter -Werror -c -o test_login-base64.o `test -f 'base64.c' || echo './'`base64.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..       -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DTEST -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wno-unused-parameter -Werror -c -o test_login-match_openssh.o `test -f 'match_openssh.c' || echo './'`match_openssh.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..       -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DTEST -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wno-unused-parameter -Werror -c -o test_passwd-pam_p11.o `test -f 'pam_p11.c' || echo './'`pam_p11.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..       -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DTEST -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wno-unused-parameter -Werror -c -o test_login-test.o `test -f 'test.c' || echo './'`test.c
In file included from /usr/include/string.h:507,
                 from /usr/include/security/pam_client.h:17,
                 from /usr/include/security/pam_misc.h:7,
                 from test.c:27:
In function 'strncpy',
    inlined from 'main' at test.c:58:4:
/usr/include/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 32 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'main' at test.c:61:4:
/usr/include/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 4096 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:549: test_login-test.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..       -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DTEST -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wno-unused-parameter -Werror -c -o test_passwd-match_openssh.o `test -f 'match_openssh.c' || echo './'`match_openssh.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..       -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DTEST -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wno-unused-parameter -Werror -c -o test_login-match_opensc.o `test -f 'match_opensc.c' || echo './'`match_opensc.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I..       -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DTEST -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -Wextra -Wno-unused-parameter -Werror -c -o test_login-pam_p11.o `test -f 'pam_p11.c' || echo './'`pam_p11.c
make[2]: Leaving directory '/usr/src/RPM/BUILD/pam_p11-0.2.0/src'
make[1]: *** [Makefile:495: all-recursive] Error 1
make: *** [Makefile:406: all] Error 2
error: Bad exit status from /usr/src/tmp/rpm-tmp.14977 (%build)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.14977 (%build)
Command exited with non-zero status 1
20.24user 4.34system 0:28.15elapsed 87%CPU (0avgtext+0avgdata 30784maxresident)k
0inputs+0outputs (0major+865076minor)pagefaults 0swaps
hsh-rebuild: rebuild of `pam_p11-0.2.0-alt1.src.rpm' failed.
Command exited with non-zero status 1
27.86user 9.26system 0:40.90elapsed 90%CPU (0avgtext+0avgdata 109644maxresident)k
144inputs+0outputs (0major+1126138minor)pagefaults 0swaps