Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-devhelp
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-devhelp@g.o
From: Helmut Jarausch <jarausch@...>
Subject: ebuild for gcc SVN-trunk fails since 2 weeks, why?
Date: Mon, 17 Oct 2011 10:03:52 +0200
Hi,

I'm in need to install the SVN trunk version of gcc ( in addition to a 
standard version like 4.5.3.

I have the ebuild below in my local overlay which has been working for 
quite some time. But recently it bails out because of

working copy: /usr/portage/distfiles/svn-src/gcc/trunk

/var/tmp/portage/sys-devel/gcc-4.7.0_pre9999/temp/environment: 
  line 4677: gcc-compiler_src_unpack: command not found

ERROR: sys-devel/gcc-4.7.0_pre9999 failed (unpack phase):
failed to gcc-compiler_src_unpack

Many thanks for a hint,
Helmut.

My current ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

ETYPE="gcc-compiler"
GCC_FILESDIR=${PORTDIR}/sys-devel/gcc/files

inherit multilib subversion toolchain

DESCRIPTION="The GNU Compiler Collection.  Includes C/C++, java 
compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking"
HOMEPAGE="http://gcc.gnu.org/"
ESVN_REPO_URI="svn://gcc.gnu.org/svn/gcc/trunk"
SRC_URI=""

IUSE="debug lto offline"

LICENSE="GPL-3 LGPL-3 libgcc libstdc++ gcc-runtime-library-
exception-3.1"
KEYWORDS=""
SLOT="${GCC_BRANCH_VER}-svn"
SPLIT_SPECS="no"
PRERELEASE="yes"

RDEPEND=">=sys-libs/zlib-1.1.4
	>=sys-devel/gcc-config-1.4
	virtual/libiconv
	>=dev-libs/gmp-4.3.2
	>=dev-libs/mpfr-2.4.2
	>=dev-libs/mpc-0.8.1
	graphite? (
		>=dev-libs/ppl-0.10
		>=dev-libs/cloog-ppl-0.15.8
	)
	>=dev-libs/elfutils-0.143
	!build? (
		gcj? (
			gtk? (
				x11-libs/libXt
				x11-libs/libX11
				x11-libs/libXtst
				x11-proto/xproto
				x11-proto/xextproto
				>=x11-libs/gtk+-2.2
				x11-libs/pango
			)
			>=media-libs/libart_lgpl-2.1
			app-arch/zip
			app-arch/unzip
		)
		>=sys-libs/ncurses-5.2-r2
		nls? ( sys-devel/gettext )
	)"
DEPEND="${RDEPEND}
	test? ( >=dev-util/dejagnu-1.4.4 >=sys-devel/autogen-5.5.4 )
	>=sys-apps/texinfo-4.8
	>=sys-devel/bison-1.875
	elibc_glibc? ( >=sys-libs/glibc-2.8 )
	amd64? ( multilib? ( gcj? ( app-emulation/emul-linux-x86-xlibs 
) ) )
	ppc? ( >=${CATEGORY}/binutils-2.17 )
	ppc64? ( >=${CATEGORY}/binutils-2.17 )
	>=${CATEGORY}/binutils-2.18"
PDEPEND=">=sys-devel/gcc-config-1.4"

if [[ ${CATEGORY} != cross-* ]] ; then
	PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
fi

pkg_setup() {
	if [[ -z ${I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS} ]] ; then
		die "Please \`export 
I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1\` or define it in your 
make.conf if you want to use this ebuild.  This is to try and cut down 
on people filing bugs for a compiler we do not currently support."
	fi
	toolchain_pkg_setup
}

src_unpack() {
	export BRANDING_GCC_PKGVERSION="Gentoo SVN"

	subversion_src_unpack

	cd "${S}"

	gcc_version_patch

	subversion_wc_info
	echo ${PV/_/-} > "${S}"/gcc/BASE-VER
	echo "rev. ${ESVN_WC_REVISION}" > "${S}"/gcc/REVISION

	${ETYPE}_src_unpack || die "failed to ${ETYPE}_src_unpack"


}

src_install() {
	toolchain_src_install

}

pkg_preinst() {
	toolchain_pkg_preinst
	subversion_pkg_preinst
}

pkg_postinst() {
	toolchain_pkg_postinst

	einfo "This gcc-4 ebuild is provided for your convenience, and 
the use"
	einfo "of this compiler is not supported by the Gentoo 
Developers."
	einfo "Please file bugs related to gcc-4 with upstream 
developers."
	einfo "Compiler bugs should be filed at http://gcc.gnu.org/
bugzilla/"
}

-- 
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany


Replies:
Re: ebuild for gcc SVN-trunk fails since 2 weeks, why?
-- Mike Frysinger
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [gentoo-dev] My first ebuild: app-cdr/furiusisomount-0.11.3.1
Next by thread:
Re: ebuild for gcc SVN-trunk fails since 2 weeks, why?
Previous by date:
Re: [gentoo-dev] My first ebuild: app-cdr/furiusisomount-0.11.3.1
Next by date:
Re: ebuild for gcc SVN-trunk fails since 2 weeks, why?


Updated Jun 03, 2012

Summary: Archive of the gentoo-devhelp mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.