RUN: /usr/share/launchpad-buildd/slavebin/slave-prep ['slave-prep'] Forking launchpad-buildd slave process... Kernel version: Linux lcy01-34 3.13.0-88-generic #135-Ubuntu SMP Wed Jun 8 21:10:42 UTC 2016 x86_64 Buildd toolchain package versions: launchpad-buildd_139 python-lpbuildd_139 sbuild_0.65.2-1ubuntu2~ubuntu14.04.1~ppa8 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.04.1 bzr_2.6.0+bzr6593-1ubuntu1.5 git-build-recipe_0.3~git201603101733.90b6821~ubuntu14.04.2 git_1:1.9.1-1ubuntu0.3 dpkg-dev_1.17.5ubuntu5.7 python-debian_0.1.27ubuntu1~ubuntu14.04.1~ppa1 qemu-user-static_2.0.0+dfsg-2ubuntu1.24. Syncing the system clock with the buildd NTP service... 27 Jun 08:43:13 ntpdate[1677]: adjust time server 10.211.37.1 offset -0.000961 sec RUN: /usr/share/launchpad-buildd/slavebin/unpack-chroot ['unpack-chroot', 'PACKAGEBUILD-10069312', '/home/buildd/filecache-default/e4c0063eff90e17a3bbe5bc75217617f6b0962e3'] Unpacking chroot for build PACKAGEBUILD-10069312 RUN: /usr/share/launchpad-buildd/slavebin/mount-chroot ['mount-chroot', 'PACKAGEBUILD-10069312'] Mounting chroot for build PACKAGEBUILD-10069312 RUN: /usr/share/launchpad-buildd/slavebin/override-sources-list ['override-sources-list', 'PACKAGEBUILD-10069312', 'deb http://ftpmaster.internal/ubuntu xenial main universe'] Overriding sources.list in build-PACKAGEBUILD-10069312 RUN: /usr/share/launchpad-buildd/slavebin/update-debian-chroot ['update-debian-chroot', 'PACKAGEBUILD-10069312', 'amd64'] Updating debian chroot for build PACKAGEBUILD-10069312 Hit:1 http://ftpmaster.internal/ubuntu xenial InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package ['sbuild-package', 'PACKAGEBUILD-10069312', 'amd64', 'xenial', '-c', 'chroot:autobuild', '--arch=amd64', '--dist=xenial', '--purge=never', '--nolog', '-A', 'efitools_1.4.2+git20140118-0ubuntu1.dsc'] Initiating build PACKAGEBUILD-10069312 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 3.13.0-88-generic #135-Ubuntu SMP Wed Jun 8 21:10:42 UTC 2016 x86_64 sbuild (Debian sbuild) 0.65.2 (24 Mar 2015) on lcy01-34.buildd ╔══════════════════════════════════════════════════════════════════════════════╗ ║ efitools 1.4.2+git20140118-0ubuntu1 (amd64) 27 Jun 2016 08:43 ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Package: efitools Version: 1.4.2+git20140118-0ubuntu1 Source Version: 1.4.2+git20140118-0ubuntu1 Distribution: xenial Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 I: NOTICE: Log filtering will replace 'build/efitools-ilqzDo/efitools-1.4.2+git20140118' with '«PKGBUILDDIR»' I: NOTICE: Log filtering will replace 'build/efitools-ilqzDo' with '«BUILDDIR»' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-10069312/chroot-autobuild' with '«CHROOT»' ┌──────────────────────────────────────────────────────────────────────────────┐ │ Fetch source files │ └──────────────────────────────────────────────────────────────────────────────┘ Local sources ───────────── efitools_1.4.2+git20140118-0ubuntu1.dsc exists in .; copying to chroot Check architectures ─────────────────── Check dependencies ────────────────── Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/«BUILDDIR»/resolver-UQntc4/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/«BUILDDIR»/resolver-UQntc4/apt_archive ./ InRelease Get:2 copy:/«BUILDDIR»/resolver-UQntc4/apt_archive ./ Release [2119 B] Ign:3 copy:/«BUILDDIR»/resolver-UQntc4/apt_archive ./ Release.gpg Get:4 copy:/«BUILDDIR»/resolver-UQntc4/apt_archive ./ Sources [208 B] Get:5 copy:/«BUILDDIR»/resolver-UQntc4/apt_archive ./ Packages [528 B] Fetched 2855 B in 0s (260 kB/s) Reading package lists... W: The repository 'copy:/«BUILDDIR»/resolver-UQntc4/apt_archive ./ Release' is not signed. Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install core 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-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 772 B of archives. After this operation, 0 B of additional disk space will be used. WARNING: The following packages cannot be authenticated! sbuild-build-depends-core-dummy Authentication warning overridden. Get:1 copy:/«BUILDDIR»/resolver-UQntc4/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [772 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 772 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12186 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, init, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:5.2), g++ (>= 4:5.2), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), gnu-efi, help2man, libfile-slurp-perl, libssl-dev, openssl, sbsigntool Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, init, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:5.2), g++ (>= 4:5.2), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), gnu-efi, help2man, libfile-slurp-perl, libssl-dev, openssl, sbsigntool dpkg-deb: building package 'sbuild-build-depends-efitools-dummy' in '/«BUILDDIR»/resolver-GihrqB/apt_archive/sbuild-build-depends-efitools-dummy.deb'. Ign:1 copy:/«BUILDDIR»/resolver-GihrqB/apt_archive ./ InRelease Get:2 copy:/«BUILDDIR»/resolver-GihrqB/apt_archive ./ Release [2119 B] Ign:3 copy:/«BUILDDIR»/resolver-GihrqB/apt_archive ./ Release.gpg Get:4 copy:/«BUILDDIR»/resolver-GihrqB/apt_archive ./ Sources [458 B] Get:5 copy:/«BUILDDIR»/resolver-GihrqB/apt_archive ./ Packages [722 B] Fetched 3299 B in 0s (287 kB/s) Reading package lists... W: The repository 'copy:/«BUILDDIR»/resolver-GihrqB/apt_archive ./ Release' is not signed. Reading package lists... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install efitools build dependencies (apt-based resolver) │ └──────────────────────────────────────────────────────────────────────────────┘ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autotools-dev bsdmainutils debhelper dh-strip-nondeterminism file gettext gettext-base gnu-efi groff-base help2man intltool-debian libarchive-zip-perl libasprintf0v5 libcroco3 libfile-slurp-perl libfile-stripnondeterminism-perl libglib2.0-0 libicu55 liblocale-gettext-perl libmagic1 libpipeline1 libssl-dev libtimedate-perl libunistring0 libxml2 man-db po-debconf sbsigntool zlib1g-dev Suggested packages: wamerican | wordlist whois vacation dh-make gettext-doc autopoint groff less www-browser libmail-box-perl Recommended packages: curl | wget | lynx-cur libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info xdg-user-dirs libssl-doc xml-core libmail-sendmail-perl The following NEW packages will be installed: autotools-dev bsdmainutils debhelper dh-strip-nondeterminism file gettext gettext-base gnu-efi groff-base help2man intltool-debian libarchive-zip-perl libasprintf0v5 libcroco3 libfile-slurp-perl libfile-stripnondeterminism-perl libglib2.0-0 libicu55 liblocale-gettext-perl libmagic1 libpipeline1 libssl-dev libtimedate-perl libunistring0 libxml2 man-db po-debconf sbsigntool sbuild-build-depends-efitools-dummy zlib1g-dev 0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 16.5 MB of archives. After this operation, 66.4 MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! sbuild-build-depends-efitools-dummy Authentication warning overridden. Get:1 copy:/«BUILDDIR»/resolver-GihrqB/apt_archive ./ sbuild-build-depends-efitools-dummy 0.invalid.0 [972 B] Get:2 http://ftpmaster.internal/ubuntu xenial/main amd64 liblocale-gettext-perl amd64 1.07-1build1 [17.1 kB] Get:3 http://ftpmaster.internal/ubuntu xenial/main amd64 groff-base amd64 1.22.3-7 [1151 kB] Get:4 http://ftpmaster.internal/ubuntu xenial/main amd64 bsdmainutils amd64 9.0.6ubuntu3 [174 kB] Get:5 http://ftpmaster.internal/ubuntu xenial/main amd64 libpipeline1 amd64 1.4.1-2 [24.6 kB] Get:6 http://ftpmaster.internal/ubuntu xenial/main amd64 man-db amd64 2.7.5-1 [854 kB] Get:7 http://ftpmaster.internal/ubuntu xenial/main amd64 libunistring0 amd64 0.9.3-5.2ubuntu1 [279 kB] Get:8 http://ftpmaster.internal/ubuntu xenial/main amd64 libmagic1 amd64 1:5.25-2ubuntu1 [216 kB] Get:9 http://ftpmaster.internal/ubuntu xenial/main amd64 file amd64 1:5.25-2ubuntu1 [21.2 kB] Get:10 http://ftpmaster.internal/ubuntu xenial/main amd64 libasprintf0v5 amd64 0.19.7-2ubuntu3 [6412 B] Get:11 http://ftpmaster.internal/ubuntu xenial/main amd64 gettext-base amd64 0.19.7-2ubuntu3 [47.9 kB] Get:12 http://ftpmaster.internal/ubuntu xenial/main amd64 libglib2.0-0 amd64 2.48.0-1ubuntu4 [1117 kB] Get:13 http://ftpmaster.internal/ubuntu xenial/main amd64 libicu55 amd64 55.1-7 [7643 kB] Get:14 http://ftpmaster.internal/ubuntu xenial/main amd64 libxml2 amd64 2.9.3+dfsg1-1 [696 kB] Get:15 http://ftpmaster.internal/ubuntu xenial/main amd64 autotools-dev all 20150820.1 [39.8 kB] Get:16 http://ftpmaster.internal/ubuntu xenial/main amd64 libcroco3 amd64 0.6.11-1 [81.6 kB] Get:17 http://ftpmaster.internal/ubuntu xenial/main amd64 gettext amd64 0.19.7-2ubuntu3 [1076 kB] Get:18 http://ftpmaster.internal/ubuntu xenial/main amd64 intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:19 http://ftpmaster.internal/ubuntu xenial/main amd64 po-debconf all 1.0.19 [234 kB] Get:20 http://ftpmaster.internal/ubuntu xenial/main amd64 libarchive-zip-perl all 1.56-2 [84.1 kB] Get:21 http://ftpmaster.internal/ubuntu xenial/main amd64 libfile-stripnondeterminism-perl all 0.015-1 [10.3 kB] Get:22 http://ftpmaster.internal/ubuntu xenial/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB] Get:23 http://ftpmaster.internal/ubuntu xenial/main amd64 dh-strip-nondeterminism all 0.015-1 [4864 B] Get:24 http://ftpmaster.internal/ubuntu xenial/main amd64 debhelper all 9.20160115ubuntu3 [739 kB] Get:25 http://ftpmaster.internal/ubuntu xenial/main amd64 gnu-efi amd64 3.0.2-1ubuntu1 [107 kB] Get:26 http://ftpmaster.internal/ubuntu xenial/universe amd64 help2man amd64 1.47.3 [111 kB] Get:27 http://ftpmaster.internal/ubuntu xenial/universe amd64 libfile-slurp-perl all 9999.19-4 [41.3 kB] Get:28 http://ftpmaster.internal/ubuntu xenial/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-2ubuntu4 [168 kB] Get:29 http://ftpmaster.internal/ubuntu xenial/main amd64 libssl-dev amd64 1.0.2g-1ubuntu4 [1393 kB] Get:30 http://ftpmaster.internal/ubuntu xenial/main amd64 sbsigntool amd64 0.6-0ubuntu10 [51.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 16.5 MB in 2s (6289 kB/s) Selecting previously unselected package liblocale-gettext-perl. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12186 files and directories currently installed.) Preparing to unpack .../liblocale-gettext-perl_1.07-1build1_amd64.deb ... Unpacking liblocale-gettext-perl (1.07-1build1) ... Selecting previously unselected package groff-base. Preparing to unpack .../groff-base_1.22.3-7_amd64.deb ... Unpacking groff-base (1.22.3-7) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.6ubuntu3_amd64.deb ... Unpacking bsdmainutils (9.0.6ubuntu3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../libpipeline1_1.4.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.4.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.7.5-1_amd64.deb ... Unpacking man-db (2.7.5-1) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.3-5.2ubuntu1_amd64.deb ... Unpacking libunistring0:amd64 (0.9.3-5.2ubuntu1) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.25-2ubuntu1_amd64.deb ... Unpacking libmagic1:amd64 (1:5.25-2ubuntu1) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.25-2ubuntu1_amd64.deb ... Unpacking file (1:5.25-2ubuntu1) ... Selecting previously unselected package libasprintf0v5:amd64. Preparing to unpack .../libasprintf0v5_0.19.7-2ubuntu3_amd64.deb ... Unpacking libasprintf0v5:amd64 (0.19.7-2ubuntu3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.19.7-2ubuntu3_amd64.deb ... Unpacking gettext-base (0.19.7-2ubuntu3) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.48.0-1ubuntu4_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.48.0-1ubuntu4) ... Selecting previously unselected package libicu55:amd64. Preparing to unpack .../libicu55_55.1-7_amd64.deb ... Unpacking libicu55:amd64 (55.1-7) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.3+dfsg1-1_amd64.deb ... Unpacking libxml2:amd64 (2.9.3+dfsg1-1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../autotools-dev_20150820.1_all.deb ... Unpacking autotools-dev (20150820.1) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.11-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.11-1) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.19.7-2ubuntu3_amd64.deb ... Unpacking gettext (0.19.7-2ubuntu3) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.19_all.deb ... Unpacking po-debconf (1.0.19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../libarchive-zip-perl_1.56-2_all.deb ... Unpacking libarchive-zip-perl (1.56-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../libfile-stripnondeterminism-perl_0.015-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.015-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../dh-strip-nondeterminism_0.015-1_all.deb ... Unpacking dh-strip-nondeterminism (0.015-1) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20160115ubuntu3_all.deb ... Unpacking debhelper (9.20160115ubuntu3) ... Selecting previously unselected package gnu-efi. Preparing to unpack .../gnu-efi_3.0.2-1ubuntu1_amd64.deb ... Unpacking gnu-efi (3.0.2-1ubuntu1) ... Selecting previously unselected package help2man. Preparing to unpack .../help2man_1.47.3_amd64.deb ... Unpacking help2man (1.47.3) ... Selecting previously unselected package libfile-slurp-perl. Preparing to unpack .../libfile-slurp-perl_9999.19-4_all.deb ... Unpacking libfile-slurp-perl (9999.19-4) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2ubuntu4_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4) ... Selecting previously unselected package libssl-dev:amd64. Preparing to unpack .../libssl-dev_1.0.2g-1ubuntu4_amd64.deb ... Unpacking libssl-dev:amd64 (1.0.2g-1ubuntu4) ... Selecting previously unselected package sbsigntool. Preparing to unpack .../sbsigntool_0.6-0ubuntu10_amd64.deb ... Unpacking sbsigntool (0.6-0ubuntu10) ... Selecting previously unselected package sbuild-build-depends-efitools-dummy. Preparing to unpack .../sbuild-build-depends-efitools-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-efitools-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.23-0ubuntu3) ... Setting up liblocale-gettext-perl (1.07-1build1) ... Setting up groff-base (1.22.3-7) ... Setting up bsdmainutils (9.0.6ubuntu3) ... 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 libpipeline1:amd64 (1.4.1-2) ... Setting up man-db (2.7.5-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libunistring0:amd64 (0.9.3-5.2ubuntu1) ... Setting up libmagic1:amd64 (1:5.25-2ubuntu1) ... Setting up file (1:5.25-2ubuntu1) ... Setting up libasprintf0v5:amd64 (0.19.7-2ubuntu3) ... Setting up gettext-base (0.19.7-2ubuntu3) ... Setting up libglib2.0-0:amd64 (2.48.0-1ubuntu4) ... No schema files found: doing nothing. Setting up libicu55:amd64 (55.1-7) ... Setting up libxml2:amd64 (2.9.3+dfsg1-1) ... Setting up autotools-dev (20150820.1) ... Setting up libcroco3:amd64 (0.6.11-1) ... Setting up gettext (0.19.7-2ubuntu3) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up po-debconf (1.0.19) ... Setting up libarchive-zip-perl (1.56-2) ... Setting up libfile-stripnondeterminism-perl (0.015-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up gnu-efi (3.0.2-1ubuntu1) ... Setting up help2man (1.47.3) ... Setting up libfile-slurp-perl (9999.19-4) ... Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4) ... Setting up libssl-dev:amd64 (1.0.2g-1ubuntu4) ... Setting up sbsigntool (0.6-0ubuntu10) ... Setting up debhelper (9.20160115ubuntu3) ... Setting up sbuild-build-depends-efitools-dummy (0.invalid.0) ... Setting up dh-strip-nondeterminism (0.015-1) ... Processing triggers for libc-bin (2.23-0ubuntu3) ... ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build environment │ └──────────────────────────────────────────────────────────────────────────────┘ Kernel: Linux 3.13.0-88-generic amd64 (x86_64) Toolchain package versions: binutils_2.26-8ubuntu2 dpkg-dev_1.18.4ubuntu1 g++-5_5.3.1-14ubuntu2 gcc-5_5.3.1-14ubuntu2 libc6-dev_2.23-0ubuntu3 libstdc++-5-dev_5.3.1-14ubuntu2 libstdc++6_5.3.1-14ubuntu2 linux-libc-dev_4.4.0-21.37 Package versions: adduser_3.113+nmu3ubuntu4 advancecomp_1.20-1 apt_1.2.10ubuntu1 apt-transport-https_1.2.10ubuntu1 autotools-dev_20150820.1 base-files_9.4ubuntu4 base-passwd_3.5.39 bash_4.3-14ubuntu1 binutils_2.26-8ubuntu2 bsdmainutils_9.0.6ubuntu3 bsdutils_1:2.27.1-6ubuntu3 build-essential_12.1ubuntu2 bzip2_1.0.6-8 ca-certificates_20160104ubuntu1 coreutils_8.25-2ubuntu2 cpp_4:5.3.1-1ubuntu1 cpp-5_5.3.1-14ubuntu2 dash_0.5.8-2.1ubuntu2 debconf_1.5.58ubuntu1 debhelper_9.20160115ubuntu3 debianutils_4.7 dh-strip-nondeterminism_0.015-1 diffutils_1:3.3-3 dmsetup_2:1.02.110-1ubuntu10 dpkg_1.18.4ubuntu1 dpkg-dev_1.18.4ubuntu1 e2fslibs_1.42.13-1ubuntu1 e2fsprogs_1.42.13-1ubuntu1 fakeroot_1.20.2-1ubuntu1 file_1:5.25-2ubuntu1 findutils_4.6.0+git+20160126-2 g++_4:5.3.1-1ubuntu1 g++-5_5.3.1-14ubuntu2 gcc_4:5.3.1-1ubuntu1 gcc-5_5.3.1-14ubuntu2 gcc-5-base_5.3.1-14ubuntu2 gcc-6-base_6.0.1-0ubuntu1 gettext_0.19.7-2ubuntu3 gettext-base_0.19.7-2ubuntu3 gnu-efi_3.0.2-1ubuntu1 gnupg_1.4.20-1ubuntu3 gpgv_1.4.20-1ubuntu3 grep_2.24-1 groff-base_1.22.3-7 gzip_1.6-4ubuntu1 help2man_1.47.3 hostname_3.16ubuntu2 init_1.29ubuntu1 init-system-helpers_1.29ubuntu1 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3 libapparmor1_2.10.95-0ubuntu2 libapt-pkg5.0_1.2.10ubuntu1 libarchive-zip-perl_1.56-2 libasan2_5.3.1-14ubuntu2 libasn1-8-heimdal_1.7~git20150920+dfsg-4ubuntu1 libasprintf0v5_0.19.7-2ubuntu3 libatomic1_5.3.1-14ubuntu2 libattr1_1:2.4.47-2 libaudit-common_1:2.4.5-1ubuntu2 libaudit1_1:2.4.5-1ubuntu2 libblkid1_2.27.1-6ubuntu3 libbz2-1.0_1.0.6-8 libc-bin_2.23-0ubuntu3 libc-dev-bin_2.23-0ubuntu3 libc6_2.23-0ubuntu3 libc6-dev_2.23-0ubuntu3 libcap2_1:2.24-12 libcap2-bin_1:2.24-12 libcc1-0_5.3.1-14ubuntu2 libcilkrts5_5.3.1-14ubuntu2 libcomerr2_1.42.13-1ubuntu1 libcroco3_0.6.11-1 libcryptsetup4_2:1.6.6-5ubuntu2 libcurl3-gnutls_7.47.0-1ubuntu2 libdb5.3_5.3.28-11 libdbus-1-3_1.10.6-1ubuntu3 libdebconfclient0_0.198ubuntu1 libdevmapper1.02.1_2:1.02.110-1ubuntu10 libdpkg-perl_1.18.4ubuntu1 libfakeroot_1.20.2-1ubuntu1 libfdisk1_2.27.1-6ubuntu3 libffi6_3.2.1-4 libfile-slurp-perl_9999.19-4 libfile-stripnondeterminism-perl_0.015-1 libgcc-5-dev_5.3.1-14ubuntu2 libgcc1_1:6.0.1-0ubuntu1 libgcrypt20_1.6.5-2 libgdbm3_1.8.3-13.1 libglib2.0-0_2.48.0-1ubuntu4 libgmp10_2:6.1.0+dfsg-2 libgnutls30_3.4.10-4ubuntu1 libgomp1_5.3.1-14ubuntu2 libgpg-error0_1.21-2ubuntu1 libgssapi-krb5-2_1.13.2+dfsg-5 libgssapi3-heimdal_1.7~git20150920+dfsg-4ubuntu1 libhcrypto4-heimdal_1.7~git20150920+dfsg-4ubuntu1 libheimbase1-heimdal_1.7~git20150920+dfsg-4ubuntu1 libheimntlm0-heimdal_1.7~git20150920+dfsg-4ubuntu1 libhogweed4_3.2-1 libhx509-5-heimdal_1.7~git20150920+dfsg-4ubuntu1 libicu55_55.1-7 libidn11_1.32-3ubuntu1 libisl15_0.16.1-1 libitm1_5.3.1-14ubuntu2 libk5crypto3_1.13.2+dfsg-5 libkeyutils1_1.5.9-8ubuntu1 libkmod2_22-1ubuntu4 libkrb5-26-heimdal_1.7~git20150920+dfsg-4ubuntu1 libkrb5-3_1.13.2+dfsg-5 libkrb5support0_1.13.2+dfsg-5 libldap-2.4-2_2.4.42+dfsg-2ubuntu3 liblocale-gettext-perl_1.07-1build1 liblockfile-bin_1.09-6ubuntu1 liblockfile1_1.09-6ubuntu1 liblsan0_5.3.1-14ubuntu2 liblz4-1_0.0~r131-2ubuntu2 liblzma5_5.1.1alpha+20120614-2ubuntu2 libmagic1_1:5.25-2ubuntu1 libmount1_2.27.1-6ubuntu3 libmpc3_1.0.3-1 libmpfr4_3.1.4-1 libmpx0_5.3.1-14ubuntu2 libncurses5_6.0+20160213-1ubuntu1 libncursesw5_6.0+20160213-1ubuntu1 libnettle6_3.2-1 libnih-dbus1_1.0.3-4.3ubuntu1 libnih1_1.0.3-4.3ubuntu1 libp11-kit0_0.23.2-3 libpam-modules_1.1.8-3.2ubuntu2 libpam-modules-bin_1.1.8-3.2ubuntu2 libpam-runtime_1.1.8-3.2ubuntu2 libpam0g_1.1.8-3.2ubuntu2 libpcre3_2:8.38-3.1 libperl5.22_5.22.1-9 libpipeline1_1.4.1-2 libpng12-0_1.2.54-1ubuntu1 libprocps4_2:3.3.10-4ubuntu2 libquadmath0_5.3.1-14ubuntu2 libreadline6_6.3-8ubuntu2 libroken18-heimdal_1.7~git20150920+dfsg-4ubuntu1 librtmp1_2.4+20151223.gitfa8646d-1build1 libsasl2-2_2.1.26.dfsg1-14build1 libsasl2-modules-db_2.1.26.dfsg1-14build1 libseccomp2_2.2.3-3ubuntu3 libselinux1_2.4-3build2 libsemanage-common_2.3-1build3 libsemanage1_2.3-1build3 libsepol1_2.4-2 libslang2_2.3.0-2ubuntu1 libsmartcols1_2.27.1-6ubuntu3 libsqlite3-0_3.11.0-1ubuntu1 libss2_1.42.13-1ubuntu1 libssl-dev_1.0.2g-1ubuntu4 libssl1.0.0_1.0.2g-1ubuntu4 libstdc++-5-dev_5.3.1-14ubuntu2 libstdc++6_5.3.1-14ubuntu2 libsystemd0_229-4ubuntu4 libtasn1-6_4.7-3 libtimedate-perl_2.3000-2 libtinfo5_6.0+20160213-1ubuntu1 libtsan0_5.3.1-14ubuntu2 libubsan0_5.3.1-14ubuntu2 libudev1_229-4ubuntu4 libunistring0_0.9.3-5.2ubuntu1 libusb-0.1-4_2:0.1.12-28 libustr-1.0-1_1.0.4-5 libuuid1_2.27.1-6ubuntu3 libwind0-heimdal_1.7~git20150920+dfsg-4ubuntu1 libxml2_2.9.3+dfsg1-1 linux-libc-dev_4.4.0-21.37 lockfile-progs_0.1.17 login_1:4.2-3.1ubuntu5 lsb-base_9.20160110 make_4.1-6 man-db_2.7.5-1 mawk_1.3.3-17ubuntu2 mount_2.27.1-6ubuntu3 multiarch-support_2.23-0ubuntu3 ncurses-base_6.0+20160213-1ubuntu1 ncurses-bin_6.0+20160213-1ubuntu1 openssl_1.0.2g-1ubuntu4 optipng_0.7.6-1 passwd_1:4.2-3.1ubuntu5 patch_2.7.5-1 perl_5.22.1-9 perl-base_5.22.1-9 perl-modules-5.22_5.22.1-9 pkg-create-dbgsym_0.72 pkgbinarymangler_129 po-debconf_1.0.19 policyrcd-script-zg2_0.1-2 procps_2:3.3.10-4ubuntu2 readline-common_6.3-8ubuntu2 sbsigntool_0.6-0ubuntu10 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-efitools-dummy_0.invalid.0 sed_4.2.2-7 sensible-utils_0.0.9 systemd_229-4ubuntu4 systemd-sysv_229-4ubuntu4 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.3ubuntu2 tar_1.28-2.1 tzdata_2016d-0ubuntu0.16.04 ubuntu-keyring_2012.05.19 util-linux_2.27.1-6ubuntu3 xz-utils_5.1.1alpha+20120614-2ubuntu2 zlib1g_1:1.2.8.dfsg-2ubuntu4 zlib1g-dev_1:1.2.8.dfsg-2ubuntu4 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build │ └──────────────────────────────────────────────────────────────────────────────┘ Unpack source ───────────── gpgv: Signature made Sat Mar 29 21:39:01 2014 UTC using RSA key ID 5AA3DF71 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./efitools_1.4.2+git20140118-0ubuntu1.dsc dpkg-source: info: extracting efitools in efitools-1.4.2+git20140118 dpkg-source: info: unpacking efitools_1.4.2+git20140118.orig.tar.bz2 dpkg-source: info: unpacking efitools_1.4.2+git20140118-0ubuntu1.debian.tar.gz Check disc space ──────────────── Sufficient free space for build User Environment ──────────────── DEB_BUILD_OPTIONS=parallel=4 HOME=/home/buildd LANG=C.UTF-8 LOGNAME=buildd MAIL=/var/mail/buildd OLDPWD=/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/«BUILDDIR»/efitools-1.4.2+git20140118 SHELL=/bin/sh SUDO_COMMAND=/usr/sbin/chroot /«CHROOT» su buildd -s /bin/sh -c cd '/«BUILDDIR»/efitools-1.4.2+git20140118' && 'env' SUDO_GID=2501 SUDO_UID=2001 SUDO_USER=buildd TERM=unknown USER=buildd USERNAME=root dpkg-buildpackage ───────────────── dpkg-buildpackage: source package efitools dpkg-buildpackage: source version 1.4.2+git20140118-0ubuntu1 dpkg-buildpackage: source distribution trusty dpkg-source --before-build efitools-1.4.2+git20140118 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean make -j1 clean make[1]: Entering directory '/«BUILDDIR»/efitools-1.4.2+git20140118' rm -f PK.* KEK.* DB.* HelloWorld.efi LockDown.efi Loader.efi ReadVars.efi UpdateVars.efi KeyTool.efi HashTool.efi PreLoader.efi SetNull.efi HelloWorld-signed.efi LockDown-signed.efi Loader-signed.efi ReadVars-signed.efi UpdateVars-signed.efi KeyTool-signed.efi HashTool-signed.efi PreLoader-signed.efi SetNull-signed.efi cert-to-efi-sig-list sig-list-to-certs sign-efi-sig-list hash-to-efi-sig-list efi-readvar efi-updatevar *.o *.so rm -f doc/*.1 make -C lib clean make[2]: Entering directory '/«BUILDDIR»/efitools-1.4.2+git20140118/lib' rm -f lib.a rm -f simple_file.o pecoff.o guid.o sha256.o console.o security_policy.o execute.o configtable.o shell.o kernel_efivars.o make[2]: Leaving directory '/«BUILDDIR»/efitools-1.4.2+git20140118/lib' make[1]: Leaving directory '/«BUILDDIR»/efitools-1.4.2+git20140118' dh_clean debian/rules build dh build dh_testdir dh_update_autotools_config dh_auto_configure dh_auto_build make -j1 make[1]: Entering directory '/«BUILDDIR»/efitools-1.4.2+git20140118' make -C lib lib-efi.a make[2]: Entering directory '/«BUILDDIR»/efitools-1.4.2+git20140118/lib' cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c simple_file.c -o simple_file.efi.o cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c pecoff.c -o pecoff.efi.o pecoff.c: In function ‘pecoff_execute_checked’: pecoff.c:326:11: warning: implicit declaration of function ‘generate_path’ [-Wimplicit-function-declaration] status = generate_path(name, li, &loadpath, &PathName); ^ cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c guid.c -o guid.efi.o cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c sha256.c -o sha256.efi.o cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c console.c -o console.efi.o cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c security_policy.c -o security_policy.efi.o security_policy.c:110:19: warning: ‘thunk_security_policy_authentication’ used but never defined static EFI_STATUS thunk_security_policy_authentication( ^ security_policy.c:117:19: warning: ‘thunk_security2_policy_authentication’ used but never defined static EFI_STATUS thunk_security2_policy_authentication( ^ cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c execute.c -o execute.efi.o cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c configtable.c -o configtable.efi.o cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c shell.c -o shell.efi.o cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c variables.c -o variables.o ar rcv lib-efi.a simple_file.efi.o pecoff.efi.o guid.efi.o sha256.efi.o console.efi.o security_policy.efi.o execute.efi.o configtable.efi.o shell.efi.o variables.o a - simple_file.efi.o a - pecoff.efi.o a - guid.efi.o a - sha256.efi.o a - console.efi.o a - security_policy.efi.o a - execute.efi.o a - configtable.efi.o a - shell.efi.o a - variables.o make[2]: Leaving directory '/«BUILDDIR»/efitools-1.4.2+git20140118/lib' cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c HelloWorld.c -o HelloWorld.o ld -nostdlib -T /«BUILDDIR»/efitools-1.4.2+git20140118//elf_x86_64_efi.lds -shared -Bsymbolic /usr/lib/crt0-efi-x86_64.o -L /usr/lib HelloWorld.o lib/lib-efi.a -o HelloWorld.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a # check we have no undefined symbols nm -D HelloWorld.so | grep ' U ' && exit 1 || exit 0 objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \ -j .rela -j .reloc --target=efi-app-x86_64 HelloWorld.so HelloWorld.efi openssl req -new -x509 -newkey rsa:2048 -subj "/CN=DB/" -keyout DB.key -out DB.crt -days 3650 -nodes -sha256 Generating a 2048 bit RSA private key .....................................+++ ..............+++ writing new private key to 'DB.key' ----- sbsign --key DB.key --cert DB.crt --output HelloWorld-signed.efi HelloWorld.efi warning: data remaining[44544 vs 52379]: gaps between PE/COFF sections? warning: data remaining[44544 vs 52384]: gaps between PE/COFF sections? openssl req -new -x509 -newkey rsa:2048 -subj "/CN=PK/" -keyout PK.key -out PK.crt -days 3650 -nodes -sha256 Generating a 2048 bit RSA private key .............................................+++ ....................+++ writing new private key to 'PK.key' ----- cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c cert-to-efi-sig-list.c -o cert-to-efi-sig-list.o cert-to-efi-sig-list.c:9:0: warning: "__STDC_VERSION__" redefined #define __STDC_VERSION__ 199901L ^ : note: this is the location of the previous definition make -C lib lib.a make[2]: Entering directory '/«BUILDDIR»/efitools-1.4.2+git20140118/lib' cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c simple_file.c -o simple_file.o cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c pecoff.c -o pecoff.o pecoff.c: In function ‘pecoff_image_layout’: pecoff.c:63:25: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] #define AllocatePool(x) malloc(x) ^ pecoff.c:114:17: note: in expansion of macro ‘AllocatePool’ void *buffer = AllocatePool(context->ImageSize); ^ pecoff.c:63:25: warning: incompatible implicit declaration of built-in function ‘malloc’ #define AllocatePool(x) malloc(x) ^ pecoff.c:114:17: note: in expansion of macro ‘AllocatePool’ void *buffer = AllocatePool(context->ImageSize); ^ pecoff.c:63:25: note: include ‘’ or provide a declaration of ‘malloc’ #define AllocatePool(x) malloc(x) ^ pecoff.c:114:17: note: in expansion of macro ‘AllocatePool’ void *buffer = AllocatePool(context->ImageSize); ^ pecoff.c:64:26: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration] #define CopyMem(d, s, l) memcpy(d, s, l) ^ pecoff.c:119:2: note: in expansion of macro ‘CopyMem’ CopyMem(buffer, *data, context->SizeOfHeaders); ^ pecoff.c:64:26: warning: incompatible implicit declaration of built-in function ‘memcpy’ #define CopyMem(d, s, l) memcpy(d, s, l) ^ pecoff.c:119:2: note: in expansion of macro ‘CopyMem’ CopyMem(buffer, *data, context->SizeOfHeaders); ^ pecoff.c:64:26: note: include ‘’ or provide a declaration of ‘memcpy’ #define CopyMem(d, s, l) memcpy(d, s, l) ^ pecoff.c:119:2: note: in expansion of macro ‘CopyMem’ CopyMem(buffer, *data, context->SizeOfHeaders); ^ pecoff.c:65:23: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] #define ZeroMem(s, l) memset(s, 0, l) ^ pecoff.c:139:4: note: in expansion of macro ‘ZeroMem’ ZeroMem (base + size, s->Misc.VirtualSize - size); ^ pecoff.c:65:23: warning: incompatible implicit declaration of built-in function ‘memset’ #define ZeroMem(s, l) memset(s, 0, l) ^ pecoff.c:139:4: note: in expansion of macro ‘ZeroMem’ ZeroMem (base + size, s->Misc.VirtualSize - size); ^ pecoff.c:65:23: note: include ‘’ or provide a declaration of ‘memset’ #define ZeroMem(s, l) memset(s, 0, l) ^ pecoff.c:139:4: note: in expansion of macro ‘ZeroMem’ ZeroMem (base + size, s->Misc.VirtualSize - size); ^ cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c guid.c -o guid.o guid.c: In function ‘compare_guid’: guid.c:41:9: warning: implicit declaration of function ‘memcmp’ [-Wimplicit-function-declaration] return memcmp(g1, g2, sizeof(*g1)); ^ cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c sha256.c -o sha256.o sha256.c: In function ‘sha256_update’: sha256.c:31:26: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration] #define CopyMem(d, s, l) memcpy(d, s, l) ^ sha256.c:215:9: note: in expansion of macro ‘CopyMem’ CopyMem( (void *) (ctx->buffer + left), ^ sha256.c:31:26: warning: incompatible implicit declaration of built-in function ‘memcpy’ #define CopyMem(d, s, l) memcpy(d, s, l) ^ sha256.c:215:9: note: in expansion of macro ‘CopyMem’ CopyMem( (void *) (ctx->buffer + left), ^ sha256.c:31:26: note: include ‘’ or provide a declaration of ‘memcpy’ #define CopyMem(d, s, l) memcpy(d, s, l) ^ sha256.c:215:9: note: in expansion of macro ‘CopyMem’ CopyMem( (void *) (ctx->buffer + left), ^ sha256.c:31:26: warning: incompatible implicit declaration of built-in function ‘memcpy’ #define CopyMem(d, s, l) memcpy(d, s, l) ^ sha256.c:232:9: note: in expansion of macro ‘CopyMem’ CopyMem( (void *) (ctx->buffer + left), ^ sha256.c:31:26: note: include ‘’ or provide a declaration of ‘memcpy’ #define CopyMem(d, s, l) memcpy(d, s, l) ^ sha256.c:232:9: note: in expansion of macro ‘CopyMem’ CopyMem( (void *) (ctx->buffer + left), ^ sha256.c: In function ‘sha256_get_pecoff_digest_mem’: sha256.c:30:25: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] #define AllocatePool(x) malloc(x) ^ sha256.c:293:13: note: in expansion of macro ‘AllocatePool’ sections = AllocatePool(context.PEHdr->Pe32.FileHeader.NumberOfSections * sizeof(*sections)); ^ sha256.c:30:25: warning: incompatible implicit declaration of built-in function ‘malloc’ #define AllocatePool(x) malloc(x) ^ sha256.c:293:13: note: in expansion of macro ‘AllocatePool’ sections = AllocatePool(context.PEHdr->Pe32.FileHeader.NumberOfSections * sizeof(*sections)); ^ sha256.c:30:25: note: include ‘’ or provide a declaration of ‘malloc’ #define AllocatePool(x) malloc(x) ^ sha256.c:293:13: note: in expansion of macro ‘AllocatePool’ sections = AllocatePool(context.PEHdr->Pe32.FileHeader.NumberOfSections * sizeof(*sections)); ^ sha256.c:33:21: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] #define FreePool(s) free(s) ^ sha256.c:348:2: note: in expansion of macro ‘FreePool’ FreePool(sections); ^ sha256.c:33:21: warning: incompatible implicit declaration of built-in function ‘free’ #define FreePool(s) free(s) ^ sha256.c:348:2: note: in expansion of macro ‘FreePool’ FreePool(sections); ^ sha256.c:33:21: note: include ‘’ or provide a declaration of ‘free’ #define FreePool(s) free(s) ^ sha256.c:348:2: note: in expansion of macro ‘FreePool’ FreePool(sections); ^ cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c console.c -o console.o cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c security_policy.c -o security_policy.o security_policy.c:110:19: warning: ‘thunk_security_policy_authentication’ used but never defined static EFI_STATUS thunk_security_policy_authentication( ^ security_policy.c:117:19: warning: ‘thunk_security2_policy_authentication’ used but never defined static EFI_STATUS thunk_security2_policy_authentication( ^ cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c execute.c -o execute.o cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c configtable.c -o configtable.o cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c shell.c -o shell.o cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c kernel_efivars.c -o kernel_efivars.o kernel_efivars.c:19:0: warning: "__STDC_VERSION__" redefined #define __STDC_VERSION__ 199901L ^ : note: this is the location of the previous definition kernel_efivars.c: In function ‘kernel_variable_init’: kernel_efivars.c:61:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd, buf, st.st_size); ^ kernel_efivars.c: In function ‘get_variable’: kernel_efivars.c:107:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd, &attr, sizeof(attr)); ^ kernel_efivars.c:113:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fd, buf, st.st_size - sizeof(attr)); ^ ar rcv lib.a simple_file.o pecoff.o guid.o sha256.o console.o security_policy.o execute.o configtable.o shell.o kernel_efivars.o a - simple_file.o a - pecoff.o a - guid.o a - sha256.o a - console.o a - security_policy.o a - execute.o a - configtable.o a - shell.o a - kernel_efivars.o make[2]: Leaving directory '/«BUILDDIR»/efitools-1.4.2+git20140118/lib' cc -o cert-to-efi-sig-list cert-to-efi-sig-list.o -lcrypto lib/lib.a ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc PK.crt PK.esl cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c sign-efi-sig-list.c -o sign-efi-sig-list.o sign-efi-sig-list.c:7:0: warning: "__STDC_VERSION__" redefined #define __STDC_VERSION__ 199901L ^ : note: this is the location of the previous definition sign-efi-sig-list.c: In function ‘main’: sign-efi-sig-list.c:155:3: warning: implicit declaration of function ‘strptime’ [-Wimplicit-function-declaration] strptime(timestampstr, "%c", &tms); ^ sign-efi-sig-list.c:201:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(fdefifile, ptr, st.st_size); ^ sign-efi-sig-list.c:224:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read(infile, sigbuf, sigsize); ^ sign-efi-sig-list.c:290:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fdoutfile, out, outlen); ^ sign-efi-sig-list.c:293:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fdoutfile, ptr, st.st_size); ^ cc -o sign-efi-sig-list sign-efi-sig-list.o -lcrypto lib/lib.a ./sign-efi-sig-list -c PK.crt -k PK.key PK PK.esl PK.auth Authentication Payload size 837 Signature of size 1373 ./xxdi.pl PK.auth > PK.h openssl req -new -x509 -newkey rsa:2048 -subj "/CN=KEK/" -keyout KEK.key -out KEK.crt -days 3650 -nodes -sha256 Generating a 2048 bit RSA private key .......+++ .......+++ writing new private key to 'KEK.key' ----- ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc KEK.crt KEK.esl ./sign-efi-sig-list -c PK.crt -k PK.key KEK KEK.esl KEK.auth Authentication Payload size 841 Signature of size 1373 ./xxdi.pl KEK.auth > KEK.h ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc DB.crt DB.esl ./sign-efi-sig-list -c KEK.crt -k KEK.key db DB.esl DB.auth Authentication Payload size 837 Signature of size 1376 ./xxdi.pl DB.auth > DB.h cc -I/«BUILDDIR»/efitools-1.4.2+git20140118/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c LockDown.c -o LockDown.o ld -nostdlib -T /«BUILDDIR»/efitools-1.4.2+git20140118//elf_x86_64_efi.lds -shared -Bsymbolic /usr/lib/crt0-efi-x86_64.o -L /usr/lib LockDown.o lib/lib-efi.a -o LockDown.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/5/libgcc.a # check we have no undefined symbols nm -D LockDown.so | grep ' U ' && exit 1 || exit 0 objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \ -j .rela -j .reloc --target=efi-app-x86_64 LockDown.so LockDown.efi sbsign --key DB.key --cert DB.crt --output LockDown-signed.efi LockDown.efi warning: data remaining[47616 vs 55549]: gaps between PE/COFF sections? warning: data remaining[47616 vs 55552]: gaps between PE/COFF sections? warning: overwriting existing signature Make.rules:69: recipe for target 'LockDown-signed.efi' failed make[1]: *** [LockDown-signed.efi] Segmentation fault (core dumped) rm HelloWorld.o make[1]: Leaving directory '/«BUILDDIR»/efitools-1.4.2+git20140118' dh_auto_build: make -j1 returned exit code 2 make: *** [build] Error 2 debian/rules:4: recipe for target 'build' failed dpkg-buildpackage: error: debian/rules build gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20160627-0843 Finished ──────── E: Build failure (dpkg-buildpackage died) ┌──────────────────────────────────────────────────────────────────────────────┐ │ Cleanup │ └──────────────────────────────────────────────────────────────────────────────┘ Not removing build depends: as requested Keeping session: ┌──────────────────────────────────────────────────────────────────────────────┐ │ Summary │ └──────────────────────────────────────────────────────────────────────────────┘ Build Architecture: amd64 Build-Space: 3444 Build-Time: 8 Distribution: xenial Fail-Stage: build Host Architecture: amd64 Install-Time: 12 Job: efitools_1.4.2+git20140118-0ubuntu1.dsc Machine Architecture: amd64 Package: efitools Package-Time: 21 Source-Version: 1.4.2+git20140118-0ubuntu1 Space: 3444 Status: attempted Version: 1.4.2+git20140118-0ubuntu1 ──────────────────────────────────────────────────────────────────────────────── Finished at 20160627-0843 Build needed 00:00:21, 3444k disc space RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['scan-for-processes', 'PACKAGEBUILD-10069312'] Scanning for processes to kill in build /home/buildd/build-PACKAGEBUILD-10069312/chroot-autobuild... RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', 'PACKAGEBUILD-10069312'] Unmounting chroot for build PACKAGEBUILD-10069312... RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', 'PACKAGEBUILD-10069312'] Removing build PACKAGEBUILD-10069312