Hi,

trying to figure out how to fix a problem I'm having with my ebuild:
https://github.com/paigeadele/netcrave/blob/master/net-irc/anope/anope-9999.ebuild

compiles fine, fails on install?

Should I just do sed -i and remove this path from the CMakeLists.txt  or
something?

here's the problem:

Install the project...
-- Install configuration: "Gentoo"
 * ACCESS DENIED:  mkdir:        /usr/data <--- do I have to create this
dir with dodir or something ?
CMake Error at cmake_install.cmake:36 (file):
  file problem creating directory: /usr/data/backups


make: *** [install] Error 1
 * ERROR: net-irc/anope-9999::netcrave-ebuilds failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info
'=net-irc/anope-9999::netcrave-ebuilds'`,
 * the complete build log and the output of `emerge -pqv
'=net-irc/anope-9999::netcrave-ebuilds'`.
 * The complete build log is located at
'/var/tmp/portage/net-irc/anope-9999/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/net-irc/anope-9999/temp/environment'.
 * Working directory:
'/var/tmp/portage/net-irc/anope-9999/work/anope-9999_build'
 * S: '/var/tmp/portage/net-irc/anope-9999/work/anope-9999'
 * --------------------------- ACCESS VIOLATION SUMMARY
---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-7388.log"
 *
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: /usr/data
A: /usr/data
R: /usr/data
C: /usr/bin/cmake -P cmake_install.cmake
 *
--------------------------------------------------------------------------------

>>> Failed to emerge net-irc/anope-9999, Log file:

>>>  '/var/tmp/portage/net-irc/anope-9999/temp/build.log'

 * Messages for package net-irc/anope-9999:

 * ERROR: net-irc/anope-9999::netcrave-ebuilds failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info
'=net-irc/anope-9999::netcrave-ebuilds'`,
 * the complete build log and the output of `emerge -pqv
'=net-irc/anope-9999::netcrave-ebuilds'`.
 * The complete build log is located at
'/var/tmp/portage/net-irc/anope-9999/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/net-irc/anope-9999/temp/environment'.
 * Working directory:
'/var/tmp/portage/net-irc/anope-9999/work/anope-9999_build'
 * S: '/var/tmp/portage/net-irc/anope-9999/work/anope-9999'
irc ~ #




Reply via email to