Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165065 - Repoman tries to download fetch restricted stuff for Manifest creation
Summary: Repoman tries to download fetch restricted stuff for Manifest creation
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
: 165076 (view as bug list)
Depends on:
Blocks: 162453
  Show dependency tree
 
Reported: 2007-02-02 22:52 UTC by Petteri Räty (RETIRED)
Modified: 2010-11-02 15:22 UTC (History)
1 user (show)

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 Petteri Räty (RETIRED) gentoo-dev 2007-02-02 22:52:31 UTC
Setting paths:
PORTDIR = "/usr/portage"
PORTDIR_OVERLAY = ""

RepoMan scours the neighborhood...
>>> Downloading 'http://trumpetti.atm.tut.fi/gentoo/distfiles/j2sdk-1_4_2-doc.zip'
--00:50:31--  http://trumpetti.atm.tut.fi/gentoo/distfiles/j2sdk-1_4_2-doc.zip
           => `/var/distfiles/j2sdk-1_4_2-doc.zip'
Resolving trumpetti.atm.tut.fi... 130.230.54.100
Connecting to trumpetti.atm.tut.fi|130.230.54.100|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
00:50:32 ERROR 404: Not Found.

>>> Downloading 'http://lame.lut.fi/linux/gentoo/distfiles/j2sdk-1_4_2-doc.zip'
--00:50:32--  http://lame.lut.fi/linux/gentoo/distfiles/j2sdk-1_4_2-doc.zip
           => `/var/distfiles/j2sdk-1_4_2-doc.zip'
Resolving lame.lut.fi... 157.24.184.129
Connecting to lame.lut.fi|157.24.184.129|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
00:50:35 ERROR 404: Not Found.

>>> Downloading 'j2sdk-1_4_2-doc.zip'
--00:50:35--  http://j2sdk-1_4_2-doc.zip/
           => `/var/distfiles/index.html'
Resolving j2sdk-1_4_2-doc.zip... failed: Unknown host.
!!! Couldn't download 'j2sdk-1_4_2-doc.zip'. Aborting.
!!! File j2sdk-1_4_1-doc.zip doesn't exist, can't update Manifest
Unable to generate manifest.

betelgeuse@pena /usr/portage/dev-java/java-sdk-docs $ ebuild java-sdk-docs-1.4.2.ebuild manifest

!!! dev-java/java-sdk-docs-1.4.2 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * Please download j2sdk-1_4_2-doc.zip from http://java.sun.com/j2se/1.4.2/download.html and move it to /var/distfiles
!!! File j2sdk-1_4_1-doc.zip doesn't exist, can't update Manifest
betelgeuse@pena /usr/portage/dev-java/java-sdk-docs $       

Portage 2.1.2-r6 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
Gentoo Base System version 1.13.0_alpha12
Timestamp of tree: Unknown
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
DISTDIR="/var/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect cvs distlocks fixpackages java-strict parallel-fetch sandbox sfperms sign strict userpriv usersandbox verify-rdepend"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo  http://lame.lut.fi/linux/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="fi"
MAKEOPTS="-j2"
PKGDIR="/home/pkg/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/checkouts/overlays/betelgeuse"
SYNC="rsync://192.168.150.1:/portage"
USE="a52 aac acl acpi alsa apache2 audiofile bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdb cddb cdparanoia cdr cli cracklib crypt cups dbus dlloader dri dts dvd dvdr dvdread emboss esd fam ffmpeg firefox gif gstreamer hal iconv isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libg++ logitech-mouse mad mikmod mjpeg mmx mp3 mpeg ncurses network nptl nptlonly nsplugin nvidia offensive ogg opengl pam pcre png ppds pppd qt3 quicktime readline real reflection rtc samba session spell spl sse sse2 ssl subversion svg symlink theora threads truetype truetype-fonts type1-fonts udev unicode usb userlocales vim-syntax vorbis x86 xcb xcomposite xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="none nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zac Medico gentoo-dev 2007-02-03 00:28:36 UTC
This is fixed in svn r5875.
Comment 2 Zac Medico gentoo-dev 2007-02-03 00:30:46 UTC
*** Bug 165076 has been marked as a duplicate of this bug. ***
Comment 3 Zac Medico gentoo-dev 2007-02-03 14:16:38 UTC
This has been released in 2.1.2-r7.
Comment 4 Cyprien Nicolas (fulax) 2010-11-02 11:31:59 UTC
Hi, I ask for REOPEN, as I'm encountering it with =sys-apps/portage-2.2.0_alpha3


Here is the shell session I have:

cnicolas@sita-exp ~/gentoo/dev/gentoo-lisp-overlay/dev-scheme/bigloo $ grep RESTRICT bigloo-3.5a_beta20101102.ebuild 
RESTRICT="mirror"
cnicolas@sita-exp ~/gentoo/dev/gentoo-lisp-overlay/dev-scheme/bigloo $ repoman manifest 
>>> Downloading 'ftp://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/bigloo3.5a-beta02Nov10.tar.gz'
--2010-11-02 12:28:06--  ftp://ftp.free.fr/mirrors/ftp.gentoo.org/distfiles/bigloo3.5a-beta02Nov10.tar.gz
           => “/usr/portage/distfiles/bigloo3.5a-beta02Nov10.tar.gz”
Resolving ftp.free.fr (ftp.free.fr)... 212.27.60.27, 2a01:e0c:1:1598::1
Connecting to ftp.free.fr (ftp.free.fr)|212.27.60.27|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /mirrors/ftp.gentoo.org/distfiles ... done.
==> SIZE bigloo3.5a-beta02Nov10.tar.gz ... done.
==> PASV ... done.    ==> RETR bigloo3.5a-beta02Nov10.tar.gz ... 
No such file “bigloo3.5a-beta02Nov10.tar.gz”.

>>> Downloading 'http://gentoo.osuosl.org/distfiles/bigloo3.5a-beta02Nov10.tar.gz'
--2010-11-02 12:28:07--  http://gentoo.osuosl.org/distfiles/bigloo3.5a-beta02Nov10.tar.gz
Resolving gentoo.osuosl.org (gentoo.osuosl.org)... 140.211.166.134
Connecting to gentoo.osuosl.org (gentoo.osuosl.org)|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-11-02 12:28:07 ERROR 404: Not Found.

>>> Downloading 'ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo3.5a-beta02Nov10.tar.gz'
--2010-11-02 12:28:07--  ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo3.5a-beta02Nov10.tar.gz
           => “/usr/portage/distfiles/bigloo3.5a-beta02Nov10.tar.gz”
Resolving ftp-sop.inria.fr (ftp-sop.inria.fr)... 138.96.0.43
Connecting to ftp-sop.inria.fr (ftp-sop.inria.fr)|138.96.0.43|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /indes/fp/Bigloo ... done.
==> SIZE bigloo3.5a-beta02Nov10.tar.gz ... 13978658
==> PASV ... done.    ==> RETR bigloo3.5a-beta02Nov10.tar.gz ... done.
Length: 13978658 (13M) (unauthoritative)

100%[===========================================================>] 13,978,658  9.71M/s   in 1.4s    

2010-11-02 12:28:09 (9.71 MB/s) - “/usr/portage/distfiles/bigloo3.5a-beta02Nov10.tar.gz” saved [13978658]

>>> Creating Manifest for /home/cnicolas/gentoo/dev/gentoo-lisp-overlay/dev-scheme/bigloo
cnicolas@sita-exp ~/gentoo/dev/gentoo-lisp-overlay/dev-scheme/bigloo $ rm /usr/portage/distfiles/bigloo3.5a-beta02Nov10.tar.gz 
cnicolas@sita-exp ~/gentoo/dev/gentoo-lisp-overlay/dev-scheme/bigloo $ rm Manifest 
cnicolas@sita-exp ~/gentoo/dev/gentoo-lisp-overlay/dev-scheme/bigloo $ ebuild bigloo-3.5a_beta20101102.ebuild digest
Appending /home/cnicolas/gentoo/dev/gentoo-lisp-overlay to PORTDIR_OVERLAY...
>>> Downloading 'ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo3.5a-beta02Nov10.tar.gz'
--2010-11-02 12:28:42--  ftp://ftp-sop.inria.fr/indes/fp/Bigloo/bigloo3.5a-beta02Nov10.tar.gz
           => “/usr/portage/distfiles/bigloo3.5a-beta02Nov10.tar.gz”
Resolving ftp-sop.inria.fr (ftp-sop.inria.fr)... 138.96.0.43
Connecting to ftp-sop.inria.fr (ftp-sop.inria.fr)|138.96.0.43|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /indes/fp/Bigloo ... done.
==> SIZE bigloo3.5a-beta02Nov10.tar.gz ... 13978658
==> PASV ... done.    ==> RETR bigloo3.5a-beta02Nov10.tar.gz ... done.
Length: 13978658 (13M) (unauthoritative)

100%[===========================================================>] 13,978,658  11.2M/s   in 1.2s    

2010-11-02 12:28:43 (11.2 MB/s) - “/usr/portage/distfiles/bigloo3.5a-beta02Nov10.tar.gz” saved [13978658]

>>> Creating Manifest for /home/cnicolas/gentoo/dev/gentoo-lisp-overlay/dev-scheme/bigloo
Comment 5 Zac Medico gentoo-dev 2010-11-02 15:11:09 UTC
(In reply to comment #4)
> Here is the shell session I have:
> 
> cnicolas@sita-exp ~/gentoo/dev/gentoo-lisp-overlay/dev-scheme/bigloo $ grep
> RESTRICT bigloo-3.5a_beta20101102.ebuild 
> RESTRICT="mirror"

You misunderstand the meaning of RESTRICT="mirror". If you never want the file to be fetched then you need to set RESTRICT="fetch". RESTRICT="mirror" only applies to Gentoo's file mirroring system.
Comment 6 Cyprien Nicolas (fulax) 2010-11-02 15:16:29 UTC
(In reply to comment #5)
> You misunderstand the meaning of RESTRICT="mirror". If you never want the file
> to be fetched then you need to set RESTRICT="fetch". RESTRICT="mirror" only
> applies to Gentoo's file mirroring system.

Right, my bad. But still, repoman manifest tries to fetch the sources from the mirrors, even with the restriction while ebuild digest doesn't. Should I fill a separate bug report?
Comment 7 Zac Medico gentoo-dev 2010-11-02 15:22:07 UTC
(In reply to comment #6)
> Right, my bad. But still, repoman manifest tries to fetch the sources from the
> mirrors, even with the restriction while ebuild digest doesn't. Should I fill a
> separate bug report?

Yes, please do.