From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RKiyQ-00052K-Iv for garchives@archives.gentoo.org; Mon, 31 Oct 2011 03:55:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 583F221C040 for ; Mon, 31 Oct 2011 03:55:46 +0000 (UTC) Received: from egr.msu.edu (jeeves.egr.msu.edu [35.9.37.127]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j92ICeXC007755 for ; Sun, 2 Oct 2005 18:12:40 GMT Received: from [69.176.143.101] (69-176-143-101.dov.spartan-net.net [69.176.143.101]) (authenticated bits=0) by egr.msu.edu (8.13.4/8.13.4) with ESMTP id j92IKYZH013841 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 2 Oct 2005 14:20:35 -0400 (EDT) Message-ID: <43402512.40300@egr.msu.edu> Date: Sun, 02 Oct 2005 14:21:06 -0400 From: Alec Warner User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050806) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] possible bug with 2.1 alpha? References: <20051002173537.GA31467@linux1.home> In-Reply-To: <20051002173537.GA31467@linux1.home> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: a285c26e-8fe2-4667-92a0-c9c8eac21b51 X-Archives-Hash: 930b166a30a2adf6b87d66bac67e900b -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 William Hubbs wrote: > All, > > I am working on a new ebuild, and having trouble getting the install phase > to work. I am using portage 2.1 alpha and I believe ${D} has a trailing "/" > and that is the cause of the problem. > > I'm posting here because I'm not sure whether I am making proper use of DESTDIR > or if this is a bug, and I don't want to post to the bug unless it is a bug. :-) In the future I'd suggest posting it on bugszilla anyway, not everyone who could ascertain if it's a bug reads this list. If it's not a bug it will be marked as such, no harm, no foul. Some developers utilize bugs.gentoo.org as their communications channel to users ( along with IRC of course ) and aren't subscribed to many lists. > Here is an exerpt from the makefile for the package: > > BINARIES = speakupcfg speakupctl > INSTALL = install > PREFIX = /usr > > all: $(BINARIES) > > install: all > $(INSTALL) $(BINARIES) $(DESTDIR)$(PREFIX)/bin > > Here is an exerpt from the ebuild: > > src_install() { > make DESTDIR=${D} install || die "Install Failed" > dodoc COPYING Changelog README > } > > Here is an exerpt from the output from emerge: > > >>>>>Unpacking source... >>>>>Unpacking speakup-utils-1.0.tar.gz to /var/tmp/portage/speakup-utils-1.0/work >>>>>Source unpacked. > > /usr/lib/portage/bin/ebuild.sh: line 4733: portageq: readonly function > /usr/lib/portage/bin/ebuild.sh: line 4992: speak: readonly function > >>>>>Compiling source ... > > g++ -march=pentium2 -O3 -pipe -o speakupcfg speakupcfg.cpp -lcurses > g++ -march=pentium2 -O3 -pipe -o speakupctl speakupctl.cpp > >>>>>Finished compiling > > /usr/lib/portage/bin/ebuild.sh: line 6775: portageq: readonly function > /usr/lib/portage/bin/ebuild.sh: line 7034: speak: readonly function > >>>>>Test phase [not enabled]; app-accessibility/speakup-utils-1.0 > > /usr/lib/portage/bin/ebuild.sh: line 2693: portageq: readonly function > /usr/lib/portage/bin/ebuild.sh: line 2952: speak: readonly function > > >>>>>Install speakup-utils-1.0 into /var/tmp/portage/speakup-utils-1.0/image/ category app-accessibility > > install speakupcfg speakupctl /var/tmp/portage/speakup-utils-1.0/image//usr/bin > install: installing multiple files, but last argument, `/var/tmp/portage/speakup-utils-1.0/image//usr/bin' is not a directory > Try `install --help' for more information. > make: *** [install] Error 1 > > !!! ERROR: app-accessibility/speakup-utils-1.0 failed. > !!! Function src_install, Line 2959, Exitcode 2 > !!! Install Failed > !!! If you need support, post the topmost build error, NOT this status message. > > Should this be posted to the bug for 2.1 alpha? Does it work in stable portage? > > Thanks, > > William > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQIVAwUBQ0AlEmzglR5RwbyYAQKchg/9HkIL7uDJ1fo7VhTxr+8BG+7T2gWAGXGl adAJUiMYQVkJC6WlD4UW7IRiNeaHC33sRxBgd85MSpC00u3hdZoqDPKVfvpCb/SE 3w3LaypfgaLi15Ne+Gi8TKKqw4cr5SSqurTr8TMz+bHEbWpxx++BQ9OfB9rwHLFa B5+4NGtRoimIXKg+dwKpjau0FhUtU4LSzp6pAoVuBwkfrvGQN//BFIfWKca5vo5k FHFFLUgHrOMFZ0+UB5G+J6YtRr+039kVTpKWFVRHRL1UyT/zjSmhMugxHHjJyKHZ HA7HJgkPsayfe6jM5fMqmBimdkj9q0xLQAO8Cudd8U+Of03UdD2oVfUVsVKq+UZV r/+WDox2DPkHOlsWhw7ckkEzTf+gnYBeqs0yRWV/e3T1rpq2PfoD1qokHpDYaJbD 2T6vtY7nJuC6rm4QlEAYtvN2ptZ4xDe0AuUJh6b34uqZmlFExlhkEsG9LmcUYQLj TAl+l32tTp66NmZJnamYJ42veDjIXz0tAOLwWs6Oxz0Uhk8THHl8VFcxkhF49UYi kU6MfWaBKNIhsF5dIpiIKhqEew5joEjQ9BtZkh+EIz6rPLTdI320ea9s6z5NlCDm voQGi49rK+RN0bt8XGGs2wonliootpLnzEbSrsycUhlzaUZEUNdkDgxI4VjXbtbA enCPksyW0dQ= =fvyo -----END PGP SIGNATURE----- -- gentoo-portage-dev@gentoo.org mailing list