D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/alpine-2.03-4.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RoFw70 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf re-alpine-2.03 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/re-alpine-2.03.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd re-alpine-2.03 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (alpine-2.00-string-format.patch):' Patch #0 (alpine-2.00-string-format.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .stft --fuzz=0 patching file alpine/mailcmd.c Hunk #1 succeeded at 7879 (offset 6 lines). patching file pith/ldap.c Hunk #1 succeeded at 777 (offset -1 lines). patching file imap/src/osdep/unix/flocklnx.c + echo 'Patch #1 (alpine-2.00-link.patch):' Patch #1 (alpine-2.00-link.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .link --fuzz=0 patching file alpine/Makefile.am patching file configure.ac + echo 'Patch #2 (alpine-2.00-maildir.patch):' Patch #2 (alpine-2.00-maildir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .maildir --fuzz=0 patching file alpine/alpine.c Hunk #1 succeeded at 555 (offset 2 lines). patching file alpine/confscroll.c patching file imap/src/c-client/mail.c patching file imap/src/c-client/mail.h patching file imap/src/osdep/unix/dummy.c patching file imap/src/osdep/unix/maildir.c patching file imap/src/osdep/unix/maildir.h patching file imap/src/osdep/unix/Makefile Hunk #3 succeeded at 290 (offset 8 lines). Hunk #4 succeeded at 900 (offset 8 lines). patching file imap/src/osdep/unix/os_cyg.h patching file pith/conf.c Hunk #3 succeeded at 2251 (offset 28 lines). Hunk #4 succeeded at 2882 (offset 37 lines). Hunk #5 succeeded at 6949 (offset 37 lines). Hunk #6 succeeded at 7736 (offset 37 lines). patching file pith/conf.h patching file pith/conftype.h patching file pith/init.c patching file pith/pattern.c Hunk #2 succeeded at 7910 (offset 8 lines). Hunk #3 succeeded at 7944 (offset 8 lines). Hunk #4 succeeded at 8017 (offset 8 lines). patching file pith/pine.hlp Hunk #1 succeeded at 21328 (offset 75 lines). Hunk #2 succeeded at 29302 (offset 79 lines). patching file pith/send.c patching file README.maildir + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dVvbUD + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd re-alpine-2.03 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ echo '-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' ++ sed -e s/-fPIC// + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' ++ echo '-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' ++ sed -e s/-fPIC// + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' ++ echo '-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' ++ sed -e s/-fPIC// + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + autoreconf -fi configure.ac:47: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:4158: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5233: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:47: the top level configure.ac:47: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:4158: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5233: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:47: the top level configure.ac:47: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:4158: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5233: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:47: the top level configure.ac:47: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... m4/libtool.m4:4158: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5233: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.ac:47: the top level libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' configure.ac:59: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged. configure.ac:59: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:59: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. configure.ac:40: installing './compile' configure.ac:25: installing './missing' alpine/Makefile.am: installing './depcomp' + touch imap/ip6 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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 Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 --without-krb5 --without-tcl --with-c-client-target=lfd --with-passfile=.alpine.passfile --with-system-pinerc=/etc/pine.conf --with-system-fixed-pinerc=/etc/pine.conf.fixed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu configure: Configuring for alpine 2.03 (x86_64-mageia-linux-gnu)) checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for gawk... (cached) gawk checking for ranlib... ranlib checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by 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 x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 ar... /usr/bin/ar checking for rm... /usr/bin/rm checking for cp... /usr/bin/cp checking for ln... /usr/bin/ln checking for sed... (cached) /usr/bin/sed checking for make... /usr/bin/make 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 GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) 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 option: dmalloc enabled... no checking option: debugging is enabled... yes checking option: optimization is enabled... yes checking option: mouse support enabled... yes checking option: quotas enabled... no checking option: From changing enabled... yes checking option: background post enabled... yes checking option: keyboard lock enabled... yes checking option: from encoding enabled... no checking for sendmail... no checking for inews... no checking for passwd... /usr/bin/passwd checking for hunspell... hunspell checking for hunspell... /usr/bin/hunspell checking for hunspell... hunspell checking for hunspell... /usr/bin/hunspell configure: --with-passfile definition overrides OS-Specific password caching configure: Excluding TCL Support, and thus Web Alpine Support checking for setupterm in -ltinfo... yes checking for ber_alloc in -llber... yes checking for library containing ldap_init... -lldap configure: Including LDAP Support checking if we should define LDAP_DEPRECATED... yes checking for library containing SSL_library_init... no configure: OpenSSL libraries FOUND checking for library containing regcomp... none required checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for pthread support... checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no yes checking for library containing nanosleep... none required checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether stat file-mode macros are broken... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for memory.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking return type of signal handlers... void checking for size_t... yes checking for mode_t... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for union wait... yes checking for stdint.h... (cached) yes checking for stdint.h... (cached) yes checking argument pointer type of qsort compare function and base... void checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strcoll... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for strchr... yes checking for memcpy... yes checking for strtol... yes checking for strtoul... yes checking for select... yes checking for poll... yes checking for qsort... yes checking for getuid... yes checking for getpwuid... yes checking for getpwnam... yes checking for gettimeofday... yes checking for tmpfile... yes checking for uname... yes checking for rename... yes checking for read... yes checking for signal... yes checking for setjmp... yes checking for chown... yes checking for wait4... yes checking for waitpid... yes checking for wait... yes checking for srandom... yes checking for popen... yes checking for pclose... yes checking for fsync... yes checking for truncate... yes checking for listen... yes checking for wcwidth... yes checking for mbstowcs... yes checking for wcrtomb... yes checking for putenv... yes checking for setenv... yes checking for library containing gethostname... none required checking for library containing socket... none required checking for library containing bind... none required checking for sigaction... yes checking for sigemptyset... yes checking for sigaddset... yes checking for sigprocmask... yes checking for library containing syslog... none required configure: * * * SSL file "/etc/pki/tls/certs/factory.pem" is missing. configure: * * * This might indicate that CA certs did not get properly configure: * * * installed. If you get certificate validation failures configure: * * * in Alpine, this might be the reason for them. configure: * * * No 8-hexdigit symlinks in certificate directory "/etc/pki/tls/certs". configure: * * * This might indicate that CA certs did not get properly configure: * * * installed. If you get certificate validation failures configure: * * * in Alpine, this might be the reason for them. configure: * * * TCL libraries could not be found. configure: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating regex/Makefile config.status: creating pith/osdep/Makefile config.status: creating pith/charconv/Makefile config.status: creating pith/Makefile config.status: creating pico/osdep/Makefile config.status: creating pico/Makefile config.status: creating alpine/osdep/Makefile config.status: creating alpine/Makefile config.status: creating web/src/Makefile config.status: creating web/src/pubcookie/Makefile config.status: creating web/src/alpined.d/Makefile config.status: creating Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands /usr/bin/rm: cannot remove 'libtoolT': No such file or directory config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 touch imap/ip6 cd imap && /usr/bin/make lfd EXTRACFLAGS=" -I/etc/pki/tls/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4" EXTRALDFLAGS=" -L/etc/pki/tls/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags" EXTRASPECIALS="SSLDIR=/etc/pki/tls " if test ! -L c-client ; then ln -s imap/c-client c-client ; fi make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap' 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[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap' make build EXTRACFLAGS='-I/etc/pki/tls/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' EXTRALDFLAGS='-L/etc/pki/tls/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLDIR=/etc/pki/tls ' BUILDTYPE=lnp IP=6 \ SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private GSSDIR=/usr/kerberos" make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap' make[3]: 'ip6' is up to date. make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap' Building c-client for lnp... echo `cat SPECIALS` SSLDIR=/etc/pki/tls > c-client/SPECIALS make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap' cd c-client;make lnp EXTRACFLAGS='-I/etc/pki/tls/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'\ EXTRALDFLAGS='-L/etc/pki/tls/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=nopwd IP=6\ SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private GSSDIR=/usr/kerberos SSLDIR=/etc/pki/tls make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' make build EXTRACFLAGS='-I/etc/pki/tls/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' EXTRALDFLAGS='-L/etc/pki/tls/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-lpam -ldl" make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' 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' make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' Once-only environment setup... echo cc > CCTYPE echo -g -O2 -pipe -fno-omit-frame-pointer '-I/etc/pki/tls/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' -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=\"\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS echo -lpam -ldl -L/etc/pki/tls/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -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 maildir.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers mbox maildir courier 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' make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' Standard password authentication ln -s ckp_pam.c osdepckp.c make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/etc/pki/tls/certs\" -DSSL_KEY_DIRECTORY=\"/etc/pki/tls/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' echo -L/usr/lib -lssl -lcrypto >> LDFLAGS make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make slx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from /usr/include/stdlib.h:24:0, from osdep.h:43, from osdep.c:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from osdep.c:31:0: env_unix.c: In function 'lock_work': osdep.h:60:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] #define flock safe_flock ^ env_unix.c:1374:27: note: in expansion of macro 'flock' if (op & LOCK_NB) i = flock (fd,op); ^ osdep.c: In function 'ssl_start_work': osdep.c:461:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] TLSv1_client_method () : ^ In file included from /usr/include/multiarch-dispatch.h:72:0, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/ct.h:13, from /usr/include/openssl/ssl.h:61, from osdep.c:268: /usr/include/openssl/ssl.h:1619:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^ osdep.c:511:49: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}' if (scq) return (*scq) (err,host,cert ? cert->name : "???") ? NIL : ""; ^ osdep.c: In function 'ssl_server_init': osdep.c:944:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] TLSv1_server_method () : ^ In file included from /usr/include/multiarch-dispatch.h:72:0, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/ct.h:13, from /usr/include/openssl/ssl.h:61, from osdep.c:268: /usr/include/openssl/ssl.h:1618:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */ ^ osdep.c: In function 'ssl_genkey': osdep.c:1015:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { ^ In file included from /usr/include/multiarch-dispatch.h:72:0, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/rsa.h:13, from /usr/include/openssl/x509.h:31, from /usr/include/openssl/x509v3.h:14, from osdep.c:267: /usr/include/openssl/rsa.h:193:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ In file included from auths.c:2:0, from env_unix.c:260, from osdep.c:50: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:195:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ In file included from osdep.c:50:0: env_unix.c: In function 'pw_login': env_unix.c:785:37: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (ret = env_init (user,home))) chdir (myhomedir ()); ^ Makefile:921: recipe for target 'osdep.o' failed make[4]: *** [osdep.o] Error 1 make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' Makefile:495: recipe for target 'lnp' failed make[3]: *** [lnp] Error 2 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap/c-client' Makefile:692: recipe for target 'OSTYPE' failed make[2]: *** [OSTYPE] Error 2 Makefile:359: recipe for target 'lfd' failed make[1]: *** [lfd] Error 2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/re-alpine-2.03/imap' Makefile:964: recipe for target 'c-client' failed make: *** [c-client] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dVvbUD (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dVvbUD (%build) I: [iurt_root_command] ERROR: chroot