Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

emerge FETCHCOMMAND problem

62 views
Skip to first unread message

Victoria Heisner

unread,
Sep 4, 2009, 3:16:08 PM9/4/09
to
When I run an emerge, I get this:

!!! FETCHCOMMAND does not contain the required ${FILE} parameter.
!!! RESUMECOMMAND does not contain the required ${FILE} parameter.
!!! Refer to the make.conf(5) man page for information about how to
!!! correctly specify FETCHCOMMAND and RESUMECOMMAND.

If I look at make.conf(5), it says to be sure to use:

\${DISTDIR}/\${FILE}

If I do use that, then a directory is made named <filename>, and the file is
placed inside it.

If I use:

\${DISTDIR}/${FILE}

Then I get the warning listed above.

From my current /etc/make.conf:

FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P
\${DISTDIR}/${FILE}"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P
\${DISTDIR}/${FILE}"

How do I get this to work where I don't get the warnings, and don't have
directories made instead of simply files placed in /usr/portage/distfiles?

Thanks,
Vicki

David W Noon

unread,
Sep 5, 2009, 3:39:06 PM9/5/09
to
On Fri, 04 Sep 2009 15:16:08 -0400, Victoria Heisner wrote about emerge
FETCHCOMMAND problem:

[snip]


> From my current /etc/make.conf:
>
> FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P
> \${DISTDIR}/${FILE}"
> RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P
> \${DISTDIR}/${FILE}"
>
> How do I get this to work where I don't get the warnings, and don't
> have directories made instead of simply files placed
> in /usr/portage/distfiles?

Try replacing the quotes (") with apostrophes ('). This will defer the
interpretation of the \ and $ meta-characters until it's needed.

--
Regards,

Dave [RLU #314465]
=======================================================================
dwn...@spamtrap.ntlworld.com (David W Noon)
Remove spam trap to reply by e-mail.
=======================================================================

signature.asc

Michał Górny

unread,
Sep 11, 2009, 10:20:58 AM9/11/09
to
On Fri, 04 Sep 2009 21:16:08 +0200, Victoria Heisner
<phei...@shoreham.net> wrote:

> FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P
> \${DISTDIR}/${FILE}"
> RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P
> \${DISTDIR}/${FILE}"
>
> How do I get this to work where I don't get the warnings, and don't have
> directories made instead of simply files placed in
> /usr/portage/distfiles?

Replace '-P' with '-O'.

--
Best regards,
Michał Górny

http://mgorny.alt.pl/
<xmpp:mgo...@jabber.ru>

Victoria Heisner

unread,
Sep 14, 2009, 4:37:46 PM9/14/09
to
Micha? G�rny wrote:

> On Fri, 04 Sep 2009 21:16:08 +0200, Victoria Heisner
> <phei...@shoreham.net> wrote:
>
>> FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P
>> \${DISTDIR}/${FILE}"
>> RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P
>> \${DISTDIR}/${FILE}"
>>
>> How do I get this to work where I don't get the warnings, and don't have
>> directories made instead of simply files placed in
>> /usr/portage/distfiles?
>
> Replace '-P' with '-O'.
>

Thanks, works a treat now.

Thanks again,
Vicki

0 new messages