File: README.source

package info (click to toggle)
exaile 0.3.2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,564 kB
  • sloc: python: 35,424; makefile: 265; sh: 58
file content (31 lines) | stat: -rw-r--r-- 1,217 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
exaile for Debian
------------------

Important notes when building this package:

This package can NOT be built as root or with fakeroot, because
1) exaile has a run-time check to prevent it from being run as root
2) help2man requires running ./exaile --help during the build process
   in order to generate a manpage
3) when run as root (during the build), help2man fails to generate exaile's
   manpage, causing dh_installman to issue an error, and the build fails as a
   result

Therefore, without any configuration changes, building exaile using any one of
pbuilder/cowbuilder/sbuild (or other tools that emulate root) will cause exaile
to FTBFS.

To workaround this problem, set your preferred build helper/tool to NOT build
as root when building exaile. For pbuilder, the process is explained here:

http://pbuilder.alioth.debian.org/#nonrootchroot

Again, using pbuilder as an example, modify either /etc/pbuilderrc or
$HOME/.pbuilderrc to include the following config settings (any id/name
that's not root and not already taken can be used):

BUILDUSERID=1234
BUILDUSERNAME=pbuilder

And then proceed to build exaile by running "pbuilder --build <dsc-file>" or
running "pdebuild" from the source directory.