Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233984 - emerge cannot fetch/download files.
Summary: emerge cannot fetch/download files.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-05 15:01 UTC by Sándor Lengyel
Modified: 2008-08-05 21:06 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 Sándor Lengyel 2008-08-05 15:01:06 UTC
This morning I did a emerge --sync.
After doing an "emerge -u world"
I get a report like:
>>> Fetching (1 of 136) dev-libs/expat-2.0.1-r1
>>> Downloading 'ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/distfiles/expat-2.0.1.tar.gz'
unable to create the directory to store the config info in: Nincs ilyen fájl vagy könyvtár
>>> Downloading 'ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/expat-2.0.1.tar.gz'
unable to create the directory to store the config info in: Nincs ilyen fájl vagy könyvtár
>>> Downloading 'ftp://gentoo.inf.elte.hu/distfiles/expat-2.0.1.tar.gz'

The file is to be found at the location, using a browser.
When the file is downloaded manually and placed in /usr/portage/distfiles
the emerging for the component succeeds.
  The first problem was in the updating portage, which I updated by the above method.



Reproducible: Always

Steps to Reproduce:
1.emerge --sync  (As of 5 of August 2008)
2.emerge portage
3.

Actual Results:  
>> Building (1 of 1) dev-libs/expat-2.0.1-r1
>>> Downloading 'ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/distfiles/expat-2.0.1.tar.gz'
unable to create the directory to store the config info in: Nincs ilyen fájl vagy könyvtár
>>> Downloading 'ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/expat-2.0.1.tar.gz'
unable to create the directory to store the config info in: No such file or directory


Expected Results:  
Fetch the file and build and install the package
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-05 16:51:24 UTC
Please post your `emerge --info' too.
Comment 2 Sándor Lengyel 2008-08-05 17:14:43 UTC
emerge --info:
Portage 2.2_rc6 (default-linux/amd64/2007.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-glibc2.2.5
Timestamp of tree: Tue, 05 Aug 2008 14:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.3.6-r2, 2.4.4-r4, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.3
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62-r1
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.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/  ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/  ftp://gentoo.inf.elte.hu/ "
LANG="hu_HU"
LDFLAGS=""
LINGUAS="hu en"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 3dnow 3dnowext 3ds X a52 aac aalib acl acpi ada additions akode allegro alsa altenburgcards amarok amd64 amr amuled aoss applet arts artworkextra atk audacious audiofile avahi backtrace bash-completion batch berkdb binary-drivers bittorrent bjam boost branding c3p0 cairo cal3d caps cdda cdparanoia cdr cdrom cdsound cegui cg chroot cli colordiff cracklib crypt cups curl dbus devil dga dts dvd dvdr dvdread eds emboss emerald encode esd evo examples fam ffmpeg firefox flac fmod fortran fuse gcj gconf gdb gdbm gif gimp gimpprint glade glib glibc-compat20 glibc-omitfp glitz glut gnome gnomecanvas gnustep gpm gstreamer gtk gtk2 gtkhtml guile guionly hal iconv ipv6 isdnlog jack jack-tmpfs java java5 javacomm javamail javascript jboss jikes jit jni jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdepim kdexdeltas kdgraphics kdm kdrive kerberos kqemu ldap live lua mad maps math matroska mdnsresponder-compat midi mikmod mmx mmxext mod modkit mods module motif mp2 mp3 mp3rtp mp4 mp4live mpeg mudflap music ncurses neXt netbeans networking nls nocd nowrapper nptl nptlonly nsplugin nvidia objc ocaml ode ogg openal opengl openmp oss pam pcre pdf perl pic plugins pmu png pnm ppds pppd ps pulseaudio python qt3 qt3support qt4 quicktime readline realmedia reflection reiser4 reiserfs rogue rtsp ruby sdk sdl session shout skins slang sound sounds source spell spl sse sse2 ssl stream svg svgz tcl tcltk tcpd theora threads threadsafe threadsonly tiff tk truetype tse3 unicode utempter videos vim-syntax vim-with-x vorbis vorbis-psy weather wma wmp wxwindows x264 xcomposite xhtml xine xiph xml xmlreader xorg xpm xscreensaver xsettings xskatcards xsl xslt xterm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x     ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3  trident usb-audio via82xx via82xx-modem ymfpci" 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="hu en" USERLAND="GNU" VIDEO_CARDS="nvidia-legacy"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-05 17:17:33 UTC
You appear to have FEATURES=userfetch, which means the portage:portage user downloads and stores files in </usr/portage/distfiles>. Does that user have write permission to that directory?
Comment 4 Sándor Lengyel 2008-08-05 18:07:29 UTC
Interesting since the only FEATURES I enabled is metadata-transfer.
I removed metadata-transfer from make.conf and still userfetch is there.
Anyhow I did chmod a+xw /usr/portage/distfiles and I still have failure.
Comment 5 Sándor Lengyel 2008-08-05 20:00:47 UTC
Found the problem.
The format of the fetch command had to change.
Masking out the fetch command in make.conf, and using wget, I can download.
Comment 6 Wormo (RETIRED) gentoo-dev 2008-08-05 20:04:24 UTC
Great, glad you found the problem.
Comment 7 Sándor Lengyel 2008-08-05 21:06:17 UTC
Problem solved.
Uptill now I used prozilla for download. Prozilla works but not if called from portage in the new portage.
I eliminated prozilla, which is not supported, and use axel instead, which is, and portage works perfectly.
Please close this bug.