Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556660 - dev-util/schroot-1.6.10-r2 wrong localstatedir
Summary: dev-util/schroot-1.6.10-r2 wrong localstatedir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jonathan Callen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-04 12:18 UTC by Alex Turbov
Modified: 2015-08-06 00:02 UTC (History)
0 users

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


Attachments
patch to current ebuild (schroot-1.6.10-fix-localstatedir.patch,393 bytes, patch)
2015-08-04 12:18 UTC, Alex Turbov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Turbov 2015-08-04 12:18:20 UTC
GNUInstallDirs.cmake used by schroot set incorrect path for SYSCONFDIR and LOCALSTATEDIR if CMAKE_INSTALL_PREFIX is `/usr`, so both must be specified at configure time.

Nowadays, schroot claims that can't lock `/usr/var/lib/schroot/...`. The patch attached fixes that.

Reproducible: Always
Comment 1 Alex Turbov 2015-08-04 12:18:56 UTC
Created attachment 408266 [details, diff]
patch to current ebuild
Comment 2 Jonathan Callen (RETIRED) gentoo-dev 2015-08-06 00:02:53 UTC
--- ./ChangeLog
+++ ./ChangeLog
@@ -4,0 +5,7 @@
+*schroot-1.6.10-r3 (06 Aug 2015)
+
+  06 Aug 2015; Jonathan Callen <jcallen@gentoo.org> +schroot-1.6.10-r3.ebuild,
+  -schroot-1.6.10-r2.ebuild:
+  Add LOCALSTATEDIR to cmake args to ensure that /var is used instead of
+  /usr/var.  Thanks to Alex Turbov, bug #556660.
+