Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117439 - drupal fails to download its source
Summary: drupal fails to download its source
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Lim Swee Tat (RETIRED)
URL:
Whiteboard:
Keywords:
: 117695 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-02 04:45 UTC by Arno Ekkes
Modified: 2006-01-04 08:45 UTC (History)
4 users (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 Arno Ekkes 2006-01-02 04:45:23 UTC
When trying to emerge drupal-4.6.5  i get the following output and error. It looks like it can download the file, but can't find it after the download.
This is the actually messages i get:
>>> emerge (1 of 1) www-apps/drupal-4.6.5 to /
>>> Downloading http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/distfiles/drupal-4.6.5.tar.gz
--13:38:04--  http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/distfiles/drupal-4.6.5.tar.gz
           => `/usr/portage/distfiles/drupal-4.6.5.tar.gz'
Resolving ftp.snt.utwente.nl... 130.89.175.1, 2001:610:1908:8000::175:1
Connecting to ftp.snt.utwente.nl|130.89.175.1|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
13:38:04 ERROR 404: Not Found.

>>> Downloading http://distfiles.gentoo.org/distfiles/drupal-4.6.5.tar.gz
--13:38:04--  http://distfiles.gentoo.org/distfiles/drupal-4.6.5.tar.gz
           => `/usr/portage/distfiles/drupal-4.6.5.tar.gz'
Resolving distfiles.gentoo.org... 64.50.238.52, 64.50.236.52, 216.165.129.135
Connecting to distfiles.gentoo.org|64.50.238.52|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
13:38:04 ERROR 404: Not Found.

>>> Downloading http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/drupal-4.6.5.tar.gz
--13:38:04--  http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/drupal-4.6.5.tar.gz
           => `/usr/portage/distfiles/drupal-4.6.5.tar.gz'
Resolving www.ibiblio.org... 152.2.210.80
Connecting to www.ibiblio.org|152.2.210.80|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/drupal-4.6.5.tar.gz [following]
--13:38:05--  http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/drupal-4.6.5.tar.gz
           => `/usr/portage/distfiles/drupal-4.6.5.tar.gz'
Resolving distro.ibiblio.org... 152.2.210.109
Connecting to distro.ibiblio.org|152.2.210.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
13:38:05 ERROR 404: Not Found.

>>> Downloading http://drupal.org/files/projects/drupal-4.6.5.tar.gz
--13:38:06--  http://drupal.org/files/projects/drupal-4.6.5.tar.gz
           => `/usr/portage/distfiles/drupal-4.6.5.tar.gz'
Resolving drupal.org... 140.211.166.46
Connecting to drupal.org|140.211.166.46|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 455,987 (445K) [application/x-gzip]

100%[=================================================================>] 455,987      162.61K/s

13:38:09 (162.16 KB/s) - `/usr/portage/distfiles/drupal-4.6.5.tar.gz' saved [455987/455987]

!!! Couldn't download drupal-4.6.5.tar.gz. Aborting.

Afterwards i tried to remove the file and download it again. But the error stays. 

My emerge info:
Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 apm berkdb bitmap-fonts bzip2 crypt cups curl eds emboss exif expat foomaticdb fortran gd gdbm gif gmp gstreamer idn imagemagick imlib ipv6 jpeg ldap libg++ libwww maildir mhash mp3 mysql ncurses nls oav ogg oggvorbis pam pcre pdflib perl php pic png ppds python readline samba sasl spell ssl tcpd tiff truetype-fonts type1-fonts udev usb vhosts vorbis xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Ruben Jenster 2006-01-02 07:25:20 UTC
For me it sucessfully fetches the file from

SRC_URI="http://drupal.org/files/projects/${P}.tar.gz"

but the digest does not match.


>>> Downloading http://drupal.org/files/projects/drupal-4.6.5.tar.gz
--16:20:34--  http://drupal.org/files/projects/drupal-4.6.5.tar.gz
           => `/home/distfiles/drupal-4.6.5.tar.gz'
Aufl
Comment 2 Ruben Jenster 2006-01-02 07:25:20 UTC
For me it sucessfully fetches the file from

SRC_URI="http://drupal.org/files/projects/${P}.tar.gz"

but the digest does not match.


>>> Downloading http://drupal.org/files/projects/drupal-4.6.5.tar.gz
--16:20:34--  http://drupal.org/files/projects/drupal-4.6.5.tar.gz
           => `/home/distfiles/drupal-4.6.5.tar.gz'
Auflösen des Hostnamen »localhost«.... 127.0.0.1
Verbindungsaufbau zu localhost|127.0.0.1|:8099... verbunden.
Proxy Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 455.997 (445K) [application/x-gzip]

100%[==========================================================================>] 455.997      121.02K/s    ETA 00:00

16:20:38 (105.74 KB/s) - »/home/distfiles/drupal-4.6.5.tar.gz« gespeichert [455997/455997]

>>> md5 files   ;-) drupal-4.6.3.ebuild
>>> md5 files   ;-) drupal-4.5.7.ebuild
>>> md5 files   ;-) drupal-4.5.2.ebuild
>>> md5 files   ;-) drupal-4.6.5.ebuild
>>> md5 files   ;-) drupal-4.6.2.ebuild
>>> md5 files   ;-) files/postinstall-en-4.6.3.txt
>>> md5 files   ;-) files/postinstall-en.txt
>>> md5 files   ;-) files/digest-drupal-4.5.2
>>> md5 files   ;-) files/digest-drupal-4.5.7
>>> md5 files   ;-) files/digest-drupal-4.6.2
>>> md5 files   ;-) files/digest-drupal-4.6.3
>>> md5 files   ;-) files/digest-drupal-4.6.5
>>> md5 files   ;-) files/4.6.0/engines
>>> md5 files   ;-) files/4.6.0/modules
>>> md5 files   ;-) files/4.6.0/themes
>>> md5 files   ;-) files/4.6.0/language

!!! Digest verification Failed:
!!!    /home/distfiles/drupal-4.6.5.tar.gz
!!! Reason: Filesize does not match recorded size
Comment 3 Harm Geerts 2006-01-02 11:34:43 UTC
Same for me, also got drupal from the official site
!!! Digest verification Failed:
!!!    /var/tmp/portage/drupal-4.6.5/distdir/drupal-4.6.5.tar.gz
!!! Reason: Filesize does not match recorded size
!!! Got:      455997
!!! Expected: 455995

And after regenerating the digest I got this error:

 * ebuild fault: file '/usr/portage/www-apps/drupal/files/postinstall-en-4.6.5.txt' not found
 * Please report this as a bug at http://bugs.gentoo.org/

!!! ERROR: www-apps/drupal-4.6.5 failed.
!!! Function webapp_checkfileexists, Line 81, Exitcode 0
!!! ebuild fault: file '/usr/portage/www-apps/drupal/files/postinstall-en-4.6.5.txt' not found
!!! If you need support, post the topmost build error, NOT this status message.
Comment 4 Arno Ekkes 2006-01-02 12:40:40 UTC
I found the solution to the problems.
First i copied the file postinstall-en-4.6.3 to postinstall-en-4.6.5. And then i recreated the Manifest file by doing:
ebuild drupal-4.6.5.ebuild digest.
Now drupal installs fine for me.
Comment 5 Alexandre Ghisoli 2006-01-03 01:38:38 UTC
on 2 jan 06, ebuild complain about missing download, on the 3nd, filesize doenst match

As read here, tips to make it working : 

Copy drupal in your overlay directory
Copy postinstall-en-4.6.3 to postinstall-en-4.6.5 (in files directory)
emerge -f drupal
ebuild drupal-4.6.5.ebuild digest
then emerge drupal

Seems to be working.
Comment 6 David Grant 2006-01-03 14:49:43 UTC
Comment #4 works for me. Thanks.
Comment 7 Lim Swee Tat (RETIRED) gentoo-dev 2006-01-03 16:40:05 UTC
Hi,
  My error.  I've fixed it.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-01-04 01:45:18 UTC
*** Bug 117695 has been marked as a duplicate of this bug. ***
Comment 9 Ben 2006-01-04 08:20:51 UTC
Is it really "resolved fixed" that there is a workaround? So everyone who wants to install Drupal, make sure you come find this bug to explain the hack to force a broken ebuild to work!
Comment 10 Renat Lumpau (RETIRED) gentoo-dev 2006-01-04 08:27:52 UTC
(In reply to comment #8)
> Is it really "resolved fixed" that there is a workaround? So everyone who wants
> to install Drupal, make sure you come find this bug to explain the hack to
> force a broken ebuild to work!

Before you post angry comments, try resyncing.

Comment 11 Ben 2006-01-04 08:45:16 UTC
Very sorry... you are correct. I saw nothing in the comments to indicate that the ebuild saw fixed but I should have just tried it again before bitching. Sincere apologies...