Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with Portage live ebuild: "Permission denied"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Mon Feb 05, 2018 8:20 pm    Post subject: Problem with Portage live ebuild: "Permission denied&qu Reply with quote

[Moderator note: This post was originally attached to the 2 year solved topic Problem with live ebuilds: "Permission denied", despite having different symptoms and that thread being solved. This post had no title. -Hu]

I get a similar error, but in /var/tmp :o

Code:
MAKEOPTS="-j1" emerge -1 portage                                                                                                                                                                                                             
Calculating dependencies     ... done!                                                                                                                                                                                                                                       
>>> Verifying ebuild manifests                                                                                                                                                                                                                                               
>>> Emerging (1 of 1) sys-apps/portage-9999::gentoo
>>> Failed to emerge sys-apps/portage-9999, Log file:
>>>  '/var/log/portage/sys-apps:portage-9999:20180205-201707.log.gz'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.91, 0.68, 0.63
 * Package:    sys-apps/portage-9999                                                                                                                                                                                                                                         
 * Repository: gentoo                                                                                                                                                                                                                                                         
 * Maintainer: dev-portage@gentoo.org                                                                                                                                                                                                                                         
 * Upstream:   dev-portage@gentoo.org                                                                                                                                                                                                                                         
 * USE:        abi_x86_64 amd64 elibc_glibc ipc kernel_linux native-extensions python_targets_python2_7 python_targets_python3_6 rsync-verify userland_GNU xattr                                                                                                             
 * FEATURES:   preserve-libs sandbox userpriv usersandbox                                                                                                                                                                                                                     
>>> Unpacking source...                                                                                                                                                                                                                                                       
mkdir: cannot create directory ‘/var/tmp/portage/sys-apps/portage-9999/distdir/git3-src’: Permission denied                                                                                                                                                                   
 * ERROR: sys-apps/portage-9999::gentoo failed (unpack phase):                                                                                                                                                                                                               
 *   Unable to create /var/tmp/portage/sys-apps/portage-9999/distdir/git3-src                                                                                                                                                                                                 
 *                                                                                                                                                                                                                                                                           
 * Call stack:                                                                                                                                                                                                                                                               
 *     ebuild.sh, line  124:  Called src_unpack                                                                                                                                                                                                                               
 *   environment, line 3341:  Called git-r3_src_unpack                                                                                                                                                                                                                       
 *   environment, line 2044:  Called git-r3_src_fetch                                                                                                                                                                                                                         
 *   environment, line 2038:  Called git-r3_fetch                                                                                                                                                                                                                             
 *   environment, line 1806:  Called _git-r3_set_gitdir 'https://anongit.gentoo.org/git/proj/portage.git'                                                                                                                                                                     
 *   environment, line  547:  Called die                                                                                                                                                                                                                                     
 * The specific snippet of code:                                                                                                                                                                                                                                             
 *           mkdir -p "${EGIT3_STORE_DIR}" ) || die "Unable to create ${EGIT3_STORE_DIR}";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/portage-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/portage-9999::gentoo'`.
 * The complete build log is located at '/var/log/portage/sys-apps:portage-9999:20180205-201707.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/portage-9999/work'
 * S: '/var/tmp/portage/sys-apps/portage-9999/work/portage-9999'


Any ideas what to do?
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30838
Location: here

PostPosted: Tue Feb 06, 2018 7:05 am    Post subject: Reply with quote

The permissions on /var/tmp are correct (post an ls -l /var)?
Install portage 9999 is not a good idea
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Tue Feb 06, 2018 3:05 pm    Post subject: Reply with quote

fedeliallalinea wrote:
The permissions on /var/tmp are correct (post an ls -l /var)?
Install portage 9999 is not a good idea


Code:
ls -l /var
total 48
drwxr-xr-x  8 root root  4096 feb 27  2017 cache
drwxr-xr-x  3 root root  4096 feb  5 22:17 db
drwxr-xr-x  2 root root  4096 mar 27  2017 empty
drwxr-xr-x 28 root root  4096 oct  1 02:13 lib
lrwxrwxrwx  1 root root     9 jun 23  2016 lock -> /run/lock
drwxr-xr-x 16 root root  4096 feb  3 22:17 log
drwx------  2 root root 16384 jun 25  2016 lost+found
lrwxrwxrwx  1 root root    15 ene  7 04:19 mail -> /var/spool/mail
lrwxrwxrwx  1 root root     4 jun 23  2016 run -> /run
drwxr-xr-x  4 root root  4096 ene  9  2017 spool
drwxr-xr-x  3 root root  4096 oct 30  2016 svc.d
drwxrwxrwt  7 root root  4096 ene  8 00:20 tmp


:?
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Sat Feb 17, 2018 8:47 am    Post subject: Reply with quote

:?: :?: :?: :?: :?: :?: :?: :?: :?: :?: :?:
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum