Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483288 - app-crypt/efitools-1.4.1-r1 - undefined symbol uefi_call_wrapper in HelloWorld.so / make: *** [HelloWorld.so] Error 1 rm HelloWorld.o
Summary: app-crypt/efitools-1.4.1-r1 - undefined symbol uefi_call_wrapper in HelloWorl...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-01 17:18 UTC by Paul Tobias
Modified: 2013-09-01 18:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,7.13 KB, text/plain)
2013-09-01 17:19 UTC, Paul Tobias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Tobias 2013-09-01 17:18:19 UTC
make[1]: Leaving directory `/var/tmp/portage/app-crypt/efitools-1.4.1-r1/work/efitools-1.4.1/lib'
cc -I/var/tmp/portage/app-crypt/efitools-1.4.1-r1/work/efitools-1.4.1/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -mno-red-zone -fno-stack-protector -g -DEFI_FUNCTION_WRAPPER -DCONFIG_x86_64 -c HelloWorld.c -o HelloWorld.o
ld -nostdlib -T /var/tmp/portage/app-crypt/efitools-1.4.1-r1/work/efitools-1.4.1//elf_x86_64_efi.lds -shared -Bsymbolic /usr/lib/crt0-efi-x86_64.o -L /usr/lib HelloWorld.o lib/lib-efi.a -o HelloWorld.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libgcc.a
# check we have no undefined symbols
nm -D HelloWorld.so | grep ' U ' && exit 1 || exit 0
                 U uefi_call_wrapper
make: *** [HelloWorld.so] Error 1
rm HelloWorld.o
 * ERROR: app-crypt/efitools-1.4.1-r1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-crypt/efitools-1.4.1-r1'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/efitools-1.4.1-r1'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/efitools-1.4.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/efitools-1.4.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/efitools-1.4.1-r1/work/efitools-1.4.1'
 * S: '/var/tmp/portage/app-crypt/efitools-1.4.1-r1/work/efitools-1.4.1'

>>> Failed to emerge app-crypt/efitools-1.4.1-r1, Log file:

>>>  '/var/tmp/portage/app-crypt/efitools-1.4.1-r1/temp/build.log'


Reproducible: Always

Steps to Reproduce:
1. emerge -v app-crypt/efitools

Actual Results:  
Build fails

Expected Results:  
Build doesn't fail

$ emerge --info '=app-crypt/efitools-1.4.1-r1'
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.15-r3, 3.10.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.9-gentoo-x86_64-AMD_A6-4455M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     5870608 total,   1478720 free
KiB Swap:    5242876 total,   5242876 free
Timestamp of tree: Sun, 01 Sep 2013 01:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo bud
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mtune=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --nospinner"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.daum.net/gentoo/ ftp://gentoo.bloodhost.ru/ rsync://gentoo.bloodhost.ru/gentoo-distfiles"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X a52 aac acpi afterimage alsa amd64 amr aot apng archive avx bash-completion bluetooth bluray branding bs2b btrfs bzip2 cairo cdr cli consolekit crossfade crypt cue cups curl cxx dbus device-mapper dga dirac distinct-l djvu dri dts dv dvd dvdr emboss enca exif faac fading-colors fam fat ffmpeg firefox flac fontconfig force-hints freerdp ftp g3dvl g726 g729 gconf gcrypt gdu gif git glibc-omitfp gmail gmp gnome-keyring gpg gpm gsm gstreamer gtk gtk3 gtkstyle hddtemp iconv icu ilbc imagemagick imlib infinality iproute2 ipv6 jingle jpeg jpeg2k kate keymap laptop libass libkms libnl libnotify libproxy libsecret libssh2 libtiger live llvm lm_sensors lyrics lzma lzo mad matroska mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer msn mtp multilib musepack nat-transport natspec ncurses netboot network-cron nokia nominatim nptl ntfs ntfsprogs ntp offensive ogg opengl openipmi openmp optimization optimized-qmake pam pango passwordsave pch pcre pdf pdfimport pgo png policykit postproc ppds pth pulseaudio python3 qt3support qt4 rar rdesktop readline rtsp schroedinger sdl session shout silk smime sna speex srt srtp sse sse2 sse3 sse4 sse4_1 ssh ssl ssse3 startup-notification stereo stream strong-optimization svg symlink system-cairo system-jpeg system-sqlite telepathy tftp theora tiff truetype udev udisks unicode upower urandom usb v4l v4l2 vaapi vim-syntax vlc vnc vorbis vte wavpack webcam webgl webkit webkit2 wifi wma x264 xcb xfce xml xnest xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="intel8x0 usb-audio" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon *" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="g15 ncurses png text xosd" LIBREOFFICE_EXTENSIONS="pdfimport wiki-publisher" LINGUAS="en en_US hu" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i915 radeon vesa" XFCE_PLUGINS="brightness logout" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

$ emerge -pqv '=app-crypt/efitools-1.4.1-r1'
[ebuild  N    ] app-crypt/efitools-1.4.1-r1
Comment 1 Paul Tobias 2013-09-01 17:19:20 UTC
Created attachment 357578 [details]
build.log
Comment 2 Paul Tobias 2013-09-01 17:43:56 UTC
I dug in deeper, and now the build succeeds after updating sys-boot/gnu-efi from 3.0s (the current stable) to 3.0u (the latest testing).
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2013-09-01 18:05:09 UTC
Yes, please use the latest gnu-efi code.  As this is marked "testing", I don't think I need to be explicit for other dependencies, as that would just get too messy.

If you are using efitools, you know what you are doing :)