Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281753 - portage-2.2_rc38 failed to svn checkout a repository when behind a proxy
Summary: portage-2.2_rc38 failed to svn checkout a repository when behind a proxy
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-17 12:26 UTC by Plopmaster
Modified: 2009-08-17 14:16 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 Plopmaster 2009-08-17 12:26:31 UTC
I tried to install media-sound/ardour-2.9999 (from pro-audio overlay). So, portage should svn checkout ardour. My .subversion/servers specifies the proxy to use, but portage seems to ignore it, and thus checkout fails.
I have to modify my firewall to make it work.

Reproducible: Always

Steps to Reproduce:
1. Go behind a proxy
2. Modify your .subversion/servers to make you able to checkout through the proxy. Test it by svn co https://svn.dotclear.net/2.0/trunk/
3. try to ebuild ardour-2.9999.ebuild compile

Actual Results:  
svn: OPTIONS de 'http://subversion.ardour.org/svn/ardour2/branches/2.0-ongoing': Impossible de se connecter au serveur (http://subversion.ardour.org)
 * 
 * ERROR: media-sound/ardour-2.9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2916:  Called subversion_src_unpack
 *             environment, line 3270:  Called subversion_fetch
 *             environment, line 3232:  Called die
 * The specific snippet of code:
sed: impossible de lire /dev/shm/portage/media-sound/ardour-2.9999/temp/environment: Aucun fichier ou dossier de ce type
 *  The die message:
 *   subversion: can't update /var/spool/distfiles/svn-src/ardour/2.0-ongoing from http://subversion.ardour.org/svn/ardour2/branches/2.0-ongoing.
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/dev/shm/portage/media-sound/ardour-2.9999/temp/build.log'.
 * The ebuild environment file is located at '/dev/shm/portage/media-sound/ardour-2.9999/temp/die.env'.
 * This ebuild is from an overlay named 'proaudio': '/var/overlay/pro-audio/'


Expected Results:  
Ardour, or any other package fetched by svn, it checkouted

Portage 2.2_rc38 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29 i686)
=================================================================
System uname: Linux-2.6.29-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 17 Aug 2009 08:15:01 +0000
app-shells/bash:     3.2_p39dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 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="-O3 -pipe -march=pentium4"
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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /e
tc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=pentium4"DISTDIR="/var/spool/distfiles"FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mir.zyrianes.net/gentoo/"LANG="fr_FR.UTF-8"LDFLAGS="-Wl,-O1"LINGUAS="fr"MAKEOPTS="-j3"PKGDIR="/var/spool/portage/packages/x86"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="/dev/shm/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/overlay/pro-audio /var/overlay/sunrise /var/overlay/berkano"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="X a52 aac acl acpi alsa amr amrnb amrwb ao bash-completion berkdb bluetooth bzip2 cairo caps cddb cdr chardet cli cracklib crypt curl dbus dri dssi dts dv dvd dvdr emerald encode exif expat ffmpeg fftw firefox flac fluidsynth fortran galago gd gdbm gif gimp glitz gmp gnome gnutls gpm gstreamer gtk gtkhtml hal icecast iconv id3tag idn imagemagick imap inkjar irda isdnlog ithreads jabber jack java jpeg jpeg2k ladspa lame lash lcms ldap libcaca libnotify libsamplerate lirc live lm_sensors mad matroska memcache midi mjpeg mmx mp3 mp4 mpeg mudflap musepack nautilus ncurses nls nptl nptlonly ogg ogm opengl openmp pam pcre pdf perl plotutils png podcast portaudio pppd pulseaudio python qt3support qt4 quicktime raw readline reflection rrdtool rtc sdl session shout sndfile spell spl sqlite srt sse sse2 ssl svg sysfs tcpd theora threads tiff totem trayicon truetype unicode usb v4l v4l2 vorbis win32codecs wmf wxwindows x86 xcb xinetd xiph xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0 cmipci emu10k1" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" LIRC_DEVICES="livedrive_midi" USERLAND="GNU" VIDEO_CARDS="nv v4l nvidia v4l2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-17 13:31:55 UTC
Which .subversion/servers did you modify?
Comment 2 Plopmaster 2009-08-17 13:39:24 UTC
The one of root, since it's the only one who is supposed to be able to build packages, and so checkout stuff
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-17 14:03:52 UTC
You should modify file printed by this command:
echo $(portageq envvar DISTDIR)/svn-src/.subversion/servers
Comment 4 Plopmaster 2009-08-17 14:07:27 UTC
Works fine.
So, if I can make a comment : should it be possible to put these parameters in a more central place, such as make.conf or ... .subversion/servers of root ?
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-17 14:16:03 UTC
(In reply to comment #4)
> should it be possible to put these parameters in a more central place, such
> as make.conf

Currently there is no variable for this purpose. We migth consider adding it in the future.

> .subversion/servers of root ?

No. With FEATURES="userpriv" these files are owned by user "portage", not "root".