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 1RKiyP-00051W-QX 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 9117421C035 for ; Mon, 31 Oct 2011 03:55:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j92HRgbk030139 for ; Sun, 2 Oct 2005 17:27:43 GMT Received: from sccrmhc11.comcast.net ([204.127.202.55]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1EM7kQ-0006ac-9v for gentoo-portage-dev@lists.gentoo.org; Sun, 02 Oct 2005 17:35:38 +0000 Received: from linux1.home (c-24-0-243-195.hsd1.tx.comcast.net[24.0.243.195]) by comcast.net (sccrmhc11) with ESMTP id <2005100217353801100rh45ue>; Sun, 2 Oct 2005 17:35:38 +0000 Received: by linux1.home (Postfix, from userid 1000) id 06B6B805A; Sun, 2 Oct 2005 12:35:37 -0500 (CDT) Date: Sun, 2 Oct 2005 12:35:37 -0500 From: William Hubbs To: gentoo-portage-dev@lists.gentoo.org Subject: [gentoo-portage-dev] possible bug with 2.1 alpha? Message-ID: <20051002173537.GA31467@linux1.home> Mail-Followup-To: gentoo-portage-dev@gentoo.org 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 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline User-Agent: Mutt/1.5.8i X-Archives-Salt: 0137abf0-3474-4a93-849d-c64ead8ccd48 X-Archives-Hash: 65646a7629a2520f14f9248cd2a25e70 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. :-) 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? Thanks, William -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDQBppblQW9DDEZTgRAjkQAKCwuWy9C2b+GBV/2cd5KKz8Z99s7ACdG52M WAe+6b4JzZzd0yvw8VjhTBs= =A3Ts -----END PGP SIGNATURE----- -- gentoo-portage-dev@gentoo.org mailing list