Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7736 - emerging specific package versions has problems
Summary: emerging specific package versions has problems
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-10 04:20 UTC by george
Modified: 2011-10-30 22:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description george 2002-09-10 04:20:42 UTC
When trying to emerge a particular ebuild with portage 2.0.36 I have found two
problems.  This happens for all (that I've tested) packages.  Example follows:

From emerge man/help I tried:

emerge -b net-mail/ssmtp-2.38.14-r1

I get an error saying that there is no such ebuild but emerge -s says that there
is.  After some playing I find that the following does work:

emerge -b =net-mail/ssmtp-2.38.14-r1

This just needs the code and documentation to be consistent but isn't a big
deal.  However I also noticed (eventually) that the package doesn't get put into
world which does give me a problem.

While thinking this through I have realised that this may be intentional so this
may be a request for info rather than a bug report.  However I would like to
know, as I am going to have to rethink some scripts because of this.

I also get the same behaviour with -p in place of -b, with neither and with the
package in single quotes.

However while playing further, I find that:

emerge 'net-mail/ssmtp-2.38.14-r1.ebuild'

Fails with:
Calculating dependencies \!!! doebuild:
/usr/portage/tmp/ssmtp/ssmtp-2.38.14-r1.ebuild not found.
portage: aux_get(): (1) couldn't open cache entry for tmp/ssmtp-2.38.14-r1
(likely caused by syntax error or corruption in the tmp/ssmtp-2.38.14-r1 ebuild.)
emerge: create(): aux_get() error on tmp/ssmtp-2.38.14-r1; aborting...

Keep up the good work and thanks,
George.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-09-21 13:50:23 UTC
Needing the "=" is normal; 'net-mail/ssmtp-2.38.14-r1.ebuild' failed because you
didn't specify the *path* to the ebuild, and I tightened up the errors a bit in
2.0.38 to make things a little less weird.
Comment 2 george 2002-09-27 09:52:08 UTC
I'm happy with what happens but I still think that there's scope for confusion
in the help and man page.  I'll try and find the time to go through them
thoroughly and make some suggestions.  It isn't likely to be soon but I seem to
be the only person who's got confused (and even that wasn't for long) so there
doesn't seem to be any rush anyway.

Thanks