Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275279 - sys-apps/portage: handling restrict fetch packages (sqldeveloper as an example)
Summary: sys-apps/portage: handling restrict fetch packages (sqldeveloper as an example)
Status: RESOLVED DUPLICATE of bug 261547
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Friedrich Oslage (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-24 12:08 UTC by Sergey S. Starikoff
Modified: 2009-07-05 08:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2009-06-24 12:08:35 UTC
For packages with restricted fetch often (to my mind --- as usual) is available only the last one.
Thatis why main portage tree often contains deprecated ebuilds.
And, to my mind, this software shouldn't be updated automatically (due to fetch restrictions it is impossible, but the fetch restriction doesn't prevent the attemp of updating itself).

For example, some time before, in the beginning of July I had to install the dev-db/sqldeveloper.
Since AFAIK 31.03.2009 for download is available the 1.5.4.59.40 version (masked).
But portage still contains (unmasked!!!) 1.5.3.5783 version (which, as I explored the Oracle download page, is rather long ago unavailable for download).

So, to install the dev-db/sqldeveloper I had to do 2 actions (with already downloaded sqldeveloper-1.5.4.59.40 archive):
1. Unmask dev-db/sqldeveloper-1.5.4.59.40;
2. Mask dev-db/sqldeveloper-1.5.3.5783.

My suggestion is to add the masking keyword (something like 'rfetch') and by default mask by this keyword all packages with restricted fetch.

Reproducible: Always




Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0
Timestamp of tree: Tue, 23 Jun 2009 01:45:03 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d/50glib2"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildsyspkg collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.corbina.net/pub/Linux/gentoo/                   ftp://mirror.aiya.ru/pub/gentoo/                 ftp://ftp.org.kemsu.ru/gentoo/                 http://ftp.chg.ru/pub/Linux/distributions/gentoo/                 ftp://ftp.chg.ru/pub/Linux/distributions/gentoo/"
LANG="ru_RU.KOI8-R"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-ftn"
SYNC="rsync://rsync.org.kemsu.ru/gentoo       rsync://rsync.asia.gentoo.org/gentoo-portage       rsync://mirror.aiya.ru/gentoo"
USE="X a52 ac3 acl alsa avi berkdb bzip2 cdr cli cracklib crypt cups dri dvd flac fortran gdbm gif gtk iconv isdnlog jpeg jpeg2k midi mp3 mudflap ncurses nls nptl nptlonly ogg openmp pam pcre perl png pppd python readline reflection session spl ssl sysfs tcpd vorbis x86 xorg xulrunner zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="sis"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zac Medico gentoo-dev 2009-07-04 21:11:15 UTC
If the distfile is unavailable then the ebuild maintainer needs to remove the ebuild from the tree, or at least mask it in package.mask.
Comment 2 Friedrich Oslage (RETIRED) gentoo-dev 2009-07-05 08:43:54 UTC
The distfile is still available (look at "Download Archived Releases" on the right site)

But anyway, 1.5.4 should be marked stable, so this one get's picked up by portage instead of 1.5.3.

*** This bug has been marked as a duplicate of bug 261547 ***