Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2018 23:47:45 +0100
From:      =?UTF-8?Q?Vin=C3=ADcius_Zavam?= <egypcio@freebsd.org>
To:        pkg-fallout@freebsd.org
Subject:   Re: [package - head-i386-default][sysutils/shim] Failed for shim-0.9 in build
Message-ID:  <CA%2BKr6DMs_iG38GHTLuO_QEzDzvnCPs9X-jnFCJJGiLHuiaP5GQ@mail.gmail.com>
In-Reply-To: <201812112136.wBBLasjo057187@beefy11.nyi.freebsd.org>
References:  <201812112136.wBBLasjo057187@beefy11.nyi.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 11, 2018, 22:36 <pkg-fallout@freebsd.org wrote:

> You are receiving this mail as a port that you maintain
> is failing to build on the FreeBSD package build server.
> Please investigate the failure and submit a PR to fix
> build.
>
> Maintainer:     egypcio@FreeBSD.org
> Last committer: egypcio@FreeBSD.org
> Ident:          $FreeBSD: head/sysutils/shim/Makefile 486672 2018-12-05
> 14:09:12Z egypcio $
> Log URL:
> http://beefy11.nyi.freebsd.org/data/head-i386-default/p487217_s341802/logs/shim-0.9.log
> Build URL:
> http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p487217_s341802
> Log:
>
> =>> Building sysutils/shim
> build started at Tue Dec 11 21:36:42 UTC 2018
> port directory: /usr/ports/sysutils/shim
> package name: shim-0.9
> building for: FreeBSD head-i386-default-job-08 13.0-CURRENT FreeBSD
> 13.0-CURRENT 1300004 i386
> maintained by: egypcio@FreeBSD.org
> Makefile ident:      $FreeBSD: head/sysutils/shim/Makefile 486672
> 2018-12-05 14:09:12Z egypcio $
> Poudriere version: 3.2.8
> Host OSVERSION: 1300002
> Jail OSVERSION: 1300004
> Job Id: 08
>
>
>
>
> !!! Jail is newer than host. (Jail: 1300004, Host: 1300002) !!!
> !!! This is not supported. !!!
> !!! Host kernel must be same or newer than jail. !!!
> !!! Expect build failures. !!!
>
>
>
> ---Begin Environment---
> SHELL=/bin/csh
> UNAME_p=i386
> UNAME_m=i386
> OSVERSION=1300004
> UNAME_v=FreeBSD 13.0-CURRENT 1300004
> UNAME_r=13.0-CURRENT
> BLOCKSIZE=K
> MAIL=/var/mail/root
> STATUS=1
> HOME=/root
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
> LOCALBASE=/usr/local
> USER=root
> LIBEXECPREFIX=/usr/local/libexec/poudriere
> POUDRIERE_VERSION=3.2.8
> MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
> POUDRIERE_BUILD_TYPE=bulk
> PACKAGE_BUILDING=yes
> SAVED_TERM=
> PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
> P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
> MASTERNAME=head-i386-default
> SCRIPTPREFIX=/usr/local/share/poudriere
> OLDPWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p
> SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
> POUDRIEREPATH=/usr/local/bin/poudriere
> ---End Environment---
>
> ---Begin Poudriere Port Flags/Env---
> PORT_FLAGS=
> PKGENV=
> FLAVOR=
> DEPENDS_ARGS=
> MAKE_ARGS=
> ---End Poudriere Port Flags/Env---
>
> ---Begin OPTIONS List---
> ---End OPTIONS List---
>
> --MAINTAINER--
> egypcio@FreeBSD.org
> --End MAINTAINER--
>
> --CONFIGURE_ARGS--
>
> --End CONFIGURE_ARGS--
>
> --CONFIGURE_ENV--
> MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/shim/work
> XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/shim/work
> HOME=/wrkdirs/usr/ports/sysutils/shim/work TMPDIR="/tmp"
> PATH=/wrkdirs/usr/ports/sysutils/shim/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
> SHELL=/bin/sh CONFIG_SHELL=/bin/sh
> --End CONFIGURE_ENV--
>
> --MAKE_ENV--
> XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/shim/work
> XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/shim/work
> HOME=/wrkdirs/usr/ports/sysutils/shim/work TMPDIR="/tmp"
> PATH=/wrkdirs/usr/ports/sysutils/shim/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
> NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES
> ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar"
> AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt"
> GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm"
> OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump"
> RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf"
> SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings"
> PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc7" CFLAGS="-O2 -pipe
> -fstack-protector -Wl,-rpath=/usr/local/lib/gcc7 -fno-strict-aliasing
> -std=gnu89 "  CPP="cpp7" CPPFLAGS=""  LDFLAGS=" -fstack-protector
> -Wl,-rpath=/usr/local/lib/gcc7 -L/usr/local/lib/gcc
>  7 " LIBS=""  CXX="g++7" CXXFLAGS="-O2 -pipe  -fstack-protector
> -Wl,-rpath=/usr/local/lib/gcc7  -Wl,-rpath=/usr/local/lib/gcc7 "
> MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"
> BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m
> 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
> --End MAKE_ENV--
>
> --PLIST_SUB--
> OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local
> LIB32DIR=lib DOCSDIR="share/doc/shim"  EXAMPLESDIR="share/examples/shim"
> DATADIR="share/shim"  WWWDIR="www/shim"  ETCDIR="etc/shim"
> --End PLIST_SUB--
>
> --SUB_LIST--
> PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/shim
> DOCSDIR=/usr/local/share/doc/shim
> EXAMPLESDIR=/usr/local/share/examples/shim  WWWDIR=/usr/local/www/shim
> ETCDIR=/usr/local/etc/shim
> --End SUB_LIST--
>
> ---Begin make.conf---
> USE_PACKAGE_DEPENDS=yes
> BATCH=yes
> WRKDIRPREFIX=/wrkdirs
> PORTSDIR=/usr/ports
> PACKAGES=/packages
> DISTDIR=/distfiles
> PACKAGE_BUILDING=yes
> PACKAGE_BUILDING_FLAVORS=yes
> MACHINE=i386
> MACHINE_ARCH=i386
> ARCH=${MACHINE_ARCH}
> #### /usr/local/etc/poudriere.d/make.conf ####
> # XXX: We really need this but cannot use it while 'make checksum' does not
> # try the next mirror on checksum failure.  It currently retries the same
> # failed mirror and then fails rather then trying another.  It *does*
> # try the next if the size is mismatched though.
> #MASTER_SITE_FREEBSD=yes
> # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
> MAKE_JOBS_NUMBER=2
>
> # stable/10 includes src.conf too late but make.conf is in sys.mk
> .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
> # Disable build of llib now that head no longer has lint(1)
> LINT=   true
> .endif
> #### /usr/ports/Mk/Scripts/ports_env.sh ####
> _CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final
> 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd13.0 Thread
> model: posix InstalledDir: /usr/bin
> _ALTCCVERSION_921dbbb2=none
> _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final
> 335540) (based on LLVM 6.0.1) Target: i386-unknown-freebsd13.0 Thread
> model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr"
> "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both"
> "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o"
> "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++"
> "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc"
> "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o"
> "/usr/lib/crtn.o"
> CC_OUTPUT_921dbbb2_58173849=yes
> CC_OUTPUT_921dbbb2_9bdba57c=yes
> CC_OUTPUT_921dbbb2_6a4fe7f5=yes
> CC_OUTPUT_921dbbb2_6bcac02b=yes
> CC_OUTPUT_921dbbb2_67d20829=yes
> CC_OUTPUT_921dbbb2_bfa62e83=yes
> CC_OUTPUT_921dbbb2_f0b4d593=yes
> CC_OUTPUT_921dbbb2_308abb44=yes
> CC_OUTPUT_921dbbb2_f00456e5=yes
> CC_OUTPUT_921dbbb2_65ad290d=yes
> CC_OUTPUT_921dbbb2_f2776b26=yes
> CC_OUTPUT_921dbbb2_b2657cc3=yes
> CC_OUTPUT_921dbbb2_380987f7=yes
> CC_OUTPUT_921dbbb2_160933ec=yes
> CC_OUTPUT_921dbbb2_fb62803b=yes
> _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1
> (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target:
> i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
> _OBJC_ALTCCVERSION_921dbbb2=none
> ARCH=i386
> OPSYS=FreeBSD
> _OSRELEASE=13.0-CURRENT
> OSREL=13.0
> OSVERSION=1300004
> PYTHONBASE=/usr/local
> CONFIGURE_MAX_CMD_LEN=262144
> HAVE_PORTS_ENV=1
> #### Misc Poudriere ####
> GID=0
> UID=0
> DISABLE_MAKE_JOBS=poudriere
> ---End make.conf---
> --Resource limits--
> cpu time               (seconds, -t)  unlimited
> file size           (512-blocks, -f)  unlimited
> data seg size           (kbytes, -d)  524288
> stack size              (kbytes, -s)  65536
> core file size      (512-blocks, -c)  unlimited
> max memory size         (kbytes, -m)  unlimited
> locked memory           (kbytes, -l)  unlimited
> max user processes              (-u)  89999
> open files                      (-n)  1024
> virtual mem size        (kbytes, -v)  unlimited
> swap limit              (kbytes, -w)  unlimited
> socket buffer size       (bytes, -b)  unlimited
> pseudo-terminals                (-p)  unlimited
> kqueues                         (-k)  unlimited
> umtx shared locks               (-o)  unlimited
> --End resource limits--
> =======================<phase: check-sanity   >============================
> ===>  License BSD2CLAUSE accepted by the user
> ===========================================================================
> =======================<phase: pkg-depends    >============================
> ===>   shim-0.9 depends on file: /usr/local/sbin/pkg - not found
> ===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
> [head-i386-default-job-08] Installing pkg-1.10.5_5...
> [head-i386-default-job-08] Extracting pkg-1.10.5_5: .......... done
> ===>   shim-0.9 depends on file: /usr/local/sbin/pkg - found
> ===>   Returning to build of shim-0.9
> ===========================================================================
> =======================<phase: fetch-depends  >============================
> ===========================================================================
> =======================<phase: fetch          >============================
> ===>  License BSD2CLAUSE accepted by the user
> ===> Fetching all distfiles required by shim-0.9 for building
> ===========================================================================
> =======================<phase: checksum       >============================
> ===>  License BSD2CLAUSE accepted by the user
> ===> Fetching all distfiles required by shim-0.9 for building
> => SHA256 Checksum OK for mjg59-shim-0.9_GH0.tar.gz.
> ===========================================================================
> =======================<phase: extract-depends>============================
> ===========================================================================
> =======================<phase: extract        >============================
> ===>  License BSD2CLAUSE accepted by the user
> ===> Fetching all distfiles required by shim-0.9 for building
> ===>  Extracting for shim-0.9
> => SHA256 Checksum OK for mjg59-shim-0.9_GH0.tar.gz.
> ===========================================================================
> =======================<phase: patch-depends  >============================
> ===========================================================================
> =======================<phase: patch          >============================
> ===>  Patching for shim-0.9
> ===>  Applying FreeBSD patches for shim-0.9
> ===========================================================================
> =======================<phase: build-depends  >============================
> ===>   shim-0.9 depends on file: /usr/local/lib/libgnuefi.a - not found
> ===>   Installing existing package /packages/All/gnu-efi-3.0.9_1.txz
> [head-i386-default-job-08] Installing gnu-efi-3.0.9_1...
> [head-i386-default-job-08] Extracting gnu-efi-3.0.9_1: .......... done
> ===>   shim-0.9 depends on file: /usr/local/lib/libgnuefi.a - found
> ===>   Returning to build of shim-0.9
> ===>   shim-0.9 depends on executable: bash - not found
> ===>   Installing existing package /packages/All/bash-4.4.23_1.txz
> [head-i386-default-job-08] Installing bash-4.4.23_1...
> [head-i386-default-job-08] `-- Installing gettext-runtime-0.19.8.1_2...
> [head-i386-default-job-08] |   `-- Installing indexinfo-0.3.1...
> [head-i386-default-job-08] |   `-- Extracting indexinfo-0.3.1: .... done
> [head-i386-default-job-08] `-- Extracting gettext-runtime-0.19.8.1_2:
> .......... done
> [head-i386-default-job-08] Extracting bash-4.4.23_1: .......... done
> ===>   shim-0.9 depends on executable: bash - found
> ===>   Returning to build of shim-0.9
> ===>   shim-0.9 depends on executable: gmake - not found
> ===>   Installing existing package /packages/All/gmake-4.2.1_3.txz
> [head-i386-default-job-08] Installing gmake-4.2.1_3...
> [head-i386-default-job-08] Extracting gmake-4.2.1_3: .......... done
> ===>   shim-0.9 depends on executable: gmake - found
> ===>   Returning to build of shim-0.9
> ===>   shim-0.9 depends on executable: gcc7 - not found
> ===>   Installing existing package /packages/All/gcc7-7.4.0.txz
> [head-i386-default-job-08] Installing gcc7-7.4.0...
> [head-i386-default-job-08] `-- Installing binutils-2.30_6,1...
> [head-i386-default-job-08] `-- Extracting binutils-2.30_6,1: ..........
> done
> [head-i386-default-job-08] `-- Installing gmp-6.1.2_1...
> [head-i386-default-job-08] `-- Extracting gmp-6.1.2_1: .......... done
> [head-i386-default-job-08] `-- Installing mpc-1.1.0_2...
> [head-i386-default-job-08] |   `-- Installing mpfr-4.0.1_2...
> [head-i386-default-job-08] |   `-- Extracting mpfr-4.0.1_2: .......... done
> [head-i386-default-job-08] `-- Extracting mpc-1.1.0_2: ......... done
> [head-i386-default-job-08] Extracting gcc7-7.4.0: .......... done
> Message from gcc7-7.4.0:
>
> To ensure binaries built with this toolchain find appropriate versions
> of the necessary run-time libraries, you may want to link using
>
>   -Wl,-rpath=/usr/local/lib/gcc7
>
> For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
> transparently.
> ===>   shim-0.9 depends on executable: gcc7 - found
> ===>   Returning to build of shim-0.9
> ===>   shim-0.9 depends on file: /usr/local/bin/as - found
> ===========================================================================
> =======================<phase: lib-depends    >============================
> ===========================================================================
> =======================<phase: configure      >============================
> ===>  Configuring for shim-0.9
> ===========================================================================
> =======================<phase: build          >============================
> ===>  Building for shim-0.9
> gmake[1]: Entering directory
> '/wrkdirs/usr/ports/sysutils/shim/work/shim-0.9'
> sed     -e "s,@@VERSION@@,0.9," \
>         -e "s,@@UNAME@@,FreeBSD head-i386-default-job-08 13.0-CURRENT
> FreeBSD 13.0-CURRENT 1300004 i386," \
>         -e "s,@@COMMIT@@,commit id not available," \
>         < version.c.in > version.c
> ./make-certs shim shim@xn--u4h.net all codesign 1.3.6.1.4.1.311.10.3.1
> </dev/null
> Signature ok
> subject=C = US, L = SomeCity, O = SomeOrg
> Getting Private key
> Using configuration from
> /wrkdirs/usr/ports/sysutils/shim/work/shim-0.9/openssl.cnf
> CA certificate:
> issuer=C  US, L  SomeCity, O  SomeOrg
> subject=C  US, L  SomeCity, O  SomeOrg
>
> End entity certificate:
> issuer=C  US, L  SomeCity, O  SomeOrg
> subject=C  US, L  SomeCity, O  SomeOrg, CN  shim
> serial 41153EC9516E78D9
>
> PKCS12 bag:
> MAC: sha1, Iteration 2048
> MAC length: 20, salt length: 8
> PKCS7 Encrypted data: pbeWithSHA1And40BitRC2-CBC, Iteration 2048
> Certificate bag
> PKCS7 Data
> Shrouded Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048
>
> Verifying:
> + openssl verify -CAfile ca.chain.crt shim.crt
> shim.crt: OK
> openssl x509 -outform der -in shim.crt -out shim.cer
> echo "static UINT8 shim_cert[] = {" > shim_cert.h
> hexdump -v -e '1/1 "0x%02x, "' shim.cer >> shim_cert.h
> echo "};" >> shim_cert.h
> gcc7 -std=gnu89 -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic
> -fshort-wchar -Wall -Wsign-compare -Werror -fno-builtin
> -Werror=sign-compare -ffreestanding
> -I/usr/local/lib/gcc7/gcc/i386-portbld-freebsd13.0/7.4.0/include
> "-DDEFAULT_LOADER=L\"\\\\grub.efi\""
> "-DDEFAULT_LOADER_CHAR=\"\\\\grub.efi\"" -nostdinc -ICryptlib
> -ICryptlib/Include -I/usr/local/include/efi -I/usr/local/include/efi/i386
> -I/usr/local/include/efi/protocol
> -I/wrkdirs/usr/ports/sysutils/shim/work/shim-0.9/include -I/usr/include
>  -c -o shim.o shim.c
> In file included from shim.c:36:0:
> /usr/local/include/efi/efi.h:41:10: fatal error: efibind.h: No such file
> or directory
>  #include "efibind.h"
>           ^~~~~~~~~~~
> compilation terminated.
> gmake[1]: *** [<builtin>: shim.o] Error 1
> gmake[1]: Leaving directory
> '/wrkdirs/usr/ports/sysutils/shim/work/shim-0.9'
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/sysutils/shim
>

ACK.

>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BKr6DMs_iG38GHTLuO_QEzDzvnCPs9X-jnFCJJGiLHuiaP5GQ>