Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2018 21:36:55 +0100
From:      Michael Grimm <trashcan@ellael.org>
To:        FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: security/clamav-milter fails to compile (preliminary patch included)
Message-ID:  <7781A8EC-8618-4E5A-AD72-720EB88D920A@ellael.org>
In-Reply-To: <SN1PR20MB2109FB99C8B4795E8A989ED380B90@SN1PR20MB2109.namprd20.prod.outlook.com>
References:  <633326DC-E841-4ECC-ACA8-F67C9F4DA873@ellael.org> <SN1PR20MB2109FC31F7E5471734185BE880B90@SN1PR20MB2109.namprd20.prod.outlook.com> <E1018C4C-F875-41F3-B7C9-810BCC97756D@ellael.org> <0C727A7D-32CD-451A-AC2B-9F10A936BDA4@ellael.org> <SN1PR20MB2109EED069E4D3C297FBC02280B90@SN1PR20MB2109.namprd20.prod.outlook.com> <E76EBED8-25E9-4982-A611-BE800CC44D3D@ellael.org> <SN1PR20MB2109FB99C8B4795E8A989ED380B90@SN1PR20MB2109.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Carmel NY <carmel_ny@outlook.com> wrote:
> On Sat, 22 Dec 2018 20:23:39 +0100, Michael Grimm stated:

>> Hmm, I do get the feeling that you misunderstand what I am telling =
you.

See, below.

>> Next, that poudriere jail keeps a copy of a resulting "make =
buildworld" run
>> of base. This jail is lacking any binary/library of ports running on =
my
>> machine. Thus, libmilter.so is missing as well:
>>=20
>> 	mike> find /usr/home/poudriere/jails/stable -name =
"libmilter.so*" -ls
>> 	mike> =20
>=20
> Michael, I am certainly not a guru regarding poudriere, or system =
updating.

Sorry, I didn't want you to believe I am getting "personal". Sorry.

> I just now what I was told. Perhaps Matthew Seaman =
<matthew@FreeBSD.org> or
> somebody with more knowledge about this than I can assist you.
>=20
> All I know for certain is that I was told to update the poudriere =
jail, I
> actually deleted the old one and created a new one, and then do a =
forced
> rebuild of all installed ports. The following worked for me, after I =
created
> a new jail. Obviously, the jail name here is mine.
>=20
>  portmaster --list-origins | sort -d | tee "~/portlist.txt"
>  poudriere bulk -c -f "~/portlist.txt" -j "12amd64"
>  pkg upgrade -y
>=20
> ~ $ poudriere jail -l
> JAILNAME VERSION         ARCH  METHOD TIMESTAMP           PATH
> 12amd64  12.0-RELEASE-p1 amd64 ftp    2018-12-21 18:25:41 =
/usr/local/poudriere/jails/12amd64
>=20
> ~ $ locate libmilter.so
> /usr/lib/libmilter.so
> /usr/lib/libmilter.so.6
> /usr/lib32/libmilter.so
> /usr/lib32/libmilter.so.6
> /usr/local/poudriere/jails/12amd64/usr/lib/libmilter.so
> /usr/local/poudriere/jails/12amd64/usr/lib/libmilter.so.6
> /usr/local/poudriere/jails/12amd64/usr/lib32/libmilter.so
> /usr/local/poudriere/jails/12amd64/usr/lib32/libmilter.so.6

See, that is what I was describing. You do have sendmail installed in =
base, and thus, the libmilter library will make it into your poudriere =
build jail, and security/clamav-milter will find a libmilter library -in =
base!- during compilation and will link this library. Thus, this port =
will compile in your case, because it is using libmilter.so from base, =
not from the mail/libmilter port!

FYI: I did trigger this bug because I do compile base without sendmail =
(WITHOUT_SENDMAIL=3Dyes in /etc/src.conf)! Thus, no "chance finding" of =
/usr/lib/libmilter.so.X in base aka my poudriere jail during my =
compilation.

Regards,
Michael=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7781A8EC-8618-4E5A-AD72-720EB88D920A>