From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge portage error
Date: Sun, 16 May 2010 15:44:05 +0200 [thread overview]
Message-ID: <201005161544.05855.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <4BEFEEB8.9060301@gmail.com>
On Sunday 16 May 2010 15:10:16 Simon wrote:
> Hi,
>
> Please help me to get rid of this error while emerging portage:
> # emerge portage
[snip]
Yea gods, the youth of today. In my day, when I was a little whipper-snapper,
we actually read the ebuild. Why because? Because there was no-one else around
to do our looking by proxy for us!
So, in the interest of decomming the proxy in my head, herewith the magic
incantations to make your problem go "Poof!" and disappear:
Firstly, you have tools to help. equery, euse, and many more. Learn how to use
them, and use them.
Secondly, read the ebuild. portage does what the ebuild says so the master
reference to figure out why portage wants to do something is in the ebuild (or
eclasses that it inherits).
> * "bsddb" module is out-of-date and no longer maintained inside
> dev-lang/python. It has
> * been additionally removed in Python 3. You should use external,
> still maintained "bsddb3"
> * module provided by dev-python/bsddb3 which supports both Python 2
> and Python 3.
> *
> * ERROR: dev-lang/python-2.5.4-r4 failed.
> * Call stack:
> * ebuild.sh, line 49: Called pkg_setup
> * python-2.5.4-r4.ebuild, line 64: Called built_with_use
> 'pkg_setup' 'pkg_setup'
> * eutils.eclass, line 1862: Called die
> * The specific snippet of code:
> * die) die "$PKG does not
> actually support the $1 USE flag!";;
> * The die message:
> * sys-devel/gcc-4.1.2 does not actually support the libffi USE flag!
From the ebuild:
pkg_setup() {
if use berkdb; then
ewarn "\"bsddb\" module is out-of-date and no longer
maintained inside dev-lang/python. It has"
ewarn "been additionally removed in Python 3. You should use
external, still maintained \"bsddb3\""
ewarn "module provided by dev-python/bsddb3 which supports
both Python 2 and Python 3."
fi
if built_with_use sys-devel/gcc libffi; then
die "Reinstall sys-devel/gcc with \"libffi\" USE flag
disabled"
fi
}
So, to get rid of the bsddb ewarn, you need to remove that "berkdb" from USE.
And the build failure is staring you right there in the face. As we say here
at the tip of Africa, "As dit 'n slang was, het dit jou gepik" [If it were a
snake, it would have already bitten you].
You have "USE=libffi" which doesn't work. Remove it, sync the tree, rebuild
world. (your portage and gcc versions have updates available, even on stable)
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2010-05-16 13:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-16 13:10 [gentoo-user] emerge portage error Simon
2010-05-16 13:44 ` Alan McKinnon [this message]
2010-05-18 12:11 ` Barry Jibb
2010-05-18 12:18 ` Mick
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=201005161544.05855.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@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