Jump to content
  • 0
Sign in to follow this  
adcdam

openrc-0.35.0_beta1 failed to compile

Question

Hi, i get this:

 

how can i solve that?

>>> Unpacking source...
mkdir: cannot create directory ‘/var/cache/portage/distfiles/git3-src/OpenRC_openrc.git’: Permission denied
 * ERROR: sys-apps/openrc-0.35.0_beta1::core-kit failed (unpack phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  121:  Called src_unpack
 *   environment, line 3219:  Called git-r3_src_unpack
 *   environment, line 2165:  Called git-r3_src_fetch
 *   environment, line 2159:  Called git-r3_fetch
 *   environment, line 1956:  Called _git-r3_set_gitdir 'https://github.com/OpenRC/openrc.git'
 *   environment, line  476:  Called die
 * The specific snippet of code:
 *           mkdir "${GIT_DIR}" || die;
 *
 * If you need support, post the output of `emerge --info '=sys-apps/openrc-0.35.0_beta1::core-kit'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/openrc-0.35.0_beta1::core-kit'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/work'
 * S: '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/work/openrc-0.35.0_beta1'

>>> Failed to emerge sys-apps/openrc-0.35.0_beta1, Log file:

>>>  '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/temp/build.log'

 * Messages for package sys-apps/openrc-0.35.0_beta1:

 * ERROR: sys-apps/openrc-0.35.0_beta1::core-kit failed (unpack phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  121:  Called src_unpack
 *   environment, line 3219:  Called git-r3_src_unpack
 *   environment, line 2165:  Called git-r3_src_fetch
 *   environment, line 2159:  Called git-r3_fetch
 *   environment, line 1956:  Called _git-r3_set_gitdir 'https://github.com/OpenRC/openrc.git'
 *   environment, line  476:  Called die
 * The specific snippet of code:
 *           mkdir "${GIT_DIR}" || die;
 *
 * If you need support, post the output of `emerge --info '=sys-apps/openrc-0.35.0_beta1::core-kit'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/openrc-0.35.0_beta1::core-kit'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/work'
 * S: '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/work/openrc-0.35.0_beta1'

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

looks like permission problems.

steps to reproduce? are you running as root? can you write to /var/cache/portage/distfiles? what are permissions on that dir? is portage able to write there?

2 hours ago, adcdam said:

mkdir: cannot create directory ‘/var/cache/portage/distfiles/git3-src/OpenRC_openrc.git’: Permission denied

 

those are all questions you could avoid answering when you would read this :)

 

Share this post


Link to post
Share on other sites
  • 0

Hi, yes portage is able to write there, i updated today and there are lots of new version packages  is in /var/cache /portage/distfiles so portage is able to write there, openrc was the only package that wasnt able to update. 

if i manually create  OpenRC_openrc.git dir inside /var/cache/portage/distfiles/git3-src i get this

>>> Emerging (1 of 1) sys-apps/openrc-0.35.0_beta1::core-kit
>>> Unpacking source...
 * Fetching https://github.com/OpenRC/openrc.git ...
git fetch https://github.com/OpenRC/openrc.git +HEAD:refs/git-r3/HEAD
fatal: Not a git repository: '/var/cache/portage/distfiles/git3-src/OpenRC_openrc.git'
 * ERROR: sys-apps/openrc-0.35.0_beta1::core-kit failed (unpack phase):
 *   Unable to fetch from any of EGIT_REPO_URI
 *
 * Call stack:
 *     ebuild.sh, line  121:  Called src_unpack
 *   environment, line 3219:  Called git-r3_src_unpack
 *   environment, line 2165:  Called git-r3_src_fetch
 *   environment, line 2159:  Called git-r3_fetch
 *   environment, line 2081:  Called die
 * The specific snippet of code:
 *       [[ -n ${success} ]] || die "Unable to fetch from any of EGIT_REPO_URI";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/openrc-0.35.0_beta1::core-kit'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/openrc-0.35.0_beta1::core-kit'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/work'
 * S: '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/work/openrc-0.35.0_beta1'

>>> Failed to emerge sys-apps/openrc-0.35.0_beta1, Log file:

>>>  '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/temp/build.log'

 * Messages for package sys-apps/openrc-0.35.0_beta1:

 * ERROR: sys-apps/openrc-0.35.0_beta1::core-kit failed (unpack phase):
 *   Unable to fetch from any of EGIT_REPO_URI
 *
 * Call stack:
 *     ebuild.sh, line  121:  Called src_unpack
 *   environment, line 3219:  Called git-r3_src_unpack
 *   environment, line 2165:  Called git-r3_src_fetch
 *   environment, line 2159:  Called git-r3_fetch
 *   environment, line 2081:  Called die
 * The specific snippet of code:
 *       [[ -n ${success} ]] || die "Unable to fetch from any of EGIT_REPO_URI";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/openrc-0.35.0_beta1::core-kit'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/openrc-0.35.0_beta1::core-kit'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/work'
 * S: '/var/tmp/portage/sys-apps/openrc-0.35.0_beta1/work/openrc-0.35.0_beta1'

 

Edited by adcdam

Share this post


Link to post
Share on other sites
  • 0

Hi, thanks that was the problem portage owns distfile directory but not git3-src i  changed that and i was able to install openrc 0.35 but when booting it say rc is deprecated, please use openrc instead and etc/init.d/udev use runscript, please convert to openrc udev

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...