Gentoo Archives: gentoo-user

From: Paige Thompson <erratic@××××××××××.sx>
To: gentoo-user@l.g.o
Subject: [gentoo-user] using cmake with ebuild
Date: Thu, 09 Oct 2014 15:42:16
Message-Id: 5436AC73.7070306@yourstruly.sx
1 Hi,
2
3 trying to figure out how to fix a problem I'm having with my ebuild:
4 https://github.com/paigeadele/netcrave/blob/master/net-irc/anope/anope-9999.ebuild
5
6 compiles fine, fails on install?
7
8 Should I just do sed -i and remove this path from the CMakeLists.txt or
9 something?
10
11 here's the problem:
12
13 Install the project...
14 -- Install configuration: "Gentoo"
15 * ACCESS DENIED: mkdir: /usr/data <--- do I have to create this
16 dir with dodir or something ?
17 CMake Error at cmake_install.cmake:36 (file):
18 file problem creating directory: /usr/data/backups
19
20
21 make: *** [install] Error 1
22 * ERROR: net-irc/anope-9999::netcrave-ebuilds failed (install phase):
23 * emake failed
24 *
25 * If you need support, post the output of `emerge --info
26 '=net-irc/anope-9999::netcrave-ebuilds'`,
27 * the complete build log and the output of `emerge -pqv
28 '=net-irc/anope-9999::netcrave-ebuilds'`.
29 * The complete build log is located at
30 '/var/tmp/portage/net-irc/anope-9999/temp/build.log'.
31 * The ebuild environment file is located at
32 '/var/tmp/portage/net-irc/anope-9999/temp/environment'.
33 * Working directory:
34 '/var/tmp/portage/net-irc/anope-9999/work/anope-9999_build'
35 * S: '/var/tmp/portage/net-irc/anope-9999/work/anope-9999'
36 * --------------------------- ACCESS VIOLATION SUMMARY
37 ---------------------------
38 * LOG FILE: "/var/log/sandbox/sandbox-7388.log"
39 *
40 VERSION 1.0
41 FORMAT: F - Function called
42 FORMAT: S - Access Status
43 FORMAT: P - Path as passed to function
44 FORMAT: A - Absolute Path (not canonical)
45 FORMAT: R - Canonical Path
46 FORMAT: C - Command Line
47
48 F: mkdir
49 S: deny
50 P: /usr/data
51 A: /usr/data
52 R: /usr/data
53 C: /usr/bin/cmake -P cmake_install.cmake
54 *
55 --------------------------------------------------------------------------------
56
57 >>> Failed to emerge net-irc/anope-9999, Log file:
58
59 >>> '/var/tmp/portage/net-irc/anope-9999/temp/build.log'
60
61 * Messages for package net-irc/anope-9999:
62
63 * ERROR: net-irc/anope-9999::netcrave-ebuilds failed (install phase):
64 * emake failed
65 *
66 * If you need support, post the output of `emerge --info
67 '=net-irc/anope-9999::netcrave-ebuilds'`,
68 * the complete build log and the output of `emerge -pqv
69 '=net-irc/anope-9999::netcrave-ebuilds'`.
70 * The complete build log is located at
71 '/var/tmp/portage/net-irc/anope-9999/temp/build.log'.
72 * The ebuild environment file is located at
73 '/var/tmp/portage/net-irc/anope-9999/temp/environment'.
74 * Working directory:
75 '/var/tmp/portage/net-irc/anope-9999/work/anope-9999_build'
76 * S: '/var/tmp/portage/net-irc/anope-9999/work/anope-9999'
77 irc ~ #

Replies

Subject Author
Re: [gentoo-user] using cmake with ebuild Paige Thompson <erratic@××××××××××.sx>