Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2005 18:02:41 +0000
From:      freebsd@drseuk.f2s.com
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: bsd.port.mk problems => make failing for all ports
Message-ID:  <1108231361.420e44c15eb6f@webmail.freedom2surf.net>
In-Reply-To: <20050119003220.GB46099@xor.obsecurity.org>
References:  <1105950426.41eb76da413a3@webmail.freedom2surf.net> <20050117232933.GA47343@xor.obsecurity.org> <1106089115.41ed949b8f946@webmail.freedom2surf.net> <20050119003220.GB46099@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Problem solved! Here's the explanation for anyone else hitting similar problems.

pkg_info (called by make) was signal 11 segfaulting which is what caused the
malformed conditionals (at line 2049) in /usr/ports/Mk/bsd.port.mk as
PKGINSTALLVER was not being defined (at line 2047).

As mentioned earlier I'd noticed that telnet had stopped working too.

comparing

ldd `which pkg_info`

and

ldd `which telnet`

showed that (apart from the libc's), only libcrypto.so.3 was shared between
these two and therefore must have become corrupted.

The solution was a bit brute force (but with make not working I had little
choice) - namely pull down a binary base distribution, cat all the base.aa,
base.ab etc. files together, untar them and copy libcrypto.so.3 back.

Luckily it worked.

Thanks Kris and others for your help



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1108231361.420e44c15eb6f>