From: Elliot Dierksen on
Hello,

security/vscan has an unlisted dependency on misc/compat4x-i386-5.3_9. It
fails installation without the compat4x package.

Thanx,

EBD
--
Elliot Dierksen "They that can give up essential liberty to
obtain a little temporary safety deserve
neither liberty nor safety" -- Benjamin Franklin

Home) ebd(a)oau.org (407) 454-7848
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: "Scot Hetzel" on
On 5/21/07, Elliot Dierksen <ebd(a)oau.org> wrote:
> Hello,
>
> 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)?

You may want to try the patches in PR 112202 and 112203 as they try to
fix the detection of 32bit libraries on non-i386 systems (amd64,
ia64):

Scot

--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: "Scot Hetzel" on
On 5/22/07, Elliot Dierksen <ebd(a)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(a)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.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: "Scot Hetzel" on
On 5/22/07, Scot Hetzel <swhetzel(a)gmail.com> wrote:
> :
> ===> 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.
>
Found the problem, my patch in PR 112203 was incomplete in the
lib-depends target. It failed to add ${_LDCONFIG_FLAGS} to the case
where it installed the missing library dependancy and then checked
that the library had been installed.

I'll be updating the PR with the new patch.

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"