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
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
could you please fix this too ?
Thanks that worked perfectly iain
the digest has to be updated in cvs
updated digest in cvs
*** Bug 39654 has been marked as a duplicate of this bug. ***
*** Bug 39647 has been marked as a duplicate of this bug. ***
digest already updated in cvs please sync
*** Bug 39656 has been marked as a duplicate of this bug. ***
*** Bug 39663 has been marked as a duplicate of this bug. ***