Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: emerge gentoolkit -OSError:Not a directory:
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
Newbee 12
n00b
n00b


Joined: 31 Oct 2012
Posts: 38
Location: Northwest, USA

PostPosted: Wed May 08, 2013 11:36 pm    Post subject: SOLVED: emerge gentoolkit -OSError:Not a directory: Reply with quote

Any suggestions on how to decipher this:

Here is the short version of emerge.log

    completed emerge (1 of4) dev-python/python-exec-0.2 to /
    completed emerge (2 of 4) dev-lang/python-2.7.3-r2 to /
    completed emerge (3 of 4) virtual/python-argparse-1 to /
    emerge (4 of 4) app-portage/gentoolkit-0.3.0.7 to /
    terminating.


This is the the error as it is showing...

    # emerge gentoolkit
    Calculating dependencies... done!

    >>> Verifying ebuild manifests

    >>> Emerging (1 of 1) app-portage/gentoolkit-0.3.0.7
    Traceback (most recent call last):
    File "/usr/bin/emerge", line 51, in <module>
    retval = emerge_main()
    File "/usr/lib64/portage/pym/_emerge/main.py", line 1044, in emerge_main
    gc_locals=locals().clear)
    File "/usr/lib64/portage/pym/_emerge/actions.py", line 3921, in run_action
    myopts, myaction, myfiles, spinner)
    File "/usr/lib64/portage/pym/_emerge/actions.py", line 478, in action_build
    retval = mergetask.merge()
    File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1011, in merge
    rval = self._merge()
    File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1396, in _merge
    self._main_loop()
    File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1363, in _main_loop
    self._schedule()
    File "/usr/lib64/portage/pym/_emerge/PollScheduler.py", line 127, in _schedule
    self._schedule_tasks()
    File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1564, in _schedule_tasks
    if self._schedule_tasks_imp():
    File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1664, in _schedule_tasks_imp
    self._task_queues.jobs.add(task)
    File "/usr/lib64/portage/pym/_emerge/SequentialTaskQueue.py", line 23, in add
    self.schedule()
    File "/usr/lib64/portage/pym/_emerge/SequentialTaskQueue.py", line 45, in schedule
    task.start()
    File "/usr/lib64/portage/pym/_emerge/AsynchronousTask.py", line 30, in start
    self._start()
    File "/usr/lib64/portage/pym/_emerge/MergeListItem.py", line 93, in _start
    self._start_task(build, self._default_final_exit)
    File "/usr/lib64/portage/pym/_emerge/CompositeTask.py", line 151, in _start_task
    task.start()
    File "/usr/lib64/portage/pym/_emerge/AsynchronousTask.py", line 30, in start
    self._start()
    File "/usr/lib64/portage/pym/_emerge/EbuildBuild.py", line 88, in _start
    self._prefetch_exit(prefetcher)
    File "/usr/lib64/portage/pym/_emerge/EbuildBuild.py", line 143, in _prefetch_exit
    self._build_dir.lock()
    File "/usr/lib64/portage/pym/_emerge/EbuildBuildDir.py", line 58, in lock
    builddir_lock.start()
    File "/usr/lib64/portage/pym/_emerge/AsynchronousTask.py", line 30, in start
    self._start()
    File "/usr/lib64/portage/pym/_emerge/AsynchronousLock.py", line 47, in _start
    wantnewlockfile=True, flags=os.O_NONBLOCK)
    File "/usr/lib64/portage/pym/portage/locks.py", line 103, in lockfile
    myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR, 0o660)
    File "/usr/lib64/portage/pym/portage/__init__.py", line 246, in __call__
    rval = self._func(*wrapped_args, **wrapped_kwargs)
    OSError: [Errno 20] Not a directory: '/var/tmp/portage/app-portage/.gentoolkit-0.3.0.7.portage_lockfile'

_________________
Newbee 12


Last edited by Newbee 12 on Mon Jun 10, 2013 7:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Thu May 09, 2013 12:33 am    Post subject: Reply with quote

What version of portage are you using?

Please post the output of
Code:
emerge --info app-portage/gentoolkit

_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Thu May 09, 2013 2:37 am    Post subject: Reply with quote

Not a directory means that some component of the path should have been a directory, but instead was some other type of filesystem object. What is the output of ls -la /{,var{,/tmp{,/portage{,/app-portage}}}}?
Back to top
View user's profile Send private message
Newbee 12
n00b
n00b


Joined: 31 Oct 2012
Posts: 38
Location: Northwest, USA

PostPosted: Thu May 09, 2013 3:08 pm    Post subject: Reply with quote

dol-sen wrote:
What version of portage are you using?

Please post the output of
Code:
emerge --info app-portage/gentoolkit

NewBee 12 wrote:


    Portage 2.1.11.52 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo x86_64)
    =================================================================
    System Settings
    =================================================================
    System uname: Linux-3.7.10-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5504_@_2.00GHz-with-gentoo-2.1
    KiB Mem: 4042332 total, 2931832 free
    KiB Swap: 4194300 total, 4194300 free
    Timestamp of tree: Wed, 08 May 2013 00:45:01 +0000
    ld GNU ld (GNU Binutils) 2.22
    app-shells/bash: 4.2_p37
    dev-lang/python: 2.7.3-r2, 3.2.3
    dev-util/pkgconfig: 0.28
    sys-apps/baselayout: 2.1-r1
    sys-apps/openrc: 0.11.8
    sys-apps/sandbox: 2.5
    sys-devel/autoconf: 2.69
    sys-devel/automake: 1.11.6
    sys-devel/binutils: 2.22-r1
    sys-devel/gcc: 4.6.3
    sys-devel/gcc-config: 1.7.3
    sys-devel/libtool: 2.4-r1
    sys-devel/make: 3.82-r4
    sys-kernel/linux-headers: 3.6 (virtual/os-headers)
    sys-libs/glibc: 2.15-r3
    Repositories: gentoo
    ACCEPT_KEYWORDS="amd64"
    ACCEPT_LICENSE="* -@EULA"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-O2 -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-O2 -pipe"
    DISTDIR="/usr/portage/distfiles"
    FCFLAGS="-O2 -pipe"
    FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
    FFLAGS="-O2 -pipe"
    GENTOO_MIRRORS="http://distfiles.gentoo.org"
    LDFLAGS="-Wl,-O1 -Wl,--as-needed"
    PKGDIR="/usr/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
    PORTAGE_TMPDIR="/var/tmp"
    PORTDIR="/usr/portage"
    PORTDIR_OVERLAY=""
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
    USE="(multilib) acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
    Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

_________________
Newbee 12


Last edited by Newbee 12 on Thu May 09, 2013 10:11 pm; edited 2 times in total
Back to top
View user's profile Send private message
Newbee 12
n00b
n00b


Joined: 31 Oct 2012
Posts: 38
Location: Northwest, USA

PostPosted: Thu May 09, 2013 3:14 pm    Post subject: Reply with quote

Hu wrote:
Not a directory means that some component of the path should have been a directory, but instead was some other type of filesystem object. What is the output of ls -la /{,var{,/tmp{,/portage{,/app-portage}}}}?


NewBee12 wrote:

robin@tux ~ $ ls -la /{,var{,/tmp{,/portage{,/app-portage}}}}
-rw-rwxr-- 1 root portage 0 Apr 18 10:41 /var/tmp/portage/app-portage

/:
total 223788
drwxr-xr-x 21 root root 4096 Apr 18 10:41 .
drwxr-xr-x 21 root root 4096 Apr 18 10:41 ..
drwxr-xr-x 2 root root 4096 Apr 18 11:53 bin
drwxr-xr-x 4 root root 4096 Mar 14 15:27 boot
drwxr-xr-x 14 root root 4100 Apr 18 13:56 dev
-rw-r--r-- 1 root root 4185 Mar 25 11:58 emi
drwxr-xr-x 32 root root 4096 May 8 12:57 etc
drwxr-xr-x 4 root root 4096 Apr 18 08:34 home
-rw-r--r-- 1 root root 328 Mar 25 11:57 ifc
lrwxrwxrwx 1 root root 5 Jan 30 05:39 lib -> lib64
drwxr-xr-x 3 root root 4096 Mar 12 15:01 lib32
drwxr-xr-x 10 root root 4096 May 8 12:52 lib64
drwx------ 2 root root 16384 Mar 8 15:19 lost+found
-rw-r--r-- 1 root root 505 Mar 25 11:58 lsi
-rw-r--r-- 1 root root 6535 Mar 25 12:02 lsm
-rw-r--r-- 1 root root 0 Mar 25 12:04 lsmshutdow
drwxr-xr-x 2 root root 4096 Jan 30 04:43 media
drwxr-xr-x 2 root root 4096 Jan 30 04:43 mnt
drwxr-xr-x 2 root root 4096 Jan 30 04:43 opt
-rw-r--r-- 1 root root 59946431 Mar 8 16:19 portage-20130228.tar.bz2
dr-xr-xr-x 105 root root 0 Apr 18 13:56 proc
-rw-r--r-- 1 root root 2106 Mar 25 12:03 rcu
drwx------ 2 root root 4096 Mar 13 08:43 root
drwxr-xr-x 7 root root 220 May 8 11:04 run
drwxr-xr-x 2 root root 4096 May 8 10:49 sbin
-rw-r--r-- 1 root root 168854969 Mar 8 15:59 stage3-amd64-20130130.tar.bz2
dr-xr-xr-x 12 root root 0 Apr 18 13:56 sys
drwxrwxrwt 4 root root 4096 May 8 13:09 tmp
-rw-r--r-- 1 root root 83 Mar 25 11:59 uda
drwxr-xr-x 13 root root 4096 Mar 8 16:23 usr
-rw-r--r-- 1 root root 0 Apr 18 10:41 va
drwxr-xr-x 9 root root 4096 Apr 18 12:42 var

/var:
total 36
drwxr-xr-x 9 root root 4096 Apr 18 12:42 .
drwxr-xr-x 21 root root 4096 Apr 18 10:41 ..
drwxr-xr-x 6 root root 4096 Apr 18 11:37 cache
drwxr-xr-x 3 root root 4096 May 8 13:51 db
drwxr-xr-x 3 root root 4096 May 8 12:40 empty
drwxr-xr-x 9 root root 4096 May 8 11:04 lib
lrwxrwxrwx 1 root root 9 Jan 30 04:43 lock -> /run/lock
drwxr-xr-x 4 root root 4096 Mar 25 15:06 log
lrwxrwxrwx 1 root root 4 Apr 18 12:42 run -> /run
drwxr-xr-x 2 root root 4096 Apr 18 11:55 spool
drwxrwxrwt 4 root root 4096 Apr 18 10:41 tmp

/var/tmp:
total 16
drwxrwxrwt 4 root root 4096 Apr 18 10:41 .
drwxr-xr-x 9 root root 4096 Apr 18 12:42 ..
-rw-r--r-- 1 root root 0 Jan 30 04:43 .keep
drwxr-xr-x 2 root root 4096 Mar 14 14:52 genkernel
-rw-r--r-- 1 root root 0 Apr 18 10:41 po
-rw-r--r-- 1 root root 0 Apr 18 10:41 porta
-rw-r--r-- 1 root root 0 Apr 18 10:41 portag
drwxrwxr-x 4 portage portage 4096 May 8 13:51 portage

/var/tmp/portage:
total 16
drwxrwxr-x 4 portage portage 4096 May 8 13:51 .
drwxrwxrwt 4 root root 4096 Apr 18 10:41 ..
drwxrwxr-x 2 portage portage 4096 May 8 12:52 ._unmerge_
-rw-r--r-- 1 root root 0 Apr 18 10:41 a
-rw-r--r-- 1 root root 0 Apr 18 10:41 app
-rw-r--r-- 1 root root 0 Apr 18 10:41 app-por
-rw-rwxr-- 1 root portage 0 Apr 18 10:41 app-portage
drwxrwxr-x 4 portage portage 4096 May 8 12:39 dev-libs


NewBee 12 wrote:

I noticed a lot of bugs reported on gentoolkit or could this a broken portage install? As a noob to all of this so far the only 2 packages gentoolkit & net-dns/bind are the only ones i am having issues with. I have emerged OpenLDAP, DHCPCD. The portage package I installed was portage-20130228.tar.bz2 with my install of Gentoo and have done a couple of
Code:
 emerge -websync
since my install.

_________________
Newbee 12


Last edited by Newbee 12 on Thu May 09, 2013 11:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Thu May 09, 2013 10:19 pm    Post subject: Reply with quote

You have a file /var/tmp/portage/app-portage blocking the creation of a directory needed to install the package. The presence of the files a, app, and app-por is concerning, since this directory should be managed by Portage and it would never create files with those names.

Also, it looks like your root directory is bloated by the install image and associated snapshot. You no longer need those.
Back to top
View user's profile Send private message
Newbee 12
n00b
n00b


Joined: 31 Oct 2012
Posts: 38
Location: Northwest, USA

PostPosted: Tue May 14, 2013 11:35 pm    Post subject: Reply with quote

dol-sen wrote:
What version of portage are you using?

Please post the output of
Code:
emerge --info app-portage/gentoolkit


dol-sen wrote:
What version of portage are you using?

Please post the output of
Code:
emerge --info app-portage/gentoolkit

NewBee 12 wrote:


    Portage 2.1.11.52 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo x86_64)
    =================================================================
    System Settings
    =================================================================
    System uname: Linux-3.7.10-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5504_@_2.00GHz-with-gentoo-2.1
    KiB Mem: 4042332 total, 2931832 free
    KiB Swap: 4194300 total, 4194300 free
    Timestamp of tree: Wed, 08 May 2013 00:45:01 +0000
    ld GNU ld (GNU Binutils) 2.22
    app-shells/bash: 4.2_p37
    dev-lang/python: 2.7.3-r2, 3.2.3
    dev-util/pkgconfig: 0.28
    sys-apps/baselayout: 2.1-r1
    sys-apps/openrc: 0.11.8
    sys-apps/sandbox: 2.5
    sys-devel/autoconf: 2.69
    sys-devel/automake: 1.11.6
    sys-devel/binutils: 2.22-r1
    sys-devel/gcc: 4.6.3
    sys-devel/gcc-config: 1.7.3
    sys-devel/libtool: 2.4-r1
    sys-devel/make: 3.82-r4
    sys-kernel/linux-headers: 3.6 (virtual/os-headers)
    sys-libs/glibc: 2.15-r3
    Repositories: gentoo
    ACCEPT_KEYWORDS="amd64"
    ACCEPT_LICENSE="* -@EULA"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-O2 -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-O2 -pipe"
    DISTDIR="/usr/portage/distfiles"
    FCFLAGS="-O2 -pipe"
    FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
    FFLAGS="-O2 -pipe"
    GENTOO_MIRRORS="http://distfiles.gentoo.org"
    LDFLAGS="-Wl,-O1 -Wl,--as-needed"
    PKGDIR="/usr/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
    PORTAGE_TMPDIR="/var/tmp"
    PORTDIR="/usr/portage"
    PORTDIR_OVERLAY=""
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
    USE="(multilib) acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
    Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

_________________
Newbee 12
Back to top
View user's profile Send private message
Newbee 12
n00b
n00b


Joined: 31 Oct 2012
Posts: 38
Location: Northwest, USA

PostPosted: Tue May 14, 2013 11:44 pm    Post subject: Reply with quote

Newbee 12 wrote:
dol-sen wrote:
What version of portage are you using?

Please post the output of
Code:
emerge --info app-portage/gentoolkit


dol-sen wrote:
What version of portage are you using?

Please post the output of
Code:
emerge --info app-portage/gentoolkit

NewBee 12 wrote:


    Portage 2.1.11.52 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo x86_64)
    =================================================================
    System Settings
    =================================================================
    System uname: Linux-3.7.10-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5504_@_2.00GHz-with-gentoo-2.1
    KiB Mem: 4042332 total, 2931832 free
    KiB Swap: 4194300 total, 4194300 free
    Timestamp of tree: Wed, 08 May 2013 00:45:01 +0000
    ld GNU ld (GNU Binutils) 2.22
    app-shells/bash: 4.2_p37
    dev-lang/python: 2.7.3-r2, 3.2.3
    dev-util/pkgconfig: 0.28
    sys-apps/baselayout: 2.1-r1
    sys-apps/openrc: 0.11.8
    sys-apps/sandbox: 2.5
    sys-devel/autoconf: 2.69
    sys-devel/automake: 1.11.6
    sys-devel/binutils: 2.22-r1
    sys-devel/gcc: 4.6.3
    sys-devel/gcc-config: 1.7.3
    sys-devel/libtool: 2.4-r1
    sys-devel/make: 3.82-r4
    sys-kernel/linux-headers: 3.6 (virtual/os-headers)
    sys-libs/glibc: 2.15-r3
    Repositories: gentoo
    ACCEPT_KEYWORDS="amd64"
    ACCEPT_LICENSE="* -@EULA"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-O2 -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-O2 -pipe"
    DISTDIR="/usr/portage/distfiles"
    FCFLAGS="-O2 -pipe"
    FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
    FFLAGS="-O2 -pipe"
    GENTOO_MIRRORS="http://distfiles.gentoo.org"
    LDFLAGS="-Wl,-O1 -Wl,--as-needed"
    PKGDIR="/usr/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
    PORTAGE_TMPDIR="/var/tmp"
    PORTDIR="/usr/portage"
    PORTDIR_OVERLAY=""
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
    USE="(multilib) acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
    Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Newbee 12 wrote:
    I wanted to provide an update it seemed like my portage was broke so I did the Manually fixing broken portage installation and here is what i have now. However it did not solve the issue when i am trying to emerge gentoolkitl


# emerge --info
Portage 2.1.11.62 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo x86_64)
=================================================================
System uname: Linux-3.7.10-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5504_@_2.00GHz-with-gentoo-2.1
KiB Mem: 4042332 total, 3904492 free
KiB Swap: 4194300 total, 4194300 free
Timestamp of tree: Wed, 08 May 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p37
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.69
sys-devel/automake: 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre python readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON[/quote]
_________________
Newbee 12
Back to top
View user's profile Send private message
Newbee 12
n00b
n00b


Joined: 31 Oct 2012
Posts: 38
Location: Northwest, USA

PostPosted: Tue May 14, 2013 11:47 pm    Post subject: Reply with quote

Hu wrote:
Not a directory means that some component of the path should have been a directory, but instead was some other type of filesystem object. What is the output of ls -la /{,var{,/tmp{,/portage{,/app-portage}}}}?

_________________
Newbee 12
Back to top
View user's profile Send private message
Newbee 12
n00b
n00b


Joined: 31 Oct 2012
Posts: 38
Location: Northwest, USA

PostPosted: Tue May 14, 2013 11:48 pm    Post subject: Help !!! this is still a problem I need some guidance please Reply with quote

Hu wrote:
You have a file /var/tmp/portage/app-portage blocking the creation of a directory needed to install the package. The presence of the files a, app, and app-por is concerning, since this directory should be managed by Portage and it would never create files with those names.

Also, it looks like your root directory is bloated by the install image and associated snapshot. You no longer need those.


NewBee12 wrote:

robin@tux ~ $ ls -la /{,var{,/tmp{,/portage{,/app-portage}}}}
-rw-rwxr-- 1 root portage 0 Apr 18 10:41 /var/tmp/portage/app-portage

/:
total 223788
drwxr-xr-x 21 root root 4096 Apr 18 10:41 .
drwxr-xr-x 21 root root 4096 Apr 18 10:41 ..
drwxr-xr-x 2 root root 4096 Apr 18 11:53 bin
drwxr-xr-x 4 root root 4096 Mar 14 15:27 boot
drwxr-xr-x 14 root root 4100 Apr 18 13:56 dev
-rw-r--r-- 1 root root 4185 Mar 25 11:58 emi
drwxr-xr-x 32 root root 4096 May 8 12:57 etc
drwxr-xr-x 4 root root 4096 Apr 18 08:34 home
-rw-r--r-- 1 root root 328 Mar 25 11:57 ifc
lrwxrwxrwx 1 root root 5 Jan 30 05:39 lib -> lib64
drwxr-xr-x 3 root root 4096 Mar 12 15:01 lib32
drwxr-xr-x 10 root root 4096 May 8 12:52 lib64
drwx------ 2 root root 16384 Mar 8 15:19 lost+found
-rw-r--r-- 1 root root 505 Mar 25 11:58 lsi
-rw-r--r-- 1 root root 6535 Mar 25 12:02 lsm
-rw-r--r-- 1 root root 0 Mar 25 12:04 lsmshutdow
drwxr-xr-x 2 root root 4096 Jan 30 04:43 media
drwxr-xr-x 2 root root 4096 Jan 30 04:43 mnt
drwxr-xr-x 2 root root 4096 Jan 30 04:43 opt
-rw-r--r-- 1 root root 59946431 Mar 8 16:19 portage-20130228.tar.bz2
dr-xr-xr-x 105 root root 0 Apr 18 13:56 proc
-rw-r--r-- 1 root root 2106 Mar 25 12:03 rcu
drwx------ 2 root root 4096 Mar 13 08:43 root
drwxr-xr-x 7 root root 220 May 8 11:04 run
drwxr-xr-x 2 root root 4096 May 8 10:49 sbin
-rw-r--r-- 1 root root 168854969 Mar 8 15:59 stage3-amd64-20130130.tar.bz2
dr-xr-xr-x 12 root root 0 Apr 18 13:56 sys
drwxrwxrwt 4 root root 4096 May 8 13:09 tmp
-rw-r--r-- 1 root root 83 Mar 25 11:59 uda
drwxr-xr-x 13 root root 4096 Mar 8 16:23 usr
-rw-r--r-- 1 root root 0 Apr 18 10:41 va
drwxr-xr-x 9 root root 4096 Apr 18 12:42 var

/var:
total 36
drwxr-xr-x 9 root root 4096 Apr 18 12:42 .
drwxr-xr-x 21 root root 4096 Apr 18 10:41 ..
drwxr-xr-x 6 root root 4096 Apr 18 11:37 cache
drwxr-xr-x 3 root root 4096 May 8 13:51 db
drwxr-xr-x 3 root root 4096 May 8 12:40 empty
drwxr-xr-x 9 root root 4096 May 8 11:04 lib
lrwxrwxrwx 1 root root 9 Jan 30 04:43 lock -> /run/lock
drwxr-xr-x 4 root root 4096 Mar 25 15:06 log
lrwxrwxrwx 1 root root 4 Apr 18 12:42 run -> /run
drwxr-xr-x 2 root root 4096 Apr 18 11:55 spool
drwxrwxrwt 4 root root 4096 Apr 18 10:41 tmp

/var/tmp:
total 16
drwxrwxrwt 4 root root 4096 Apr 18 10:41 .
drwxr-xr-x 9 root root 4096 Apr 18 12:42 ..
-rw-r--r-- 1 root root 0 Jan 30 04:43 .keep
drwxr-xr-x 2 root root 4096 Mar 14 14:52 genkernel
-rw-r--r-- 1 root root 0 Apr 18 10:41 po
-rw-r--r-- 1 root root 0 Apr 18 10:41 porta
-rw-r--r-- 1 root root 0 Apr 18 10:41 portag
drwxrwxr-x 4 portage portage 4096 May 8 13:51 portage

/var/tmp/portage:
total 16
drwxrwxr-x 4 portage portage 4096 May 8 13:51 .
drwxrwxrwt 4 root root 4096 Apr 18 10:41 ..
drwxrwxr-x 2 portage portage 4096 May 8 12:52 ._unmerge_
-rw-r--r-- 1 root root 0 Apr 18 10:41 a
-rw-r--r-- 1 root root 0 Apr 18 10:41 app
-rw-r--r-- 1 root root 0 Apr 18 10:41 app-por
-rw-rwxr-- 1 root portage 0 Apr 18 10:41 app-portage
drwxrwxr-x 4 portage portage 4096 May 8 12:39 dev-libs


NewBee 12 wrote:

I noticed a lot of bugs reported on gentoolkit or could this a broken portage install? As a noob to all of this so far the only 2 packages gentoolkit & net-dns/bind are the only ones i am having issues with. I have emerged OpenLDAP, DHCPCD. The portage package I installed was portage-20130228.tar.bz2 with my install of Gentoo and have done a couple of
Code:
 emerge -websync
since my install.

_________________
Newbee 12
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