Date: Tue, 14 Jan 1997 12:10:50 +1100 (EST) From: David Dawes <dawes@rf900.physics.usyd.edu.au> To: paulo@isr.uc.pt (Paulo Menezes) Cc: current@freebsd.org Subject: Re: Mirror dies with FPE Message-ID: <199701140110.MAA02102@rf900.physics.usyd.edu.au> In-Reply-To: <Pine.GSO.3.95.970113234811.12197A-100000@pegasus> from Paulo Menezes at "Jan 13, 97 11:51:51 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
>when I try to use mirror in current it dies with FPE. >Last rebuild is from mid December. >Does anyone else sees this also? Yes, I've seen this too. It happens because there is a file in /pub/FreeBSD/distfiles with its mtime set to the Epoch, which in PST (cdrom.com's timezone) is 31 Dec 1969. This is an invalid date in timezones which are ahead of PST (most of the rest of the world), and this results in the above problem. There seems to be a few files in /pub/FreeBSD/distfiles with this problem at the moment: bash-2.0.tar.gz imap-4.1.BETA.tar.Z libsx.tar.gz Since the timestamp on the offending file(s) didn't get fixed when I mentioned it a while back, I modified mirror to avoid the problem: *** /usr/local/lib/mirror/dateconv.pl.save Fri Nov 1 17:28:54 1996 --- /usr/local/lib/mirror/dateconv.pl Sun Nov 24 23:18:08 1996 *************** *** 111,116 **** --- 111,120 ---- if( $year > 1900 ){ $year -= 1900; } + + if( $year < 70 ){ + $year = 70; + } $x = &'timelocal( $secs, $mins, $hours, $day, $month, $year ); if( $use_timelocal ){ David >250-Please read the file README >250- it was last modified on Sat Jul 27 01:22:05 1996 - 169 days ago >250 CWD command successful. >---> TYPE A >200 Type set to A. >---> PORT 193,136,238,50,4,15 >200 PORT command successful. >---> LIST -lRat >150 Opening ASCII mode data connection for /bin/ls. > exclude: ports-2.1.6 > exclude: packages-2.1.6 > exclude: .notar >timelocal:/usr/share/perl/timelocal.pl:73 Caught a SIGFPE shutting down at >/usr/ >local/bin/mirror line 3596, <NS> line 1075. > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701140110.MAA02102>