==> Creating clean working copy [build]...done
==> Making package: mbox-git 20140526.r274.a131424-2 (Fri Oct  9 13:29:00 EDT 2015)
==> Retrieving sources...
  -> Cloning mbox-git git repo...
Cloning into bare repository '/srv/build/builder/plugbuild/work/mbox-git/mbox-git'...
  -> Found mbox.1
==> Validating source files with sha512sums...
    mbox-git ... Skipped
    mbox.1 ... Passed
==> Making package: mbox-git 20140526.r274.a131424-2 (Fri Oct  9 13:29:01 EDT 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (2) perl-error-0.17024-1  git-2.6.1-1

Total Installed Size:  28.47 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
installing perl-error...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn
    perl-mime-tools: git send-email
    perl-net-smtp-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    python2: various helper scripts
    subversion: git svn
    cvsps2: git cvsimport
    gnome-keyring: GNOME keyring credential helper
==> Retrieving sources...
  -> Found mbox.1
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    mbox-git ... Skipped
    mbox.1 ... Passed
==> Extracting sources...
  -> Creating working copy of mbox git repo...
Cloning into 'mbox-git'...
done.
==> Starting pkgver()...
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/build/mbox-git/src/mbox-git/src/missing: Unknown `--is-lightweight' option
Try `/build/mbox-git/src/mbox-git/src/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
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-unknown-linux-gnu
checking host system type... x86_64-unknown-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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for supported architecture... x86_64
checking for primary include directory... /usr/include
checking whether compiler handles -Wall... yes
checking whether compiler handles -Wwrite-strings... yes
checking how to run the C preprocessor... gcc -E
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... 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 struct stat.st_aclcnt... no
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_flags... no
checking for struct stat.st_fstype... no
checking for struct stat.st_gen... no
checking for struct stat.st_level... no
checking for struct stat.st_rdev... yes
checking for stat64 in (asm|sys)/stat.h... yes
checking for statfs64 in sys/vfs.h... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking type of array argument to getgroups... gid_t
checking whether sys/types.h defines makedev... yes
checking for sig_atomic_t... yes
checking for siginfo_t... yes
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for long long... yes
checking for little endian long long... yes
checking for long long off_t... no
checking for struct opthdr... no
checking for struct t_opthdr... no
checking for fork... yes
checking for if_indextoname... yes
checking for inet_ntop... yes
checking for prctl... yes
checking for process_vm_readv... yes
checking for sendmsg... yes
checking for sigaction... yes
checking for stpcpy... yes
checking for strerror... yes
checking for strsignal... yes
checking for _sys_siglist... yes
checking for sys_siglist... yes
checking asm/cachectl.h usability... no
checking asm/cachectl.h presence... no
checking for asm/cachectl.h... no
checking asm/sysmips.h usability... no
checking asm/sysmips.h presence... no
checking for asm/sysmips.h... no
checking for inttypes.h... (cached) yes
checking ioctls.h usability... no
checking ioctls.h presence... no
checking for ioctls.h... no
checking libaio.h usability... no
checking libaio.h presence... no
checking for libaio.h... no
checking linux/capability.h usability... yes
checking linux/capability.h presence... yes
checking for linux/capability.h... yes
checking linux/ptrace.h usability... yes
checking linux/ptrace.h presence... yes
checking for linux/ptrace.h... yes
checking linux/utsname.h usability... yes
checking linux/utsname.h presence... yes
checking for linux/utsname.h... yes
checking mqueue.h usability... yes
checking mqueue.h presence... yes
checking for mqueue.h... yes
checking netinet/sctp.h usability... no
checking netinet/sctp.h presence... no
checking for netinet/sctp.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking sys/asynch.h usability... no
checking sys/asynch.h presence... no
checking for sys/asynch.h... no
checking sys/conf.h usability... no
checking sys/conf.h presence... no
checking for sys/conf.h... no
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/ptrace.h usability... yes
checking sys/ptrace.h presence... yes
checking for sys/ptrace.h... yes
checking sys/reg.h usability... yes
checking sys/reg.h presence... yes
checking for sys/reg.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking for linux/icmp.h... yes
checking for linux/in6.h... yes
checking for linux/netlink.h... yes
checking for linux/if_packet.h... yes
checking for asm/sigcontext.h... no
checking for struct sigcontext_struct... yes
checking for struct sigcontext... yes
checking for netinet/tcp.h... yes
checking for netinet/udp.h... yes
checking for struct msghdr.msg_control... yes
checking for struct T_conn_res.QUEUE_ptr... no
checking for struct T_conn_res.ACCEPTOR_id... no
checking for struct __old_kernel_stat... yes
checking for struct pt_all_user_regs... no
checking for struct ia64_fpreg... no
checking for struct user_desc... yes
checking for struct dqblk.dqb_curblocks... no
checking for struct sigcontext.sc_hi2... no
checking for struct utsname.domainname... yes
checking whether sys_errlist is declared... yes
checking whether sys_siglist is declared... yes
checking whether _sys_siglist is declared... yes
checking whether PTRACE_EVENT_CLONE is declared... yes
checking whether PTRACE_EVENT_EXEC is declared... yes
checking whether PTRACE_EVENT_EXIT is declared... yes
checking whether PTRACE_EVENT_FORK is declared... yes
checking whether PTRACE_EVENT_VFORK is declared... yes
checking whether PTRACE_EVENT_VFORK_DONE is declared... yes
checking whether PTRACE_GETEVENTMSG is declared... yes
checking whether PTRACE_GETSIGINFO is declared... yes
checking whether PTRACE_O_TRACECLONE is declared... yes
checking whether PTRACE_O_TRACEEXEC is declared... yes
checking whether PTRACE_O_TRACEEXIT is declared... yes
checking whether PTRACE_O_TRACEFORK is declared... yes
checking whether PTRACE_O_TRACESYSGOOD is declared... yes
checking whether PTRACE_O_TRACEVFORK is declared... yes
checking whether PTRACE_O_EXITKILL is declared... yes
checking whether PTRACE_SETOPTIONS is declared... yes
checking whether LO_FLAGS_AUTOCLEAR is declared... yes
checking whether LO_FLAGS_PARTSCAN is declared... yes
checking for BLKGETSIZE64... yes
checking size of long... 4
checking size of rlim_t... 4
checking for perl... /usr/bin/perl
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
/usr/bin/mkdir -p ./linux
cat ./linux/ioctlent.h.in ./linux/x86_64/ioctlent.h.in | \
	gcc -DHAVE_CONFIG_H -I.  -I./linux/x86_64 -I./linux -I./linux -lcrypto -D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -E -P - | \
	LC_ALL=C sort -u -k3,3 -k2,2 > linux/ioctlent.h
make  all-am
make[1]: Entering directory '/build/mbox-git/src/mbox-git/src'
gcc -DHAVE_CONFIG_H -I.  -I./linux/x86_64 -I./linux -I./linux -lcrypto -D_FORTIFY_SOURCE=2 -Wall -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -MT mbox.o -MD -MP -MF .deps/mbox.Tpo -c -o mbox.o mbox.c
In file included from bpf.h:16:0,
                 from mbox.c:49:
bpf.h:26:37: error: '__NR_newfstatat' undeclared here (not in a function)
     BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_##name, 0, 1), \
                                     ^
bpf-syscall.h:9:5: note: in expansion of macro 'TRACE_SYSCALL'
     TRACE_SYSCALL(newfstatat),
     ^
bpf.h:26:37: error: '__NR_socket' undeclared here (not in a function)
     BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_##name, 0, 1), \
                                     ^
bpf-syscall.h:53:5: note: in expansion of macro 'TRACE_SYSCALL'
     TRACE_SYSCALL(socket),
     ^
bpf.h:26:37: error: '__NR_bind' undeclared here (not in a function)
     BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_##name, 0, 1), \
                                     ^
bpf-syscall.h:54:5: note: in expansion of macro 'TRACE_SYSCALL'
     TRACE_SYSCALL(bind),
     ^
bpf.h:26:37: error: '__NR_connect' undeclared here (not in a function)
     BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_##name, 0, 1), \
                                     ^
bpf-syscall.h:55:5: note: in expansion of macro 'TRACE_SYSCALL'
     TRACE_SYSCALL(connect),
     ^
mbox.c: In function 'init':
mbox.c:1504:9: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
         asprintf(&opt_root, DEFAULT_ROOT "%d", getpid());
         ^
mbox.c: In function 'startup_child':
mbox.c:934:13: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result]
             setreuid(run_uid, run_uid);
             ^
Makefile:586: recipe for target 'mbox.o' failed
make[1]: *** [mbox.o] Error 1
make[1]: Leaving directory '/build/mbox-git/src/mbox-git/src'
Makefile:413: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> Removing installed dependencies...
checking dependencies...
:: gettext optionally requires git: for autopoint infrastructure updates

Packages (2) git-2.6.1-1  perl-error-0.17024-1

Total Removed Size:  28.47 MiB

:: Do you want to remove these packages? [Y/n] 
removing git...
removing perl-error...
==> ERROR: Build failed, check /chroot/i686/build/build