Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I cannot compile efitools
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
elover
n00b
n00b


Joined: 20 Nov 2019
Posts: 25
Location: Spain

PostPosted: Thu Nov 28, 2019 11:27 am    Post subject: I cannot compile efitools Reply with quote

Hello, good morning.

I am following the installation guide sakaki and I can not continue because it does not compile efitools

I copy a piece of the log that's too big.

Code:
 x509.c:35:7: note: (near initialization for ‘x509_certObjects[26].name’)
hash-to-efi-sig-list.c: In function ‘main’:
hash-to-efi-sig-list.c:92:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
   92 |   read(fdefifile, efifile, st.st_size);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hash-to-efi-sig-list.c:127:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  127 |  write(fdoutfile, sig, sizeof(sig));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ar rcv libasn1-efi.a asn1.efi.o asn1_parser.efi.o enumerator.efi.o chunk.efi.o oid.efi.o identification.efi.o x509.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c cert-to-efi-hash-list.c -o cert-to-efi-hash-list.o
a - asn1.efi.o
a - asn1_parser.efi.o
a - enumerator.efi.o
a - chunk.efi.o
a - oid.efi.o
a - identification.efi.o
a - x509.efi.o
make[1]: Leaving directory '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/lib/asn1'
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c flash-var.c -o flash-var.o
> noPK.esl
openssl req -new -x509 -newkey rsa:2048 -subj "/CN=DB1/" -keyout DB1.key -out DB1.crt -days 3650 -nodes -sha256
efi-readvar.c:20: warning: "__STDC_VERSION__" redefined
   20 | #define __STDC_VERSION__ 199901L
      |
<built-in>: note: this is the location of the previous definition
openssl req -new -x509 -newkey rsa:2048 -subj "/CN=DB2/" -keyout DB2.key -out DB2.crt -days 3650 -nodes -sha256
Generating a RSA private key
.......efi-readvar.c: In function ‘main’:
efi-readvar.c:188:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  188 |    write(fd, buf, len);
      |    ^~~~~~~~~~~~~~~~~~~
Generating a RSA private key
....+flash-var.c:13: warning: "__STDC_VERSION__" redefined
   13 | #define __STDC_VERSION__ 199901L
      |
<built-in>: note: this is the location of the previous definition
.++.++
...........efi-updatevar.c:23: warning: "__STDC_VERSION__" redefined
   23 | #define __STDC_VERSION__ 199901L
      |
<built-in>: note: this is the location of the previous definition
....flash-var.c: In function ‘main’:
flash-var.c:109:3: warning: implicit declaration of function ‘strptime’; did you mean ‘strftime’? [-Wimplicit-function-declaration]
  109 |   strptime(timestampstr, "%Y-%m-%d %H:%M:%S", &tms);
      |   ^~~~~~~~
      |   strftime
...flash-var.c:164:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
  164 |  read(flashfile, buf, sizeof(VARIABLE_STORE_HEADER));
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flash-var.c:176:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
  176 |  read(flashfile, buf, size);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
flash-var.c:200:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  200 |  write(flashfile, vsh, vsh->Size);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..........+++.++
...........efi-updatevar.c: In function ‘main’:
efi-updatevar.c:220:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
  220 |   read(fd, buf, st.st_size);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
.......................+.++++++++
writing new private key to 'DB2.key'
+
-----
writing new private key to 'DB1.key'
-----
ld -nostdlib -shared -Bsymbolic /usr/lib64/crt0-efi-x86_64.o -L /usr/lib64 -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds SetNull.o -o SetNull.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.a
# check we have no undefined symbols
nm -D SetNull.so | grep ' U ' && exit 1 || exit 0
objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \
      -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \
      -j .reloc --target=efi-app-x86_64 SetNull.so SetNull.efi
sbsign --key DB.key --cert DB.crt --output SetNull-signed.efi SetNull.efi
warning: data remaining[3584 vs 3825]: gaps between PE/COFF sections?
warning: data remaining[3584 vs 3832]: gaps between PE/COFF sections?
Signing Unsigned original image
make[1]: Leaving directory '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/lib'
make: *** [Makefile:46: lib/lib-efi.a] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/lib'
make: *** [Makefile:46: lib/lib.a] Error 2
rm UpdateVars.o DB1.crt SetNull.so ReadVars.o DB2.crt HelloWorld.o Loader.o HashTool.o ShimReplace.o SetNull.o KeyTool.o
 * ERROR: app-crypt/efitools-1.9.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-crypt/efitools-1.9.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/efitools-1.9.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
 * S: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'


emerge --info '=app-crypt/efitools-1.9.2'
Code:
Portage 2.3.80 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.2.0, glibc-2.30-r3, 5.3.0-18-generic x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.3.0-18-generic-x86_64-AMD_Ryzen_7_2700X_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:    16372648 total,   6545660 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Wed, 27 Nov 2019 22:30:01 +0000
Head commit of repository gentoo: f7e482662bc47f098378f99aca0a04fdac6f9c5e
Head commit of repository sakaki-tools: fcfcd53886fede231abde820a790aef95d8b393d

sh bash 5.0_p11
ld GNU ld (Gentoo 2.33.1 p1) 2.33.1
app-shells/bash:          5.0_p11::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.15.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.33.1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

sakaki-tools
    location: /var/db/repos/sakaki-tools
    sync-type: git
    sync-uri: https://github.com/sakaki-/sakaki-tools.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE CC-Sampling-Plus-1.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=17 --load-average=16"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ https://mirrors.soeasyto.com/distfiles.gentoo.org/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ ftp://mirrors.soeasyto.com/distfiles.gentoo.org/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
LANG="C.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j17 -l16"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 apng berkdb bluetooth bluray branding bzip2 cairo cdda cdio cdr cleartype cli corefonts cpudetection crypt cryptsetup cups cxx dbus declarative device-mapper dri dts dvd dvdr elogind emboss encode exif faac faad fam fdk ffmpeg flac fortran gdbm gif gpm gtk iconv icu ipv6 jpeg jpeg2k kipi kwallet lame lcms ldap libass libmpv libnotify libtirpc libv4l mad matroska mng mp3 mp4 mpeg mpv mtp multilib ncurses networkmanager nls nptl nvenc ogg opengl openmp pam pango pcre pdf phonon plasma plymouth png policykit ppds pulseaudio python qml qt5 raw readline samba scanner sdl seccomp semantic-desktop sndfile spell split-usr ssl startup-notification svg tcpd threads tiff truetype type1 udev udisks unicode upower usb v4l vdpau vorbis wavpack webp widgets wxwidgets x264 x265 xa xattr xcb xcomposite xml xv xvid xvmc zeroconf zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="es es-ES ca ca-ES" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" SANE_BACKENDS="pixma net usb" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


EDIT: time MAKEOPTS="-j1" emerge efitools

Code:
>>> Compiling source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
make -j1
make -C lib lib-efi.a
make[1]: Entering directory '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/lib'
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c simple_file.c -o simple_file.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c pecoff.c -o pecoff.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c guid.c -o guid.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c sha256.c -o sha256.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c console.c -o console.efi.o
console.c:360:5: error: ‘EFI_WARN_UNKOWN_GLYPH’ undeclared here (not in a function); did you mean ‘EFI_WARN_UNKNOWN_GLYPH’?
  360 |  {  EFI_WARN_UNKOWN_GLYPH,      L"Warning Unknown Glyph"},
      |     ^~~~~~~~~~~~~~~~~~~~~
      |     EFI_WARN_UNKNOWN_GLYPH
make[1]: *** [../Make.rules:105: console.efi.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/lib'
make: *** [Makefile:46: lib/lib-efi.a] Error 2
 * ERROR: app-crypt/efitools-1.9.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-crypt/efitools-1.9.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/efitools-1.9.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
 * S: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'


Bug reported three days ago and still if fixed https://bugs.gentoo.org/701152[/quote]
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24067
Location: here

PostPosted: Thu Nov 28, 2019 1:14 pm    Post subject: Reply with quote

This is caused by new version of gnu-efi package that rename EFI_WARN_UNKOWN_GLYPH variable in EFI_WARN_UNKNOWN_GLYPH.

I don't know how check gnu-efi version in c code for create a good patch but you can try this workaround patch.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Sakaki
Guru
Guru


Joined: 21 May 2014
Posts: 389

PostPosted: Fri Dec 06, 2019 2:46 pm    Post subject: Reply with quote

Thanks fedeliallalinea, I've incorporated your patch into a tweaked efitools-1.9.2.ebuild on the sakaki-tools overlay, pro tem.

elover, to use it:
Code:
# echo "app-crypt/efitools::sakaki-tools" >> /etc/portage/package.unmask/efitools
# emaint sync --repo sakaki-tools
# emerge -v app-crypt/efitools

Install guide also updated to include these instructions.

Once this revbumps, the main tree version should be used instead.
_________________
Regards,

sakaki
Back to top
View user's profile Send private message
Jallee
n00b
n00b


Joined: 17 Oct 2010
Posts: 25
Location: Sweden

PostPosted: Sun Dec 22, 2019 4:09 pm    Post subject: Reply with quote

Sakaki wrote:
Thanks fedeliallalinea, I've incorporated your patch into a tweaked efitools-1.9.2.ebuild on the sakaki-tools overlay, pro tem.

elover, to use it:
Code:
# echo "app-crypt/efitools::sakaki-tools" >> /etc/portage/package.unmask/efitools
# emaint sync --repo sakaki-tools
# emerge -v app-crypt/efitools

Install guide also updated to include these instructions.

Once this revbumps, the main tree version should be used instead.


Hi all!
Trying to install app-crypt/efitools, and it not going so well. :)
Code:

chroot) livecd / # MAKEOPTS="-j1" emerge efitools
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-crypt/efitools-1.9.2::sakaki-tools
>>> Failed to emerge app-crypt/efitools-1.9.2, Log file:
>>>  '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.00, 0.00, 0.00
 * Package:    app-crypt/efitools-1.9.2
 * Repository: sakaki-tools
 * Maintainer: tamiko@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking efitools-1.9.2.tar.gz to /var/tmp/portage/app-crypt/efitools-1.9.2/work
>>> Source unpacked in /var/tmp/portage/app-crypt/efitools-1.9.2/work
>>> Preparing source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
 * Applying 1.7.0-Make.rules.patch ...
 [ ok ]
 * Applying efitools-1.8.1-libressl-compatibility.patch ...
 [ ok ]
 * Applying efitools-1.9.2-fixup-UNKNOWN_GLYPH.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
make -j1
make -C lib lib-efi.a
make[1]: Entering directory '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/lib'
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c simple_file.c -o simple_file.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c pecoff.c -o pecoff.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c guid.c -o guid.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c sha256.c -o sha256.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c console.c -o console.efi.o
console.c:360:5: error: 'EFI_WARN_UNKNOWN_GLYPH' undeclared here (not in a function); did you mean 'EFI_WARN_UNKOWN_GLYPH'?
  360 |  {  EFI_WARN_UNKNOWN_GLYPH,     L"Warning Unknown Glyph"},
      |     ^~~~~~~~~~~~~~~~~~~~~~
      |     EFI_WARN_UNKOWN_GLYPH
make[1]: *** [../Make.rules:105: console.efi.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/lib'
make: *** [Makefile:46: lib/lib-efi.a] Error 2
 * ERROR: app-crypt/efitools-1.9.2::sakaki-tools failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-crypt/efitools-1.9.2::sakaki-tools'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/efitools-1.9.2::sakaki-tools'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
 * S: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'

 * Messages for package app-crypt/efitools-1.9.2:

 * Package:    app-crypt/efitools-1.9.2
 * Repository: sakaki-tools
 * Maintainer: tamiko@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Applying 1.7.0-Make.rules.patch ...
 * Applying efitools-1.8.1-libressl-compatibility.patch ...
 * Applying efitools-1.9.2-fixup-UNKNOWN_GLYPH.patch ...
 * ERROR: app-crypt/efitools-1.9.2::sakaki-tools failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-crypt/efitools-1.9.2::sakaki-tools'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/efitools-1.9.2::sakaki-tools'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
 * S: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'

Is there any solution for this as well?
Regards Jallee
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24067
Location: here

PostPosted: Sun Dec 22, 2019 4:15 pm    Post subject: Reply with quote

Put my patch in /etc/portage/patches/app-crypt/efitools-1.9.2 folder (if not exists create it, for more info about user patch read here) and re-emerge efitools.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Jallee
n00b
n00b


Joined: 17 Oct 2010
Posts: 25
Location: Sweden

PostPosted: Sun Dec 22, 2019 5:47 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Put my patch in /etc/portage/patches/app-crypt/efitools-1.9.2 folder (if not exists create it, for more info about user patch read here) and re-emerge efitools.


Did not work.

Code:

(chroot) livecd /etc/portage/patches/app-crypt/efitools-1.9.2 # cd $(portageq get_repo_path / gentoo)/app-crypt/efitools
(chroot) livecd /var/db/repos/gentoo/app-crypt/efitools # ebuild efitools-1.9.2.ebuild clean prepare
 * efitools-1.9.2.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                            [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                          [ ok ]
>>> Unpacking source...
>>> Unpacking efitools-1.9.2.tar.gz to /var/tmp/portage/app-crypt/efitools-1.9.2/work
>>> Source unpacked in /var/tmp/portage/app-crypt/efitools-1.9.2/work
>>> Preparing source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
 * Applying 1.7.0-Make.rules.patch ...                                                                                                                                                                                          [ ok ]
 * Applying efitools-1.8.1-libressl-compatibility.patch ...                                                                                                                                                                     [ ok ]
 * Applying efitools-1.9.2-wrong_var_name-with-gnu-efi-3.0.11.patch ...                                                                                                                                                         [ ok ]
 * User patches applied.
>>> Source prepared.
(chroot) livecd /var/db/repos/gentoo/app-crypt/efitools # MAKEOPTS="-j1" emerge -av efitools

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] app-crypt/efitools-1.9.2::gentoo  USE="-libressl -static" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-crypt/efitools-1.9.2::gentoo
>>> Failed to emerge app-crypt/efitools-1.9.2, Log file:
>>>  '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.00, 0.01, 0.00
 * Package:    app-crypt/efitools-1.9.2
 * Repository: gentoo
 * Maintainer: tamiko@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking efitools-1.9.2.tar.gz to /var/tmp/portage/app-crypt/efitools-1.9.2/work
>>> Source unpacked in /var/tmp/portage/app-crypt/efitools-1.9.2/work
>>> Preparing source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
 * Applying 1.7.0-Make.rules.patch ...
 [ ok ]
 * Applying efitools-1.8.1-libressl-compatibility.patch ...
 [ ok ]
 * Applying efitools-1.9.2-wrong_var_name-with-gnu-efi-3.0.11.patch ...
 [ ok ]
 * User patches applied.
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
make -j1
make -C lib lib-efi.a
make[1]: Entering directory '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/lib'
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c simple_file.c -o simple_file.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c pecoff.c -o pecoff.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c guid.c -o guid.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c sha256.c -o sha256.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c console.c -o console.efi.o
console.c:360:5: error: 'EFI_WARN_UNKNOWN_GLYPH' undeclared here (not in a function); did you mean 'EFI_WARN_UNKOWN_GLYPH'?
  360 |  {  EFI_WARN_UNKNOWN_GLYPH,     L"Warning Unknown Glyph"},
      |     ^~~~~~~~~~~~~~~~~~~~~~
      |     EFI_WARN_UNKOWN_GLYPH
make[1]: *** [../Make.rules:105: console.efi.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/lib'
make: *** [Makefile:46: lib/lib-efi.a] Error 2
 * ERROR: app-crypt/efitools-1.9.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-crypt/efitools-1.9.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/efitools-1.9.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
 * S: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'

 * Messages for package app-crypt/efitools-1.9.2:

 * Package:    app-crypt/efitools-1.9.2
 * Repository: gentoo
 * Maintainer: tamiko@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Applying 1.7.0-Make.rules.patch ...
 * Applying efitools-1.8.1-libressl-compatibility.patch ...
 * Applying efitools-1.9.2-wrong_var_name-with-gnu-efi-3.0.11.patch ...
 * User patches applied.
 * ERROR: app-crypt/efitools-1.9.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-crypt/efitools-1.9.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/efitools-1.9.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
 * S: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1464

PostPosted: Sun Dec 22, 2019 6:59 pm    Post subject: Reply with quote

Jallee wrote:

Did not work.


Take the efitools from the ::gentoo repository.It works.
_________________
Thank you for your attention, interest and support.
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Jallee
n00b
n00b


Joined: 17 Oct 2010
Posts: 25
Location: Sweden

PostPosted: Sun Dec 22, 2019 7:30 pm    Post subject: Reply with quote

Marlo wrote:
Jallee wrote:

Did not work.


Take the efitools from the ::gentoo repository.It works.


No luck there either. :(

Code:

(1) 3950X ~ # cd $(portageq get_repo_path / gentoo)/app-crypt/efitools
(1) 3950X /var/db/repos/gentoo/app-crypt/efitools # ebuild efitools-1.9.2.ebuild clean prepare
 * efitools-1.9.2.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                            [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                          [ ok ]
>>> Unpacking source...
>>> Unpacking efitools-1.9.2.tar.gz to /var/tmp/portage/app-crypt/efitools-1.9.2/work
>>> Source unpacked in /var/tmp/portage/app-crypt/efitools-1.9.2/work
>>> Preparing source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
 * Applying 1.7.0-Make.rules.patch ...                                                                                                                                                                                          [ ok ]
 * Applying efitools-1.8.1-libressl-compatibility.patch ...                                                                                                                                                                     [ ok ]
 * Applying efitools-1.9.2-wrong_var_name-with-gnu-efi-3.0.11.patch ...                                                                                                                                                         [ ok ]
 * User patches applied.
>>> Source prepared.
(1) 3950X /var/db/repos/gentoo/app-crypt/efitools # MAKEOPTS="-j1" emerge -av efitools

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] app-crypt/efitools-1.9.2::gentoo  USE="-libressl -static" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-crypt/efitools-1.9.2::gentoo
>>> Failed to emerge app-crypt/efitools-1.9.2, Log file:
>>>  '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.05, 0.11, 0.15
 * Package:    app-crypt/efitools-1.9.2
 * Repository: gentoo
 * Maintainer: tamiko@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking efitools-1.9.2.tar.gz to /var/tmp/portage/app-crypt/efitools-1.9.2/work
>>> Source unpacked in /var/tmp/portage/app-crypt/efitools-1.9.2/work
>>> Preparing source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
 * Applying 1.7.0-Make.rules.patch ...
 [ ok ]
 * Applying efitools-1.8.1-libressl-compatibility.patch ...
 [ ok ]
 * Applying efitools-1.9.2-wrong_var_name-with-gnu-efi-3.0.11.patch ...
 [ ok ]
 * User patches applied.
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
make -j1
make -C lib lib-efi.a
make[1]: Entering directory '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/lib'
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c simple_file.c -o simple_file.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c pecoff.c -o pecoff.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c guid.c -o guid.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c sha256.c -o sha256.efi.o
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c console.c -o console.efi.o
console.c:360:5: error: �EFI_WARN_UNKNOWN_GLYPH� undeclared here (not in a function); did you mean �EFI_WARN_UNKOWN_GLYPH�?
  360 |  {  EFI_WARN_UNKNOWN_GLYPH,     L"Warning Unknown Glyph"},
      |     ^~~~~~~~~~~~~~~~~~~~~~
      |     EFI_WARN_UNKOWN_GLYPH
make[1]: *** [../Make.rules:105: console.efi.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/lib'
make: *** [Makefile:46: lib/lib-efi.a] Error 2
 * ERROR: app-crypt/efitools-1.9.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-crypt/efitools-1.9.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/efitools-1.9.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
 * S: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'

 * Messages for package app-crypt/efitools-1.9.2:

 * Package:    app-crypt/efitools-1.9.2
 * Repository: gentoo
 * Maintainer: tamiko@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Applying 1.7.0-Make.rules.patch ...
 * Applying efitools-1.8.1-libressl-compatibility.patch ...
 * Applying efitools-1.9.2-wrong_var_name-with-gnu-efi-3.0.11.patch ...
 * User patches applied.
 * ERROR: app-crypt/efitools-1.9.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-crypt/efitools-1.9.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/efitools-1.9.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
 * S: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
(1) 3950X /var/db/repos/gentoo/app-crypt/efitools #
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1464

PostPosted: Sun Dec 22, 2019 8:14 pm    Post subject: Reply with quote

where does the efitools-1.9.2-wrong_var_name-with-gnu-efi-3.0.11.patch come from?
_________________
Thank you for your attention, interest and support.
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Jallee
n00b
n00b


Joined: 17 Oct 2010
Posts: 25
Location: Sweden

PostPosted: Sun Dec 22, 2019 8:30 pm    Post subject: Reply with quote

Marlo wrote:
where does the efitools-1.9.2-wrong_var_name-with-gnu-efi-3.0.11.patch come from?

From fedeliallalinea.
https://raw.githubusercontent.com/fedeliallalinea/gentoo-patches/master/app-crypt/efitools-1.9.2/efitools-1.9.2-wrong_var_name-with-gnu-efi-3.0.11.patch
Should it work without patching or?

Regards Jallee
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1464

PostPosted: Sun Dec 22, 2019 8:41 pm    Post subject: Reply with quote

As I understood fedeliallalinea the patch is for the bug in sakakis overlay.
Try ::gentoo without this patch.

EDIT:
here is the build log https://pastebin.pl/view/3f2751f3
_________________
Thank you for your attention, interest and support.
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Jallee
n00b
n00b


Joined: 17 Oct 2010
Posts: 25
Location: Sweden

PostPosted: Sun Dec 22, 2019 9:29 pm    Post subject: Reply with quote

Marlo wrote:
As I understood fedeliallalinea the patch is for the bug in sakakis overlay.
Try :: gentoo without this patch.


Will do. :) And her is the output. (Had to shorten it)

Code:

3950X ~ # MAKEOPTS="-j1" emerge efitools
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-crypt/efitools-1.9.2::gentoo
>>> Failed to emerge app-crypt/efitools-1.9.2, Log file:
>>>  '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.10, 0.07, 0.18
 * Package:    app-crypt/efitools-1.9.2
 * Repository: gentoo
 * Maintainer: tamiko@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking efitools-1.9.2.tar.gz to /var/tmp/portage/app-crypt/efitools-1.9.2/work
>>> Source unpacked in /var/tmp/portage/app-crypt/efitools-1.9.2/work
>>> Preparing source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
 * Applying 1.7.0-Make.rules.patch ...
 [ ok ]
 * Applying efitools-1.8.1-libressl-compatibility.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2 ...

## Snipp ##

x509.c:21:11: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   21 |  { 2,     "issuerUniqueID",  ASN1_CONTEXT_C_1, ASN1_OPT   }, /* 12 */
      |           ^~~~~~~~~~~~~~~~
x509.c:21:11: note: (near initialization for ‘x509_certObjects[12].name’)
x509.c:22:11: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   22 |  { 2,     "end opt",    ASN1_EOC,   ASN1_END   }, /* 13 */
      |           ^~~~~~~~~
x509.c:22:11: note: (near initialization for ‘x509_certObjects[13].name’)
x509.c:23:11: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   23 |  { 2,     "subjectUniqueID",  ASN1_CONTEXT_C_2, ASN1_OPT   }, /* 14 */
      |           ^~~~~~~~~~~~~~~~~
x509.c:23:11: note: (near initialization for ‘x509_certObjects[14].name’)
x509.c:24:11: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   24 |  { 2,     "end opt",    ASN1_EOC,   ASN1_END   }, /* 15 */
      |           ^~~~~~~~~
x509.c:24:11: note: (near initialization for ‘x509_certObjects[15].name’)
x509.c:25:11: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   25 |  { 2,     "optional extensions", ASN1_CONTEXT_C_3, ASN1_OPT   }, /* 16 */
      |           ^~~~~~~~~~~~~~~~~~~~~
x509.c:25:11: note: (near initialization for ‘x509_certObjects[16].name’)
x509.c:26:13: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   26 |  { 3,       "extensions",  ASN1_SEQUENCE,  ASN1_LOOP   }, /* 17 */
      |             ^~~~~~~~~~~~
x509.c:26:13: note: (near initialization for ‘x509_certObjects[17].name’)
x509.c:27:15: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   27 |  { 4,         "extension",  ASN1_SEQUENCE,  ASN1_NONE   }, /* 18 */
      |               ^~~~~~~~~~~
x509.c:27:15: note: (near initialization for ‘x509_certObjects[18].name’)
x509.c:28:17: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   28 |  { 5,           "extnID",  ASN1_OID,   ASN1_BODY   }, /* 19 */
      |                 ^~~~~~~~
x509.c:28:17: note: (near initialization for ‘x509_certObjects[19].name’)
x509.c:29:17: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   29 |  { 5,           "critical",  ASN1_BOOLEAN,  ASN1_DEF|ASN1_BODY }, /* 20 */
      |                 ^~~~~~~~~~
x509.c:29:17: note: (near initialization for ‘x509_certObjects[20].name’)
x509.c:30:17: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   30 |  { 5,           "extnValue",  ASN1_OCTET_STRING, ASN1_BODY   }, /* 21 */
      |                 ^~~~~~~~~~~
x509.c:30:17: note: (near initialization for ‘x509_certObjects[21].name’)
x509.c:31:13: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   31 |  { 3,       "end loop",   ASN1_EOC,   ASN1_END   }, /* 22 */
      |             ^~~~~~~~~~
x509.c:31:13: note: (near initialization for ‘x509_certObjects[22].name’)
x509.c:32:11: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   32 |  { 2,     "end opt",    ASN1_EOC,   ASN1_END   }, /* 23 */
      |           ^~~~~~~~~
x509.c:32:11: note: (near initialization for ‘x509_certObjects[23].name’)
x509.c:33:9: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   33 |  { 1,   "signatureAlgorithm", ASN1_EOC,   ASN1_RAW   }, /* 24 */
      |         ^~~~~~~~~~~~~~~~~~~~
x509.c:33:9: note: (near initialization for ‘x509_certObjects[24].name’)
x509.c:34:9: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   34 |  { 1,   "signatureValue",  ASN1_BIT_STRING, ASN1_BODY   }, /* 25 */
      |         ^~~~~~~~~~~~~~~~
x509.c:34:9: note: (near initialization for ‘x509_certObjects[25].name’)
x509.c:35:7: warning: pointer targets in initialization of ‘const u_char *’ {aka ‘const unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign]
   35 |  { 0, "exit",     ASN1_EOC,   ASN1_EXIT   }
      |       ^~~~~~
x509.c:35:7: note: (near initialization for ‘x509_certObjects[26].name’)
ar rcv libasn1-efi.a asn1.efi.o asn1_parser.efi.o enumerator.efi.o chunk.efi.o oid.efi.o identification.efi.o x509.efi.o
a - asn1.efi.o
a - asn1_parser.efi.o
a - enumerator.efi.o
a - chunk.efi.o
a - oid.efi.o
a - identification.efi.o
a - x509.efi.o
make[1]: Leaving directory '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/lib/asn1'
cc -I/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -march=native -O2 -pipe  -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c ReadVars.c -o ReadVars.o
ld -nostdlib -shared -Bsymbolic /usr/lib64/crt0-efi-x86_64.o -L /usr/lib64 -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds ReadVars.o lib/lib-efi.a lib/asn1/libasn1-efi.a -o ReadVars.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc.a
# check we have no undefined symbols
nm -D ReadVars.so | grep ' U ' && exit 1 || exit 0
                 U memset
make: *** [Make.rules:66: ReadVars.so] Error 1
rm ReadVars.o HelloWorld.o Loader.o
 * ERROR: app-crypt/efitools-1.9.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-crypt/efitools-1.9.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/efitools-1.9.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
 * S: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'

 * Messages for package app-crypt/efitools-1.9.2:

 * Package:    app-crypt/efitools-1.9.2
 * Repository: gentoo
 * Maintainer: tamiko@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Applying 1.7.0-Make.rules.patch ...
 * Applying efitools-1.8.1-libressl-compatibility.patch ...
 * ERROR: app-crypt/efitools-1.9.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=app-crypt/efitools-1.9.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/efitools-1.9.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/efitools-1.9.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
 * S: '/var/tmp/portage/app-crypt/efitools-1.9.2/work/efitools-1.9.2'
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1464

PostPosted: Sun Dec 22, 2019 9:54 pm    Post subject: Reply with quote

try to pull the dependencies from the same ::gentoo repository.
Code:
 emerge  efitools -av

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] app-crypt/sbsigntools-0.9.2::gentoo  0 KiB
[ebuild  N     ] dev-perl/File-Slurp-9999.270.0::gentoo  USE="-test" 0 KiB
[ebuild  N     ] app-crypt/efitools-1.9.2::gentoo  USE="-libressl -static" 0 KiB

Total: 3 packages (3 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]


If that doesn't help, I don't know what you can do.
_________________
Thank you for your attention, interest and support.
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
Jallee
n00b
n00b


Joined: 17 Oct 2010
Posts: 25
Location: Sweden

PostPosted: Mon Dec 23, 2019 8:32 am    Post subject: Reply with quote

Marlo wrote:
try to pull the dependencies from the same ::gentoo repository.
Code:
 emerge  efitools -av

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] app-crypt/sbsigntools-0.9.2::gentoo  0 KiB
[ebuild  N     ] dev-perl/File-Slurp-9999.270.0::gentoo  USE="-test" 0 KiB
[ebuild  N     ] app-crypt/efitools-1.9.2::gentoo  USE="-libressl -static" 0 KiB

Total: 3 packages (3 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]


If that doesn't help, I don't know what you can do.


Thanks for your effort! :)

Code:
3950X ~ # qlist -IRv app-crypt/sbsigntools dev-perl/File-Slurp
app-crypt/sbsigntools-0.9.2::gentoo
dev-perl/File-Slurp-9999.270.0::gentoo

But no luck there either.
Regards Jallee
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24067
Location: here

PostPosted: Mon Dec 23, 2019 8:38 am    Post subject: Reply with quote

You can post full build.log?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Jallee
n00b
n00b


Joined: 17 Oct 2010
Posts: 25
Location: Sweden

PostPosted: Mon Dec 23, 2019 9:06 am    Post subject: Reply with quote

fedeliallalinea wrote:
You can post full build.log?

Yes here it is https://pastebin.pl/view/58516f70

Code:
3950X ~ # emerge --info '=app-crypt/efitools-1.9.2::gentoo'
Portage 2.3.79 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-9.2.0, glibc-2.29-r7, 4.19.86-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.86-gentoo-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-gentoo-2.6
KiB Mem:    65931032 total,  65510736 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of repository gentoo: Sun, 22 Dec 2019 20:30:01 +0000
Head commit of repository gentoo: 20fde2d04ece0d70d28cb6af3c2e0a21ffd291ad
Head commit of repository sakaki-tools: 272fdb0791c36003b9dbe78dcb0b7c05309704b2

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

sakaki-tools
    location: /var/db/repos/sakaki-tools
    sync-type: git
    sync-uri: https://github.com/sakaki-/sakaki-tools.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE CC-Sampling-Plus-1.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=33 --load-average=32"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/ rsync://mirror.leaseweb.com/gentoo/ https://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo ftp://mirror.mdfnet.se/gentoo https://mirror.mdfnet.se/gentoo"
LANG="sv_SE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j33 -l32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups cxx dbus dri dts dvd dvdr eds elogind emboss encode evo exif fam flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv icu introspection ipv6 jpeg lcms ldap libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="sv" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Jallee
n00b
n00b


Joined: 17 Oct 2010
Posts: 25
Location: Sweden

PostPosted: Thu Jan 02, 2020 4:15 pm    Post subject: Reply with quote

Semifixed. :)
Built a binary package on another computer and installed on this one, a bit backwards but it worked.

Regards / Jallee
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum