Recently I did "world update" and it failed on libidn-0.5.15 - after compilation I got: -- (...) making executable: /usr/lib/libidn.so.11.5.8 QA Notice: the following files contain executable stacks Files with executable stacks will not work properly (or at all!) on some architectures/operating systems. A bug should be filed at http://bugs.gentoo.org/ to make sure the file is fixed. --- --- RWX usr/lib/libidn.so.11.5.8 --- --- RWX usr/bin/idn >>> Completed installing libidn-0.5.15 into /var/tmp/portage/libidn-0.5.15/image / Traceback (most recent call last): File "/usr/bin/emerge", line 3228, in ? mydepgraph.merge(pkglist) File "/usr/bin/emerge", line 1912, in merge retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug,tree="portt ree") File "/usr/lib/portage/pym/portage.py", line 2771, in doebuild return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],mysetti ngs["BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"],my tree=tree) File "/usr/lib/portage/pym/portage.py", line 2946, in merge return mylink.merge(pkgloc,infloc,myroot,myebuild) File "/usr/lib/portage/pym/portage.py", line 6984, in merge return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup) File "/usr/lib/portage/pym/portage.py", line 6458, in treewalk self.lockdb() File "/usr/lib/portage/pym/portage.py", line 6062, in lockdb self.lock_pkg = portage_locks.lockdir(self.dbpkgdir) File "/usr/lib/portage/pym/portage_locks.py", line 36, in lockdir return lockfile(mydir,wantnewlockfile=1) File "/usr/lib/portage/pym/portage_locks.py", line 68, in lockfile myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR,0660) OSError: [Errno 20] Not a directory: '/var/db/pkg/net-dns/libidn-0.5.15.portage_ lockfile' -- Any ideas what to do with it??
emerge --info, please...
OK, here you are: -- Portage 2.0.54 (default-linux/ppc/2005.1/ppc/G4/Pegasos, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-gentoo-r5 ppc) ================================================================= System uname: 2.6.14-gentoo-r5 ppc 7447/7457, altivec supported Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="ppc X alsa audiofile berkdb bitmap-fonts browserplugin bzip2 cdr crypt cups doc dri dv dvd dvdr dvdread eds emboss esd exif expat fam fortran gd gif glut gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick ipv6 isdnlog java jpeg kde lcms libwww mad mng motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl pam pcre pdflib perl png pppd python qt readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
You forgot to reopen the bug.
(In reply to comment #3) > You forgot to reopen the bug. Sorry, I'm just another newbe :(
(In reply to comment #0) > File "/usr/lib/portage/pym/portage_locks.py", line 68, in lockfile > myfd = os.open(lockfilename, os.O_CREAT|os.O_RDWR,0660) > OSError: [Errno 20] Not a directory: > '/var/db/pkg/net-dns/libidn-0.5.15.portage_ lockfile' That's odd. I'm not sure why the Errno 20 was generated. If you try to install libidn-0.5.15 again, are you able to reproduce the problem?
(In reply to comment #5) Yes, every time I do 'emerge libidn' or 'emerge --update --deep world' I get an error, so the problem is reproduced.
I see. I seems like /var/db/pkg/net-dns/libidn-0.5.15.portage_lockfile is a stale lock file. You should remove it.
(In reply to comment #7) > I see. I seems like /var/db/pkg/net-dns/libidn-0.5.15.portage_lockfile is a > stale lock file. You should remove it. Bingo - that was it! I removed net-dns (rm /var/db/pkg/net-dns). net-dns was a file not dir!!??