public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Hubbs <williamh@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: [gentoo-portage-dev] possible bug with 2.1 alpha?
Date: Sun, 2 Oct 2005 12:35:37 -0500	[thread overview]
Message-ID: <20051002173537.GA31467@linux1.home> (raw)

-----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



             reply	other threads:[~2011-10-31  3:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-02 17:35 William Hubbs [this message]
2005-10-02 18:21 ` [gentoo-portage-dev] possible bug with 2.1 alpha? Alec Warner
2005-10-02 18:31 ` Thomas de Grenier de Latour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051002173537.GA31467@linux1.home \
    --to=williamh@gentoo.org \
    --cc=gentoo-portage-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox