Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267200 - Bootstrap on macbook fails
Summary: Bootstrap on macbook fails
Status: RESOLVED DUPLICATE of bug 219276
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-23 12:41 UTC by Piotr Szulawski
Modified: 2009-04-25 14:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Szulawski 2009-04-23 12:41:42 UTC
Hi, i'm trying to install gentoo on my macbook from stage 1.

It fails at lzma-utils compilation.

That's the /var/tmp/portage/app-arch/lzma-utils-4.32.7/temp/build.log

 * econf: updating lzma-4.32.7/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating lzma-4.32.7/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
checking if debugging code should be compiled... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-g++... no
checking for i686-pc-linux-gnu-c++... no
checking for i686-pc-linux-gnu-gpp... no
checking for i686-pc-linux-gnu-aCC... no
checking for i686-pc-linux-gnu-CC... no
checking for i686-pc-linux-gnu-cxx... no
checking for i686-pc-linux-gnu-cc++... no
checking for i686-pc-linux-gnu-cl.exe... no
checking for i686-pc-linux-gnu-FCC... no
checking for i686-pc-linux-gnu-KCC... no
checking for i686-pc-linux-gnu-RCC... no
checking for i686-pc-linux-gnu-xlC_r... no
checking for i686-pc-linux-gnu-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... 
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/config.log
 * 
 * ERROR: app-arch/lzma-utils-4.32.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2119:  Called _eapi0_src_compile
 *               ebuild.sh, line  607:  Called econf
 *               ebuild.sh, line  543:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed


----------

The output of /var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by LZMA configure 4.32.7, which was
generated by GNU Autoconf 2.62.  Invocation command line was

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu

## --------- ##
## Platform. ##
## --------- ##

hostname = ubuntu
uname -m = i686
uname -r = 2.6.27-7-generic
uname -s = Linux
uname -v = #1 SMP Fri Oct 24 06:42:44 UTC 2008

/usr/bin/uname -p = Intel(R) Core(TM)2 Duo CPU P7350 @ 2.00GHz
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/i486-pc-linux-gnu/gcc-bin/4.1.2


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2053: checking if debugging code should be compiled
configure:2073: result: no
configure:2127: checking for a BSD-compatible install
configure:2195: result: /usr/bin/install -c
configure:2206: checking whether build environment is sane
configure:2249: result: yes
configure:2274: checking for a thread-safe mkdir -p
configure:2313: result: /bin/mkdir -p
configure:2326: checking for gawk
configure:2342: found /bin/gawk
configure:2353: result: gawk
configure:2364: checking whether make sets $(MAKE)
configure:2386: result: yes
configure:2590: checking for i686-pc-linux-gnu-g++
configure:2620: result: no
configure:2590: checking for i686-pc-linux-gnu-c++
configure:2620: result: no
configure:2590: checking for i686-pc-linux-gnu-gpp
configure:2620: result: no
configure:2590: checking for i686-pc-linux-gnu-aCC
configure:2620: result: no
configure:2590: checking for i686-pc-linux-gnu-CC
configure:2620: result: no
configure:2590: checking for i686-pc-linux-gnu-cxx
configure:2620: result: no
configure:2590: checking for i686-pc-linux-gnu-cc++
configure:2620: result: no
configure:2590: checking for i686-pc-linux-gnu-cl.exe
configure:2620: result: no
configure:2590: checking for i686-pc-linux-gnu-FCC
configure:2620: result: no
configure:2590: checking for i686-pc-linux-gnu-KCC
configure:2620: result: no
configure:2590: checking for i686-pc-linux-gnu-RCC
configure:2620: result: no
configure:2590: checking for i686-pc-linux-gnu-xlC_r
configure:2620: result: no
configure:2590: checking for i686-pc-linux-gnu-xlC
configure:2620: result: no
configure:2634: checking for g++
configure:2664: result: no
configure:2634: checking for c++
configure:2664: result: no
configure:2634: checking for gpp
configure:2664: result: no
configure:2634: checking for aCC
configure:2664: result: no
configure:2634: checking for CC
configure:2664: result: no
configure:2634: checking for cxx
configure:2664: result: no
configure:2634: checking for cc++
configure:2664: result: no
configure:2634: checking for cl.exe
configure:2664: result: no
configure:2634: checking for FCC
configure:2664: result: no
configure:2634: checking for KCC
configure:2664: result: no
configure:2634: checking for RCC
configure:2664: result: no
configure:2634: checking for xlC_r
configure:2664: result: no
configure:2634: checking for xlC
configure:2664: result: no
configure:2692: checking for C++ compiler version
configure:2700: g++ --version >&5
./configure: line 2702: g++: command not found
configure:2704: $? = 127
configure:2711: g++ -v >&5
./configure: line 2713: g++: command not found
configure:2715: $? = 127
configure:2722: g++ -V >&5
./configure: line 2724: g++: command not found
configure:2726: $? = 127
configure:2749: checking for C++ compiler default output file name
configure:2771: g++ -O2 -fomit-frame-pointer -march=prescott -pipe  -Wl,-O1 conftest.cpp  >&5
./configure: line 2773: g++: command not found
configure:2775: $? = 127
configure:2813: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "LZMA"
| #define PACKAGE_TARNAME "lzma"
| #define PACKAGE_VERSION "4.32.7"
| #define PACKAGE_STRING "LZMA 4.32.7"
| #define PACKAGE_BUGREPORT "lasse.collin@tukaani.org"
| #define NDEBUG 1
| #define PACKAGE "lzma"
| #define VERSION "4.32.7"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2820: error: C++ compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -fomit-frame-pointer -march=prescott -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -fomit-frame-pointer -march=prescott -pipe'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-O1
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/missing --run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/missing --run tar'
AR=''
AUTOCONF='${SHELL} /var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/missing --run automake-1.10'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS='-O2 -fomit-frame-pointer -march=prescott -pipe'
CPP=''
CPPFLAGS=''
CXX='g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-O2 -fomit-frame-pointer -march=prescott -pipe'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DSYMUTIL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77='no'
FFLAGS=''
GETOPT_H=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS='-Wl,-O1'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NMEDIT=''
OBJEXT=''
PACKAGE='lzma'
PACKAGE_BUGREPORT='lasse.collin@tukaani.org'
PACKAGE_NAME='LZMA'
PACKAGE_STRING='LZMA 4.32.7'
PACKAGE_TARNAME='lzma'
PACKAGE_VERSION='4.32.7'
PATH_SEPARATOR=':'
RANLIB=''
SDK_CFLAGS='-D_LZMA_IN_CB -D_LZMA_OUT_READ -D_LZMA_SYSTEM_SIZE_T -D_LZMA_PROB32'
SDK_CXXFLAGS='-DCOMPRESS_MF_BT -DCOMPRESS_MF_BT4 -DCOMPRESS_MF_HC'
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='4.32.7'
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='$(SHELL) /var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "LZMA"
#define PACKAGE_TARNAME "lzma"
#define PACKAGE_VERSION "4.32.7"
#define PACKAGE_STRING "LZMA 4.32.7"
#define PACKAGE_BUGREPORT "lasse.collin@tukaani.org"
#define NDEBUG 1
#define PACKAGE "lzma"
#define VERSION "4.32.7"

configure: exit 77

-----------------------


The output from emerge --info:

Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-7-generic i686)
=================================================================
System uname: Linux-2.6.27-7-generic-i686-Intel-R-_Core-TM-2_Duo_CPU_P7350_@_2.00GHz-with-glibc2.0
Timestamp of tree: Thu, 23 Apr 2009 01:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r13
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="  http://distfiles.gentoo.org http://gentoo.prz.rzeszow.pl/ http://gentoo.po.opole.pl/ http://gentoo.mirror.pw.edu.pl/"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa berkdb bluetooth bzip2 cdr cli cracklib crypt cups dri dvd fortran gdbm gpm iconv ipv6 isdnlog kde macbook midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3 qt4 readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="hda-intel" 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-25 14:42:30 UTC
*** This bug has been marked as a duplicate of bug 219276 ***