Raspbian Package Auto-Building

Build log for procmail (3.22-20+deb7u2) on armhf

procmail3.22-20+deb7u2armhf → 2017-11-18 05:09:27

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on bm-wb-03

+==============================================================================+
| procmail 3.22-20+deb7u2 (armhf)              Sat, 18 Nov 2017 05:05:11 +0000 |
+==============================================================================+

Package: procmail
Version: 3.22-20+deb7u2
Source Version: 3.22-20+deb7u2
Distribution: wheezy-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/wheezy-staging-armhf-sbuild-df7f2468-a665-4974-8fb1-11cb28878f19' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.0.1 wheezy-staging Release.gpg [473 B]
Get:2 http://172.17.0.1 wheezy-staging Release [10.8 kB]
Get:3 http://172.17.0.1 wheezy-staging/main Sources [6097 kB]
Get:4 http://172.17.0.1 wheezy-staging/main armhf Packages [7680 kB]
Fetched 13.8 MB in 21s (628 kB/s)
Reading package lists...

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
Building dependency tree...
Need to get 248 kB of source archives.
Get:1 http://172.17.0.1/private/ wheezy-staging/main procmail 3.22-20+deb7u2 (dsc) [1688 B]
Get:2 http://172.17.0.1/private/ wheezy-staging/main procmail 3.22-20+deb7u2 (tar) [227 kB]
Get:3 http://172.17.0.1/private/ wheezy-staging/main procmail 3.22-20+deb7u2 (diff) [19.3 kB]
Fetched 248 kB in 0s (1675 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/procmail-8n30kf/procmail-3.22' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/procmail-8n30kf' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/<<BUILDDIR>>/resolver-CtJcIZ/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keyring `/<<BUILDDIR>>/resolver-CtJcIZ/gpg/secring.gpg' created
gpg: keyring `/<<BUILDDIR>>/resolver-CtJcIZ/gpg/pubring.gpg' created
gpg: /<<BUILDDIR>>/resolver-CtJcIZ/gpg/trustdb.gpg: trustdb created
gpg: key 48F77B2E: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
gpg: key 48F77B2E: secret key imported
gpg: key 48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
Get:1 copy: ./ Release.gpg [316 B]
Get:2 copy: ./ Release [957 B]
Get:3 copy: ./ Sources [350 B]
Get:4 copy: ./ Packages [433 B]
Fetched 2056 B in 0s (22.6 kB/s)
Reading package lists...
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 704 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-CtJcIZ/apt_archive/ ./ sbuild-build-depends-core-dummy 0.invalid.0 [704 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 704 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 11324 files and directories currently installed.)
Unpacking sbuild-build-depends-core-dummy (from .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

dpkg-deb: building package `sbuild-build-depends-procmail-dummy' in `/<<BUILDDIR>>/resolver-CtJcIZ/apt_archive/sbuild-build-depends-procmail-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-procmail-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
Get:1 copy: ./ Release.gpg [316 B]
Get:2 copy: ./ Release [963 B]
Get:3 copy: ./ Sources [472 B]
Get:4 copy: ./ Packages [556 B]
Fetched 2307 B in 0s (24.6 kB/s)
Reading package lists...
Reading package lists...

Install procmail build dependencies (apt-based resolver)
--------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  sbuild-build-depends-procmail-dummy
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 686 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-CtJcIZ/apt_archive/ ./ sbuild-build-depends-procmail-dummy 0.invalid.0 [686 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 686 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-procmail-dummy.
(Reading database ... 11324 files and directories currently installed.)
Unpacking sbuild-build-depends-procmail-dummy (from .../sbuild-build-depends-procmail-dummy_0.invalid.0_armhf.deb) ...
Setting up sbuild-build-depends-procmail-dummy (0.invalid.0) ...

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.9.0-0.bpo.2-armmp armhf (armv7l)
Toolchain package versions: binutils_2.22-8+deb7u3 dpkg-dev_1.16.18+rpi1 g++-4.6_4.6.3-14+rpi1 gcc-4.6_4.6.3-14+rpi1 libc6-dev_2.13-38+rpi2+deb7u12 libstdc++6_4.7.2-5+rpi1 libstdc++6-4.6-dev_4.6.3-14+rpi1 linux-libc-dev_3.2.51-1+rpi1
Package versions: apt_0.9.7.9+rpi1+deb7u7 base-files_7.1wheezy11+rpi1 base-passwd_3.5.26 bash_4.2+dfsg-0.1+deb7u4 binutils_2.22-8+deb7u3 bsdutils_1:2.20.1-5.3 build-essential_11.5+b1 bzip2_1.0.6-4 coreutils_8.13-3.5 cpio_2.11+dfsg-0.1+deb7u2 cpp_4:4.6.3-8 cpp-4.6_4.6.3-14+rpi1 dash_0.5.7-3 debconf_1.5.49 debconf-i18n_1.5.49 debianutils_4.3.2 diffutils_1:3.2-6 dpkg_1.16.18+rpi1 dpkg-dev_1.16.18+rpi1 e2fslibs_1.42.5-1.1+deb7u1 e2fsprogs_1.42.5-1.1+deb7u1 fakeroot_1.18.4-2 findutils_4.4.2-4 g++_4:4.6.3-8 g++-4.6_4.6.3-14+rpi1 gcc_4:4.6.3-8 gcc-4.5-base_4.5.3-12+rpi1 gcc-4.6_4.6.3-14+rpi1 gcc-4.6-base_4.6.3-14+rpi1 gcc-4.7-base_4.7.2-5+rpi1 gnupg_1.4.12-7+deb7u9 gpgv_1.4.12-7+deb7u9 grep_2.12-2 gzip_1.5-1.1 hostname_3.11 initramfs-tools_0.115~bpo70+1 initscripts_2.88dsf-41+deb7u1 insserv_1.14.0-5 klibc-utils_2.0.1-3.1+rpi1 kmod_9-3 libacl1_2.2.51-8 libapt-pkg4.12_0.9.7.9+rpi1+deb7u7 libattr1_1:2.4.46-8 libblkid1_2.20.1-5.3 libbz2-1.0_1.0.6-4 libc-bin_2.13-38+rpi2+deb7u12 libc-dev-bin_2.13-38+rpi2+deb7u12 libc6_2.13-38+rpi2+deb7u12 libc6-dev_2.13-38+rpi2+deb7u12 libclass-isa-perl_0.36-3 libcomerr2_1.42.5-1.1+deb7u1 libdb5.1_5.1.29-5 libdbus-1-3_1.6.8-1+deb7u6 libdpkg-perl_1.16.18+rpi1 libgcc1_1:4.7.2-5+rpi1 libgdbm3_1.8.3-11 libgmp10_2:5.0.5+dfsg-2 libgomp1_4.7.2-5+rpi1 libklibc_2.0.1-3.1+rpi1 libkmod2_9-3 liblocale-gettext-perl_1.05-7 liblzma5_5.1.1alpha+20120614-2 libmount1_2.20.1-5.3 libmpc2_0.9-4 libmpfr4_3.1.0-5 libncurses5_5.9-10 libncursesw5_5.9-10 libnih-dbus1_1.0.3-4.1 libnih1_1.0.3-4.1 libpam-modules_1.1.3-7.1 libpam-modules-bin_1.1.3-7.1 libpam-runtime_1.1.3-7.1 libpam0g_1.1.3-7.1 libprocps0_1:3.3.3-3 libreadline6_6.2+dfsg-0.1 libselinux1_2.1.9-5 libsemanage-common_2.1.6-6 libsemanage1_2.1.6-6 libsepol1_2.1.4-3 libslang2_2.2.4-15 libss2_1.42.5-1.1+deb7u1 libstdc++6_4.7.2-5+rpi1 libstdc++6-4.6-dev_4.6.3-14+rpi1 libswitch-perl_2.16-2 libtext-charwidth-perl_0.04-7 libtext-iconv-perl_1.7-5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_1.2000-1 libtinfo5_5.9-10 libudev0_175-7.2 libusb-0.1-4_2:0.1.12-20+nmu1 libustr-1.0-1_1.0.4-3 libuuid1_2.20.1-5.3 linux-libc-dev_3.2.51-1+rpi1 login_1:4.1.5.1-1+deb7u1 lsb-base_4.1+Debian8+rpi1+deb7u1 make_3.81-8.2 makedev_2.3.1-92 mawk_1.3.3-17 mount_2.20.1-5.3 mountall_2.46 multiarch-support_2.13-38+rpi2+deb7u12 ncurses-base_5.9-10 ncurses-bin_5.9-10 passwd_1:4.1.5.1-1+deb7u1 patch_2.6.1-3 perl_5.14.2-21+rpi2+deb7u2 perl-base_5.14.2-21+rpi2+deb7u2 perl-modules_5.14.2-21+rpi2+deb7u2 plymouth_0.8.5.1-5 procps_1:3.3.3-3 raspbian-archive-keyring_20120528.2 readline-common_6.2+dfsg-0.1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-procmail-dummy_0.invalid.0 sed_4.2.1-10 sensible-utils_0.0.7 sysv-rc_2.88dsf-41+deb7u1 sysvinit_2.88dsf-41+deb7u1 sysvinit-utils_2.88dsf-41+deb7u1 tar_1.26+dfsg-0.1+deb7u1 tzdata_2017b-0+deb7u1 udev_175-7.2 util-linux_2.20.1-5.3 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.7.dfsg-13

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Sat Nov 18 01:13:40 2017 UTC using RSA key ID D4311E58
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./procmail_3.22-20+deb7u2.dsc
dpkg-source: info: extracting procmail in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking procmail_3.22.orig.tar.gz
dpkg-source: info: unpacking procmail_3.22-20+deb7u2.debian.tar.gz
dpkg-source: info: applying 00
dpkg-source: info: applying 01
dpkg-source: info: applying 02
dpkg-source: info: applying 03
dpkg-source: info: applying 04
dpkg-source: info: applying 05
dpkg-source: info: applying 06
dpkg-source: info: applying 07
dpkg-source: info: applying 08
dpkg-source: info: applying 09
dpkg-source: info: applying 10
dpkg-source: info: applying 11
dpkg-source: info: applying 12
dpkg-source: info: applying 13
dpkg-source: info: applying 14
dpkg-source: info: applying 15
dpkg-source: info: applying 16
dpkg-source: info: applying 17
dpkg-source: info: applying 18
dpkg-source: info: applying 19
dpkg-source: info: applying 20
dpkg-source: info: applying 21
dpkg-source: info: applying 22
dpkg-source: info: applying 23
dpkg-source: info: applying 24
dpkg-source: info: applying 25
dpkg-source: info: applying 26
dpkg-source: info: applying CVE-2014-3618.patch
dpkg-source: info: applying CVE-2017-16844.patch

Check disc space
----------------

df: Warning: cannot read table of mounted file systems: No such file or directory
Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=wheezy-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=wheezy-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=wheezy-staging-armhf-sbuild-df7f2468-a665-4974-8fb1-11cb28878f19
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=xterm
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: source package procmail
dpkg-buildpackage: source version 3.22-20+deb7u2
 dpkg-source --before-build procmail-3.22
dpkg-buildpackage: host architecture armhf
 fakeroot debian/rules clean
rm -f build
/usr/bin/make realclean SEARCHLIBS=""
make[1]: Entering directory `/<<PKGBUILDDIR>>'
/bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" \
 "" \
 "/lib /usr/lib" \
 /dev/null "/usr/bin/make" o \
 "cc" "-O  " "-s  " "procmail lockfile formail mailstat" \
 "procmail formail lockfile" \
 "procmailrc procmailsc procmailex" "src man" \
 "/usr/bin" \
 "strip"
***************************** WARNING *********************************
* You seem to have set the LD_LIBRARY_PATH variable, this might cause *
* some trouble during the compilation of this package.	If the make   *
* does not finish by itself, do a: "make clean", clear		      *
* LD_LIBRARY_PATH from the environment, and start over.		      *
***************************** WARNING *********************************
cc seems to work fine, using that as the C-compiler
	...scanning for 0 libraries...
Added LDFLAGS= -lc
make[1]: Leaving directory `/<<PKGBUILDDIR>>'
make[1]: Entering directory `/<<PKGBUILDDIR>>'
echo Housekeeping file >config.check
for a in src man; do cd $a; /usr/bin/make clean; cd ..; done; exit 0
make[2]: Entering directory `/<<PKGBUILDDIR>>/src'
/bin/rm -f -r _locktest
/bin/rm -f procmail.o cstdio.o common.o exopen.o goodies.o locking.o mailfold.o foldinfo.o misc.o pipes.o regexp.o robust.o sublib.o acommon.o mcommon.o lastdirsep.o authenticate.o lmtp.o memblk.o variables.o from.o comsat.o lockfile.o exopen.o sublib.o acommon.o mcommon.o authenticate.o lastdirsep.o formail.o \
 common.o fields.o formisc.o sublib.o ecommon.o acommon.o multigram.o sublib.o ecommon.o mcommon.o hsort.o lastdirsep.o procmail lockfile formail mailstat multigram ../autoconf.h \
 _autotst* lookfor _locktst* grepfor recommend recommend.o manconf \
 _Makefile lock.log *core* targetdir.h setid setid.o gethome \
 gethome.o make_n realloc.log
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src'
make[2]: Entering directory `/<<PKGBUILDDIR>>/man'
/bin/rm -f procmail.1 formail.1 lockfile.1 procmailrc.5 procmailsc.5 procmailex.5 man.sed* _Makefile *core*
make[2]: Leaving directory `/<<PKGBUILDDIR>>/man'
cd SmartList; /bin/rm -f targetdir.h targetdir.tmp install.list asked.patch
/bin/rm -f new/procmail.1 new/formail.1 new/lockfile.1 new/procmailrc.5 new/procmailsc.5 new/procmailex.5 new/procmail new/lockfile new/formail new/mailstat install.man install.bin suid.sh _Makefile \
 *core* autoconf.h.tmp
sed -e '/^# Makefile.1 - mark/,$ d' <Makefile >_Makefile
cat Makefile.0 >>_Makefile
mv -f _Makefile Makefile
/bin/rm -f Makefile.0
/bin/rm -f config.check
for a in src man; do mv -f $a/Makefile.init $a/Makefile; done; \
 exit 0
make[1]: Leaving directory `/<<PKGBUILDDIR>>'
rm -f `find . -name "*~"`
rm -rf debian/tmp debian/files* core debian/substvars
dpkg-buildpackage: warning: debian/rules must be updated to support the 'build-arch' and 'build-indep' targets (at least 'build-arch' seems to be missing)
 debian/rules build
/usr/bin/make CC="gcc" CFLAGS0="" \
		LDFLAGS0="`dpkg-buildflags --get LDFLAGS`" SEARCHLIBS="-lm" autoconf.h
make[1]: Entering directory `/<<PKGBUILDDIR>>'
cd src; /usr/bin/make ../autoconf.h
make[2]: Entering directory `/<<PKGBUILDDIR>>/src'
/bin/sh ./autoconf /bin/sh "/bin/rm -f" "mv -f" /dev/null \
 "grep -F" "/usr/bin/make" o "100	" \
 "/usr/bin" ../autoconf.h
Using the following directories for the LOCKINGTESTs:
 100
Initiating fcntl()/kernel-locking-support tests

Proceeding with kernel-locking-support tests in the background
Testing for const
Testing for volatile
Testing for prototypes
Testing for enum
Checking for POSIX and ANSI/ISO system include files
Checking for network/comsat/biff support
Testing for void*, size_t, off_t, pid_t, time_t, mode_t, uid_t & gid_t
Checking realloc implementation
Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS() & WSIGTERM()
Testing for various struct passwd members
Testing for memmove, strchr, strpbrk, strcspn, strtol, strstr,
	rename, setrgid, setegid, pow, opendir, mkdir, waitpid, fsync,
	ftruncate, strtod, strncasecmp, strerror, strlcat,
	memset, bzero, and _exit
Determining the maximum number of 16 byte arguments execv() takes
Benchmarking your system's strstr() implementation
Collecting results from kernel-locking tests
=============================autoconf.h===================================
/* This file was automagically generated by autoconf */

/* 2 moves in 64 steps of size 16384 when reallocing */
#define NOpw_class
#define NOstrlcat
#define NOsetrgid
#define MAX_argc 163838 /* soft limit */
/* Your system's strstr() is 4.67 times SLOWER than my C-routine */
#define SLOWstrstr			      /* using my substitute instead */
#define IP_localhost {127,0,0,1}
#define MAILSPOOLDIR "/var/mail/"
#define SENDMAIL "/usr/sbin/sendmail"
#define CF_no_procmail_yet
#define defPATH "PATH=$HOME/bin:/bin:/usr/bin"
#define defSPATH "PATH=/bin:/usr/bin"
#define PM_VERSION "3.22"
/* Hotwire LOCKINGTEST=100 */
/* Procmail will lock via: dotlocking, fcntl() */
/* autoconf completed */
==========================================================================
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory `/<<PKGBUILDDIR>>'
/usr/bin/make CC="gcc" CFLAGS0="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security $(getconf LFS_CFLAGS) `dpkg-buildflags --get CPPFLAGS`" \
		LDFLAGS0="`dpkg-buildflags --get LDFLAGS`" SEARCHLIBS="-lm"
make[1]: Entering directory `/<<PKGBUILDDIR>>'
echo Housekeeping file >config.check
cd src; /usr/bin/make ../new/procmail ../new/lockfile ../new/formail ../new/mailstat
make[2]: Entering directory `/<<PKGBUILDDIR>>/src'
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  procmail.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  cstdio.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  common.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  exopen.c
exopen.c: In function 'unique':
exopen.c:116:10: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result]
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  goodies.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  locking.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  mailfold.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  foldinfo.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  misc.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  pipes.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  regexp.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  robust.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  sublib.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  acommon.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  mcommon.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  lastdirsep.c
gcc -c -DPROCMAIL -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  authenticate.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  lmtp.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  memblk.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  variables.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  from.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  comsat.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  procmail.o cstdio.o common.o exopen.o goodies.o locking.o mailfold.o foldinfo.o misc.o pipes.o regexp.o robust.o sublib.o acommon.o mcommon.o lastdirsep.o authenticate.o lmtp.o memblk.o variables.o from.o comsat.o -o procmail -Wl,-z,relro   -lm -lc
ln ../src/procmail ../new/procmail
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  lockfile.c
lockfile.c: In function 'main':
lockfile.c:130:13: warning: ignoring return value of 'strtol', declared with attribute warn_unused_result [-Wunused-result]
lockfile.c: In function 'elog':
lockfile.c:54:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  lockfile.o exopen.o sublib.o acommon.o mcommon.o authenticate.o lastdirsep.o -o lockfile -Wl,-z,relro   -lm -lc
ln ../src/lockfile ../new/lockfile
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  formail.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  fields.c
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  formisc.c
formisc.c: In function 'startprog':
formisc.c:161:6: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
formisc.c:174:10: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result]
formisc.c:193:54: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
gcc -c -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  ecommon.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  formail.o common.o fields.o formisc.o sublib.o ecommon.o acommon.o -o formail -Wl,-z,relro   -lm -lc
ln ../src/formail ../new/formail
cp ../examples/mailstat mailstat
ln ../src/mailstat ../new/mailstat
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src'
cd man; /usr/bin/make ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5
make[2]: Entering directory `/<<PKGBUILDDIR>>/man'
make[3]: Entering directory `/<<PKGBUILDDIR>>/src'
manconf.c: In function 'pname':
manconf.c:77:59: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
make[3]: Leaving directory `/<<PKGBUILDDIR>>/src'
/bin/sh ./mansed /bin/sh procmail.man procmail.1 "/bin/rm -f" /dev/null
ln ../man/procmail.1 ../new/procmail.1
/bin/sh ./mansed /bin/sh formail.man formail.1 "/bin/rm -f" /dev/null
ln ../man/formail.1 ../new/formail.1
/bin/sh ./mansed /bin/sh lockfile.man lockfile.1 "/bin/rm -f" /dev/null
ln ../man/lockfile.1 ../new/lockfile.1
/bin/sh ./mansed /bin/sh procmailrc.man procmailrc.5 "/bin/rm -f" /dev/null
ln ../man/procmailrc.5 ../new/procmailrc.5
/bin/sh ./mansed /bin/sh procmailsc.man procmailsc.5 "/bin/rm -f" /dev/null
ln ../man/procmailsc.5 ../new/procmailsc.5
/bin/sh ./mansed /bin/sh procmailex.man procmailex.5 "/bin/rm -f" /dev/null
ln ../man/procmailex.5 ../new/procmailex.5
make[2]: Leaving directory `/<<PKGBUILDDIR>>/man'
make[2]: Entering directory `/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src'
===============================================================================
If you are a system administrator you should consider integrating procmail
into the mail-delivery system -- for advanced functionality, speed AND
SECURITY --.  For more information about this topic you should look in the
examples/advanced file.

Also, HIGHLY RECOMMENDED (type 'make install-suid' to execute it):

chown root /usr/bin/procmail
chgrp mail /usr/bin/procmail /usr/bin/lockfile
chmod 6755 /usr/bin/procmail
chmod 2755 /usr/bin/lockfile
===============================================================================
If you would like to inspect the results before running make install:
All installable files can be found in the new/ subdirectory.
make[1]: Leaving directory `/<<PKGBUILDDIR>>'
touch build
 fakeroot debian/rules binary-arch
rm -rf debian/tmp
install -d debian/tmp/DEBIAN debian/tmp/usr/share/doc/procmail/examples
cd debian/tmp && install -d usr/bin usr/share/lintian/overrides
/usr/bin/make BASENAME=`pwd`/debian/tmp/usr install.man install-suid
make[1]: Entering directory `/<<PKGBUILDDIR>>'
cd man; /usr/bin/make ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5
make[2]: Entering directory `/<<PKGBUILDDIR>>/man'
make[3]: Entering directory `/<<PKGBUILDDIR>>/src'
make[3]: `../man/man.sed' is up to date.
make[3]: Leaving directory `/<<PKGBUILDDIR>>/src'
make[2]: `../new/formail.1' is up to date.
make[2]: `../new/lockfile.1' is up to date.
make[2]: `../new/procmailrc.5' is up to date.
make[2]: `../new/procmailsc.5' is up to date.
make[2]: `../new/procmailex.5' is up to date.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/man'
echo Housekeeping file >install.man
make[2]: Entering directory `/<<PKGBUILDDIR>>/src'
make[2]: `recommend' is up to date.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src'
===============================================================================
If you are a system administrator you should consider integrating procmail
into the mail-delivery system -- for advanced functionality, speed AND
SECURITY --.  For more information about this topic you should look in the
examples/advanced file.

Also, HIGHLY RECOMMENDED (type 'make install-suid' to execute it):

chown root /<<PKGBUILDDIR>>/debian/tmp/usr/bin/procmail
chgrp root /<<PKGBUILDDIR>>/debian/tmp/usr/bin/procmail /<<PKGBUILDDIR>>/debian/tmp/usr/bin/lockfile
chmod 6755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin/procmail
chmod 2755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin/lockfile
===============================================================================
cd src; /usr/bin/make ../new/procmail ../new/lockfile ../new/formail ../new/mailstat
make[2]: Entering directory `/<<PKGBUILDDIR>>/src'
make[2]: `../new/procmail' is up to date.
make[2]: `../new/lockfile' is up to date.
make[2]: `../new/formail' is up to date.
make[2]: `../new/mailstat' is up to date.
make[2]: Leaving directory `/<<PKGBUILDDIR>>/src'
cp new/procmail new/lockfile new/formail new/mailstat /<<PKGBUILDDIR>>/debian/tmp/usr/bin
echo Housekeeping file >install.bin
chown root /<<PKGBUILDDIR>>/debian/tmp/usr/bin/procmail
chgrp root /<<PKGBUILDDIR>>/debian/tmp/usr/bin/procmail /<<PKGBUILDDIR>>/debian/tmp/usr/bin/lockfile
chmod 6755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin/procmail
chmod 2755 /<<PKGBUILDDIR>>/debian/tmp/usr/bin/lockfile
Installed in /<<PKGBUILDDIR>>/debian/tmp/usr/bin
-rwxr-xr-x 1 root root  92694 Nov 18 05:07 formail
-rwxr-sr-x 1 root root  50630 Nov 18 05:07 lockfile
-rwxr-xr-x 1 root root   5859 Nov 18 05:07 mailstat
-rwsr-sr-x 1 root root 250829 Nov 18 05:07 procmail
make[1]: Leaving directory `/<<PKGBUILDDIR>>'
strip --remove-section=.comment --remove-section=.note debian/tmp/usr/bin/procmail
strip --remove-section=.comment --remove-section=.note debian/tmp/usr/bin/lockfile
strip --remove-section=.comment --remove-section=.note debian/tmp/usr/bin/formail
cp -p debian/copyright debian/tmp/usr/share/doc/procmail
cp -p debian/changelog debian/tmp/usr/share/doc/procmail/changelog.Debian
cp -p debian/lintian debian/tmp/usr/share/lintian/overrides/procmail
install -m 644 debian/mailstat.1 debian/tmp/usr/man/man1
cp -p FEATURES HISTORY README FAQ KNOWN_BUGS \
		debian/QuickStart debian/README.Maildir debian/tmp/usr/share/doc/procmail
cp -p examples/* debian/tmp/usr/share/doc/procmail/examples
cd debian/tmp/usr/share/doc/procmail/examples && rm -f dirname mailstat procmail-rpm.spec
cd debian/tmp/usr/share/doc/procmail && gzip -9 HISTORY changelog.Debian
ln -s HISTORY.gz debian/tmp/usr/share/doc/procmail/changelog.gz
mv debian/tmp/usr/man debian/tmp/usr/share
gzip -r9 debian/tmp/usr/share/man
dpkg-shlibdeps debian/tmp/usr/bin/*
objdump: debian/tmp/usr/bin/mailstat: File format not recognized
dpkg-gencontrol
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
cd debian/tmp && \
		md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
chown -R 0:0 debian/tmp
chmod -R go=rX debian/tmp
chgrp mail debian/tmp/usr/bin/procmail debian/tmp/usr/bin/lockfile
chmod 6755 debian/tmp/usr/bin/procmail
chmod 2755 debian/tmp/usr/bin/lockfile
dpkg --build debian/tmp ..
dpkg-deb: building package `procmail' in `../procmail_3.22-20+deb7u2_armhf.deb'.
 dpkg-genchanges -B -mRaspbian wandboard test autobuilder <root@raspbian.org> >../procmail_3.22-20+deb7u2_armhf.changes
dpkg-genchanges: arch-specific upload - not including arch-independent packages
dpkg-genchanges: binary-only upload - not including any source code
 dpkg-source --after-build procmail-3.22
dpkg-buildpackage: binary only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2017-11-18T05:07:51Z

Finished
--------

I: Built successfully

+------------------------------------------------------------------------------+
| Post Build Chroot                                                            |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Changes                                                                      |
+------------------------------------------------------------------------------+


procmail_3.22-20+deb7u2_armhf.changes:
--------------------------------------

Format: 1.8
Date: Sat, 18 Nov 2017 10:06:37 +0900
Source: procmail
Binary: procmail
Architecture: armhf
Version: 3.22-20+deb7u2
Distribution: wheezy-staging
Urgency: high
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Description:
 procmail   - Versatile e-mail processor
Closes: 876511
Changes:
 procmail (3.22-20+deb7u2) wheezy-security; urgency=high
 .
   * CVE-2017-16844: Correct a heap-based buffer overflow. (Closes: #876511)
Checksums-Sha1:
 c075b1bf92d7255fb77b2fa87d136bbf0b6649fd 144426 procmail_3.22-20+deb7u2_armhf.deb
Checksums-Sha256:
 62bbcb18b602ba311dde081ec11ca71129c2da12171d9457c5da1d7a76789370 144426 procmail_3.22-20+deb7u2_armhf.deb
Files:
 d4d74f060124166f4d4a9f1a74e29d45 144426 mail standard procmail_3.22-20+deb7u2_armhf.deb

+------------------------------------------------------------------------------+
| Package contents                                                             |
+------------------------------------------------------------------------------+


procmail_3.22-20+deb7u2_armhf.deb
---------------------------------

 new debian package, version 2.0.
 size 144426 bytes: control archive=1560 bytes.
     775 bytes,    18 lines      control              
    2050 bytes,    30 lines      md5sums              
 Package: procmail
 Version: 3.22-20+deb7u2
 Architecture: armhf
 Maintainer: Santiago Vila <sanvila@debian.org>
 Installed-Size: 231
 Depends: libc6 (>= 2.13-28)
 Recommends: default-mta | mail-transport-agent | fetchmail
 Conflicts: suidmanager (<< 0.50)
 Section: mail
 Priority: standard
 Homepage: http://www.procmail.org/
 Description: Versatile e-mail processor
  Can be used to create mail-servers, mailing lists, sort your incoming
  mail into separate folders/files (very convenient when subscribing to one
  or more mailing lists or for prioritising your mail), preprocess your
  mail, start any programs upon mail arrival (e.g. to generate different
  chimes on your workstation for different types of mail) or selectively
  forward certain incoming mail automatically to someone.

drwxr-xr-x root/root         0 2017-11-18 05:07 ./
drwxr-xr-x root/root         0 2017-11-18 05:07 ./usr/
drwxr-xr-x root/root         0 2017-11-18 05:07 ./usr/bin/
-rwxr-xr-x root/root     30376 2017-11-18 05:07 ./usr/bin/formail
-rwxr-sr-x root/mail     13880 2017-11-18 05:07 ./usr/bin/lockfile
-rwxr-xr-x root/root      5859 2017-11-18 05:07 ./usr/bin/mailstat
-rwsr-sr-x root/mail     71644 2017-11-18 05:07 ./usr/bin/procmail
drwxr-xr-x root/root         0 2017-11-18 05:07 ./usr/share/
drwxr-xr-x root/root         0 2017-11-18 05:07 ./usr/share/doc/
drwxr-xr-x root/root         0 2017-11-18 05:07 ./usr/share/doc/procmail/
-rw-r--r-- root/root     13769 2017-11-18 05:06 ./usr/share/doc/procmail/FAQ
-rw-r--r-- root/root      4191 2017-11-18 05:06 ./usr/share/doc/procmail/FEATURES
-rw-r--r-- root/root     11605 2001-09-11 04:53 ./usr/share/doc/procmail/HISTORY.gz
-rw-r--r-- root/root      2284 2001-06-29 02:20 ./usr/share/doc/procmail/KNOWN_BUGS
-rw-r--r-- root/root      3329 2014-09-04 11:25 ./usr/share/doc/procmail/QuickStart
-rw-r--r-- root/root      7899 2001-09-11 04:53 ./usr/share/doc/procmail/README
-rw-r--r-- root/root       388 2014-09-04 11:25 ./usr/share/doc/procmail/README.Maildir
-rw-r--r-- root/root      5307 2017-11-18 01:07 ./usr/share/doc/procmail/changelog.Debian.gz
lrwxrwxrwx root/root         0 2017-11-18 05:07 ./usr/share/doc/procmail/changelog.gz -> HISTORY.gz
-rw-r--r-- root/root      1795 2014-09-04 11:25 ./usr/share/doc/procmail/copyright
drwxr-xr-x root/root         0 2017-11-18 05:07 ./usr/share/doc/procmail/examples/
-rw-r--r-- root/root       644 1994-05-26 13:46 ./usr/share/doc/procmail/examples/1procmailrc
-rw-r--r-- root/root       404 1996-12-21 03:28 ./usr/share/doc/procmail/examples/1rmail
-rw-r--r-- root/root      1989 1994-05-26 13:46 ./usr/share/doc/procmail/examples/2procmailrc
-rw-r--r-- root/root       396 1996-12-21 03:28 ./usr/share/doc/procmail/examples/2rmail
-rw-r--r-- root/root      1533 1994-05-26 13:46 ./usr/share/doc/procmail/examples/3procmailrc
-rw-r--r-- root/root       761 1996-12-21 03:28 ./usr/share/doc/procmail/examples/3rmail
-rw-r--r-- root/root     13363 2017-11-18 05:06 ./usr/share/doc/procmail/examples/advanced
-rw-r--r-- root/root        98 1995-03-20 14:51 ./usr/share/doc/procmail/examples/forward
-rw-r--r-- root/root      1888 2001-09-11 04:54 ./usr/share/doc/procmail/examples/local_procmail_lmtp.m4
drwxr-xr-x root/root         0 2017-11-18 05:07 ./usr/share/lintian/
drwxr-xr-x root/root         0 2017-11-18 05:07 ./usr/share/lintian/overrides/
-rw-r--r-- root/root       116 2014-09-04 11:25 ./usr/share/lintian/overrides/procmail
drwxr-xr-x root/root         0 2017-11-18 05:07 ./usr/share/man/
drwxr-xr-x root/root         0 2017-11-18 05:07 ./usr/share/man/man1/
-rw-r--r-- root/root      5949 2017-11-18 05:07 ./usr/share/man/man1/formail.1.gz
-rw-r--r-- root/root      3151 2017-11-18 05:07 ./usr/share/man/man1/lockfile.1.gz
-rw-r--r-- root/root       544 2017-11-18 05:07 ./usr/share/man/man1/mailstat.1.gz
-rw-r--r-- root/root     10692 2017-11-18 05:07 ./usr/share/man/man1/procmail.1.gz
drwxr-xr-x root/root         0 2017-11-18 05:07 ./usr/share/man/man5/
-rw-r--r-- root/root      6888 2017-11-18 05:07 ./usr/share/man/man5/procmailex.5.gz
-rw-r--r-- root/root     11427 2017-11-18 05:07 ./usr/share/man/man5/procmailrc.5.gz
-rw-r--r-- root/root      3576 2017-11-18 05:07 ./usr/share/man/man5/procmailsc.5.gz


+------------------------------------------------------------------------------+
| Post Build                                                                   |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 3640
Build-Time: 72
Distribution: wheezy-staging
Host Architecture: armhf
Install-Time: 45
Job: procmail_3.22-20+deb7u2
Machine Architecture: armhf
Package: procmail
Package-Time: 160
Source-Version: 3.22-20+deb7u2
Space: 3640
Status: successful
Version: 3.22-20+deb7u2
--------------------------------------------------------------------------------
Finished at 2017-11-18T05:07:51Z
Build needed 00:02:40, 3640k disc space