Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374165 - sci-libs/votca-tools-1.2 fails to compile with USE=boost
Summary: sci-libs/votca-tools-1.2 fails to compile with USE=boost
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Christoph Junghans (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-05 18:19 UTC by James Cloos
Modified: 2011-07-06 14:45 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 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.