D: [iurt_root_command] chroot warning: line 62: It's not recommended to have unversioned Obsoletes: Obsoletes: libc-client-php-devel warning: line 63: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64c-client-php0-devel warning: line 64: It's not recommended to have unversioned Obsoletes: Obsoletes: imap-devel warning: %patchN is deprecated (15 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/c-client-2007f-17.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.e8Z6g7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf imap-2007f + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/imap-2007f.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd imap-2007f + rm -rf /home/pterjan/rpmbuild/BUILD/imap-2007f-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/imap-2007f-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (imap-2002e-ssl.patch):' Patch #0 (imap-2002e-ssl.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .ssl --fuzz=0 patching file src/osdep/unix/Makefile Hunk #1 succeeded at 54 (offset 26 lines). + echo 'Patch #1 (imap-2007a-linux.diff):' Patch #1 (imap-2007a-linux.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .linux --fuzz=0 patching file src/osdep/unix/Makefile Hunk #3 succeeded at 496 (offset 8 lines). Hunk #4 succeeded at 509 (offset 8 lines). + echo 'Patch #3 (imap-2001a-disable-mbox.patch):' Patch #3 (imap-2001a-disable-mbox.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mbox --fuzz=0 patching file Makefile Hunk #1 succeeded at 145 (offset 1 line). patching file src/osdep/unix/Makefile + echo 'Patch #4 (imap-2001a-redhat.patch):' Patch #4 (imap-2001a-redhat.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .redhat --fuzz=0 patching file Makefile Hunk #1 succeeded at 253 (offset 1 line). + echo 'Patch #5 (imap-2006c1-flock.diff):' Patch #5 (imap-2006c1-flock.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .flock --fuzz=0 patching file src/osdep/unix/Makefile Hunk #1 succeeded at 152 (offset 10 lines). + install -m 0644 /home/pterjan/rpmbuild/SOURCES/flock.c src/osdep/unix/flock.c + echo 'Patch #9 (imap-2006c1-glibc-2.2.2.diff):' Patch #9 (imap-2006c1-glibc-2.2.2.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .glibc --fuzz=0 patching file src/osdep/unix/env_unix.c patching file src/osdep/unix/mh.c patching file src/osdep/unix/mx.c patching file src/osdep/unix/news.c patching file src/osdep/unix/phile.c + echo 'Patch #12 (imap-2001a-overflow.patch):' Patch #12 (imap-2001a-overflow.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .overflow --fuzz=0 patching file src/c-client/rfc822.c + echo 'Patch #17 (imap-mail-spool-perms.diff):' Patch #17 (imap-mail-spool-perms.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .lock-warning --fuzz=0 patching file src/osdep/unix/env_unix.c Hunk #1 succeeded at 224 (offset 6 lines). + echo 'Patch #21 (imap-2004a-shared.patch):' Patch #21 (imap-2004a-shared.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .shared --fuzz=0 patching file src/osdep/unix/Makefile Hunk #2 succeeded at 856 (offset 8 lines). Hunk #3 succeeded at 913 (offset 8 lines). Hunk #4 succeeded at 927 (offset 8 lines). + echo 'Patch #22 (imap-2002e-authmd5.patch):' Patch #22 (imap-2002e-authmd5.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .authmd5 --fuzz=0 patching file src/c-client/auth_md5.c Hunk #1 succeeded at 42 (offset 8 lines). + echo 'Patch #23 (imap-2006c1-annotate.diff):' Patch #23 (imap-2006c1-annotate.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .annotate --fuzz=0 patching file src/c-client/imap4r1.c Hunk #1 succeeded at 133 (offset -5 lines). Hunk #2 succeeded at 204 (offset -5 lines). Hunk #3 succeeded at 2767 (offset 16 lines). Hunk #4 succeeded at 2897 (offset 16 lines). Hunk #5 succeeded at 3039 (offset 16 lines). Hunk #6 succeeded at 3060 (offset 16 lines). Hunk #7 succeeded at 3239 (offset 16 lines). Hunk #8 succeeded at 4194 (offset 28 lines). patching file src/c-client/imap4r1.h Hunk #1 succeeded at 279 (offset 39 lines). patching file src/c-client/mail.c Hunk #1 succeeded at 67 (offset -5 lines). Hunk #2 succeeded at 597 (offset 11 lines). Hunk #3 succeeded at 5720 (offset 50 lines). Hunk #4 succeeded at 6051 (offset 50 lines). patching file src/c-client/mail.h Hunk #1 succeeded at 353 (offset 8 lines). Hunk #2 succeeded at 1050 (offset 15 lines). Hunk #3 succeeded at 1376 (offset 15 lines). Hunk #4 succeeded at 1795 (offset 17 lines). patching file src/mtest/mtest.c Hunk #4 succeeded at 624 (offset 5 lines). + echo 'Patch #24 (imap-2004g-hash_reset.diff):' Patch #24 (imap-2004g-hash_reset.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .hash_reset --fuzz=0 patching file src/c-client/mail.c patching file src/c-client/misc.c patching file src/c-client/misc.h + echo 'Patch #25 (imap-yes.diff):' Patch #25 (imap-yes.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .yes --fuzz=0 patching file Makefile Hunk #1 succeeded at 579 (offset 28 lines). Hunk #2 succeeded at 602 (offset 28 lines). + echo 'Patch #26 (1006_openssl1.1_autoverify.patch):' Patch #26 (1006_openssl1.1_autoverify.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .openssl11 --fuzz=0 patching file src/osdep/unix/ssl_unix.c + echo 'Patch #27 (alpine-CVE-2020-14929.patch):' Patch #27 (alpine-CVE-2020-14929.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p2 -b --suffix .CVE-2020-14929 --fuzz=0 patching file src/c-client/imap4r1.c Hunk #1 succeeded at 877 (offset 4 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LMNISN + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd imap-2007f + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + touch ip6 + export 'EXTRACFLAGS= -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE' + EXTRACFLAGS=' -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE' + export 'EXTRALDFLAGS= -L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + EXTRALDFLAGS=' -L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + make 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_REENTRANT -DDIC -fPIC -fno-omit-frame-pointer -D_GNU_SOURCE' slx 'EXTRACFLAGS= -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE' 'EXTRALDFLAGS= -L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' SSLDIR=/usr/lib64/ssl SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib64 LOCKPGM=/usr/sbin/mlock SSLTYPE=unix SHLIBBASE=c-client SHLIBNAME=libc-client.so.0 'BASECFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_REENTRANT -DDIC -fPIC -fno-omit-frame-pointer -D_GNU_SOURCE' IP=6 make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in PARTIAL compliance with RFC 3501 security + requirements: + Compliant: ++ TLS/SSL encryption is supported + Non-compliant: ++ Unencrypted plaintext passwords are permitted + + In order to rectify this problem, you MUST build with: ++ SSLTYPE=unix.nopwd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/imap-2007f' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE' EXTRALDFLAGS='-L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' EXTRADRIVERS='' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix IP=6 EXTRASPECIALS='' BUILDTYPE=slx make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/imap-2007f' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/imap-2007f' make[2]: 'ip6' is up to date. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/imap-2007f' Building c-client for slx... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make slx EXTRACFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE'\ EXTRALDFLAGS='-L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags'\ EXTRADRIVERS=''\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=unix IP=6\ make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/imap-2007f/c-client' Makefile:873: warning: ignoring prerequisites on suffix rule definition You are building for libc6/glibc versions of Secure Linux If you want libc5 versions you must use sl5 instead! If you want libc4 versions you must use sl4 instead! make build EXTRACFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE' EXTRALDFLAGS='-L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' EXTRADRIVERS='' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix IP=6 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-lcrypt" make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/imap-2007f/c-client' Makefile:873: warning: ignoring prerequisites on suffix rule definition sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -g -pipe -fno-omit-frame-pointer '-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DDISABLE_POP_PROXY=1 -DIGNORE_LOCK_EACCES_ERRORS=1 -I/usr/include/openssl -D_GNU_SOURCE' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/usr/sbin/mlock\" \ -DLOCKPGM1=\"\" -DLOCKPGM2=\"\" \ -DLOCKPGM3=\"\" > OSCFLAGS echo -lcrypt -L/usr/lib64 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o flock.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths ext md5 pla log echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_slx.h osdep.h ln -s os_slx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' fgrep: warning: fgrep is obsolescent; using grep -F Standard password authentication ln -s ckp_psx.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/etc/ssl/imap\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/imap\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib64 -lssl -lcrypto >> LDFLAGS cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c cc -D_REENTRANT -fPIC -DPIC -g `cat OSCFLAGS` -c osdep.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from osdep.h:43, from osdep.c:31: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ env_unix.c: In function 'lock_work': osdep.h:60:15: error: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] 60 | #define flock safe_flock | ^~~~~~~~~~ env_unix.c:1375:27: note: in expansion of macro 'flock' 1375 | if (op & LOCK_NB) i = flock (fd,op); | ^~~~~ osdep.c: In function 'ssl_start_work': osdep.c:424:40: warning: 'TLSv1_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 424 | TLSv1_client_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from osdep.c:232: /usr/include/openssl/ssl.h:2025:50: note: declared here 2025 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void); | ^~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_server_init': osdep.c:919:40: warning: 'TLSv1_server_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 919 | TLSv1_server_method () : | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:2024:50: note: declared here 2024 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_server_method(void); | ^~~~~~~~~~~~~~~~~~~ osdep.c:934:5: warning: 'SSL_CTX_use_RSAPrivateKey_file' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 934 | else if (!(SSL_CTX_use_RSAPrivateKey_file (stream->context,key, | ^~~~ /usr/include/openssl/ssl.h:1705:12: note: declared here 1705 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_genkey': osdep.c:990:5: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 990 | if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { | ^~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/x509v3.h:25, from osdep.c:231: /usr/include/openssl/rsa.h:259:30: note: declared here 259 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ make[3]: *** [Makefile:932: osdep.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/imap-2007f/c-client' make[2]: *** [Makefile:680: slx] Error 2 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/imap-2007f/c-client' make[1]: *** [Makefile:688: OSTYPE] Error 2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/imap-2007f' make: *** [Makefile:311: slx] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.LMNISN (%build) RPM build warnings: line 62: It's not recommended to have unversioned Obsoletes: Obsoletes: libc-client-php-devel line 63: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64c-client-php0-devel line 64: It's not recommended to have unversioned Obsoletes: Obsoletes: imap-devel %patchN is deprecated (15 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.LMNISN (%build) I: [iurt_root_command] ERROR: chroot