emerge log4c failed with a permission denied on `mkdir /usr/share/doc/log4c-1.0.6`: /bin/sh ../config/mkinstalldirs /usr/share/doc/log4c-1.0.6 mkdir /usr/share/doc/log4c-1.0.6 ACCESS DENIED mkdir: /usr/share/doc/log4c-1.0.6 mkdir: cannot create directory `/usr/share/doc/log4c-1.0.6': Permission denied make[2]: *** [install-data-local] Error 1 make[2]: Leaving directory `/var/tmp/portage/log4c-1.0.6-r1/work/log4c-1.0.6/doc' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/log4c-1.0.6-r1/work/log4c-1.0.6/doc' make: *** [install-recursive] Error 1 !!! ERROR: dev-libs/log4c-1.0.6-r1 failed. !!! Function src_install, Line 33, Exitcode 2 !!! (no error message) --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-dev-libs_-_log4c-1.0.6-r1-1258.log" mkdir: /usr/share/doc/log4c-1.0.6 -------------------------------------------------------------------------------- yoda dev-libs # Reproducible: Always Steps to Reproduce: 1. emerge log4c 2. 3. yoda dev-libs # emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) MP 2400+ Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype video_cards_radeon x86 xml2 xmms xv zlib"
bug #59666 fixes this access violation and few other ebuild bugs.
Benjamin, if the new ebuild works for you I'll remove the buggy one ok? env ACCEPT_KEYWORDS=~x86 emerge =dev-libs/log4c
Ok definately fixed this in 1.0.11. Thanks for the bug report. Reopen if it fails for you.
Well, I didn't see the same problem as before, but got a new compile error. Normally, I would just try to write patch for it myself, but I'm out of town for the weekend for my sister's wedding. gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src -DSRCDIR="\".\"" -O3 -march=athlon-mp -funroll-loops -fomit-frame-pointer -Wall -c `test -f 'test_category.c' || echo './'`test_category.c test_category.c: In function `test4': test_category.c:125: error: parse error before string constant test_category.c:127: error: parse error before string constant test_category.c:129: error: parse error before string constant make[3]: *** [test_category.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/log4c-1.0.11/work/log4c-1.0.11/tests/log4c' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/log4c-1.0.11/work/log4c-1.0.11/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/log4c-1.0.11/work/log4c-1.0.11' make: *** [all] Error 2 !!! ERROR: dev-libs/log4c-1.0.11 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! (no error message) yoda app-text #