* [gentoo-user] Trying to make portage use "puf" instead of "wget"
@ 2009-12-18 15:40 Ronan Mainbourg
2009-12-18 16:27 ` Paul Hartman
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Ronan Mainbourg @ 2009-12-18 15:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 551 bytes --]
Because my Internet connection is not very fast, I'd like to make portage
fetch files using net-misc/puf (wich can dl several chunks of a file at the
same time) instead of wget.
I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but
it doesn't work:
FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR}/\${FILE}"
... Give me when I try emerging a package (here"media-libs/libdvbpsi" for
instance):
!!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting.
Any Ideas ?
--
Ronan Mainbourg
Sent from Tananarive, Madagascar
[-- Attachment #2: Type: text/html, Size: 812 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
2009-12-18 15:40 Ronan Mainbourg
@ 2009-12-18 16:27 ` Paul Hartman
2009-12-18 17:26 ` Marcus Wanner
2009-12-18 19:10 ` Paul Hartman
2 siblings, 0 replies; 7+ messages in thread
From: Paul Hartman @ 2009-12-18 16:27 UTC (permalink / raw
To: gentoo-user
On Fri, Dec 18, 2009 at 9:40 AM, Ronan Mainbourg
<ronan.mainbourg@gmail.com> wrote:
> Because my Internet connection is not very fast, I'd like to make portage
> fetch files using net-misc/puf (wich can dl several chunks of a file at the
> same time) instead of wget.
> I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but
> it doesn't work:
puf crashes every time for me with this, maybe you have the same problem?
*** glibc detected *** puf: double free or corruption (top):
0x000000000169d730 ***
======= Backtrace: =========
/lib/libc.so.6(+0x72406)[0x7f0a980bd406]
/lib/libc.so.6(cfree+0x6c)[0x7f0a980c21ac]
puf[0x40ec8b]
puf[0x40204b]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f0a98069bbd]
puf[0x401da9]
======= Memory map: ========
00400000-00415000 r-xp 00000000 08:05 5292661
/usr/bin/puf
00614000-00615000 r--p 00014000 08:05 5292661
/usr/bin/puf
00615000-00616000 rw-p 00015000 08:05 5292661
/usr/bin/puf
0169d000-016be000 rw-p 00000000 00:00 0 [heap]
7f0a93de9000-7f0a93dff000 r-xp 00000000 08:05 5145230
/lib64/libgcc_s.so.1
7f0a93dff000-7f0a93ffe000 ---p 00016000 08:05 5145230
/lib64/libgcc_s.so.1
7f0a93ffe000-7f0a93fff000 r--p 00015000 08:05 5145230
/lib64/libgcc_s.so.1
7f0a93fff000-7f0a94000000 rw-p 00016000 08:05 5145230
/lib64/libgcc_s.so.1
7f0a94000000-7f0a94021000 rw-p 00000000 00:00 0
7f0a94021000-7f0a98000000 ---p 00000000 00:00 0
7f0a9804b000-7f0a9819b000 r-xp 00000000 08:05 4260926
/lib64/libc-2.11.so
7f0a9819b000-7f0a9839a000 ---p 00150000 08:05 4260926
/lib64/libc-2.11.so
7f0a9839a000-7f0a9839e000 r--p 0014f000 08:05 4260926
/lib64/libc-2.11.so
7f0a9839e000-7f0a9839f000 rw-p 00153000 08:05 4260926
/lib64/libc-2.11.so
7f0a9839f000-7f0a983a4000 rw-p 00000000 00:00 0
7f0a983a4000-7f0a983c2000 r-xp 00000000 08:05 4260927
/lib64/ld-2.11.so
7f0a98585000-7f0a98588000 rw-p 00000000 00:00 0
7f0a985bf000-7f0a985c1000 rw-p 00000000 00:00 0
7f0a985c1000-7f0a985c2000 r--p 0001d000 08:05 4260927
/lib64/ld-2.11.so
7f0a985c2000-7f0a985c3000 rw-p 0001e000 08:05 4260927
/lib64/ld-2.11.so
7f0a985c3000-7f0a985c4000 rw-p 00000000 00:00 0
7ffff5929000-7ffff5941000 rw-p 00000000 00:00 0 [stack]
7ffff59ff000-7ffff5a00000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
2009-12-18 15:40 Ronan Mainbourg
2009-12-18 16:27 ` Paul Hartman
@ 2009-12-18 17:26 ` Marcus Wanner
2009-12-18 19:10 ` Paul Hartman
2 siblings, 0 replies; 7+ messages in thread
From: Marcus Wanner @ 2009-12-18 17:26 UTC (permalink / raw
To: gentoo-user
On 12/18/2009 10:40 AM, Ronan Mainbourg wrote:
> Because my Internet connection is not very fast, I'd like to make portage
> fetch files using net-misc/puf (wich can dl several chunks of a file at the
> same time) instead of wget.
>
> I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but
> it doesn't work:
>
> FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR}/\${FILE}"
>
> ... Give me when I try emerging a package (here"media-libs/libdvbpsi" for
> instance):
>
> !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting.
>
> Any Ideas ?
>
Does it actually download the file but put it in the wrong place? Can
you attach a complete log?
Marcus
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
2009-12-18 15:40 Ronan Mainbourg
2009-12-18 16:27 ` Paul Hartman
2009-12-18 17:26 ` Marcus Wanner
@ 2009-12-18 19:10 ` Paul Hartman
2 siblings, 0 replies; 7+ messages in thread
From: Paul Hartman @ 2009-12-18 19:10 UTC (permalink / raw
To: gentoo-user
On Fri, Dec 18, 2009 at 9:40 AM, Ronan Mainbourg
<ronan.mainbourg@gmail.com> wrote:
> Because my Internet connection is not very fast, I'd like to make portage
> fetch files using net-misc/puf (wich can dl several chunks of a file at the
> same time) instead of wget.
> I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but
> it doesn't work:
>
> FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR}/\${FILE}"
>
> ... Give me when I try emerging a package (here"media-libs/libdvbpsi" for
> instance):
> !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting.
>
>
> Any Ideas ?
I think the syntax should be:
FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR} -O \${FILE}"
That works for me if I run emerge as normal user. If I run as root, it
crashes... weird.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
[not found] <20091219220305.62638E0870@pigeon.gentoo.org>
@ 2009-12-24 0:18 ` Nguyen Bao Ngoc
2009-12-24 3:53 ` Ronan Mainbourg
2009-12-24 3:59 ` Xi Shen
0 siblings, 2 replies; 7+ messages in thread
From: Nguyen Bao Ngoc @ 2009-12-24 0:18 UTC (permalink / raw
To: gentoo-user
Hi, why don't you try aria2? I replaced wget with it and it works well.
Here is my fetch command in case you want to try.
FETCHCOMMAND="/usr/bin/aria2c -d \"\${DISTDIR}\" -o \"\${FILE}\"
\"\${URI}\""
RESUMECOMMAND="/usr/bin/aria2c -c -d \"\${DISTDIR}\" -o \"\${FILE}\"
\"\${URI}\""
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
2009-12-24 0:18 ` [gentoo-user] Trying to make portage use "puf" instead of "wget" Nguyen Bao Ngoc
@ 2009-12-24 3:53 ` Ronan Mainbourg
2009-12-24 3:59 ` Xi Shen
1 sibling, 0 replies; 7+ messages in thread
From: Ronan Mainbourg @ 2009-12-24 3:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
Thanks! It works well on my box and since I did not succeed in using puf
with emerge, it perfectly fits my needs.
2009/12/24 Nguyen Bao Ngoc <baongoc124@gmail.com>
> Hi, why don't you try aria2? I replaced wget with it and it works well.
> Here is my fetch command in case you want to try.
> FETCHCOMMAND="/usr/bin/aria2c -d \"\${DISTDIR}\" -o \"\${FILE}\"
> \"\${URI}\""
> RESUMECOMMAND="/usr/bin/aria2c -c -d \"\${DISTDIR}\" -o \"\${FILE}\"
> \"\${URI}\""
>
>
--
Ronan Mainbourg
ronan.mainbourg@gmail.com
[-- Attachment #2: Type: text/html, Size: 930 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
2009-12-24 0:18 ` [gentoo-user] Trying to make portage use "puf" instead of "wget" Nguyen Bao Ngoc
2009-12-24 3:53 ` Ronan Mainbourg
@ 2009-12-24 3:59 ` Xi Shen
1 sibling, 0 replies; 7+ messages in thread
From: Xi Shen @ 2009-12-24 3:59 UTC (permalink / raw
To: gentoo-user
On Thu, Dec 24, 2009 at 8:18 AM, Nguyen Bao Ngoc <baongoc124@gmail.com> wrote:
> Hi, why don't you try aria2? I replaced wget with it and it works well.
> Here is my fetch command in case you want to try.
> FETCHCOMMAND="/usr/bin/aria2c -d \"\${DISTDIR}\" -o \"\${FILE}\"
> \"\${URI}\""
> RESUMECOMMAND="/usr/bin/aria2c -c -d \"\${DISTDIR}\" -o \"\${FILE}\"
> \"\${URI}\""
>
>
looks like this tools is even better ;) will give a try.
--
Best Regards,
David Shen
http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-12-24 4:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20091219220305.62638E0870@pigeon.gentoo.org>
2009-12-24 0:18 ` [gentoo-user] Trying to make portage use "puf" instead of "wget" Nguyen Bao Ngoc
2009-12-24 3:53 ` Ronan Mainbourg
2009-12-24 3:59 ` Xi Shen
2009-12-18 15:40 Ronan Mainbourg
2009-12-18 16:27 ` Paul Hartman
2009-12-18 17:26 ` Marcus Wanner
2009-12-18 19:10 ` Paul Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox