Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284724 - app-portage/g-ctan should not fail on trailing slashes
Summary: app-portage/g-ctan should not fail on trailing slashes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-12 20:24 UTC by Nico Schlömer
Modified: 2009-09-14 21:45 UTC (History)
0 users

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 Nico Schlömer 2009-09-12 20:24:19 UTC
Hi,

am I the only one ever using this build?

Latest error message:

================================= *snip* =================================
* Configured location /usr/local/portage//g-ctan is not found in
* PORTDIR_OVERLAY variable in /etc/make.conf.  Please
* adjust one of them.
================================= *snap* =================================

Needless to say it *is* set in make.conf. Also, confusingly, /etc/g-ctan/g-ctan.conf sets

G_OVERLAY_DIR="/usr/local/portage"

(with no /g-ctan appendix).

Cheers,
Nico

Reproducible: Always
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2009-09-13 10:54:08 UTC
(In reply to comment #0)
> Hi,
> 
> am I the only one ever using this build?

 I do use it.  And it does not fail for me.

> Latest error message:
> 
> ================================= *snip* =================================
> * Configured location /usr/local/portage//g-ctan is not found in
> * PORTDIR_OVERLAY variable in /etc/make.conf.  Please
> * adjust one of them.
> ================================= *snap* =================================
> 
> Needless to say it *is* set in make.conf. Also, confusingly,
> /etc/g-ctan/g-ctan.conf sets

 Watch the double slash before the g-ctan.  You set it to 

G_OVERLAY_DIR=/usr/local/portage/

probably. Remove the trailing slash and report back please.
 
> G_OVERLAY_DIR="/usr/local/portage"
> 
> (with no /g-ctan appendix).

 You are right.  I will fix that.  This was initially done because I needed the G_OVERLAY_DIR base directory, but the code for that is gone meanwhile.
Comment 2 Nico Schlömer 2009-09-13 15:50:26 UTC
Removing the trailing slash fixed it.

Trailing slashes shouldn't critically interfere with paths though, so I guess *that*'d be the bug now.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2009-09-14 21:45:17 UTC
(In reply to comment #2)
> Removing the trailing slash fixed it.
> 
> Trailing slashes shouldn't critically interfere with paths though, so I guess
> *that*'d be the bug now.

 The test is now trailing-slash-aware.