<SNIP> emerge linux-wlan-ng Calculating dependencies ...done! >>> emerge (1 of 1) net-wireless/linux-wlan-ng-0.2.0 to / >>> Downloading http://flow.dl.sourceforge.net/sourceforge/pcmcia-cs/pcmcia-cs-No.tar.gz --17:02:03-- http://flow.dl.sourceforge.net/sourceforge/pcmcia-cs/pcmcia-cs-No.tar.gz => `/var/tmp/distfiles/pcmcia-cs-No.tar.gz' Resolving flow.dl.sourceforge.net... done. Connecting to flow.dl.sourceforge.net[202.129.95.174]:80... connected. HTTP request sent, awaiting response... 404 Not Found 17:02:03 ERROR 404: Not Found. !!! Couldn't download pcmcia-cs-No.tar.gz. Aborting. </SNIP> Reproducible: Always Steps to Reproduce: 1. emerge -f linux-wlan-ng 2. .. 3. Couldn't download pcmcia-cs-No.tar.gz. Aborting. Actual Results: Guess portage doesn't like overquoting, like me :D.. Expected Results: Fetch some sources... diff -ur linux-wlan-ng-0.2.0.ebuild linux-wlan-ng-0.2.0-r1.ebuild --- linux-wlan-ng-0.2.0.ebuild 2003-03-09 00:21:14.000000000 +0100 +++ linux-wlan-ng-0.2.0-r1.ebuild 2003-03-22 17:05:08.000000000 +0100 @@ -4,7 +4,7 @@ IUSE="apm build nocardbus pcmcia pnp trusted usb" -PCMCIA_VERSION="`/sbin/cardmgr -V 2>&1 | /usr/bin/cut -f3 -d' '`" +PCMCIA_VERSION=`/sbin/cardmgr -V 2>&1 | /usr/bin/cut -f3 -d' '` PCMCIA_CS="pcmcia-cs-${PCMCIA_VERSION}" PCMCIA_DIR="${WORKDIR}/${PCMCIA_CS}" 'Four' quotes less :)
I believe the first fix posted still has a problem as a ${S} is used later in the script is never created. The fix that worked for me is: diff -ur linux-wlan-ng-0.2.0.ebuild linux-wlan-ng-0.2.0-r1.ebuild --- linux-wlan-ng-0.2.0.ebuild 2003-03-08 17:21:14.000000000 -0600 +++ linux-wlan-ng-0.2.0-r1.ebuild 2003-03-24 11:10:08.000000000 -0600 @@ -8,8 +8,11 @@ PCMCIA_CS="pcmcia-cs-${PCMCIA_VERSION}" PCMCIA_DIR="${WORKDIR}/${PCMCIA_CS}" +MY_P=${P/_/-} +S=${WORKDIR}/${MY_P} + DESCRIPTION="The linux-wlan Project" -SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${P}.tar.gz +SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.gz pcmcia? ( mirror://sourceforge/pcmcia-cs/${PCMCIA_CS}.tar.gz )" HOMEPAGE="http://linux-wlan.org"
I've changed the linux-wlan-ng-0.2.0 ebuild to no longer bother w/ the cardctl/cut stuff. Portage is fickle about bash stuff not in a section, and acts differently if emerging as opposed to doing "ebuild foo.ebuild unpack". Now uses has_version to determine which pcmcia to build with. Please test this to make sure it works for you. As for the ${S}, this should not be necessary, as the directory created is ${PORT_TEMP}/linux-wlan-ng-0.2.0 as it should be
Tested...Didn't like it :) <SNIP> lappy root # emerge linux-wlan-ng Calculating dependencies ...done! >>> emerge (1 of 1) net-wireless/linux-wlan-ng-0.2.0 to / >>> Downloading ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/distfiles/pcmcia-cs-.tar.gz </SNIP> # emerge -p pcmcia-cs These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-apps/pcmcia-cs-3.2.4 Rogi
Looking at the ebuilds, I can see this is no longer a problem. Closing the bug. Please re-open if the problem persists for you with the current ebuilds.