public inbox for gentoo-devhelp@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-devhelp] ebuild for gcc SVN-trunk fails since 2 weeks, why?
@ 2011-10-17  8:03 Helmut Jarausch
  2011-10-17 15:33 ` Mike Frysinger
  0 siblings, 1 reply; 4+ messages in thread
From: Helmut Jarausch @ 2011-10-17  8:03 UTC (permalink / raw
  To: gentoo-devhelp

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-devhelp] ebuild for gcc SVN-trunk fails since 2 weeks, why?
  2011-10-17  8:03 [gentoo-devhelp] ebuild for gcc SVN-trunk fails since 2 weeks, why? Helmut Jarausch
@ 2011-10-17 15:33 ` Mike Frysinger
  2011-12-14 11:13   ` Helmut Jarausch
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2011-10-17 15:33 UTC (permalink / raw
  To: gentoo-devhelp

On Monday 17 October 2011 04:03:52 Helmut Jarausch wrote:
> /var/tmp/portage/sys-devel/gcc-4.7.0_pre9999/temp/environment:
>   line 4677: gcc-compiler_src_unpack: command not found

the toolchain.eclass was updated and these funcs dropped.  you'll need to 
update your ebuild to match.
-mike



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-devhelp] ebuild for gcc SVN-trunk fails since 2 weeks, why?
  2011-10-17 15:33 ` Mike Frysinger
@ 2011-12-14 11:13   ` Helmut Jarausch
  2011-12-14 16:32     ` Mike Frysinger
  0 siblings, 1 reply; 4+ messages in thread
From: Helmut Jarausch @ 2011-12-14 11:13 UTC (permalink / raw
  To: gentoo-devhelp; +Cc: Mike Frysinger

On 10/17/2011 05:33:32 PM, Mike Frysinger wrote:
> On Monday 17 October 2011 04:03:52 Helmut Jarausch wrote:
> > /var/tmp/portage/sys-devel/gcc-4.7.0_pre9999/temp/environment:
> >   line 4677: gcc-compiler_src_unpack: command not found
> 
> the toolchain.eclass was updated and these funcs dropped.  you'll 
> need
> to 
> update your ebuild to match.
> -mike
> 

Hi,

unfortunately gcc-4.7.0_pre9999 (from the toolchain overlay)
fails again since a few days.

Now, I get

This target does not support --with-abi.
Valid --with options are: arch arch_32 arch_64 cpu cpu_32 cpu_64 tune 
tune_32 tune_64
make[2]: *** [configure-stage1-gcc] Error 1

It looks like configure has been changed.

Where can I report / get help on the toolchain overlay?

Many thanks,
Helmut.

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-devhelp] ebuild for gcc SVN-trunk fails since 2 weeks, why?
  2011-12-14 11:13   ` Helmut Jarausch
@ 2011-12-14 16:32     ` Mike Frysinger
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2011-12-14 16:32 UTC (permalink / raw
  To: gentoo-devhelp

[-- Attachment #1: Type: Text/Plain, Size: 202 bytes --]

On Wednesday 14 December 2011 06:13:57 Helmut Jarausch wrote:
> unfortunately gcc-4.7.0_pre9999 (from the toolchain overlay)
> fails again since a few days.

bug reports really belong in bugzilla
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-14 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-17  8:03 [gentoo-devhelp] ebuild for gcc SVN-trunk fails since 2 weeks, why? Helmut Jarausch
2011-10-17 15:33 ` Mike Frysinger
2011-12-14 11:13   ` Helmut Jarausch
2011-12-14 16:32     ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox