Re: I/O error

2009-10-19 Thread Alex Huth
Solved
* Alex Huth schrieb:
> * Alex Huth schrieb:
> > * Ralf S. Engelschall schrieb:
> > > 
> > > Just take the bootstrap from the soon to be released OpenPKG 4.0 from
> > > http://download.openpkg.org/framework/testing/source/. It already
> > > contains even GNU tar 1.22.
> > > 
> > Sorry, but the problem still the same: I/O error on building the tools. seem
> > to be a different kind of problem.
> > 
> Also on lenny the same as described before.

Stupid, forgot to set the tmpdir :(

Thx

Alex
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: I/O error

2009-10-16 Thread Alex Huth
* Alex Huth schrieb:
> * Ralf S. Engelschall schrieb:
> > 
> > Just take the bootstrap from the soon to be released OpenPKG 4.0 from
> > http://download.openpkg.org/framework/testing/source/. It already
> > contains even GNU tar 1.22.
> > 
> Sorry, but the problem still the same: I/O error on building the tools. seem
> to be a different kind of problem.
> 
Also on lenny the same as described before.
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: I/O error

2009-10-16 Thread Alex Huth
* Ralf S. Engelschall schrieb:
> 
> Just take the bootstrap from the soon to be released OpenPKG 4.0 from
> http://download.openpkg.org/framework/testing/source/. It already
> contains even GNU tar 1.22.
> 
Sorry, but the problem still the same: I/O error on building the tools. seem
to be a different kind of problem.

Alex
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: I/O error

2009-10-16 Thread Ralf S. Engelschall
On Fri, Oct 16, 2009, Bill Campbell wrote:

> On Fri, Oct 16, 2009, Alex Huth wrote:
> >I want to install openpkg in a Virtualbox with FreeBSD as a guest.
> >Bootstrapping the source and intalling the binaries works without any error,
> >but when i want to install the tool chain i get a I/O error.
> >
> >When i try it on a Debian Lenny, i get this, when bootstrapping the src:
>
> When building OpenPKG on OS X 10.6 Snow Leopard, I had to replace
> tar-1.19 with tar-1.20 in the OpenPKG package as it had problems
> compiling otherwise.  If I remember correctly, there were other
> problems bootstrapping openpkg on OS X 10.5 Leopard with the
> original version of gcc in xCode, which may have required this
> originally.  After an xCode update, gcc was fixed.

Just take the bootstrap from the soon to be released OpenPKG 4.0 from
http://download.openpkg.org/framework/testing/source/. It already
contains even GNU tar 1.22.

Yours,
   Ralf S. Engelschall
   r...@engelschall.com
   www.engelschall.com

__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: I/O error

2009-10-16 Thread Bill Campbell
On Fri, Oct 16, 2009, Alex Huth wrote:
>I want to install openpkg in a Virtualbox with FreeBSD as a guest.
>Bootstrapping the source and intalling the binaries works without any error,
>but when i want to install the tool chain i get a I/O error.
>
>When i try it on a Debian Lenny, i get this, when bootstrapping the src:

When building OpenPKG on OS X 10.6 Snow Leopard, I had to replace
tar-1.19 with tar-1.20 in the OpenPKG package as it had problems
compiling otherwise.  If I remember correctly, there were other
problems bootstrapping openpkg on OS X 10.5 Leopard with the
original version of gcc in xCode, which may have required this
originally.  After an xCode update, gcc was fixed.

Bill
-- 
INTERNET:   b...@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186  Skype: jwccsllc (206) 855-5792

I would be blind to the responsibilities that mark this fateful hour if
I did not caution the wage-earners of America that mounting wages and
decreased production can lead only to industrial and economic ruin.
  -- Warren Harding
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


I/O error

2009-10-16 Thread Alex Huth
I want to install openpkg in a Virtualbox with FreeBSD as a guest.
Bootstrapping the source and intalling the binaries works without any error,
but when i want to install the tool chain i get a I/O error.

When i try it on a Debian Lenny, i get this, when bootstrapping the src:

../lib/libtar.a(argp-eexst.o): In function `argp_usage':
/tmp/openpkg-20071227/tar-1.19/lib/argp.h:588: multiple definition of
`argp_usage'
tar.o:/tmp/openpkg-20071227/tar-1.19/src/../lib/argp.h:588: first defined here
collect2: ld returned 1 exit status
make[2]: *** [tar] Fehler 1
make[2]: Leaving directory `/tmp/openpkg-20071227/tar-1.19/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/tmp/openpkg-20071227/tar-1.19'
make: *** [all] Fehler 2
+ exit 2
+ exit 2
./openpkg.boot:ERROR: script returned non-null value
ah...@borusse:~/adm/openpkg$ 


Any idea what the problem is?
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


openpkg:build:FATAL: an I/O error occured

2009-03-23 Thread Bob Newgard
The only thing I can think of is that 00INDEX.rdf is being saved to
somewhere that I don't have permission
for ...

% /opt/openpkg/cur/bin/openpkg build openpkg-tools
# operating with OpenPKG instance /opt/openpkg/cur
# operating with OpenPKG RPM /opt/openpkg/cur/bin/openpkg rpm
# fetching XML/RDF index from URL ftp://ftp.openpkg.org/current/SRC/00INDEX.rdf
# using internal XML/RDF parser
openpkg:build:FATAL: an I/O error occured
%
% wget ftp://ftp.openpkg.org/current/SRC/00INDEX.rdf
--18:44:32--  ftp://ftp.openpkg.org/current/SRC/00INDEX.rdf
   => 00INDEX.rdf' saved [322]

% cat 00INDEX.rdf

http://www.w3.org/1999/02/22-rdf-syntax-ns#";
 xmlns="http://www.openpkg.org/xml-rdf-index/0.9";>
  

  

%
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: openpkg:build:FATAL: an I/O error occured

2007-05-31 Thread Michael van Elst
On Thu, May 31, 2007 at 02:16:16PM +0200, Olivier Kaloudoff wrote:
> Hello list !
> 
>   I'm facing this error message sometimes, and don't know
> how to fix it.

The I/O error just indicates an I/O error and is independent
of the parser. It means that the build tool cannot retrieve
the index file(s) from the OpenPKG repository.

Greetings,
-- 
Michael van Elst
Internet: [EMAIL PROTECTED]
"A potential Snark may lurk in every tree."
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


openpkg:build:FATAL: an I/O error occured

2007-05-31 Thread Olivier Kaloudoff

Hello list !

I'm facing this error message sometimes, and don't know
how to fix it. Seems that the option to use XML::Simple parser instead
of the internal one is ignored (or misused by myself ?) Here is the 
command I type;


[EMAIL PROTECTED]:~$ openpkg build  emacs
# operating with OpenPKG instance /openpkg
# operating with OpenPKG RPM /openpkg/bin/openpkg rpm
# fetching XML/RDF index from URL 
ftp://ftp.openpkg.org/current/SRC/00INDEX.rdf

# using internal XML/RDF parser
openpkg:build:FATAL: an I/O error occured


So I try to use the external parser, as openpkg man build
suggests;

   -X  Use the slower but more robust external Perl XML
   parser module XML::Simple instead of the simple inter-
   nal XML/RDF parser.



[EMAIL PROTECTED]:~$ openpkg build -X emacs
# operating with OpenPKG instance /openpkg
# operating with OpenPKG RPM /openpkg/bin/openpkg rpm
# fetching XML/RDF index from URL 
ftp://ftp.openpkg.org/current/SRC/00INDEX.rdf

# using internal XML/RDF parser
openpkg:build:FATAL: an I/O error occured


any hint ?



Olivier Kaloudoff
Saint Raphael
06 20 65 71 33
---
__
OpenPKG http://openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: ../openpkg build samba is giving an I/O error [FreeBSD 4.STABLE]

2004-07-24 Thread Simon Mudd
Simon Mudd <[EMAIL PROTECTED]> writes:

> > > I'm having trouble using openpkg build on FreeBSD and am consistently 
> > > getting an I/O error. I am not sure how to identify the problem further.
> > 
> > I/O error means that the build tool gets an error when reading an
> > index from a file or pipe.

[snip]

> I'll have to try and find another mirror or perhaps an http mirror
> which may avoid this problem.

Just to confirm that using http://ftp.ale.org/pub/mirror/openpkg
everything works fine. Not sure if the problem is my end or not, but
using an http transport certainly resolves the problem.

Regards,

Simon
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: ../openpkg build samba is giving an I/O error [FreeBSD 4.STABLE]

2004-07-24 Thread Simon Mudd
Michael van Elst <[EMAIL PROTECTED]> writes:

> > I'm having trouble using openpkg build on FreeBSD and am consistently 
> > getting an I/O error. I am not sure how to identify the problem further.
> 
> I/O error means that the build tool gets an error when reading an
> index from a file or pipe.
> 
> In your case it tries to read:
> 
> ftp://ftp.openpkg.org/release/2.1/BIN/00INDEX.rdf
> 
> by issuing the command
> 
> /openpkg/lib/openpkg/curl -q -s -o - 
> "ftp://ftp.openpkg.org/release/2.1/BIN/00INDEX.rdf";
> 
> This works fine for me. I guess you experience some network error,
> possibly related to a firewall or NAT router.

Strange, it does appear to be what you say.  The issue seems to be
with the closing of the ftp connection at the end of the download.

I also experienced the same problem from a rh9 box at my office on
Friday (also behind a firewall), yet I was able to manually download
the original openpkg sh script without trouble.

I'll have to try and find another mirror or perhaps an http mirror
which may avoid this problem.

Simon
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: ../openpkg build samba is giving an I/O error [FreeBSD 4.STABLE]

2004-07-24 Thread Michael van Elst
On Sat, Jul 24, 2004 at 06:31:22PM +0200, Simon J Mudd wrote:
> Hello,
> 
> I'm having trouble using openpkg build on FreeBSD and am consistently 
> getting an I/O error. I am not sure how to identify the problem further.

I/O error means that the build tool gets an error when reading an
index from a file or pipe.

In your case it tries to read:

ftp://ftp.openpkg.org/release/2.1/BIN/00INDEX.rdf

by issuing the command

/openpkg/lib/openpkg/curl -q -s -o - 
"ftp://ftp.openpkg.org/release/2.1/BIN/00INDEX.rdf";

This works fine for me. I guess you experience some network error,
possibly related to a firewall or NAT router.

Greetings,
-- 
Michael van Elst
Internet: [EMAIL PROTECTED]
"A potential Snark may lurk in every tree."
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


../openpkg build samba is giving an I/O error [FreeBSD 4.STABLE]

2004-07-24 Thread Simon J Mudd
Hello,
I'm having trouble using openpkg build on FreeBSD and am consistently 
getting an I/O error. I am not sure how to identify the problem further.

I installed the following openpkg packages by hand (built locally):
bash-2.05a# pwd
/openpkg/RPM/PKG
bash-2.05a# /openpkg/bin/openpkg rpm -qa
openpkg-2.1.0-2.1.0
binutils-2.14-2.1.0
perl-5.8.4-2.1.0
make-3.80-2.1.0
gpg-pubkey-63c4cb9f-3c591eda
openpkg-tools-0.8.15-2.1.0
gcc-3.4.1-2.1.0
perl-openpkg-5.8.4-2.1.0
perl-ds-5.8.4-2.1.0
bash-2.05a# /openpkg/bin/openpkg rpm -Va
bash-2.05a# echo $?
0
Yet I get the following output when trying to build/install "a sample 
package":

bash-2.05a# /openpkg/bin/openpkg build samba
# build.pl release(2.1)
# curling index ftp://ftp.openpkg.org/release/2.1/00INDEX.rdf
# using simple text parser
# curling index ftp://ftp.openpkg.org/release/2.1/SRC/00INDEX.rdf.bz2
# using simple text parser
# curling index ftp://ftp.openpkg.org/release/2.1/SRC/PLUS/00INDEX.rdf.bz2
# using simple text parser
# curling index ftp://ftp.openpkg.org/release/2.1/UPD/00INDEX.rdf.bz2
# using simple text parser
# curling index ftp://ftp.openpkg.org/release/2.1/BIN/00INDEX.rdf
# using simple text parser
FATAL: an I/O error occured
bash-2.05a# echo $?
28
bash-2.05a# uname -a
FreeBSD unicorn.wl0.org 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #1: Sat May  1 09:46:08 CEST 2004 
[EMAIL PROTECTED]:/disk/da1s1e/usr/obj/disk/da1s1e/usr/src/sys/UNICORN  i386

Any ideas as to how to diagnose this further?  I don't see a way to get 
more verbose output of the build command.

Regards,
Simon
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FATAL I/O error in openpkg build

2004-04-26 Thread Vinod Kutty

FYI,

I ran into a similar problem (see earlier thread on openpkg-dev titled
"FYI: openpkg-tool -> openpkg-tools"), but in my case I have no control
over the firewall, so I had to find a workaround.

Modifying .curlrc did not help.

>From the earlier thread:

--
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 {
$path = "$CURL -q -s -o - \"$fetch\" |";
}

>From the docs for curl, it looks like -q as the first argument *disables*
.curlrc

Therefore, removing it solved my problem. Adding --disable-epsv to the
command line above also had the same effect.

I'm sure there are some good reasons to use -q, but in my case, since EPSV
doesn't work, it would be nice to disable it without modifying build.pl

Should we call this a bug or a feature? 8-)
-



On Thu, 22 Apr 2004, Aaron Bostick wrote:

> Michael van Elst wrote:
>
> > On Thu, Apr 22, 2004 at 10:37:11AM -0500, Aaron Bostick wrote:
> >
> >> Any other reasons why I would get a FATAL I/O error?  Am I doing
> >> something
> >> wrong?  Should I just stick with the rpm --rebuild / -Uvh cause that is
> >> working for me but doesn't do the nice dep checking.
> >
> > You probably have a firewall that blocks extended passive ftp transfers
> > (EPSV command).
> >
>
> Michael, you're beautiful! :)  I did a "no fixup protocol ftp" on my pix and
> it works now! :)
>
> Thanks!
>
> PS Another really lame question:  I ran "openpkg build -Dsudo::with_pam=yes
> sudo" and I saw it added to list pam, fsl, and sudo but it doesn't look
> like it actually installed them and there are no new packages in RPM/PKG.
> Am I missing a step?
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FATAL I/O error in openpkg build

2004-04-22 Thread Aaron Bostick
Ignore last question, I forgot to pipe the output to sh.

Thanks

Aaron Bostick wrote:

> Michael van Elst wrote:
> 
>> On Thu, Apr 22, 2004 at 10:37:11AM -0500, Aaron Bostick wrote:
>> 
>>> Any other reasons why I would get a FATAL I/O error?  Am I doing
>>> something
>>> wrong?  Should I just stick with the rpm --rebuild / -Uvh cause that is
>>> working for me but doesn't do the nice dep checking.
>> 
>> You probably have a firewall that blocks extended passive ftp transfers
>> (EPSV command).
>> 
> 
> Michael, you're beautiful! :)  I did a "no fixup protocol ftp" on my pix
> and it works now! :)
> 
> Thanks!
> 
> PS Another really lame question:  I ran "openpkg build
> -Dsudo::with_pam=yes sudo" and I saw it added to list pam, fsl, and sudo
> but it doesn't look like it actually installed them and there are no new
> packages in RPM/PKG. Am I missing a step?
> __
> The OpenPKG Projectwww.openpkg.org
> User Communication List  [EMAIL PROTECTED]

__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FATAL I/O error in openpkg build

2004-04-22 Thread Aaron Bostick
Michael van Elst wrote:

> On Thu, Apr 22, 2004 at 10:37:11AM -0500, Aaron Bostick wrote:
> 
>> Any other reasons why I would get a FATAL I/O error?  Am I doing
>> something
>> wrong?  Should I just stick with the rpm --rebuild / -Uvh cause that is
>> working for me but doesn't do the nice dep checking.
> 
> You probably have a firewall that blocks extended passive ftp transfers
> (EPSV command).
> 

Michael, you're beautiful! :)  I did a "no fixup protocol ftp" on my pix and
it works now! :)

Thanks!

PS Another really lame question:  I ran "openpkg build -Dsudo::with_pam=yes
sudo" and I saw it added to list pam, fsl, and sudo but it doesn't look
like it actually installed them and there are no new packages in RPM/PKG. 
Am I missing a step?
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FATAL I/O error in openpkg build

2004-04-22 Thread Michael van Elst
On Thu, Apr 22, 2004 at 10:37:11AM -0500, Aaron Bostick wrote:

> Any other reasons why I would get a FATAL I/O error?  Am I doing something
> wrong?  Should I just stick with the rpm --rebuild / -Uvh cause that is
> working for me but doesn't do the nice dep checking.

You probably have a firewall that blocks extended passive ftp transfers
(EPSV command).

-- 
Michael van Elst
Internet: [EMAIL PROTECTED]
"A potential Snark may lurk in every tree."
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FATAL I/O error in openpkg build

2004-04-22 Thread Aaron Bostick
I don't think it is a maximum connections issue because I can ftp to the
server using a normal ftp client and the banner will say 7 of 50 users
logged on.  

Also, I tried using the latest release openpkg core, 2.0.2, with same
results and I also tried the exact command on a different gentoo host as
well with identical results?  

Any other reasons why I would get a FATAL I/O error?  Am I doing something
wrong?  Should I just stick with the rpm --rebuild / -Uvh cause that is
working for me but doesn't do the nice dep checking.

Aaron

Bill Campbell wrote:

> On Wed, Apr 21, 2004, Aaron Bostick wrote:
>>I am testing out OpenPKG for the first time and have run into a snag.  My
>>openpkg rpm -qa shows:
>>
> ...
>># build.pl current(20040421)
>># curling index ftp://ftp.openpkg.org/current/00INDEX.rdf
>># using simple text parser
>>FATAL: an I/O error occured
>>
>>My understanding is it is trying to retrieve the index file from the
>>openpkg
>>ftp server but is failing for some reason.  BTW, from the same host I was
>>able to install the other rpms no problem using the openpkg --rebuild
>>ftp://... syntax.
> 
> When this happens on ftp from our own ftp server where I mirror the
> openpkg.org site, and have our local packages, the usual problem is that
> there are too many ftp users on the system.  I usually find somebody who's
> started the maximum number of connections so add them to our list of
> denied IPs, kill their sessions, then restart the openpkg build.
> 
> Bill
> --
> INTERNET:  [EMAIL PROTECTED]   Bill Campbell; Celestial Software LLC
> UUCP:  camco!bill   PO Box 820; 6641 E. Mercer Way
> FAX:   (206) 232-9186   Mercer Island, WA 98040-0820; (206)
> 236-1676
> 
> "The strongest reason for the people to retain the right to keep and
>  bear arms is, as a last resort, to protect themselves against tyranny
>  in government." --1 Thomas Jefferson Papers, 334 (C.J.Boyd, Ed.,1950)
> __
> The OpenPKG Projectwww.openpkg.org
> User Communication List  [EMAIL PROTECTED]

__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: FATAL I/O error in openpkg build

2004-04-21 Thread Bill Campbell
On Wed, Apr 21, 2004, Aaron Bostick wrote:
>I am testing out OpenPKG for the first time and have run into a snag.  My
>openpkg rpm -qa shows:
>
...
># build.pl current(20040421)
># curling index ftp://ftp.openpkg.org/current/00INDEX.rdf
># using simple text parser
>FATAL: an I/O error occured
>
>My understanding is it is trying to retrieve the index file from the openpkg
>ftp server but is failing for some reason.  BTW, from the same host I was
>able to install the other rpms no problem using the openpkg --rebuild
>ftp://... syntax.

When this happens on ftp from our own ftp server where I mirror the
openpkg.org site, and have our local packages, the usual problem is that
there are too many ftp users on the system.  I usually find somebody who's
started the maximum number of connections so add them to our list of denied
IPs, kill their sessions, then restart the openpkg build.

Bill
--
INTERNET:  [EMAIL PROTECTED]   Bill Campbell; Celestial Software LLC
UUCP:  camco!bill   PO Box 820; 6641 E. Mercer Way
FAX:   (206) 232-9186   Mercer Island, WA 98040-0820; (206) 236-1676

"The strongest reason for the people to retain the right to keep and
 bear arms is, as a last resort, to protect themselves against tyranny
 in government." --1 Thomas Jefferson Papers, 334 (C.J.Boyd, Ed.,1950)
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


FATAL I/O error in openpkg build

2004-04-21 Thread Aaron Bostick
I am testing out OpenPKG for the first time and have run into a snag.  My
openpkg rpm -qa shows:

openpkg-20040421-20040421
binutils-2.14-2.0.0
perl-5.8.3-2.0.0
gpg-pubkey-63c4cb9f-3c591eda
make-3.80-2.0.0
gcc-3.3.3-2.0.0
openpkg-tools-0.8.5-20040418

which is a list I got off another thread in order to be able to use the
openpkg build feature.  Now I try:

openpkg build -Dsudo::with_pam=yes sudo

and get:

# build.pl current(20040421)
# curling index ftp://ftp.openpkg.org/current/00INDEX.rdf
# using simple text parser
FATAL: an I/O error occured

My understanding is it is trying to retrieve the index file from the openpkg
ftp server but is failing for some reason.  BTW, from the same host I was
able to install the other rpms no problem using the openpkg --rebuild
ftp://... syntax.

Thanks,
Aaron
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]