NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc builds



On 01/02/2013 07:46 AM, Ron Swiernik wrote:
It may be something with the active / passive. The networking checks out fine. 
No issues
in the company.

I was able to login, ftp.netbsd.org, using a Windows box. It did something to 
the file that didn't past
the check after I copied it into the distfiles directory. Verified that I typed 
bin too before starting the transfer.

I was able to get a good login and downloads from a Solaris box. Wound up 
starting
the build, waiting for it to fail on a transfer then using a Solaris box to ftp 
the file. Copied
it into to the distfiles directory and restarted the build. Tedious but worked.

I tried ftping in from the command line with the same results.
Here's where the output from the ftp command would be really helpful.

ftp ftp.netbsd.org | tee ftpoutput.txt

Would show you the output from the ftp command on the screen as well as redirecting it to the file ftpoutput.txt. You could then paste the contents of the file in to your email. That would probably enable someone to identify exactly what networking problem you are experiencing.

Thanks,

Jason M.

I have encountered no issues
ftping, from 6.0, into a sun box here at work and doing an anonymous login to 
gatekeeper.dec.com. The
scripts in pkgsrc have no issue with most of the other sites as well. I was 
able to build about
150 packages fine.

So what changed from 5.1 to 6.0 with ftp? That was my previous OS version and 
didn't have any issues
with pkgsrc builds.

Ron Swiernik
________________________________________

From: jmitchel%bigjar.com@localhost [jmitchel%bigjar.com@localhost]
Sent: Tuesday, January 01, 2013 15:33
To: Ron Swiernik
Cc: netbsd-users%netbsd.org@localhost
Subject: Re: pkgsrc builds

This may not be the appropriate forum, but is anyone else having issues
doing
An ftp into ftp.netbsd.org<ftp://ftp.netbsd.org>? I installed 6.0 on my
machine at work on Christmas
Day and have not been able to build a number of packages. The script
attempts
To download python or pkg-config and fails. I look back and see a:

EX412 Service no available, remote server timed out. Connection closed.

I have tried from the box to do an anonymous login with the same results.
I have tried from a Linux box with same error. I am able to login from the
'other'
OS fine. I prefer to build the packages.

Is this just an issue with the server or a problem with 6.0...

Ron Swiernik



________________________________

Notice: This communication, including attachments, may contain
confidential or proprietary information to be conveyed solely for the
intended recipient(s). If you are not the intended recipient, or if you
otherwise received this message in error, please notify the sender
immediately by return e-mail and promptly delete this e-mail, including
attachments, without reading or saving them in any manner. The
unauthorized use, dissemination, distribution, or reproduction of this
e-mail, including attachments, is strictly prohibited and may be unlawful.

Since you have a problem ftping to ftp.netbsd.org from multiple OS's it
looks like a networking issue. I just downloaded the current pkgsrc tar
file with no problem from OS X 10.7.2, so I think the server is fine.
Three things to check:

1) Can you ftp to other ftp sites from work using NetBSD 6.0? Maybe you
have to use an ftp proxy from work? Maybe your firewall is rejected the
extended passive mode ftp command -- some Checkpoint firewalls (still) do
this.

2) Are you running IPv6 at work? If you are you may not have a route to
the IPv6 address for ftp.netbsd.org.

3) Run the command ftp ftp.netbsd.org from a command prompt. Log in (if
possible) and download a file. If you can't successfully ftp a file, post
the output from the command here. It will help us to troubleshoot the
problem. I'm pasting the output from my successful download of the latest
pkgsrc tar file below.

Thanks,

Jason M.

BarKarma:2011-tax jmitchel$ ftp ftp.netbsd.org
Trying 199.233.217.249...
Connected to ftp.netbsd.org.
220 ftp.NetBSD.org FTP server (NetBSD-ftpd 20100320) ready.
Name (ftp.netbsd.org:jmitchel): ftp
331 Guest login ok, type your name as password.
Password:
230-
     The NetBSD Project FTP Server located in San Jose, CA, USA
     1 Gbps connectivity
                                                 WELCOME!    /(        )`
                                                             \ \___   / |
       +--- Currently Supported Platforms ----+              /- _  `-/  '
       |  acorn[26,32], algor, alpha, amd64,  |             (/\/ \ \   /\
       |   amiga[,ppc], arc, atari, bebox,    |             / /   | `    \
       |   cats, cesfic, cobalt, dreamcast,   |             O O   ) /    |
       |  evb[arm,mips,ppc,sh3], hp[300,700], |             `-^--'`<     '
       |       hpc[arm,mips,sh], i386,        |            (_.)  _  )   /
       |      ibmnws, iyonix, luna68k,        |              .___/`    /
       |    mac[m68k,ppc], mipsco, mmeye,     |               `-----' /
       |      mvme[m68k,ppc], netwinders,     |  <----.     __ / __   \
       |   news[m68k,mips], next68k, ofppc,   |  <----|====O)))==) \) /====
       | playstation2, pmax, prep, sandpoint, |  <----'    `--' `.__,' \
       |  sbmips, sgimips, shark, sparc[,64], |               |        |
       |      sun[2,3], vax, x68k, xen        |                \       /
       +--------------------------------------+           ______( (_  / \_____
       See our website at http://www.NetBSD.org/        ,'  ,-----'   |
   \
        We log all FTP transfers and commands.          `--{__________)
(FL) \/
230-
     EXPORT NOTICE

     Please note that portions of this FTP site contain cryptographic
     software controlled under the Export Administration Regulations (EAR).

     None of this software may be downloaded or otherwise exported or
     re-exported into (or to a national or resident of) Cuba, Iran, Libya,
     Sudan, North Korea, Syria or any other country to which the U.S. has
     embargoed goods.

     By downloading or using said software, you are agreeing to the
     foregoing and you are representing and warranting that you are not
     located in, under the control of, or a national or resident of any
     such country or on any such list.
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
Remote directory: /
ftp> ls
229 Entering Extended Passive Mode (|||54730|)
150 Opening ASCII mode data connection for '/bin/ls'.
total 64556
lrwxrwxr-x  1 root  wheel         32 Aug 16  2009 .message ->
pub/NetBSD/README.export-control
drwxr-x--x  3 root  wheel        512 Aug 16  2009 etc
-rw-rw-r--  1 600   netbsd  33019217 Jan  1 03:12 ls-lRA.gz
drwxr-xr-x  7 root  wheel        512 Aug 20  2009 pub
-rw-rw-r--  1 root  wheel         77 Aug 16  2009 robots.txt
226 Transfer complete.
ftp> cd pub
250 CWD command successful.
ftp> ls
229 Entering Extended Passive Mode (|||54731|)
150 Opening ASCII mode data connection for '/bin/ls'.
total 20
drwxr-xr-x  23 root  netbsd  1024 Dec 23 03:42 NetBSD
drwxr-xr-x  34 root  netbsd  1024 Nov 19 18:54 NetBSD-archive
drwxr-xr-x   2 root  wheel    512 Jun 10  2012 NetBSD-daily
drwxrwxr-x  12 root  netbsd   512 Sep 30 21:04 pkgsrc
drwxrwxr-x   6 600   netbsd   512 Nov 19 21:41 sup
lrwxrwxr-x   1 root  wheel      3 Aug 20  2009 supscan -> sup
226 Transfer complete.
ftp> cd pkgsrc
250-
     Please read the file README
       it was last modified on Tue Nov 18 09:53:20 2008 - 1503 days ago
250 CWD command successful.
lsftp> ls
229 Entering Extended Passive Mode (|||54732|)
150 Opening ASCII mode data connection for '/bin/ls'.
total 1292
-rw-rw-r--     1 601   netbsd     196 Jan  1 00:00 MIRROR-TIMESTAMP
-rw-rw-r--     1 601   netbsd     126 Nov 18  2008 README
drwxr-xr-x     3 600   netbsd    1024 Dec 29 02:01 current
drwxrwxr-x  1372 601   netbsd  622080 Dec 30 09:27 distfiles
drwx-----T     2 root  wheel      512 Oct 17  2006 lost+found
drwxrwxr-x    16 601   netbsd     512 Nov 14  2011 misc
drwxrwxr-x    19 601   netbsd     512 Jan  1 07:08 packages
drwxrwxr-x     3 600   netbsd    1024 Apr  7  2012 pkgsrc-2011Q4
drwxrwxr-x     3 600   netbsd    1024 Jun 30  2012 pkgsrc-2012Q1
drwxr-xr-x     3 600   netbsd    1024 Sep 29 02:25 pkgsrc-2012Q2
drwxrwxr-x     3 600   netbsd    1024 Dec 29 02:14 pkgsrc-2012Q3
drwxrwxr-x     3 601   netbsd     512 Jan  4  2012 reports
lrwxr-xr-x     1 600   netbsd      13 Sep 30 21:04 stable -> pkgsrc-2012Q3
226 Transfer complete.
ftp> cd pkgsrc-2012Q3
250 CWD command successful.
ftp> ls
229 Entering Extended Passive Mode (|||54733|)
150 Opening ASCII mode data connection for '/bin/ls'.
total 353268
drwxrwxr-x  52 600  netbsd      1536 Jan  1 01:10 pkgsrc
-rw-r--r--   1 600  netbsd  27309156 Sep 30 22:22 pkgsrc-2012Q3.tar.bz2
-rw-r--r--   1 600  netbsd        63 Sep 30 22:22 pkgsrc-2012Q3.tar.bz2.MD5
-rw-r--r--   1 600  netbsd        72 Sep 30 22:22 pkgsrc-2012Q3.tar.bz2.SHA1
-rw-r--r--   1 600  netbsd  37478773 Sep 30 22:22 pkgsrc-2012Q3.tar.gz
-rw-r--r--   1 600  netbsd        62 Sep 30 22:22 pkgsrc-2012Q3.tar.gz.MD5
-rw-r--r--   1 600  netbsd        71 Sep 30 22:22 pkgsrc-2012Q3.tar.gz.SHA1
-rw-r--r--   1 600  netbsd  24051360 Sep 30 22:22 pkgsrc-2012Q3.tar.xz
-rw-r--r--   1 600  netbsd        62 Sep 30 22:22 pkgsrc-2012Q3.tar.xz.MD5
-rw-r--r--   1 600  netbsd        71 Sep 30 22:22 pkgsrc-2012Q3.tar.xz.SHA1
-rw-rw-r--   1 600  netbsd  28612446 Dec 29 02:06 pkgsrc.tar.bz2
-rw-r--r--   1 600  netbsd        56 Dec 29 02:06 pkgsrc.tar.bz2.MD5
-rw-r--r--   1 600  netbsd        65 Dec 29 02:06 pkgsrc.tar.bz2.SHA1
-rw-rw-r--   1 600  netbsd  38603836 Dec 29 02:05 pkgsrc.tar.gz
-rw-r--r--   1 600  netbsd        55 Dec 29 02:05 pkgsrc.tar.gz.MD5
-rw-r--r--   1 600  netbsd        64 Dec 29 02:05 pkgsrc.tar.gz.SHA1
-rw-rw-r--   1 600  netbsd  24647540 Dec 29 02:14 pkgsrc.tar.xz
-rw-r--r--   1 600  netbsd        55 Dec 29 02:14 pkgsrc.tar.xz.MD5
-rw-r--r--   1 600  netbsd        64 Dec 29 02:14 pkgsrc.tar.xz.SHA1
lrwxr-xr-x   1 600  netbsd        14 Sep 30 22:22 pkgsrc.tbz ->
pkgsrc.tar.bz2
lrwxr-xr-x   1 600  netbsd        13 Sep 30 22:22 pkgsrc.tgz -> pkgsrc.tar.gz
lrwxr-xr-x   1 600  netbsd        13 Sep 30 22:22 pkgsrc.txz -> pkgsrc.tar.xz
226 Transfer complete.
ftp> get pkgsrc-2012Q3.tar.xz
local: pkgsrc-2012Q3.tar.xz remote: pkgsrc-2012Q3.tar.xz
229 Entering Extended Passive Mode (|||54734|)
150 Opening BINARY mode data connection for 'pkgsrc-2012Q3.tar.xz'
(24051360 bytes).
100%
|*****************************************************************************|
23487 KiB    1.22 MiB/s    00:00 ETA
226 Transfer complete.
24051360 bytes received in 00:18 (1.21 MiB/s)
ftp> passice
?Invalid command.
ftp> passive
Passive mode: off; fallback to active mode: off.
ftp> passive
Passive mode: on; fallback to active mode: on.
ftp> quit
221-
     Data traffic for this session was 24051360 bytes in 1 file.
     Total traffic for this session was 24058360 bytes in 5 transfers.
221 Thank you for using the FTP service on ftp.NetBSD.org.


________________________________

Notice: This communication, including attachments, may contain confidential or 
proprietary information to be conveyed solely for the intended recipient(s). If 
you are not the intended recipient, or if you otherwise received this message 
in error, please notify the sender immediately by return e-mail and promptly 
delete this e-mail, including attachments, without reading or saving them in 
any manner. The unauthorized use, dissemination, distribution, or reproduction 
of this e-mail, including attachments, is strictly prohibited and may be 
unlawful.





Home | Main Index | Thread Index | Old Index