* [gentoo-user] using cmake with ebuild
@ 2014-10-09 15:40 Paige Thompson
2014-10-09 16:09 ` Paige Thompson
0 siblings, 1 reply; 2+ messages in thread
From: Paige Thompson @ 2014-10-09 15:40 UTC (permalink / raw
To: gentoo-user
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 ~ #
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] using cmake with ebuild
2014-10-09 15:40 [gentoo-user] using cmake with ebuild Paige Thompson
@ 2014-10-09 16:09 ` Paige Thompson
0 siblings, 0 replies; 2+ messages in thread
From: Paige Thompson @ 2014-10-09 16:09 UTC (permalink / raw
To: gentoo-user
On 10/09/14 18:40, Paige Thompson wrote:
> 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 ~ #
>
>
>
>
Sorry I have a little bit more information:
cmake_install.cmake:36 (this is generated at some point, cmake-utils_src_configure?)
file(MAKE_DIRECTORY "${CMAKE_INSTALL_PREFIX}/data/backups")
I guess CMAKE_INSTALL_PREFIX is not getting set to the path of sandbox? seems weird to me that it wouldn't :/ any help appreciated
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-09 16:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-09 15:40 [gentoo-user] using cmake with ebuild Paige Thompson
2014-10-09 16:09 ` Paige Thompson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox