Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge grub problem
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
RobertPaulsen
n00b
n00b


Joined: 05 Dec 2012
Posts: 7

PostPosted: Fri Dec 07, 2012 10:18 am    Post subject: emerge grub problem Reply with quote

Hi,

I can't figure out what the problem is:

============================================

portage says:

GRUB2 will be compiled with following components:
Platform: i386-efi
With devmapper support: No (explicitly disabled)
With memory debugging: No
With disk cache statistics: No
efiemu runtime: No (not available on efi)
grub-mkfont: Yes
grub-mount: No (explicitly disabled)
starfield theme: Yes
With libzfs support: No (explicitly disabled)
*******************************************************

* Messages for package sys-boot/grub-2.00-r1:

* ERROR: sys-boot/grub-2.00-r1 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 3342: Called multijob_child_init 'grub_run_phase' 'src_configure' 'efi-64'
* environment, line 2824: Called grub_run_phase 'src_configure' 'efi-64'
* environment, line 2373: Called grub_src_configure 'efi-64'
* environment, line 2423: Called econf '--libdir=/usr/lib' '--htmldir=/usr/share/doc/grub-2.00-r1/html' '--disable-werror' '--program-prefix=' '--program-transform-name=s,grub,grub2,' '--with-grubdir=grub2' '--with-platform=efi' '--disable-mm-debug' '--disable-grub-emu-usb' '--disable-device-mapper' '--disable-efiemu' '--disable-grub-mount' '--enable-nls' '--enable-grub-mkfont' '--disable-libzfs'
* phase-helpers.sh, line 501: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=sys-boot/grub-2.00-r1'`,
* the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.00-r1'`.
* The complete build log is located at '/var/log/portage/sys-boot:grub-2.00-r1:20121207-111254.log.gz'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-boot/grub-2.00-r1/temp/build.log.gz'.
* The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.00-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-boot/grub-2.00-r1/work/build-efi-64'
* S: '/var/tmp/portage/sys-boot/grub-2.00-r1/work/grub-2.00'
Back to top
View user's profile Send private message
RobertPaulsen
n00b
n00b


Joined: 05 Dec 2012
Posts: 7

PostPosted: Fri Dec 07, 2012 10:22 am    Post subject: Reply with quote

Portage 2.1.11.31 (hardened/linux/x86, gcc-4.5.4, glibc-2.15-r3, 3.2.0-4-amd64 i686)
=================================================================
System Settings
=================================================================
System uname: Linux-3.2.0-4-amd64-i686-with-gentoo-2.1
Timestamp of tree: Fri, 07 Dec 2012 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p37
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.9
dev-util/pkgconfig: 0.27.1
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.11.6
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.4
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo liberte
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="@FREE as-is freedist unRAR lha @BINARY-REDISTRIBUTABLE Atmel SIL-freeware amd-ucode Conexant-firmware Hauppauge-Firmware"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -mtune=core2 -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc/locale.gen"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -march=pentium3 -mtune=core2 -mfpmath=sse -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-unmerge-warn --autounmask=n"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect compress-build-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 webrsync-gpg"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://mirrors.kernel.org/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O,1,-z,combreloc"
MAKEOPTS="-j3"
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://disabled"
USE="X X509 aac acl acpi action_modeswitch alsa archive aspell bluetooth bs2b bzip2 cairo caps cdda cjk cli consolekit cpudetection crypt cue custom-cflags dbus dhcp djvu dri eap-sim eap-tls edd exif expat flac gmp goffice gpm grammar groupwise gtk hardened hires-icons hwdb hybrid-auth iconv id3tag idn iproute2 irda jbig jpeg jpeg2k keymap lcms libkms libnotify lzma m17n-lib mad madwifi mktemp mmx modemmanager modules mp3 multicall ncurses netlink networkmanager nls nptl ntfsprogs ogg openmp ots pam pax_kernel pcmcia pcre pcsc-lite pic pkcs11 png policykit postscript pppd readline scsi silc smartcard smime sndfile speex spell sse ssl startup-notification staticsocket svg symlink thesaurus threads tiff truetype unicode urandom usb uuid v4l vorbis wavpack webgl wifi wimax wmf x86 x86emu xattr xft xinerama xmp xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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" GRUB_PLATFORMS="efi-32 efi-64" INPUT_DEVICES="evdev synaptics vmmouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="*" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware modesetting nouveau virtualbox qxl" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Dec 07, 2012 11:10 am    Post subject: Reply with quote

Are there no messages at all between
Code:
*******************************************************
and
Code:
* Messages for package sys-boot/grub-2.00-r1:
? I would expect some sort of detail. Also, since you're running a stable system (ACCEPT_KEYWORDS="x86"), do you explicitly want grub2?

Finally, just as an aside, your CFLAGS are a little strange. What's your actual CPU and what does
Code:
cat /proc/cpuinfo
report?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
RobertPaulsen
n00b
n00b


Joined: 05 Dec 2012
Posts: 7

PostPosted: Fri Dec 07, 2012 12:13 pm    Post subject: Reply with quote

Thanks for replay ...

This is a build for an USB live system. So multiple CPUs ... But this is not about my USE flags...

Do you need the complete log file?
Back to top
View user's profile Send private message
RobertPaulsen
n00b
n00b


Joined: 05 Dec 2012
Posts: 7

PostPosted: Fri Dec 07, 2012 3:27 pm    Post subject: Reply with quote

checking for __bswapsi2... !!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-boot/grub-2.00-r1/work/build-efi-64/config.log
* ERROR: sys-boot/grub-2.00-r1 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 3342: Called multijob_child_init 'grub_run_phase' 'src_configure' 'efi-64'
* environment, line 2824: Called grub_run_phase 'src_configure' 'efi-64'
* environment, line 2373: Called grub_src_configure 'efi-64'
no
checking for __bswapdi2... * environment, line 2423: Called econf '--libdir=/usr/lib' '--htmldir=/usr/share/doc/grub-2.00-r1/html' '--disable-werror' '--program-prefix=' '--program-transform-name=s,grub,grub2,' '--with-grubdir=grub2' '--with-platform=efi' '--disable-mm-debug' '--disable-grub-emu-usb' '--disable-device-mapper' '--disable-efiemu' '--disable-grub-mount' '--enable-nls' '--enable-grub-mkfont' '--disable-libzfs'
* phase-helpers.sh, line 501: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of `emerge --info '=sys-boot/grub-2.00-r1'`,
* the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.00-r1'`.
/usr/lib/portage/bin/isolated-functions.sh: line 213: wait: `econf failed': not a pid or valid job spec
* The complete build log is located at '/var/log/portage/sys-boot:grub-2.00-r1:20121207-162346.log.gz'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-boot/grub-2.00-r1/temp/build.log.gz'.
* The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.00-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-boot/grub-2.00-r1/work/build-efi-64'
* S: '/var/tmp/portage/sys-boot/grub-2.00-r1/work/grub-2.00'
no
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