Raspbian Package Auto-Building

Build log for beep (1.3-3+deb8u1) on armhf

beep1.3-3+deb8u1armhf → 2018-04-02 22:15:11

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

+==============================================================================+
| beep 1.3-3+deb8u1 (armhf)                    Mon, 02 Apr 2018 22:10:24 +0000 |
+==============================================================================+

Package: beep
Version: 1.3-3+deb8u1
Source Version: 1.3-3+deb8u1
Distribution: jessie-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/run/schroot/mount/jessie-staging-armhf-sbuild-c4df6b1f-9711-4209-b920-2d972f0d4ee5' with '<<CHROOT>>'

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

Get:1 http://172.17.0.1 jessie-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1 jessie-staging/main Sources [7757 kB]
Get:3 http://172.17.0.1 jessie-staging/main armhf Packages [9534 kB]
Fetched 17.3 MB in 32s (536 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...
NOTICE: 'beep' packaging is maintained in the 'Git' version control system at:
git://git.deb.at/pkg/beep.git
Need to get 43.3 kB of source archives.
Get:1 http://172.17.0.1/private/ jessie-staging/main beep 1.3-3+deb8u1 (dsc) [1804 B]
Get:2 http://172.17.0.1/private/ jessie-staging/main beep 1.3-3+deb8u1 (tar) [19.3 kB]
Get:3 http://172.17.0.1/private/ jessie-staging/main beep 1.3-3+deb8u1 (diff) [22.2 kB]
Fetched 43.3 kB in 0s (780 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/beep-xDrw31/beep-1.3' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/beep-xDrw31' 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-u3ibuA/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-u3ibuA/gpg/secring.gpg' created
gpg: keyring `/<<BUILDDIR>>/resolver-u3ibuA/gpg/pubring.gpg' created
gpg: /<<BUILDDIR>>/resolver-u3ibuA/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
Ign copy: ./ InRelease
Get:1 copy: ./ Release.gpg [299 B]
Get:2 copy: ./ Release [957 B]
Get:3 copy: ./ Sources [349 B]
Get:4 copy: ./ Packages [432 B]
Fetched 2037 B in 0s (17.8 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 65 not upgraded.
Need to get 812 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-u3ibuA/apt_archive/ ./ sbuild-build-depends-core-dummy 0.invalid.0 [812 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 812 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12000 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
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
-----------------

Merged Build-Depends: po-debconf, patch, quilt
Filtered Build-Depends: po-debconf, patch, quilt
dpkg-deb: building package `sbuild-build-depends-beep-dummy' in `/<<BUILDDIR>>/resolver-u3ibuA/apt_archive/sbuild-build-depends-beep-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-beep-dummy sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
Ign copy: ./ InRelease
Get:1 copy: ./ Release.gpg [299 B]
Get:2 copy: ./ Release [963 B]
Get:3 copy: ./ Sources [487 B]
Get:4 copy: ./ Packages [567 B]
Fetched 2316 B in 0s (21.9 kB/s)
Reading package lists...
Reading package lists...

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

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  bsdmainutils diffstat gettext gettext-base intltool-debian libasprintf0c2
  libcroco3 libffi6 libglib2.0-0 libunistring0 libxml2 po-debconf quilt
Suggested packages:
  wamerican wordlist whois vacation gettext-doc libmail-box-perl procmail
  graphviz default-mta mail-transport-agent
Recommended packages:
  curl wget lynx-cur autopoint libasprintf-dev libgettextpo-dev
  libglib2.0-data shared-mime-info xdg-user-dirs xml-core
  libmail-sendmail-perl less
The following NEW packages will be installed:
  bsdmainutils diffstat gettext gettext-base intltool-debian libasprintf0c2
  libcroco3 libffi6 libglib2.0-0 libunistring0 libxml2 po-debconf quilt
  sbuild-build-depends-beep-dummy
0 upgraded, 14 newly installed, 0 to remove and 65 not upgraded.
Need to get 5429 kB of archives.
After this operation, 15.6 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-u3ibuA/apt_archive/ ./ sbuild-build-depends-beep-dummy 0.invalid.0 [820 B]
Get:2 http://172.17.0.1/private/ jessie-staging/main libasprintf0c2 armhf 0.19.3-2 [31.1 kB]
Get:3 http://172.17.0.1/private/ jessie-staging/main libxml2 armhf 2.9.1+dfsg1-5+deb8u6 [706 kB]
Get:4 http://172.17.0.1/private/ jessie-staging/main libffi6 armhf 3.1-2+deb8u1 [18.6 kB]
Get:5 http://172.17.0.1/private/ jessie-staging/main libglib2.0-0 armhf 2.42.1-1 [2250 kB]
Get:6 http://172.17.0.1/private/ jessie-staging/main libcroco3 armhf 0.6.8-3 [121 kB]
Get:7 http://172.17.0.1/private/ jessie-staging/main libunistring0 armhf 0.9.3-5.2 [253 kB]
Get:8 http://172.17.0.1/private/ jessie-staging/main bsdmainutils armhf 9.0.6 [177 kB]
Get:9 http://172.17.0.1/private/ jessie-staging/main gettext-base armhf 0.19.3-2 [116 kB]
Get:10 http://172.17.0.1/private/ jessie-staging/main diffstat armhf 1.58-1 [27.2 kB]
Get:11 http://172.17.0.1/private/ jessie-staging/main gettext armhf 0.19.3-2 [1167 kB]
Get:12 http://172.17.0.1/private/ jessie-staging/main intltool-debian all 0.35.0+20060710.1 [29.8 kB]
Get:13 http://172.17.0.1/private/ jessie-staging/main po-debconf all 1.0.16+nmu3 [220 kB]
Get:14 http://172.17.0.1/private/ jessie-staging/main quilt all 0.63-3 [312 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 5429 kB in 1s (2893 kB/s)
Selecting previously unselected package libasprintf0c2:armhf.
(Reading database ... 12000 files and directories currently installed.)
Preparing to unpack .../libasprintf0c2_0.19.3-2_armhf.deb ...
Unpacking libasprintf0c2:armhf (0.19.3-2) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../libxml2_2.9.1+dfsg1-5+deb8u6_armhf.deb ...
Unpacking libxml2:armhf (2.9.1+dfsg1-5+deb8u6) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../libffi6_3.1-2+deb8u1_armhf.deb ...
Unpacking libffi6:armhf (3.1-2+deb8u1) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../libglib2.0-0_2.42.1-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.42.1-1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../libcroco3_0.6.8-3_armhf.deb ...
Unpacking libcroco3:armhf (0.6.8-3) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../libunistring0_0.9.3-5.2_armhf.deb ...
Unpacking libunistring0:armhf (0.9.3-5.2) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.6_armhf.deb ...
Unpacking bsdmainutils (9.0.6) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.19.3-2_armhf.deb ...
Unpacking gettext-base (0.19.3-2) ...
Selecting previously unselected package diffstat.
Preparing to unpack .../diffstat_1.58-1_armhf.deb ...
Unpacking diffstat (1.58-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.19.3-2_armhf.deb ...
Unpacking gettext (0.19.3-2) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.1) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.16+nmu3_all.deb ...
Unpacking po-debconf (1.0.16+nmu3) ...
Selecting previously unselected package quilt.
Preparing to unpack .../archives/quilt_0.63-3_all.deb ...
Unpacking quilt (0.63-3) ...
Selecting previously unselected package sbuild-build-depends-beep-dummy.
Preparing to unpack .../sbuild-build-depends-beep-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-beep-dummy (0.invalid.0) ...
Setting up libasprintf0c2:armhf (0.19.3-2) ...
Setting up libxml2:armhf (2.9.1+dfsg1-5+deb8u6) ...
Setting up libffi6:armhf (3.1-2+deb8u1) ...
Setting up libglib2.0-0:armhf (2.42.1-1) ...
No schema files found: doing nothing.
Setting up libcroco3:armhf (0.6.8-3) ...
Setting up libunistring0:armhf (0.9.3-5.2) ...
Setting up bsdmainutils (9.0.6) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up gettext-base (0.19.3-2) ...
Setting up diffstat (1.58-1) ...
Setting up gettext (0.19.3-2) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu3) ...
Setting up quilt (0.63-3) ...
Setting up sbuild-build-depends-beep-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.19-18+deb8u1) ...

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

Kernel: Linux 4.9.0-0.bpo.1-armmp armhf (armv7l)
Toolchain package versions: binutils_2.25-5 dpkg-dev_1.17.25 g++-4.9_4.9.2-10 gcc-4.9_4.9.2-10 libc6-dev_2.19-18+deb8u1 libstdc++-4.9-dev_4.9.2-10 libstdc++6_4.9.2-10 linux-libc-dev_3.16.7-ckt9-1+rpi1
Package versions: acl_2.2.52-2 adduser_3.113+nmu3 apt_1.0.9.8.1 base-files_8+rpi1 base-passwd_3.5.37 bash_4.3-11 binutils_2.25-5 bsdmainutils_9.0.6 bsdutils_1:2.25.2-6 build-essential_11.7 bzip2_1.0.6-7 coreutils_8.23-4 cpio_2.11+dfsg-4.1 cpp_4:4.9.2-2 cpp-4.9_4.9.2-10 dash_0.5.7-4 debconf_1.5.56 debconf-i18n_1.5.56 debfoster_2.7-2 debianutils_4.4 diffstat_1.58-1 diffutils_1:3.3-1 dmsetup_2:1.02.90-2.2 dpkg_1.17.25 dpkg-dev_1.17.25 e2fslibs_1.42.12-1.1 e2fsprogs_1.42.12-1.1 fakeroot_1.20.2-1 findutils_4.4.2-9 g++_4:4.9.2-2 g++-4.9_4.9.2-10 gcc_4:4.9.2-2 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.4-1 gcc-4.9_4.9.2-10 gcc-4.9-base_4.9.2-10 gettext_0.19.3-2 gettext-base_0.19.3-2 gnupg_1.4.18-7 gpgv_1.4.18-7 grep_2.20-4.1 gzip_1.6-4 hostname_3.15 init_1.22 init-system-helpers_1.22 initramfs-tools_0.120 initscripts_2.88dsf-59 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 klibc-utils_2.0.4-2+rpi1 kmod_18-3 libacl1_2.2.52-2 libapt-pkg4.12_1.0.9.8.1 libasan1_4.9.2-10 libasprintf0c2_0.19.3-2 libatomic1_4.9.2-10 libattr1_1:2.4.47-2 libaudit-common_1:2.4-1 libaudit1_1:2.4-1 libblkid1_2.25.2-6 libbz2-1.0_1.0.6-7 libc-bin_2.19-18+deb8u1 libc-dev-bin_2.19-18+deb8u1 libc6_2.19-18+deb8u1 libc6-dev_2.19-18+deb8u1 libcap2_1:2.24-8 libcap2-bin_1:2.24-8 libcloog-isl4_0.18.2-1 libcomerr2_1.42.12-1.1 libcroco3_0.6.8-3 libcryptsetup4_2:1.6.6-5 libdb5.3_5.3.28-9 libdbus-1-3_1.8.20-0+deb8u1 libdebconfclient0_0.192 libdevmapper1.02.1_2:1.02.90-2.2 libdpkg-perl_1.17.25 libdrm2_2.4.58-2 libfakeroot_1.20.2-1 libffi6_3.1-2+deb8u1 libgc1c2_1:7.2d-6.4 libgcc-4.9-dev_4.9.2-10 libgcc1_1:4.9.2-10 libgcrypt20_1.6.3-2 libgdbm3_1.8.3-13.1 libglib2.0-0_2.42.1-1 libgmp10_2:6.0.0+dfsg-6+rpi1 libgomp1_4.9.2-10 libgpg-error0_1.17-3 libisl10_0.12.2-2 libklibc_2.0.4-2+rpi1 libkmod2_18-3 liblocale-gettext-perl_1.05-8+b1 liblzma5_5.1.1alpha+20120614-2 libmount1_2.25.2-6 libmpc3_1.0.2-1 libmpfr4_3.1.2-2 libncurses5_5.9+20140913-1 libncursesw5_5.9+20140913-1 libnih-dbus1_1.0.3-4.3 libnih1_1.0.3-4.3 libpam-modules_1.1.8-3.1 libpam-modules-bin_1.1.8-3.1 libpam-runtime_1.1.8-3.1 libpam0g_1.1.8-3.1 libpcre3_2:8.35-3.3 libpng12-0_1.2.50-2 libprocps3_2:3.3.9-9 libreadline6_6.3-8 libselinux1_2.3-2 libsemanage-common_2.3-1 libsemanage1_2.3-1 libsepol1_2.3-2 libslang2_2.3.0-2 libsmartcols1_2.25.2-6 libss2_1.42.12-1.1 libstdc++-4.9-dev_4.9.2-10 libstdc++6_4.9.2-10 libsystemd0_215-17+deb8u2 libtext-charwidth-perl_0.04-7+b4 libtext-iconv-perl_1.7-5+b5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_2.3000-2 libtinfo5_5.9+20140913-1 libubsan0_4.9.2-10 libudev1_215-17+deb8u2 libunistring0_0.9.3-5.2 libusb-0.1-4_2:0.1.12-25 libustr-1.0-1_1.0.4-3 libuuid1_2.25.2-6 libxml2_2.9.1+dfsg1-5+deb8u6 linux-libc-dev_3.16.7-ckt9-1+rpi1 login_1:4.2-3 lsb-base_4.1+Debian13+rpi1+nmu1 make_4.0-8.1 makedev_2.3.1-93 mawk_1.3.3-17 mount_2.25.2-6 mountall_2.54 multiarch-support_2.19-18+deb8u1 ncurses-base_5.9+20140913-1 ncurses-bin_5.9+20140913-1 passwd_1:4.2-3 patch_2.7.5-1 perl_5.20.2-3+deb8u1 perl-base_5.20.2-3+deb8u1 perl-modules_5.20.2-3+deb8u1 plymouth_0.9.0-9 po-debconf_1.0.16+nmu3 procps_2:3.3.9-9 quilt_0.63-3 raspbian-archive-keyring_20120528.2 readline-common_6.3-8 sbuild-build-depends-beep-dummy_0.invalid.0 sbuild-build-depends-core-dummy_0.invalid.0 sed_4.2.2-4 sensible-utils_0.0.9 startpar_0.59-3 systemd_215-17+deb8u2 systemd-sysv_215-17+deb8u2 sysv-rc_2.88dsf-59 sysvinit-utils_2.88dsf-59 tar_1.27.1-2 tzdata_2015f-0+deb8u1 udev_215-17+deb8u2 util-linux_2.25.2-6 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-2

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


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

gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Sun Mar 25 19:04:45 2018 UTC using RSA key ID C37C4E36
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./beep_1.3-3+deb8u1.dsc
dpkg-source: info: extracting beep in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking beep_1.3.orig.tar.gz
dpkg-source: info: applying beep_1.3-3+deb8u1.diff.gz

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=jessie-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=jessie-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=jessie-staging-armhf-sbuild-c4df6b1f-9711-4209-b920-2d972f0d4ee5
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=xterm
USER=buildd

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

dpkg-buildpackage: source package beep
dpkg-buildpackage: source version 1.3-3+deb8u1
dpkg-buildpackage: source distribution jessie-security
 dpkg-source --before-build beep-1.3
dpkg-buildpackage: host architecture armhf
 fakeroot debian/rules clean
QUILT_PATCHES=debian/patches \
	quilt --quiltrc /dev/null pop -a -R || test $? = 2
No patch removed
rm -rf .pc debian/stamp-patched
test -f debian/rules
test root = "`whoami`"
rm -rf /<<PKGBUILDDIR>>/debian/beep /<<PKGBUILDDIR>>/debian/beep-udeb debian/beep.substvars debian/beep-udeb.substvars debian/files build-stamp
[ ! -f beep ] || /usr/bin/make clean
 debian/rules build-arch
QUILT_PATCHES=debian/patches \
	quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch catch-sig-term
patching file beep.c

Applying patch CVE-2018-0492.patch
patching file beep.c
Hunk #2 succeeded at 122 (offset -3 lines).
Hunk #3 succeeded at 251 (offset -3 lines).
Hunk #4 succeeded at 270 (offset -3 lines).
Hunk #5 succeeded at 279 (offset -3 lines).
Hunk #6 succeeded at 300 (offset -3 lines).
Hunk #7 succeeded at 357 (offset -3 lines).

Now at patch CVE-2018-0492.patch
touch debian/stamp-patched
test -f debian/rules
/usr/bin/make FLAGS="-g -Wall -O2"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -Wall -O2 -o beep beep.c
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build-stamp
 fakeroot debian/rules binary-arch
test -f debian/rules
/usr/bin/make FLAGS="-g -Wall -O2"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: Nothing to be done for 'default'.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build-stamp
test -f debian/rules
test root = "`whoami`"
rm -rf /<<PKGBUILDDIR>>/debian/beep /<<PKGBUILDDIR>>/debian/beep-udeb debian/beep.substvars debian/beep-udeb.substvars
install -p -d -oroot -groot -m755 /<<PKGBUILDDIR>>/debian/beep
cd /<<PKGBUILDDIR>>/debian/beep && install -p -d -oroot -groot -m755 usr/bin usr/share/man/man1 \
	usr/share/doc/beep
install -p    -oroot -groot -m755 -s beep /<<PKGBUILDDIR>>/debian/beep/usr/bin
install -p    -oroot -groot -m644 beep.1.gz /<<PKGBUILDDIR>>/debian/beep/usr/share/man/man1
gunzip /<<PKGBUILDDIR>>/debian/beep/usr/share/man/man1/beep.1.gz
cd /<<PKGBUILDDIR>>/debian/beep/usr/share/man/man1 && patch beep.1 /<<PKGBUILDDIR>>/debian/beep/../beep.1.diff
patching file beep.1
rm -f /<<PKGBUILDDIR>>/debian/beep/usr/share/man/man1/beep.1.orig
gzip --best /<<PKGBUILDDIR>>/debian/beep/usr/share/man/man1/beep.1
chown root:audio /<<PKGBUILDDIR>>/debian/beep/usr/bin/beep 
install -p    -oroot -groot -m644 CREDITS README /<<PKGBUILDDIR>>/debian/beep/usr/share/doc/beep
install -p    -oroot -groot -m644 CHANGELOG /<<PKGBUILDDIR>>/debian/beep/usr/share/doc/beep/changelog
cd /<<PKGBUILDDIR>>/debian/beep/usr/share/doc/beep && gzip -9 changelog README
install -p -d -oroot -groot -m755 /<<PKGBUILDDIR>>/debian/beep-udeb/usr/bin
install -p    -oroot -groot -m755 -s beep /<<PKGBUILDDIR>>/debian/beep-udeb/usr/bin
test "true" != true || strip \
	--remove-section=.comment --remove-section=.note \
	/<<PKGBUILDDIR>>/debian/beep/usr/bin/beep /<<PKGBUILDDIR>>/debian/beep-udeb/usr/bin/beep
test -f debian/rules
test root = "`whoami`"
install -p -d -oroot -groot -m755 /<<PKGBUILDDIR>>/debian/beep/DEBIAN /<<PKGBUILDDIR>>/debian/beep-udeb/DEBIAN
install -p    -oroot -groot -m644 debian/README.Debian debian/copyright \
	/<<PKGBUILDDIR>>/debian/beep/usr/share/doc/beep
install -p    -oroot -groot -m644 debian/changelog \
	/<<PKGBUILDDIR>>/debian/beep/usr/share/doc/beep/changelog.Debian
gzip -9 /<<PKGBUILDDIR>>/debian/beep/usr/share/doc/beep/changelog.Debian
install -p    -oroot -groot -m755 debian/postinst debian/postrm debian/config \
	/<<PKGBUILDDIR>>/debian/beep/DEBIAN
po2debconf debian/templates > /<<PKGBUILDDIR>>/debian/beep/DEBIAN/templates
dpkg-shlibdeps -Tdebian/beep.substvars -dDepends /<<PKGBUILDDIR>>/debian/beep/usr/bin/beep
dpkg-gencontrol -ldebian/changelog -isp -Tdebian/beep.substvars -pbeep \
	-P/<<PKGBUILDDIR>>/debian/beep
dpkg-gencontrol: warning: -isp is deprecated; it is without effect
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
cd /<<PKGBUILDDIR>>/debian/beep && find * -type f ! -regex '^DEBIAN/.*' -print0 | \
	xargs -r0 md5sum > DEBIAN/md5sums
dpkg --build /<<PKGBUILDDIR>>/debian/beep ..
dpkg-deb: building package `beep' in `../beep_1.3-3+deb8u1_armhf.deb'.
dpkg-shlibdeps -Tdebian/beep-udeb.substvars -dDepends -tudeb \
	/<<PKGBUILDDIR>>/debian/beep-udeb/usr/bin/beep
dpkg-gencontrol -ldebian/changelog -isp -Tdebian/beep-udeb.substvars -pbeep-udeb \
	-P/<<PKGBUILDDIR>>/debian/beep-udeb -UHomepage -nbeep-udeb_1.3-3+deb8u1_armhf.udeb
dpkg-gencontrol: warning: -isp is deprecated; it is without effect
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dpkg --build /<<PKGBUILDDIR>>/debian/beep-udeb ../beep-udeb_1.3-3+deb8u1_armhf.udeb
dpkg-deb: building package `beep-udeb' in `../beep-udeb_1.3-3+deb8u1_armhf.udeb'.
 dpkg-genchanges -B -mRaspbian wandboard test autobuilder <root@raspbian.org> >../beep_1.3-3+deb8u1_armhf.changes
dpkg-genchanges: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build beep-1.3
dpkg-buildpackage: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2018-04-02T22:14:25Z

Finished
--------

I: Built successfully

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


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


beep_1.3-3+deb8u1_armhf.changes:
--------------------------------

Format: 1.8
Date: Sun, 25 Mar 2018 19:29:35 +0200
Source: beep
Binary: beep beep-udeb
Architecture: armhf
Version: 1.3-3+deb8u1
Distribution: jessie-staging
Urgency: medium
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Moritz Muehlenhoff <jmm@debian.org>
Description:
 beep       - advanced pc-speaker beeper
 beep-udeb  - advanced pc-speaker beeper - minimal package
Changes:
 beep (1.3-3+deb8u1) jessie-security; urgency=medium
 .
   * CVE-2018-0492
Checksums-Sha1:
 999d7ce6b8b235ab15a88c003f448cafa640cb7f 26732 beep_1.3-3+deb8u1_armhf.deb
 bc0e213af95325e524e7bc38c9e7384d14efb201 4362 beep-udeb_1.3-3+deb8u1_armhf.udeb
Checksums-Sha256:
 114ced26e4bf974ddbd8df7eb21ab2b6ffa6af7487635058d36cb87bf93d38ce 26732 beep_1.3-3+deb8u1_armhf.deb
 3835ddc4b8b9c8e6623afd5662a733e3ee34021c51c8f8408f9d09bd57a059c4 4362 beep-udeb_1.3-3+deb8u1_armhf.udeb
Files:
 b8f5eb04d3841ec1760607648ea8589d 26732 sound optional beep_1.3-3+deb8u1_armhf.deb
 ba87f1fd61556f336d934876d4183466 4362 debian-installer optional beep-udeb_1.3-3+deb8u1_armhf.udeb

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


beep_1.3-3+deb8u1_armhf.deb
---------------------------

 new debian package, version 2.0.
 size 26732 bytes: control archive=9323 bytes.
     279 bytes,    15 lines   *  config               #!/bin/sh
     711 bytes,    16 lines      control              
     503 bytes,     8 lines      md5sums              
    1390 bytes,    56 lines   *  postinst             #!/bin/sh
     234 bytes,    11 lines   *  postrm               #!/bin/sh
   15626 bytes,   112 lines      templates            
 Package: beep
 Version: 1.3-3+deb8u1
 Architecture: armhf
 Maintainer: Gerfried Fuchs <rhonda@debian.org>
 Installed-Size: 40
 Depends: libc6 (>= 2.7), debconf (>= 0.5) | debconf-2.0
 Section: sound
 Priority: optional
 Homepage: http://johnath.com/beep/
 Description: advanced pc-speaker beeper
  beep does what you'd expect: it beeps. But unlike printf "\a" beep allows
  you to control pitch, duration, and repetitions. Its job is to live inside
  shell/perl scripts and allow more granularity than one has otherwise. It is
  controlled completely through command line options. It's not supposed to be
  complex, and it isn't - but it makes system monitoring (or whatever else it
  gets hacked into) much more informative.

drwxr-xr-x root/root         0 2018-04-02 22:14 ./
drwxr-xr-x root/root         0 2018-04-02 22:14 ./usr/
drwxr-xr-x root/root         0 2018-04-02 22:14 ./usr/bin/
-rwxr-xr-x root/audio     7744 2018-04-02 22:14 ./usr/bin/beep
drwxr-xr-x root/root         0 2018-04-02 22:14 ./usr/share/
drwxr-xr-x root/root         0 2018-04-02 22:14 ./usr/share/doc/
drwxr-xr-x root/root         0 2018-04-02 22:14 ./usr/share/doc/beep/
-rw-r--r-- root/root      2113 2010-08-03 13:57 ./usr/share/doc/beep/CREDITS
-rw-r--r-- root/root       345 2018-04-02 22:13 ./usr/share/doc/beep/README.Debian
-rw-r--r-- root/root      2179 2010-08-03 13:57 ./usr/share/doc/beep/README.gz
-rw-r--r-- root/root      4285 2018-04-02 22:13 ./usr/share/doc/beep/changelog.Debian.gz
-rw-r--r-- root/root      1047 2010-08-03 13:57 ./usr/share/doc/beep/changelog.gz
-rw-r--r-- root/root      1516 2018-04-02 22:13 ./usr/share/doc/beep/copyright
drwxr-xr-x root/root         0 2018-04-02 22:14 ./usr/share/man/
drwxr-xr-x root/root         0 2018-04-02 22:14 ./usr/share/man/man1/
-rw-r--r-- root/root      3513 2018-04-02 22:14 ./usr/share/man/man1/beep.1.gz


beep-udeb_1.3-3+deb8u1_armhf.udeb
---------------------------------

 new debian package, version 2.0.
 size 4362 bytes: control archive=502 bytes.
     488 bytes,    15 lines      control              
 Package: beep-udeb
 Source: beep
 Version: 1.3-3+deb8u1
 Architecture: armhf
 Maintainer: Gerfried Fuchs <rhonda@debian.org>
 Installed-Size: 8
 Depends: libc6-udeb (>= 2.19)
 Section: debian-installer
 Priority: optional
 Description: advanced pc-speaker beeper - minimal package
  beep does what you'd expect: it beeps. However, it offers various
  additional features, such as the ability to control pitch, duration,
  and repetitions.
  .
  beep-udeb is a minimal package used by debian-installer.

drwxr-xr-x root/root         0 2018-04-02 22:14 ./
drwxr-xr-x root/root         0 2018-04-02 22:14 ./usr/
drwxr-xr-x root/root         0 2018-04-02 22:14 ./usr/bin/
-rwxr-xr-x root/root      7744 2018-04-02 22:14 ./usr/bin/beep


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


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

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

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

Build Architecture: armhf
Build-Space: 416
Build-Time: 25
Distribution: jessie-staging
Host Architecture: armhf
Install-Time: 153
Job: beep_1.3-3+deb8u1
Machine Architecture: armhf
Package: beep
Package-Time: 241
Source-Version: 1.3-3+deb8u1
Space: 416
Status: successful
Version: 1.3-3+deb8u1
--------------------------------------------------------------------------------
Finished at 2018-04-02T22:14:25Z
Build needed 00:04:01, 416k disc space