Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77777 - groff fails to build during "bootstrap.sh"
Summary: groff fails to build during "bootstrap.sh"
Status: RESOLVED DUPLICATE of bug 77718
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-12 21:54 UTC by Stan Behrens
Modified: 2005-07-17 13:06 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 Stan Behrens 2005-01-12 21:54:05 UTC
# cd /usr/portage; ./scripts/bootstrap.sh
 [...]
>>> sys-devel/m4-1.4.1 merged.
>>> emerge (2 of 18) sys-apps/groff-1.19.1-r2 to /
>>> md5 src_uri ;-) groff-1.19.1.tar.gz
>>> Unpacking source...
>>> Unpacking groff-1.19.1.tar.gz to /var/tmp/portage/groff-1.19.1-r2/work
 * Applying groff-1.18-infoext.patch ...                                  [ ok ]
 * Applying groff-1.18-no-netpbm-depend.patch ...                         [ ok ]
 * Applying groff-man-UTF-8.diff ...                                      [ ok ]
 * Applying groff-1.19.1-stack.patch ...                                  [ ok ]
 * Applying groff-1.19.1-tmpfile.patch ...                                [ ok ]
 * Applying groff-1.19.1-parallel-make.patch ...                          [ ok ]
>>> Source unpacked.
gcc
g++
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking that C++ compiler can compile simple program... no
configure: error: a working C++ compiler is required

!!! ERROR: sys-apps/groff-1.19.1-r2 failed.
!!! Function src_compile, Line 85, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

=======================
make.conf:
-----------------------
# grep -v ^# /etc/make.conf
USE="-* x86"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="x86"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
MAKEOPTS="-j2"
PORTAGE_NICENESS=3

=======================
config.log:
-----------------------
 [...]
configure:2243: checking for i686-pc-linux-gnu-g++
configure:2269: result: g++
configure:2327: checking for C++ compiler version
configure:2330: g++ --version </dev/null >&5
./configure: line 1: g++: command not found
configure:2333: $? = 127
configure:2335: g++ -v </dev/null >&5
./configure: line 1: g++: command not found
configure:2338: $? = 127
configure:2340: g++ -V </dev/null >&5
./configure: line 1: g++: command not found
configure:2343: $? = 127
configure:2346: checking whether we are using the GNU C++ compiler
configure:2370: g++ -c -march=pentium4 -O3 -fomit-frame-pointer -pipe  conftest.cc >&5
./configure: line 1: g++: command not found
configure:2376: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| #ifndef __GNUC__
|        choke me
| #endif
| 
|   ;
|   return 0;
| }
configure:2402: result: no
 [...]

=======================
environment:
-----------------------
# printenv 
INFODIR=/usr/share/info
MANPATH=/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i386-pc-linux-gnu/3.3/man
HOSTNAME=rescue
SHELL=/bin/bash
TERM=xterm
SSH_CLIENT=212.202.12.236 56408 22
SSH_TTY=/dev/pts/0
USER=root
PAGER=/usr/bin/less
CONFIG_PROTECT_MASK=/etc/terminfo
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3
MAIL=/var/mail/root
GLIBC_SSP_CHECKED=1
PWD=/usr/portage
INPUTRC=/etc/inputrc
EDITOR=/bin/nano
PS1=\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]
CXX=g++
HOME=/root
SHLVL=2
LOGNAME=root
LESS=-R
CVS_RSH=ssh
SSH_CONNECTION=212.202.12.236 56408 82.96.68.77 22
LESSOPEN=|lesspipe.sh %s
INFOPATH=/usr/share/info:/usr/share/gcc-data/i386-pc-linux-gnu/3.3/info
CC=gcc
_=/bin/printenv
OLDPWD=/

=======================
emerge --info:
-----------------------
# emerge --info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, unavailable, 2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Autoconf: 
Automake: 
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  
Libtools: 
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86"


Reproducible: Always
Steps to Reproduce:
1. follow http://www.gentoo.org/doc/en/handbook/handbook-x86.xml
Comment 1 Douglas R. Hoffman 2005-01-13 11:42:47 UTC
I believe this a duplicate of :
http://bugs.gentoo.org/show_bug.cgi?id=77718
Comment 2 Boyd Stephen Smith Jr. 2005-01-13 11:55:39 UTC
I agree, looks very much like 77718.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2005-01-13 12:15:14 UTC

*** This bug has been marked as a duplicate of 77718 ***