Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39635 - wrong digest alsa-driver-1.0.2 ebuild
Summary: wrong digest alsa-driver-1.0.2 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 39647 39654 39656 39663 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-27 21:36 UTC by Iain Cadd
Modified: 2004-01-28 07:40 UTC (History)
5 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 Iain Cadd 2004-01-27 21:36:15 UTC
Just before I start I have linked /usr/src/linux to -> linux-2.4.22-ac4 although the machine is currently booted with 2.6.2-rc1-mm3. Dunno if that makes a difference. Never has before...

I seem to have a strange problem with the alsa-driver-1.0.2 ebuild. When ever I try to run;

ALSA_CARDS="emu10k1 intel8x0" emerge alsa-driver -u

It tries to download the file again even though it is already in the /usr/portage/distfiles directory. See below.

portage # ls -l /usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2 
-rw-rw-r--    1 root     portage   1674543 Jan 28 05:02 /usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2

ALSA_CARDS="emu10k1 intel8x0" emerge alsa-driver -u
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsa-driver-1.0.2 to /
>>> Resuming download...
>>> Downloading ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.alsa-project.org/driver/alsa-driver-1.0.2.tar.bz2
--05:24:36--  ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.alsa-project.org/driver/alsa-driver-1.0.2.tar.bz2
           => `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2'
Resolving ftp.iasi.roedu.net... 192.129.4.120
Connecting to ftp.iasi.roedu.net[192.129.4.120]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/mirrors/ftp.alsa-project.org/driver ... done.
==> SIZE alsa-driver-1.0.2.tar.bz2 ... done.
==> PASV ... done.    ==> REST 1674543 ... done.    
==> RETR alsa-driver-1.0.2.tar.bz2 ... 
No such file `alsa-driver-1.0.2.tar.bz2'.

>>> Resuming download...
>>> Downloading ftp://gd.tuwien.ac.at/opsys/linux/alsa/driver/alsa-driver-1.0.2.tar.bz2
--05:24:37--  ftp://gd.tuwien.ac.at/opsys/linux/alsa/driver/alsa-driver-1.0.2.tar.bz2
           => `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2'
Resolving gd.tuwien.ac.at... 192.35.244.50
Connecting to gd.tuwien.ac.at[192.35.244.50]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /opsys/linux/alsa/driver ... done.
==> SIZE alsa-driver-1.0.2.tar.bz2 ... done.
==> PASV ... done.    ==> REST 1674543 ... done.    
==> RETR alsa-driver-1.0.2.tar.bz2 ... done.
Length: 1,673,772 [-771 to go]

100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++] 1,674,543     --.--K/s             

05:24:42 (0.00 B/s) - `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2' saved [1674543]

>>> Resuming download...
>>> Downloading ftp://linux.sarang.net/mirror/driver/sound/alsa/driver/alsa-driver-1.0.2.tar.bz2
--05:24:42--  ftp://linux.sarang.net/mirror/driver/sound/alsa/driver/alsa-driver-1.0.2.tar.bz2
           => `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2'
Resolving linux.sarang.net... 211.47.128.157
Connecting to linux.sarang.net[211.47.128.157]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /mirror/driver/sound/alsa/driver ... done.
==> SIZE alsa-driver-1.0.2.tar.bz2 ... done.
==> PASV ... done.    ==> REST 1674543 ... done.    
==> RETR alsa-driver-1.0.2.tar.bz2 ... done.
Length: 1,674,543 [0 to go]

100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++] 1,674,543     --.--K/s             

05:24:46 (0.00 B/s) - `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2' saved [1674543]

>>> Resuming download...
>>> Downloading ftp://ftp.rfc822.org/pub/mirror/ftp.alsa-project.org/pub/driver/alsa-driver-1.0.2.tar.bz2
--05:24:46--  ftp://ftp.rfc822.org/pub/mirror/ftp.alsa-project.org/pub/driver/alsa-driver-1.0.2.tar.bz2
           => `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2'
Resolving ftp.rfc822.org... 195.71.9.196
Connecting to ftp.rfc822.org[195.71.9.196]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/mirror/ftp.alsa-project.org/pub/driver ... 
No such directory `pub/mirror/ftp.alsa-project.org/pub/driver'.

>>> Resuming download...
>>> Downloading ftp://ftp.task.gda.pl/pub/linux/misc/alsa/driver/alsa-driver-1.0.2.tar.bz2
--05:24:46--  ftp://ftp.task.gda.pl/pub/linux/misc/alsa/driver/alsa-driver-1.0.2.tar.bz2
           => `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2'
Resolving ftp.task.gda.pl... 153.19.0.141
Connecting to ftp.task.gda.pl[153.19.0.141]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/linux/misc/alsa/driver ... done.
==> SIZE alsa-driver-1.0.2.tar.bz2 ... done.
==> PASV ... done.    ==> REST 1674543 ... done.    
==> RETR alsa-driver-1.0.2.tar.bz2 ... done.
Length: 1,674,543 [0 to go]

100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++] 1,674,543     --.--K/s             

05:24:47 (0.00 B/s) - `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2' saved [1674543]

>>> Resuming download...
>>> Downloading ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.2.tar.bz2
--05:24:47--  ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.2.tar.bz2
           => `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2'
Resolving ftp.alsa-project.org... 160.217.9.25
Connecting to ftp.alsa-project.org[160.217.9.25]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/driver ... done.
==> SIZE alsa-driver-1.0.2.tar.bz2 ... done.
==> PASV ... done.    ==> REST 1674543 ... done.    
==> RETR alsa-driver-1.0.2.tar.bz2 ... done.
Length: 1,674,543 [0 to go]

100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++] 1,674,543     --.--K/s             

05:24:48 (0.00 B/s) - `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2' saved [1674543]

>>> Resuming download...
>>> Downloading ftp://ftp.silug.org/pub/alsa/driver/alsa-driver-1.0.2.tar.bz2
--05:24:48--  ftp://ftp.silug.org/pub/alsa/driver/alsa-driver-1.0.2.tar.bz2
           => `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2'
Resolving ftp.silug.org... 64.240.156.196
Connecting to ftp.silug.org[64.240.156.196]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/alsa/driver ... done.
==> SIZE alsa-driver-1.0.2.tar.bz2 ... done.
==> PASV ... done.    ==> REST 1674543 ... done.    
==> RETR alsa-driver-1.0.2.tar.bz2 ... done.
Length: 1,674,543 [0 to go]

100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++] 1,674,543     --.--K/s             

05:24:55 (0.00 B/s) - `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2' saved [1674543]

>>> Resuming download...
>>> Downloading http://www.alsa-project.org/alsa/ftp/driver/alsa-driver-1.0.2.tar.bz2
--05:24:55--  http://www.alsa-project.org/alsa/ftp/driver/alsa-driver-1.0.2.tar.bz2
           => `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2'
Resolving www.alsa-project.org... 160.217.9.25
Connecting to www.alsa-project.org[160.217.9.25]:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

>>> Resuming download...
>>> Downloading http://gd.tuwien.ac.at/opsys/linux/alsa/driver/alsa-driver-1.0.2.tar.bz2
--05:24:55--  http://gd.tuwien.ac.at/opsys/linux/alsa/driver/alsa-driver-1.0.2.tar.bz2
           => `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2'
Resolving gd.tuwien.ac.at... 192.35.244.50
Connecting to gd.tuwien.ac.at[192.35.244.50]:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

>>> Resuming download...
>>> Downloading ftp://ftp.sunet.se/pub/Linux/alsa/driver/alsa-driver-1.0.2.tar.bz2
--05:24:57--  ftp://ftp.sunet.se/pub/Linux/alsa/driver/alsa-driver-1.0.2.tar.bz2
           => `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2'
Resolving ftp.sunet.se... 194.71.11.40, 194.71.11.20
Connecting to ftp.sunet.se[194.71.11.40]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/Linux/alsa/driver ... done.
==> SIZE alsa-driver-1.0.2.tar.bz2 ... done.
==> PASV ... done.    ==> REST 1674543 ... done.    
==> RETR alsa-driver-1.0.2.tar.bz2 ... done.
Length: 1,673,772 [-771 to go]

100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++] 1,674,543     --.--K/s             

05:24:58 (0.00 B/s) - `/usr/portage/distfiles/alsa-driver-1.0.2.tar.bz2' saved [1674543]

!!! Couldn't download alsa-driver-1.0.2.tar.bz2. Aborting.

Anyway it seem obsessed in downloading the file even though I have already downloaded it. I also tried deleting it and downloading it manually but the same happened. 
Finally I tired editing the ebuild and took out the following lines;

#SRC_URI="mirror://alsaproject/driver/${P}.tar.bz2"

And got the following;

ALSA_CARDS="emu10k1 intel8x0" emerge alsa-driver -u
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsa-driver-1.0.2 to /
>>> Unpacking source...
/usr/sbin/ebuild.sh: line 39: cd: /var/tmp/portage/alsa-driver-1.0.2/work/alsa-driver-1.0.2: No such file or directory
 * This does not work with kernel 2.6 !!!
 * Please use the kernel modules instead of this the package
 * Applying makefile.patch...

 * Failed Patch: makefile.patch!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/alsa-driver-1.0.2/temp/makefile.patch-22026.out


!!! ERROR: media-sound/alsa-driver-1.0.2 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: makefile.patch!

As requested by the ebuild here is the contents of;
cat /var/tmp/portage/alsa-driver-1.0.2/temp/makefile.patch-22026.out
***** makefile.patch *****

==========================

PATCH COMMAND:  patch  -p0 < /usr/portage/media-sound/alsa-driver/files/makefile.patch

==========================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.hacked	2003-05-23 11:24:05.000000000 +0100
|+++ Makefile	2003-08-05 21:19:05.809762711 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
==========================

PATCH COMMAND:  patch  -p1 < /usr/portage/media-sound/alsa-driver/files/makefile.patch

==========================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.hacked	2003-05-23 11:24:05.000000000 +0100
|+++ Makefile	2003-08-05 21:19:05.809762711 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
==========================

PATCH COMMAND:  patch  -p2 < /usr/portage/media-sound/alsa-driver/files/makefile.patch

==========================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.hacked	2003-05-23 11:24:05.000000000 +0100
|+++ Makefile	2003-08-05 21:19:05.809762711 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
==========================

PATCH COMMAND:  patch  -p3 < /usr/portage/media-sound/alsa-driver/files/makefile.patch

==========================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.hacked	2003-05-23 11:24:05.000000000 +0100
|+++ Makefile	2003-08-05 21:19:05.809762711 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
==========================

PATCH COMMAND:  patch  -p4 < /usr/portage/media-sound/alsa-driver/files/makefile.patch

==========================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.hacked	2003-05-23 11:24:05.000000000 +0100
|+++ Makefile	2003-08-05 21:19:05.809762711 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

Reproducible: Always
Steps to Reproduce:
1. ALSA_CARDS="emu10k1 intel8x0" emerge alsa-driver -u
2.
3.

Actual Results:  
See details

Expected Results:  
Erm... installed alsa-driver modules for 2.4 kernel

See details
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-01-27 23:49:34 UTC
seems the digest in cvs is bad

this one should work
more files/digest-alsa-driver-1.0.2
MD5 9c2156ce75e39675300e0c3a358018a5 alsa-driver-1.0.2.tar.bz2 1674543
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-01-28 01:24:00 UTC
could you please fix this too ?
Comment 3 Iain Cadd 2004-01-28 01:49:05 UTC
Thanks that worked perfectly

iain
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-01-28 01:59:14 UTC
the digest has to be updated in cvs
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-01-28 02:41:23 UTC
updated digest in cvs
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2004-01-28 04:43:59 UTC
*** Bug 39654 has been marked as a duplicate of this bug. ***
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2004-01-28 04:44:50 UTC
*** Bug 39647 has been marked as a duplicate of this bug. ***
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2004-01-28 04:48:24 UTC
digest already updated in cvs

please sync
Comment 9 SpanKY gentoo-dev 2004-01-28 05:34:16 UTC
*** Bug 39656 has been marked as a duplicate of this bug. ***
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2004-01-28 07:40:06 UTC
*** Bug 39663 has been marked as a duplicate of this bug. ***