D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/ldapvi-1.7-29.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.C3IlJM Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tGEGb9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build + rm -rf ldapvi-1.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ldapvi-1.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ldapvi-1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ldapvi-makefile.in-destdir.patch):' Patch #0 (ldapvi-makefile.in-destdir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .orig --fuzz=0 patching file GNUmakefile.in + echo 'Patch #1 (ldapvi-fix_naming_conflict.diff):' Patch #1 (ldapvi-fix_naming_conflict.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p2 -b --suffix .conflict --fuzz=0 patching file common.h patching file ldapvi.c patching file misc.c + echo 'Patch #2 (fix-vim-modeline.patch):' Patch #2 (fix-vim-modeline.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file ldapvi.c + echo 'Patch #3 (ldapvi-1.7-rand_bytes.patch):' Patch #3 (ldapvi-1.7-rand_bytes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rand_bytes --fuzz=0 patching file port.c + echo 'Patch #4 (ldapvi-1.7-incorrect-FSF-address.patch):' Patch #4 (ldapvi-1.7-incorrect-FSF-address.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .FSFaddress --fuzz=0 patching file COPYING patching file arguments.c patching file data.c patching file diff.c patching file error.c patching file ldapvi.c patching file misc.c patching file parse.c patching file parseldif.c patching file port.c patching file print.c patching file sasl.c patching file schema.c patching file search.c patching file common.h + echo 'Patch #5 (0001-Don-t-switch-off-canonical-mode.patch):' Patch #5 (0001-Don-t-switch-off-canonical-mode.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nopassword --fuzz=0 patching file ldapvi.c + echo 'Patch #6 (ldapvi-c99-1.patch):' Patch #6 (ldapvi-c99-1.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file common.h + echo 'Patch #7 (ldapvi-c99-2.patch):' Patch #7 (ldapvi-c99-2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file parse.c + echo 'Patch #8 (ldapvi-c99-3.patch):' Patch #8 (ldapvi-c99-3.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file diff.c + echo 'Patch #10 (ldapvi-c99-5.patch):' Patch #10 (ldapvi-c99-5.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ldapvi.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1Q2L0b + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ldapvi-1.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-mageia-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for mkdtemp... yes checking for on_exit... yes checking for main in -lsocket... no checking for main in -lresolv... yes checking for main in -llber... yes checking for main in -lldap... yes checking for ldap_initialize in -lldap... yes checking for ldap_bv2dn_x in -lldap... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 sasl/sasl.h usability... yes checking sasl/sasl.h presence... yes checking for sasl/sasl.h... yes checking for library containing tigetstr... -lcurses checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for poptGetContext in -lpopt... yes checking for readline in -lreadline... yes checking for pkg-config... /usr/bin/pkg-config checking for main in -lglib-2.0... yes checking for main in -lssl... yes checking for SHA1... yes checking for RAND_pseudo_bytes... yes checking for main in -lcrypt... yes configure: creating ./config.status config.status: creating GNUmakefile config.status: WARNING: GNUmakefile.in seems to ignore the --datarootdir setting config.status: creating config.h + /usr/bin/make -O -j16 V=1 VERBOSE=1 gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o error.o error.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o data.o data.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o port.o port.c port.c: In function 'g_string_append_ssha': port.c:136:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 136 | SHA1_Init(&SHA1context); | ^~~~~~~~~ In file included from port.c:37: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ port.c:137:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 137 | SHA1_Update(&SHA1context, key, strlen(key)); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ port.c:138:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 138 | SHA1_Update(&SHA1context, rand, sizeof(rand)); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ port.c:139:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 139 | SHA1_Final(tmp, &SHA1context); | ^~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ port.c: In function 'g_string_append_md5': port.c:154:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 154 | MD5((unsigned char *) key, strlen(key), tmp); | ^~~ In file included from port.c:38: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ port.c: In function 'g_string_append_smd5': port.c:168:9: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 168 | MD5_Init(&MD5context); | ^~~~~~~~ /usr/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ port.c:169:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 169 | MD5_Update(&MD5context, key, strlen(key)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ port.c:170:9: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 170 | MD5_Update(&MD5context, rand, sizeof(rand)); | ^~~~~~~~~~ /usr/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ port.c:171:9: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 171 | MD5_Final(tmp, &MD5context); | ^~~~~~~~~ /usr/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o sasl.o sasl.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o base64.o base64.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o arguments.o arguments.c arguments.c: In function 'usage': arguments.c:184:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 184 | write(fd, USAGE, strlen(USAGE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o search.o search.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o diff.o diff.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o parse.o parse.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o parseldif.o parseldif.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o print.o print.c gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o misc.o misc.c misc.c: In function 'edit': misc.c:176:25: warning: missing sentinel in function call [-Wformat=] 176 | execlp(vi, vi, buf, pathname, 0); | ^~~~~~ misc.c:178:25: warning: missing sentinel in function call [-Wformat=] 178 | execlp(vi, vi, pathname, 0); | ^~~~~~ misc.c: In function 'view': misc.c:217:17: warning: missing sentinel in function call [-Wformat=] 217 | execlp(pg, pg, pathname, 0); | ^~~~~~ misc.c: In function 'pipeview': misc.c:249:17: warning: missing sentinel in function call [-Wformat=] 249 | execlp(pg, pg, 0); | ^~~~~~ misc.c: In function 'xalloc': misc.c:401:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 401 | write(2, "\nmalloc error\n", sizeof("\nmalloc error\n") - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'xdup': misc.c:415:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 415 | write(2, "\nstrdup error\n", sizeof("\nstrdup error\n") - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'fdcp': misc.c:54:21: warning: 'write' specified size 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 54 | if (write(fddst, buf, n) != n) syserr(); | ^~~~~~~~~~~~~~~~~~~~ In file included from common.h:40, from misc.c:21: /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ misc.c: In function 'edit': misc.c:175:48: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 175 | snprintf(buf, 20, "+%ld", line); | ^ In file included from /usr/include/stdio.h:970, from /usr/include/curses.h:246, from misc.c:19: In function 'snprintf', inlined from 'edit' at misc.c:175:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 21 bytes into a destination of size 20 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o ldapvi.o ldapvi.c In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from common.h:24, from ldapvi.c:24: ldapvi.c: In function 'save_ldif': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gstring.h:296:51: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 296 | #define g_string_sprintfa g_string_append_printf GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_string_append_printf) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ldapvi.c:766:9: note: in expansion of macro 'g_string_sprintfa' 766 | g_string_sprintfa(name, "-%d.ldif", getpid()); | ^~~~~~~~~~~~~~~~~ ldapvi.c: In function 'write_config': ldapvi.c:1236:43: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'gpointer' {aka 'void *'} [-Wformat=] 1236 | fprintf(f, "BASE %s\n", g_ptr_array_index(basedns, i)); | ~^ | | | char * | %p ldapvi.c: In function 'ensure_tmp_directory': ldapvi.c:579:9: warning: ignoring return value of 'mkdtemp' declared with attribute 'warn_unused_result' [-Wunused-result] 579 | mkdtemp(dir); | ^~~~~~~~~~~~ gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLDAP_DEPRECATED -o ldapvi ldapvi.o data.o diff.o error.o misc.o parse.o port.o print.o search.o base64.o arguments.o parseldif.o schema.c sasl.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lcrypt -lssl -lssl -lcrypto -lglib-2.0 -lreadline -lpopt -lcurses -lldap -llber -lresolv + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.njnn2F + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build + mkdir /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ldapvi-1.7 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT 'INSTALL=/usr/bin/install -p' mkdir -p /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT/usr/bin /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT/usr/share/man/man1/ /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT/usr/share/doc/ldapvi /usr/bin/install -p ldapvi /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT/usr/bin /usr/bin/install -p -m 644 ldapvi.1 /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT/usr/share/man/man1/ /usr/bin/install -p -m 644 manual/manual.css manual/manual.xml manual/bg.png manual/html.xsl /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT/usr/share/doc/ldapvi + xsltproc /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT//usr/share/doc/ldapvi/html.xsl /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT//usr/share/doc/ldapvi/manual.xml + rm -f /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT//usr/share/doc/ldapvi/html.xsl + rm -f /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT//usr/share/doc/ldapvi/manual.xml + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.7-29.mga10 --unique-debug-suffix -1.7-29.mga10.x86_64 --unique-debug-src-base ldapvi-1.7-29.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/ldapvi-1.7 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ldapvi-1.7-29.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/SPECPARTS/rpm-debuginfo.specpart Processing files: ldapvi-1.7-29.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SvEyP0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build + cd ldapvi-1.7 + DOCDIR=/home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT/usr/share/doc/ldapvi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT/usr/share/doc/ldapvi + cp -pr /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/ldapvi-1.7/NEWS /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT/usr/share/doc/ldapvi + RPM_EC=0 ++ jobs -p + exit 0 Provides: ldapvi = 1.7-29.mga10 ldapvi(x86-64) = 1.7-29.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.1()(64bit) libcrypt.so.1(XCRYPT_2.0)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libglib-2.0.so.0()(64bit) liblber-2.5.so.0()(64bit) liblber-2.5.so.0(OPENLDAP_2.5)(64bit) libldap-2.5.so.0()(64bit) libldap-2.5.so.0(OPENLDAP_2.5)(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) libreadline.so.8()(64bit) libtinfo.so.6()(64bit) Processing files: ldapvi-debugsource-1.7-29.mga10.x86_64 Provides: ldapvi-debugsource = 1.7-29.mga10 ldapvi-debugsource(x86-64) = 1.7-29.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ldapvi-debuginfo-1.7-29.mga10.x86_64 Provides: debuginfo(build-id) = 04668de11b264beaf29966145095c5b19d43b426 ldapvi-debuginfo = 1.7-29.mga10 ldapvi-debuginfo(x86-64) = 1.7-29.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ldapvi-debugsource(x86-64) = 1.7-29.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ldapvi-debugsource-1.7-29.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ldapvi-1.7-29.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ldapvi-debuginfo-1.7-29.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ffNg7f + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build + test -d /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build + rm -rf /home/pterjan/rpmbuild/BUILD/ldapvi-1.7-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!