Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2007 23:18:31 -0500
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Elliot Dierksen" <ebd@oau.org>
Cc:        ports@freebsd.org
Subject:   Re: Problem with security/vscan
Message-ID:  <790a9fff0705222118l64876bc3o86ca1e4f0f7c2525@mail.gmail.com>
In-Reply-To: <200705221217.l4MCHRK5084434@alfred.oau.org>
References:  <790a9fff0705212218g263da5c9y9b2f9d55cb4f0bd7@mail.gmail.com> <200705221217.l4MCHRK5084434@alfred.oau.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/22/07, Elliot Dierksen <ebd@oau.org> wrote:
> Quoting Scot Hetzel:
> >> security/vscan has an unlisted dependency on misc/compat4x-i386-5.3_9. It
> >> fails installation without the compat4x package.
> >>
> >The port does list misc/compat4x as a LIB_DEPENDS dependancy in the
> >ports Makefile.
> >
> >When installing the port from /usr/ports/security/vscan (with
> >misc/compat4x uninstalled), does it display that it didn't find libm.2
> >and goes to install misc/compat4x, then after returning to the build
> >of vscan does it display that it found libm.2?
> >
> >What version of FreeBSD are you installing the port on (i386, amd64)?
>
> This was on a fresh install of 6.2-p4 on an i386 platform. Granted, the
> compat3x port is marked as forbidden but I have that installed anyway. It
> did
> not attempt to install the compat4 port. It just failed during install
> looking for the "c.3" shared library. After manually installing the compat4x
> port, everything worked properly.
>

libc.so.3 comes from the compat3x port, so this shouldn't have caused
the install failure.

Below are the errors I get when compat4x is not installed:

hp010# pkg_delete uvscan-5.10e_3 compat4x-i386-5.3_9
hp010# cd /usr/ports/security/vscan
hp010# make install
===>  Extracting for uvscan-5.10e_3
=> MD5 Checksum OK for vbsd510e.tar.Z.
=> SHA256 Checksum OK for vbsd510e.tar.Z.
===>  Patching for uvscan-5.10e_3
===>   uvscan-5.10e_3 depends on shared library: m.2 - not found
===>    Verifying install for m.2 in /usr/ports/misc/compat4x
===>  Extracting for compat4x-i386-5.3_9
:
===>   Registering installation for compat4x-i386-5.3_9
===> SECURITY REPORT:
:
===>   Returning to build of uvscan-5.10e_3
Error: shared library "m.2" does not exist
*** Error code 1

Not sure why it fails to detect the library, after the compat4x port
is installed.

Now that compat4x has been installed during the failed install of
vscan, another  make install for vscan will finish:

hp010# make install
===>   uvscan-5.10e_3 depends on shared library: m.2 - found
===>  Configuring for uvscan-5.10e_3
:
===>  Installing for uvscan-5.10e_3
===>   Generating temporary packing list
:
Tue May 22 23:05:24 CDT 2007 Successfully updated AntiVirus DAT files to 5036
===>   Compressing manual pages for uvscan-5.10e_3
===>   Running ldconfig
/sbin/ldconfig -32 -m /usr/local/lib32
===>   Installing 32-bit ldconfig configuration file
===>   Registering installation for uvscan-5.10e_3

hp010# uname -a
FreeBSD hp010.hetzel.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat May
19 01:51:34 CDT 2007
root@hp010.hetzel.org:/usr/src/7x/sys-p4/amd64/compile/GENERIC.debug
amd64

Scot

-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.



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