Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10518

sys-boot/refind-0.11.3 failed to emerge

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Severe (Ebuild) Severe (Ebuild)
    • None
    • None
    • emerge -av refind
    • refind emerge is blocked.

       * Package:    sys-boot/refind-0.11.3
      
       * Repository: core-kit
      
       * Maintainer: wraeth@gentoo.org sveyret@gmail.com,proxy-maint@gentoo.org
      
       * USE:        amd64 btrfs elibc_glibc ext2 ext4 gnuefi iso9660 kernel_linux userland_GNU
      
       * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
      
      >>> Unpacking source...
      
      >>> Unpacking refind-src-0.11.3.tar.gz to /var/tmp/portage/sys-boot/refind-0.11.3/work
      
      >>> Source unpacked in /var/tmp/portage/sys-boot/refind-0.11.3/work
      
      >>> Preparing source in /var/tmp/portage/sys-boot/refind-0.11.3/work/refind-0.11.3 ...
      
      >>> Source prepared.
      
      >>> Configuring source in /var/tmp/portage/sys-boot/refind-0.11.3/work/refind-0.11.3 ...
      
      >>> Source configured.
      
      >>> Compiling source in /var/tmp/portage/sys-boot/refind-0.11.3/work/refind-0.11.3 ...
      
      make -j16 ARCH=x86_64 GENFW=/usr/bin/GenFw CC=x86_64-pc-linux-gnu-gcc AS=x86_64-pc-linux-gnu-as LD=x86_64-pc-l
      inux-gnu-ld AR=x86_64-pc-linux-gnu-ar GNUEFILIB=/usr/lib64 EFILIB=/usr/lib64 EFICRT0=/usr/lib64 RANLIB=x86_64-
      pc-linux-gnu-ranlib OBJCOPY=x86_64-pc-linux-gnu-objcopy 'GNUEFI_LDFLAGS=-T $(GNUEFI_LDSCRIPT) -shared -nostdli
      b -Bsymbolic                    -L$(EFILIB) -L$(GNUEFILIB) $(CRTOBJS) -znocombreloc -zdefs' TIANO_LDSCRIPT=/us
      r/lib/GccBase.lds 'TIANO_LDFLAGS=-n -q --gc-sections -nostdlib                  --script=$(TIANO_LDSCRIPT)   -
      -defsym=PECOFF_HEADER_SIZE=0x228                        --entry $(ENTRYPOINT) -u $(ENTRYPOINT) -m $(LD_CODE)' 
      gnuefi  
      make MAKEWITH=GNUEFI -C libeg
      
      make[1]: Entering directory '/var/tmp/portage/sys-boot/refind-0.11.3/work/refind-0.11.3/libeg'
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c nanojpeg.c -o nanojpeg.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c nanojpeg_xtra.c -o nanojpeg_xtra.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c screen.c -o screen.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c image.c -o image.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c text.c -o text.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c load_bmp.c -o load_bmp.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c load_icns.c -o load_icns.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c lodepng.c -o lodepng.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c lodepng_xtra.c -o lodepng_xtra.o
      
      In file included from ../refind/../EfiLib/GenericBdsLib.h:22,
      
                       from ../refind/global.h:54,
      
                       from ../refind/lib.h:56,
      
                       from screen.c:60:
      
      screen.c: In function ‘egScreenDescription’:
      
      ../refind/../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function ‘SPrint’; did you mean ‘I
      Print’? [-Wimplicit-function-declaration]
      
         28 | #define UnicodeSPrint SPrint
      
            |                       ^~~~~~
      
      /usr/include/efi/efilib.h:620:21: note: in expansion of macro ‘UnicodeSPrint’
      
        620 | #define SPrint      UnicodeSPrint
      
            |                     ^~~~~~~~~~~~~
      
      screen.c:293:13: note: in expansion of macro ‘SPrint’
      
        293 |             SPrint(GraphicsInfo, 255, L"Graphics Output (UEFI), %dx%d", egScreenWidth, egScreenHeight)
      ;
      
            |             ^~~~~~
      
      In file included from ../refind/../EfiLib/GenericBdsLib.h:22,
      
                       from ../refind/global.h:54,
      
                       from image.c:59:
      
      image.c: In function ‘egLoadIconAnyType’:
      
      ../refind/../EfiLib/gnuefi-helper.h:28:23: warning: implicit declaration of function ‘SPrint’; did you mean ‘I
      Print’? [-Wimplicit-function-declaration]
      
         28 | #define UnicodeSPrint SPrint
      
            |                       ^~~~~~
      
      /usr/include/efi/efilib.h:620:21: note: in expansion of macro ‘UnicodeSPrint’
      
        620 | #define SPrint      UnicodeSPrint
      
            |                     ^~~~~~~~~~~~~
      
      image.c:415:7: note: in expansion of macro ‘SPrint’
      
        415 |       SPrint(FileName, 255, L"%s\\%s.%s", SubdirName, BaseName, Extension);
      
            |       ^~~~~~
      
      x86_64-pc-linux-gnu-ar cq libeg.a nanojpeg.o nanojpeg_xtra.o screen.o image.o text.o load_bmp.o load_icns.o lo
      depng.o lodepng_xtra.o
      
      make[1]: Leaving directory '/var/tmp/portage/sys-boot/refind-0.11.3/work/refind-0.11.3/libeg'
      
      make MAKEWITH=GNUEFI -C mok
      
      make[1]: Entering directory '/var/tmp/portage/sys-boot/refind-0.11.3/work/refind-0.11.3/mok'
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c guid.c -o guid.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c mok.c -o mok.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c security_policy.c -o security_policy.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c simple_file.c -o simple_file.o
      
      x86_64-pc-linux-gnu-ar cq libmok.a guid.o mok.o security_policy.o simple_file.o
      
      make[1]: Leaving directory '/var/tmp/portage/sys-boot/refind-0.11.3/work/refind-0.11.3/mok'
      
      make MAKEWITH=GNUEFI -C EfiLib
      
      make[1]: Entering directory '/var/tmp/portage/sys-boot/refind-0.11.3/work/refind-0.11.3/EfiLib'
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c gnuefi-helper.c -o gnuefi-helper.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c legacy.c -o legacy.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c BdsHelper.c -o BdsHelper.o
      
      x86_64-pc-linux-gnu-gcc -fno-PIE -Os -fno-strict-aliasing -fno-stack-protector -fshort-wchar -Wall -DEFIX64 -D
      EFI_FUNCTION_WRAPPER -m64 -mno-red-zone  -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi
      /protocol -I../include -I../refind -I../libeg -I../mok -I. -I./../include \
      
            -D__MAKEWITH_GNUEFI -c BdsTianoCore.c -o BdsTianoCore.o
      
      In file included from gnuefi-helper.c:19:
      
      DevicePathUtilities.h:229:3: error: conflicting types for ‘EFI_DEVICE_PATH_UTILITIES_PROTOCOL’; have ‘struct <
      anonymous>’
      
        229 | } EFI_DEVICE_PATH_UTILITIES_PROTOCOL;
      
            |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      In file included from /usr/include/efi/efi.h:61,
      
                       from gnuefi-helper.h:24,
      
                       from gnuefi-helper.c:18:
      
      /usr/include/efi/efidevp.h:648:3: note: previous declaration of ‘EFI_DEVICE_PATH_UTILITIES_PROTOCOL’ with type
       ‘EFI_DEVICE_PATH_UTILITIES_PROTOCOL’ {aka ‘struct _EFI_DEVICE_PATH_UTILITIES_PROTOCOL’}
      
        648 | } EFI_DEVICE_PATH_UTILITIES_PROTOCOL;
      
            |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      BdsTianoCore.c: In function ‘BdsLibConnectDevicePath’:
      
      BdsTianoCore.c:53:29: warning: variable ‘PreviousHandle’ set but not used [-Wunused-but-set-variable]
      
         53 |   EFI_HANDLE                PreviousHandle;
      
            |                             ^~~~~~~~~~~~~~
      
      make[1]: *** [../Make.common:164: gnuefi-helper.o] Error 1
      
      make[1]: *** Waiting for unfinished jobs....
      
      make[1]: Leaving directory '/var/tmp/portage/sys-boot/refind-0.11.3/work/refind-0.11.3/EfiLib'
      
      make: *** [Makefile:86: gnuefi] Error 2
      
       * ERROR: sys-boot/refind-0.11.3::core-kit failed (compile phase):
      
       *   emake failed
      
       *  
       * If you need support, post the output of `emerge --info '=sys-boot/refind-0.11.3::core-kit'`,
      
       * the complete build log and the output of `emerge -pqv '=sys-boot/refind-0.11.3::core-kit'`.
      
       * The complete build log is located at '/var/tmp/portage/sys-boot/refind-0.11.3/temp/build.log'.
      
       * The ebuild environment file is located at '/var/tmp/portage/sys-boot/refind-0.11.3/temp/environment'.
      
       * Working directory: '/var/tmp/portage/sys-boot/refind-0.11.3/work/refind-0.11.3'
      
       * S: '/var/tmp/portage/sys-boot/refind-0.11.3/work/refind-0.11.3' 

            coffnix coffnix
            friendlyhamster799 friendlyhamster799
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: