Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44472 - dev-lang/cxx-6.5.9.31-r1 emerge --config fails
Summary: dev-lang/cxx-6.5.9.31-r1 emerge --config fails
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: Alpha Linux
: High major
Assignee: Alpha Porters
URL: http://www.gentoo.org/doc/en/gentoo-a...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-12 10:41 UTC by Dan Cusick
Modified: 2007-12-27 11:53 UTC (History)
2 users (show)

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 Dan Cusick 2004-03-12 10:41:19 UTC
shire distfiles # ebuild /var/db/pkg/dev-lang/cxx-6.5.9.31-r1/cxx-6.5.9.31-r1.ebuild config
 *
 * Attempting configuration of CXX...
 *

<------- Begin cxx configuration output ------->
Warning: unknown distribution
Gentoo Base System version 1.4.3.13p1
Error: gcc -V 3.3.3 failed to compile and link "int main(int argc, char **argv) {return 0;}".
       The ccc installation expects a working installation of GCC.
gcc: `-V' must come at the start of the command line
Aborting

If you can correct the problem, you can rerun this script manually
by entering a command in the following format:

    create-comp-config.sh cxx-version [gcc-path]

The current invocation of create-comp-config.sh was:

/usr/lib/compaq/cxx-6.5.9.31/alpha-linux/bin/create-comp-config.sh cxx-6.5.9.31
<------- End cxx configuration output ------->


Reproducible: Always
Steps to Reproduce:
1.CXX_LICENSE_KEY=[***censored***] emerge dev-lang/cxx
2.ebuild /var/db/pkg/dev-lang/cxx-6.5.9.31-r1/cxx-6.5.9.31-r1.ebuild config
3.

Actual Results:  
configuration failed and use of cxx is not possible

Expected Results:  
configuration to work.  it worked for ccc.  and I have a license key from HP/Compaq

shire distfiles # emerge info
Portage 2.0.50-r1 (default-alpha-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.4.21-alpha-r4)
=================================================================
System uname: 2.4.21-alpha-r4 alpha EV67
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="2003-winter alpha ~alpha"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=ev67 -pipe"
CHOST="alpha-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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="-O3 -mcpu=ev67 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://10.3.0.12/gentoo http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://10.3.0.12/2003-winter"
USE="X alpha berkdb crypt cups doc encode esd ev6 foomaticdb gdbm gif gnome gpm
gtk gtk2 imlib jpeg libg++ libwww mikmod motif ncurses nls oggvorbis opengl oss
pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype
xml2 xmms xv zlib"
Comment 1 Marnix Arnold 2004-05-12 04:43:53 UTC
I ran into the same problem. In the ebuild for CCC, the create-comp-config script is patched (using sed) to work with GCC-3.x. If you do the same thing for the CXX create-comp-config script, it works. Like so:

sed -i -e 's/gcc -v -V \$GCC_VER/gcc -V $GCC_VER -v/' /usr/lib/compaq/cxx-6.5.9.31/alpha-linux/bin/create-comp-config.sh

The rerun the ebuild config.

Tavis (or one of the other Gentoo/Alpha developers), could you please add this line to the CXX ebuild, as in the CCC ebuild?
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2007-12-27 11:53:41 UTC
This is unsupported, broken, and unfetchable.