Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68372 - "emerging by path is broken" warning shows up when it shouldn't
Summary: "emerging by path is broken" warning shows up when it shouldn't
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-10-21 03:50 UTC by Harald van Dijk (RETIRED)
Modified: 2004-10-22 01:40 UTC (History)
0 users

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


Attachments
emerge-ebuild.patch (emerge-ebuild.patch,367 bytes, patch)
2004-10-21 03:56 UTC, Harald van Dijk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Harald van Dijk (RETIRED) gentoo-dev 2004-10-21 03:50:38 UTC
When a file exists in the current directory with the same name as a package name, portage 2.0.51's emerge shows the warning, but other than that doesn't do anything differently.

Reproducible: Always
Steps to Reproduce:
1. emerge metalog # creates a /etc/metalog directory
2. cd /etc
3. emerge metalog
Actual Results:  
$ emerge metalog
emerging by path implies --oneshot... adding --oneshot to options.

*** emerging by path is broken and may not always work!!!

Calculating dependencies ...done!
>>> emerge (1 of 1) app-admin/metalog-0.8_pre20031130 to /
>>> md5 src_uri ;-) metalog-0.8_pre20031130.tar.gz
[...]

Expected Results:  
$ emerge metalog
Calculating dependencies ...done!
>>> emerge (1 of 1) app-admin/metalog-0.8_pre20031130 to /
>>> md5 src_uri ;-) metalog-0.8_pre20031130.tar.gz
[...]
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2004-10-21 03:56:41 UTC
Created attachment 42299 [details, diff]
emerge-ebuild.patch

One easy way of getting rid of the warning.
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2004-10-21 07:12:32 UTC
Yep. Casualty of the late night mad rush just before a release. Pretty much used your patch and just addded x[-5:]==".tbz2" as well. Lucky it was only cosmetic. :)
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2004-10-22 01:40:31 UTC
I see there's a 2.0.51-r2 already, the fix is in it, and it's marked stable. I guess I can close this. Thanks.