Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 374165

Summary: sci-libs/votca-tools-1.2 fails to compile with USE=boost
Product: Gentoo Linux Reporter: James Cloos <cloos>
Component: New packagesAssignee: Christoph Junghans (RETIRED) <junghans>
Status: RESOLVED FIXED    
Severity: normal CC: sci-chemistry
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James Cloos 2011-07-05 18:19:05 UTC
If boost is in USE, votca-tools uses the src votca-tools-1.2_pristine.tar.gz whereas with -boost it uses votca-tools-1.2.tar.gz.

the _pristine tar extract to .../votca-tools-1.2/work/votca-tools-1.2_pristine
but the ebuild expects $S to be .../votca-tools-1.2/work/votca-tools-1.2 which breaks the merge.

The sequence:

:; ebuild /usr/portage/sci-libs/votca-tools/votca-tools-1.2.ebuild unpack
:; mv /var/tmp/portage/sci-libs/votca-tools-1.2/work/votca-tools-1.2_pristine
/var/tmp/portage/sci-libs/votca-tools-1.2/work/votca-tools-1.2
:; ebuild /usr/portage/sci-libs/votca-tools/votca-tools-1.2.ebuild merge

works, so the fix is either to set $S based on whether boost is set or to rename the extracted directory to s/_pristine//.


Reproducible: Always

Steps to Reproduce:
1. USE=boost emerge sci-libs/vocta-tools
2.
3.
Comment 1 Christoph Junghans (RETIRED) gentoo-dev 2011-07-06 14:45:28 UTC
Make no use of pristine tarball for now.

Prefix dir in tarball was fixed upstream, so it will work in 1.2.1 again.