emerge doesnt use PORTDIR_OVERLAY/profiles/thirtpartymirrors file as source for mirrors registered in the Overlay thirdpartymirror file. I am syncing with the gentoo.de portage tree. Some ebuils uses a distfilemirror added in http://www.gentoo.de/viewcvs/profiles/ ( *.local file is obsolete). The same probably apply to use.desc, but is unconfirmed. Reproducible: Always Steps to Reproduce: 1. download gentoo-de ebuilds in overlay PATH 2. edit PATH/media-video/vdrplugin-femon/vdrplugin-femon-0.8.7.ebuild (remove original DL location) 3. ebuild PATH/media-video/vdrplugin-femon/vdrplugin-femon-0.8.7.ebuild fetch Actual Results: # ebuild vdrplugin-femon-0.8.7.ebuild fetch No known mirror by the name: vdrfiles Warning: No mirrors available for file 'vdr-femon-0.8.7.tgz' Expected Results: # cat OVERLAY/profiles/thirdpartymirrors >> /usr/portage/profiles/thirdpartymirrors # ebuild vdrplugin-femon-0.8.7.ebuild fetch >>> Resuming download... >>> Downloading http://gentoo.fh-luh.de/files/vdrplugin-femon/vdr-femon-0.8.7.tgz .... Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.28-gentoo-r5 i686) ================================================================= System uname: 2.4.28-gentoo-r5 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 7 2005, 20:45:54)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/gentoo-de" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi bash-completion berkdb bitmap-fonts crypt cups emboss encode esd fam foomaticdb fortran gd gd-external gdbm gif gnome gpm gtk gtk2 imagemagick imap imlib ipv6 jpeg libg++ libwww mad mcal memlimit mikmod motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
whats wrong with using /etc/portage/mirrors
Wrong is that I can
Wrong is that I can´t sync /etc/portage/mirror from any of our sync servers. Should i please every user to change mirror file when there is a new mirror or when there are some changes. That doensn´t scale very well. All Files in PORTOVERLAY/profiles i can handle via our CVS Server, that does indeed scale.
Will add the others if/when it becomes necessary.
Another point that is missing: portage also ignores OVERLAY/profiles/package.mask. I think this should be pretty easy to add. See attached patch (overlay-package-mask.diff)
Created attachment 57721 [details, diff] Make portage use package.mask in overlay-directories
Yeah, that patch won't break anything. Added to CVS.
is it similar easy to write a patch for the thirdpartymirror problem? i am not a coder so i cant help you or provide a patch. but the feature is very usefull for the gentoo vdr community. regards martin
It's available in 2.0.51.21 already. :) Will close this bug when it goes stable.
thx for the fast response, i appreciate it very much.
seems to be fixed in new sys-apps/portage-2.0.51.22-r1 Version on x86 thirdpartymirror on PORTDIR_OVERLAY works now very well. If the problem with OVERLAY/profiles/package.mask, reported by zzam, fixed too, the Bug can closed. THX /bin/joerg
Fixed on or before 2.0.51.22-r1
Looking through the batch of bugs, I'm not sure that some of these are actually fixed in stable. Others, the requirements have possibly changed after the initial fix was committed. If you think this bug has been closed incorrectly, please reopen or ask that it be reopened.