ports question

Gary Kline kline at thought.org
Mon Feb 2 10:27:52 PST 2004


On Mon, Feb 02, 2004 at 07:21:56AM +0000, Matthew Seaman wrote:
> On Sun, Feb 01, 2004 at 04:44:19PM -0800, Gary Kline wrote:
> > 		Well, to answer my own posting, I hacked the
> > 		/distfile and removed the "(SIZE) =" line.
> > 		Now openldap21-* is flowing across.  Dunno 
> > 		why the port assumed the file or parts of it
> > 		were here.  Next to rm the old version and
> > 		update... .  --Well, once it builds and installs!
> 
> Odd.  I updated the OpenlDAP 2.1.26 ports on my system last week, and
> it all worked perfectly.  The tarball it pulled down is exactly as
> specified in the distfile:
> 
>     % ls -la /usr/ports/distfiles/openldap-2.1.26.tgz 
>     -rw-r--r--  1 root  wheel  2042658 Jan 23 06:48 /usr/ports/distfiles/openldap-2.1.26.tgz
>     % md5 /usr/ports/distfiles/openldap-2.1.26.tgz 
>     MD5 (/usr/ports/distfiles/openldap-2.1.26.tgz) = e3388c021b1029c15cfbd462d3bfcc9d
> 
> and the tarball on ftp.openldap.org hasn't changed:
> 
>     ftp> dir openldap-2.1.26*
>     229 Entering Extended Passive Mode (|||50188|)
>     150 Opening ASCII mode data connection for '/bin/ls'.
>     -rw-rw-r--  1 2000  20       61 Jan 23 06:48 openldap-2.1.26.md5
>     -rw-rw-r--  1 2000  20  2042658 Jan 23 06:48 openldap-2.1.26.tgz
>     226 Transfer complete.
> 
> Perhaps the OpenLDAP mirrors you're trying to access aren't being
> properly updated -- I'd suggest ftp'ing down the openldap sources
> manually from ftp.openldap.org and placing them in
> /usr/ports/distfiles before you start building the port.
> 


	My work-around did the job, but to be sure after I
	pkg_delete'd -2.1.23, I did make deinstall/reinstall.
	My cvsup script runs portsdb -Uu nightly ... so unclear 
	where the bug is.  

	You may be right re the mirror sites; this is what happens
	when I try to get the most recent gcc fixes:

	===>  Cleaning for gcc-3.3.3_20040126
	Making GCC 3.3.3 for FreeBSD 4.7 elf    target
	i386-portbld-freebsd4.7
	>> gcc-core-3.3-20040126.tar.bz2 doesn't seem to exist in
	/usr/ports/distfiles/.
	>> Attempting to fetch from
	http://mirrors.rcn.net/pub/sourceware/gcc/snapshots/3.3-20040126/.
	fetch: invalid size ( 9784532)

	It's a headscratch.  

	bonne journée!

	gary






-- 
   Gary Kline     kline at thought.org   www.thought.org     Public service Unix



More information about the freebsd-questions mailing list