Re: FYI: openpkg-tool - openpkg-tools

2004-04-07 Thread Vinod Kutty
I tried several things, and it was not a perl suid issue. So I found build.pl and examined it, and found this (starting at line 1100): print # curling index $fetch\n; if ($fetch =~ /\.bz2$/) { $path = $CURL -q -s -o - \$fetch\ | $bzip2 -dc |; } else {

Re: FYI: openpkg-tool - openpkg-tools

2004-04-07 Thread Michael van Elst
From the docs for curl, it looks like -q as the first argument *disables* .curlrc I am sure that it used to mean something different. -- Michael van Elst Internet: [EMAIL PROTECTED] A potential Snark may lurk in every tree.

Re: FYI: openpkg-tool - openpkg-tools

2004-04-06 Thread Vinod Kutty
Hi, It's been a while since I touched openpkg, so I thought I'd give 2.0 a try, on RedHat Advanced Server 2.1. I'm trying to use the 'build' part of openpkg-tools, and ran into this problem: $ openpkg build mysql # build.pl release(2.0) # curling index

Re: FYI: openpkg-tool - openpkg-tools

2004-04-06 Thread Michael van Elst
On Tue, Apr 06, 2004 at 04:22:57PM -0500, Vinod Kutty wrote: FATAL: an I/O error occured I can wget the above 00INDEX.rdf with no probs, so I don't think it's a network connectivity issue. Maybe a firewall or proxy issue ? The tool uses 'curl' to read the index into a pipe, the message says

Re: FYI: openpkg-tool - openpkg-tools

2004-04-06 Thread Vinod Kutty
I tried your suggestion two ways: 1. /usr/bin/curl (version 7.8, comes with RedHat) This works fine 2. $root/lib/openpkg/curl Does not work. I added -v to examine the differences between them: 1. /usr/bin/curl: CWD release/2.0 250 CWD command successful. PASV 227 Entering Passive Mode

Re: FYI: openpkg-tool - openpkg-tools

2004-04-06 Thread Michael van Elst
On Tue, Apr 06, 2004 at 05:08:55PM -0500, Vinod Kutty wrote: 229 Entering Extended Passive Mode (|||3972|) * About to connect() to ftp.openpkg.org port 3972 And that's where it hangs. It's possible that there is a firewall issue, or is there something else going on with PASV vs. EPSV ?

Re: FYI: openpkg-tool - openpkg-tools

2004-04-06 Thread Vinod Kutty
Thanks for your quick response. After editing the $HOME/.curlrc entry for the user 'opkg', $root/lib/openpkg/curl now works if I type it in manually, BUT 'openpkg build' still fails with the same error. Is there something I can do to further diagnose this? I tried adding this to ~/.rpmmacros:

Re: FYI: openpkg-tool - openpkg-tools

2004-04-06 Thread Michael van Elst
On Tue, Apr 06, 2004 at 05:45:11PM -0500, Vinod Kutty wrote: Thanks for your quick response. After editing the $HOME/.curlrc entry for the user 'opkg', $root/lib/openpkg/curl now works if I type it in manually, BUT 'openpkg build' still fails with the same error. If curl is working for

FYI: openpkg-tool - openpkg-tools

2004-04-05 Thread Ralf S. Engelschall
In the process of creating our OpenPKG Tool Chain, the old openpkg-tool package (containing only the index and build commands) was replaced with the new openpkg-tools package (containing now all tools). Please remove openpkg-tool and install openpkg-tools ASAP. And please be patient: beside index

Re: FYI: openpkg-tool - openpkg-tools

2004-04-05 Thread Ralf S. Engelschall
On Mon, Apr 05, 2004, Ralf S. Engelschall wrote: In the process of creating our OpenPKG Tool Chain, the old openpkg-tool package (containing only the index and build commands) was replaced with the new openpkg-tools package (containing now all tools). Please remove openpkg-tool and install