Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271491 - subversion.eclass: subversion_src_unpack unpacks source into ${S} directory
Summary: subversion.eclass: subversion_src_unpack unpacks source into ${S} directory
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal
Assignee: Arfrever Frehtes Taifersar Arahesis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-28 05:36 UTC by Markos Chandras (RETIRED)
Modified: 2010-01-07 14:33 UTC (History)
1 user (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 Markos Chandras (RETIRED) gentoo-dev 2009-05-28 05:36:19 UTC
Usually we need to override S directory like this

S="${WORKDIR}/${PN}/src" for example

But subversion is unpacking source under ${S} which is wrong

So lets say we do the following

S="${WORKDIR}/${P}/src"
src_prepare(){
[...]
}

src_prepare will try to do stuff under ${S} assuming that source files had been extracted under ${WORKDIR}/${P} as usuall.That aint gonna happen since the source files are located under ${S} instead of ${WORKDIR}/${P}.

So the only way to override this is to override ${S} variable after src_unpack phase.



Reproducible: Always

Steps to Reproduce:
1.override ${S} on live ebuilds which are inheriting subversion eclass
2.
3.
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-05-28 07:08:55 UTC
Hi,
same behavior has git eclass
it is because we allow to have any S defined and extract into it. It is more usefull in most cases than having hardcoded some S and allow some overriding.

I think there might be live specific variable that explicitly states where to start work in.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2009-05-28 09:42:02 UTC
Tomas, sure it might be handy but there could be a variable to override this feature

I ll assign it to maintainer in order to chit chat about this :P

Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-01-07 14:33:32 UTC
I guess this bug wont be fixed
closing