I have my fluxbox-svn ebuild and that is: # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-0.9.10-r4.ebuild,v 1.4 2004/11/02 20:00:37 corsair Exp $ inherit eutils subversion IUSE="nls xinerama truetype kde gnome bigger-fonts" DESCRIPTION="Fluxbox is an X11 window manager featuring tabs and an iconbar" HOMEPAGE="http://www.fluxbox.org" ESVN_REPO_URI="svn://svn.berlios.de/fluxbox/trunk" ESVN_PROJECT="fluxbox-svn" ESVN_BOOTSTRAP="autogen.sh" # Please note that USE="kde gnome" simply adds support for the respective # protocols, and does not depend on external libraries. They do, however, # make the binary a fair bit bigger, so we don't want to turn them on unless # the user actually wants them. RDEPEND="virtual/x11 truetype? ( media-libs/freetype ) nls? ( sys-devel/gettext ) !<x11-themes/fluxbox-styles-fluxmod-20040809-r1" DEPEND=">=sys-devel/autoconf-2.52 ${RDEPEND}" PROVIDE="virtual/blackbox" SLOT="0" LICENSE="MIT" KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~alpha ~hppa ~ia64 ~mips ppc64 ~ppc-macos" src_unpack() { subversion_src_unpack cd ${S} # Turn on aa by default if possible. Fluxbox fonts are really frickin' # broken, we'll do what we can to make it less painful by default. use truetype 1>/dev/null && \ echo "session.screen0.antialias: true" >> data/init.in ebegin "Fixing style fonts..." for style in data/styles/* ; do [[ -d "${style}" ]] && style=${style}/theme.cfg [[ -f "${style}" ]] || die "waah! ${style} doesn't exist" # Make fonts more readable if we use bigger-fonts use bigger-fonts 1>/dev/null && ( sed -i \ -e 's~\([fF]ont:[ \t]\+[a-zA-Z]\+-\)[789]~\110~' \ ${style} || die "sed voodoo failed (insufficient goats?)" ) # We don't have a reliable sans font alias, change it to lucidasans. # That might not work either, but it's more likely... sed -i \ -e 's~\([ \t:]\)sans\(-\|$\)~\1lucidasans\2~' \ ${style} || die "sed voodoo failed (not a full moon)" done eend $? } src_compile() { export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:/usr/lib/pkgconfig econf \ `use_enable nls` \ `use_enable xinerama` \ `use_enable truetype xft` \ `use_enable kde` \ `use_enable gnome` \ --sysconfdir=/etc/X11/${PN} \ ${myconf} || die "configure failed" emake || die "make failed" } src_install() { dodir /usr/share/fluxbox make DESTDIR=${D} install || die "make install failed" dodoc README* AUTHORS TODO* COPYING dodir /usr/share/xsessions insinto /usr/share/xsessions doins ${FILESDIR}/${PN}.desktop dodir /etc/X11/Sessions echo "/usr/bin/startfluxbox" > ${D}/etc/X11/Sessions/fluxbox fperms a+x /etc/X11/Sessions/fluxbox dodir /usr/share/fluxbox/menu.d # Styles menu framework dodir /usr/share/fluxbox/menu.d/styles insinto /usr/share/fluxbox/menu.d/styles doins ${FILESDIR}/${PV}/styles-menu-fluxbox doins ${FILESDIR}/${PV}/styles-menu-commonbox doins ${FILESDIR}/${PV}/styles-menu-user } pkg_postinst() { einfo "As of fluxbox 0.9.10-r3, we are using an improved system for" einfo "handling styles in the menu. To take advantage of this, use" einfo "the following for your menu styles section:" einfo " " einfo " [submenu] (Styles) {Select a Style}" einfo " [include] (/usr/share/fluxbox/menu.d/styles/)" einfo " [end]" einfo " " einfo "If you use fluxbox-generate_menu or the default global fluxbox" einfo "menu file, this will already be present." einfo " " if has_version '<x11-wm/fluxbox-0.9.10-r3' ; then ewarn "You must restart fluxbox before using the [include] /directory/" ewarn "feature if you are upgrading from an older fluxbox!" ewarn " " fi ewarn "Be warned that anything involving XComposite is extremely " ewarn "experimental. Please don't report bugs unless they also occur " ewarn "with XComposite disabled." ewarn " " epause } What I've acutually done is make changes to the fluxbox-0.9.10-r4.ebuild. I don't say it the ebuild is perfect but there is no documentation for subversion.eclass. I've red the comments in .eclass and figured it out (hope so). Tell me if I did something wrong. I know I don't have subversion as a dependency, but I have it on my system and subversion.eclass says it adds it automaticly. Reproducible: Always Steps to Reproduce: 1. Put the fluxbox-svn-0.9.ebuild in /usr/local/portage/x11-wm/fluxbox-svn (which is my PORTAGE_OVERLAY) 2. Entered that folder and "ebuild fluxbox-svn-0.9.ebuild digest" 3. emerge fluxbox-svn from few folders just to make sure it is not PATH-broken. 4. Tried with "chmod 777 /usr/porage/distfiles" but no succes. 5. Tested few "cvs" ebuilds (usualy my "home-made ones") just to see if it can make folders it needs Actual Results: The error I get is: root@atom ~ # emerge fluxbox-svn Calculating dependencies ...done! >>> emerge (1 of 1) x11-wm/fluxbox-svn-0.9 to / >>> Unpacking source... ACCESS DENIED mkdir: /mnt/home/var/portage/distfiles/svn-src mkdir: cannot create directory `/usr/portage/distfiles/svn-src': Permission denied !!! ERROR: x11-wm/fluxbox-svn-0.9 failed. !!! Function subversion_svn_fetch, Line 128, Exitcode 1 !!! subversion.eclass: can't mkdir /usr/portage/distfiles/svn-src. !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-x11-wm_-_fluxbox-svn-0.9-19811.log" mkdir: /mnt/home/var/portage/distfiles/svn-src -------------------------------------------------------------------------------- Expected Results: Fetch, compile, install. I don't think it matters but here is my make.conf: USE="-* mmx X unicode bitmap-fonts xprint xchattext python perl javascript fbcon xv vesa gtk \ xvid encode ncurses divx4linux png jpeg mpeg fbcon gif svga encoder alsa blender-game \ truetype opengl nls oss imlib oggvorbis mikmod crypt pdflib spell ssl esound ipv6 pam" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -ffast-math -mno-push-args -minline-all-stringops -frename-registers -pipe" CXXFLAGS="${CFLAGS}" ACCEPT_KEYWORDS="~x86" PORTDIR=/usr/portage PORTDIR_OVERLAY=/usr/local/portage MAKEOPTS="-j3" FEATURES="distcc" DILLO_ICONSET="gnome" And (as you can see), I'm using Pentium II and /usr/portage/profiles/default-linux/x86/2004.3 as a make.profile
please put ebuilds as attachments.
Please show me the result of: $ ls -dl /mnt/home/var/portage/distfiles/
I can't reproduce this bug.
I have problems with lucent modem (don't ask me) so I can't try it out now (got new computer). Sorry about that. When I get on the net, trying out my own ebuild will be the first thing.
Since I have the same bug, please reopen. I could reproduce the bug with my own ebuild and libtu-svn in the portage tree. The result of emerge libtu-svn is as the following: Calculating dependencies ...done! >>> emerge (1 of 1) dev-libs/libtu-svn-20040902 to / >>> Unpacking source... ACCESS DENIED mkdir: /work/portage/distfiles/svn-src mkdir: cannot create directory `/usr/portage/distfiles/svn-src': Permission denied !!! ERROR: dev-libs/libtu-svn-20040902 failed. !!! Function subversion_svn_fetch, Line 128, Exitcode 1 !!! subversion.eclass: can't mkdir /usr/portage/distfiles/svn-src. !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-dev-libs_-_libtu-svn-20040902-18002.log" mkdir: /work/portage/distfiles/svn-src -------------------------------------------------------------------------------- 'ls -dl /usr/portage/distfiles' requested in the comment#2 is: drwxrwsr-x 4 root portage 36864 Jan 19 00:41 /usr/portage/distfiles/ and emerge --info: Portage 2.0.51-r13 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20041102-r0, 2.4.28-gentoo-r2 i586) ================================================================= System uname: 2.4.28-gentoo-r2 i586 AMD-K6(tm) 3D+ Processor Gentoo Base System version 1.6.8 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.4,dev-lang/python-2.3.4 [2.4 (#1, Jan 16 2005, 20:32:50)] dev-lang/python: 2.2.3-r5, 2.4, 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.4.22, 2.4.19-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=k6-3 -O3 -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k6-3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache digest distlocks sandbox sfperms userpriv" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/ http://distfiles.gentoo.org/" MAKEOPTS="-j2 -l2.5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /work/portagejp" SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage/" USE="3dnow X apm avi berkdb bitmap-fonts canna cjk crypt cups doc emacs encode esd f77 fam font-server foomaticdb fortran freewnn gcl gdbm gif gnome gpm gtk gtk2 imagemagick imlib ipv6 java jpeg junit leim libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts x86 xml2 xmms xv zlib linguas_ja linguas_en linguas_it linguas_de linguas_fr linguas_zh linguas_kr linguas_es" Unset: LDFLAGS
Please try with new subversion elcass (rev 1.18) and report the result.
It works fine. Thank you.
I don't know how but it works for me now. Well, at least downloading. About the compilation ... who knows. I'll let you know when it's tested enough. Thanx people, and sorry for all the trouble :o)
Closing...