Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89416 - glib-2.6.3 download failure
Summary: glib-2.6.3 download failure
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-17 07:59 UTC by Dave Nebinger
Modified: 2005-04-18 05:38 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 Dave Nebinger 2005-04-17 07:59:18 UTC
Strange errors when trying to fetch glib-2.6.3.tar.bz2.  One gentoo box reports:

server glib # ebuild glib-2.6.3.ebuild fetch
>>> Resuming download...
>>> Downloading http://gentoo.mirrors.pair.com/distfiles/glib-2.6.3.tar.bz2
[glib-2.6.3] bash: -c: line 1: unexpected EOF while looking for matching `)'
[glib-2.6.3] bash: -c: line 2: syntax error: unexpected end of file

This box has a custom DISTDIR entry in /etc/make.conf.

Another box w/ default DISTDIR fetches glib-2.6.3.tar.bz2 as /usr/portage/distfilesglib-2.6.3.tar.bz2 (note the missing slash between distfiles and glib) but cannot find it then in the distfiles directory to continue processing.

All other packages on these systems fetch successfully (in fact both systems completed 'emerge -uD world' today, successfully upgrading everything except glib).

Reproducible: Always
Steps to Reproduce:
1. On box with custom DISTDIR, 'ebuild glib-2.6.3.ebuild fetch' results in failure.
2. On box w/o custom DISTDIR, 'ebuild glib-2.6.3.ebuild fetch' always downloads file as '/usr/portage/distfilesglib-2.6.3.tar.bz2' (note missing slash between distfiles and glib).
3.

Actual Results:  
See details for output.

Expected Results:  
Completed the fetch successfully, allowing emerge to compile/install the package.

server glib # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.10-nitro4 i686)
=================================================================
System uname: 2.6.10-nitro4 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 07:46:12)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/resin/conf /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control /var/run/dspam
/var/spool/dspam"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/home/ftp/mirrors/gentoo/dist"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/
ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp-mirror.internap.com/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/
ftp://ftp-mirror.internap.com/pub/gentoo/"
MAKEOPTS="-j8"
PKGDIR="/home/ftp/mirrors/gentoo/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bzlib cdr crypt cups curl
emboss encode exif fam foomaticdb fortran ftp gd gdbm gif gnutls gpm gtk gtk2
imlib java jikes jpeg junit kde kerberos libg++ libwww mad maildir mikmod mime
mmap mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl
oss pam pcre pdflib perl php pic png posix python qt quicktime readline sasl sdl
shared sharedmem snmp sockets spell sse ssl svga sysvipc tcpd tiff truetype
truetype-fonts type1-fonts usb vorbis xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS



cornholio glib # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11.7-bridge i686)
=================================================================
System uname: 2.6.11.7-bridge i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 26 2005, 13:50:19)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
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 -pipe -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control /var/run/dspam
/var/spool/dspam"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp-mirror.internap.com/pub/gentoo/
ftp://ftp-mirror.internap.com/pub/gentoo/ http://gentoo.binarycompass.org"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.4/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bzlib cdr crypt cups curl
emboss encode exif fam foomaticdb fortran ftp gd gdbm gif gnutls gpm gtk gtk2
imlib java jikes jpeg kde kerberos libg++ libwww mad maildir mikmod mime mmap
mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl oss
pam pcre pdflib perl php pic png posix python qt quicktime readline sasl sdl
shared sharedmem snmp sockets spell sse ssl svga sysvipc tcpd tiff truetype
truetype-fonts type1-fonts usb vorbis xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Dave Nebinger 2005-04-17 08:22:18 UTC
Adding an additional slash to the DISTDIR entry in /etc/make.conf resolves the download problem.  On the box with a custom DISTDIR, I changed to:

DISTDIR=/home/ftp/mirrors/gentoo/dist/

And the box w/o custom DISTDIR I set to:

DISTDIR=/usr/portage/distfiles/

And both systems now fetch successfully.
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2005-04-18 05:38:07 UTC
Well figured out.