Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90416 - emerge doesn´t pay attention to profiles/thirdpartymirrors in PORTDIR_OVERLAY
Summary: emerge doesn´t pay attention to profiles/thirdpartymirrors in PORTDIR_OVERLAY
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-04-25 12:16 UTC by Martin Hierling
Modified: 2005-07-14 06:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Make portage use package.mask in overlay-directories (overlay-package-mask.diff,575 bytes, patch)
2005-05-01 05:25 UTC, Matthias Schwarzott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Hierling 2005-04-25 12:16:27 UTC
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
Comment 1 SpanKY gentoo-dev 2005-04-25 12:51:17 UTC
whats wrong with using /etc/portage/mirrors
Comment 2 Martin Hierling 2005-04-25 22:50:08 UTC
Wrong is that I can
Comment 3 Martin Hierling 2005-04-25 22:50:08 UTC
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.
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2005-04-28 21:17:45 UTC
Will add the others if/when it becomes necessary.
Comment 5 Matthias Schwarzott gentoo-dev 2005-05-01 05:24:11 UTC
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)
Comment 6 Matthias Schwarzott gentoo-dev 2005-05-01 05:25:00 UTC
Created attachment 57721 [details, diff]
Make portage use package.mask in overlay-directories
Comment 7 Jason Stubbs (RETIRED) gentoo-dev 2005-05-01 05:40:49 UTC
Yeah, that patch won't break anything. Added to CVS.
Comment 8 Martin Hierling 2005-05-04 02:34:33 UTC
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
Comment 9 Jason Stubbs (RETIRED) gentoo-dev 2005-05-04 02:43:06 UTC
It's available in 2.0.51.21 already. :)

Will close this bug when it goes stable.
Comment 10 Martin Hierling 2005-05-06 08:53:01 UTC
thx for the fast response, i appreciate it very much.
Comment 11 Joerg Bornkessel (RETIRED) gentoo-dev 2005-07-14 05:13:46 UTC
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
Comment 12 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:47:48 UTC
Fixed on or before 2.0.51.22-r1 
Comment 13 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:34 UTC
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.