* Package: sys-boot/gummiboot-48 * Repository: gentoo * Maintainer: mgorny@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/4.5.1-gentoo/build * Found sources for kernel version: * 4.5.1-gentoo >>> Unpacking source... >>> Unpacking gummiboot-48.tar.xz to /var/tmp/portage/sys-boot/gummiboot-48/work >>> Source unpacked in /var/tmp/portage/sys-boot/gummiboot-48/work >>> Preparing source in /var/tmp/portage/sys-boot/gummiboot-48/work/gummiboot-48 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-boot/gummiboot-48/work/gummiboot-48 ... * econf: updating gummiboot-48/build-aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gummiboot-48/build-aux/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/gummiboot-48 --htmldir=/usr/share/doc/gummiboot-48/html --libdir=/usr/lib64 configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for xsltproc... /usr/bin/xsltproc checking for qemu-system-x86_64... no checking for /usr/share/qemu/bios-ovmf.bin... no checking for /usr/share/qemu-ovmf/bios.bin... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking efi/x86_64/efibind.h usability... yes checking efi/x86_64/efibind.h presence... yes checking for efi/x86_64/efibind.h... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for BLKID... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands gummiboot 48 prefix: /usr arch: x86_64 EFI machine type: x64 EFI libdir: /usr/lib64 EFI ldsdir: /usr/lib64 EFI includedir: /usr/include blkid: yes man pages: yes QEMU: QEMU OVMF: >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-boot/gummiboot-48/work/gummiboot-48 ... make -j1 make --no-print-directory all-am x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -include config.h -DMACHINE_TYPE_NAME=\"x64\" -DGUMMIBOOTLIBDIR=\"/usr/lib/gummiboot\" -D_GNU_SOURCE -Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter -I/usr/include/blkid -I/usr/include/uuid -march=native -O2 -pipe -c -o src/setup/gummiboot-setup.o `test -f 'src/setup/setup.c' || echo './'`src/setup/setup.c src/setup/setup.c: In function ‘verify_esp’: src/setup/setup.c:101:13: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration] if (major(st.st_dev) == 0) { ^ src/setup/setup.c:124:64: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration] r = asprintf(&t, "/dev/block/%u:%u", major(st.st_dev), minor(st.st_dev) ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -include config.h -DMACHINE_TYPE_NAME=\"x64\" -DGUMMIBOOTLIBDIR=\"/usr/lib/gummiboot\" -D_GNU_SOURCE -Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter -I/usr/include/blkid -I/usr/include/uuid -march=native -O2 -pipe -c -o src/setup/gummiboot-efivars.o `test -f 'src/setup/efivars.c' || echo './'`src/setup/efivars.c x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter -I/usr/include/blkid -I/usr/include/uuid -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -o gummiboot src/setup/gummiboot-setup.o src/setup/gummiboot-efivars.o -lblkid src/setup/gummiboot-setup.o: In function `verify_esp': setup.c:(.text+0x8d): undefined reference to `major' setup.c:(.text+0x106): undefined reference to `minor' setup.c:(.text+0x117): undefined reference to `major' collect2: error: ld returned 1 exit status Makefile:577: recipe for target 'gummiboot' failed make[1]: *** [gummiboot] Error 1 Makefile:471: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: sys-boot/gummiboot-48::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-boot/gummiboot-48::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-boot/gummiboot-48::gentoo'`. * The complete build log is located at '/var/log/portage/sys-boot:gummiboot-48:20160501-080902.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-boot/gummiboot-48/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-boot/gummiboot-48/temp/environment'. * Working directory: '/var/tmp/portage/sys-boot/gummiboot-48/work/gummiboot-48' * S: '/var/tmp/portage/sys-boot/gummiboot-48/work/gummiboot-48'