SonicFrog / overlay

Stuff not in the main portage tree
1 stars 1 forks source link

ACCESS DENIED to write /usr/bin #5

Open blitzmikyu opened 5 years ago

blitzmikyu commented 5 years ago

Verifying ebuild manifests

Emerging (1 of 1) x11-misc/i3lock-fancy-9999::SonicFrog Unpacking source...

  • Repository id: meskarune_i3lock-fancy.git
  • To override fetched repository properties, use:
  • EGIT_OVERRIDE_REPO_MESKARUNE_I3LOCK_FANCY
  • EGIT_OVERRIDE_BRANCH_MESKARUNE_I3LOCK_FANCY
  • EGIT_OVERRIDE_COMMIT_MESKARUNE_I3LOCK_FANCY
  • EGIT_OVERRIDE_COMMIT_DATE_MESKARUNE_I3LOCK_FANCY
  • Fetching https://github.com/meskarune/i3lock-fancy.git ... git fetch https://github.com/meskarune/i3lock-fancy.git +HEAD:refs/git-r3/HEAD git symbolic-ref refs/git-r3/x11-misc/i3lock-fancy/0/main refs/git-r3/HEAD
  • Checking out https://github.com/meskarune/i3lock-fancy.git to /var/tmp/portage/x11-misc/i3lock-fancy-9999/work/i3lock-fancy-9999 ... git checkout --quiet refs/git-r3/HEAD GIT update --> repository: https://github.com/meskarune/i3lock-fancy.git at the commit: 7accfb2aa2f918d1a3ab975b860df1693d20a81a Source unpacked in /var/tmp/portage/x11-misc/i3lock-fancy-9999/work Preparing source in /var/tmp/portage/x11-misc/i3lock-fancy-9999/work/i3lock-fancy-9999 ... Source prepared. Configuring source in /var/tmp/portage/x11-misc/i3lock-fancy-9999/work/i3lock-fancy-9999 ... sed: can't read lock: No such file or directory Source configured. Compiling source in /var/tmp/portage/x11-misc/i3lock-fancy-9999/work/i3lock-fancy-9999 ... make -j16
  • ACCESS DENIED: open_wr: /usr/bin/i3lock-fancy /usr/bin/install: cannot create regular file '/usr/bin/i3lock-fancy': Permission denied make: *** [Makefile:7: install] Error 1
  • ERROR: x11-misc/i3lock-fancy-9999::SonicFrog failed (compile phase):
  • emake failed
  • If you need support, post the output of emerge --info '=x11-misc/i3lock-fancy-9999::SonicFrog',
  • the complete build log and the output of emerge -pqv '=x11-misc/i3lock-fancy-9999::SonicFrog'.
  • The complete build log is located at '/var/tmp/portage/x11-misc/i3lock-fancy-9999/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/x11-misc/i3lock-fancy-9999/temp/environment'.
  • Working directory: '/var/tmp/portage/x11-misc/i3lock-fancy-9999/work/i3lock-fancy-9999'
  • S: '/var/tmp/portage/x11-misc/i3lock-fancy-9999/work/i3lock-fancy-9999'
  • --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
  • LOG FILE: "/var/log/sandbox/sandbox-4.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: open_wr S: deny P: /usr/bin/i3lock-fancy A: /usr/bin/i3lock-fancy R: /usr/bin/i3lock-fancy C: /usr/bin/install -Dm755 -t /usr/bin i3lock-fancy

Failed to emerge x11-misc/i3lock-fancy-9999, Log file:

'/var/tmp/portage/x11-misc/i3lock-fancy-9999/temp/build.log'

fedeliallalinea commented 5 years ago

A working ebuild. I only tested if the install works

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit git-r3

DESCRIPTION="A fancy i3lock"
HOMEPAGE="https://github.com/meskarune/i3lock-fancy"
EGIT_REPO_URI="https://github.com/meskarune/i3lock-fancy.git"
LICENSE="BSD"
SRC_URI=""
SLOT="0"

RDEPEND="app-shells/bash:0
        media-gfx/imagemagick
        virtual/awk
        x11-misc/wmctrl
        media-gfx/scrot
        x11-misc/i3lock-color"

DEPEND="${RDEPEND}"

src_compile() {
    :
}
blitzmikyu commented 5 years ago

thank you, your ebuild works.