From owner-freebsd-ports@freebsd.org Sat Dec 22 19:23:46 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E390C1338C1A for ; Sat, 22 Dec 2018 19:23:45 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx2.enfer-du-nord.net (mx2.enfer-du-nord.net [87.98.149.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E5AF16DEC7 for ; Sat, 22 Dec 2018 19:23:44 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from [IPv6:2003:e9:7f21:8a01:b886:8e50:ec0f:ed0c] (p200300E97F218A01B8868E50EC0FED0C.dip0.t-ipconnect.de [IPv6:2003:e9:7f21:8a01:b886:8e50:ec0f:ed0c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.enfer-du-nord.net (Postfix) with ESMTPSA id 43Mb57745lzFmB for ; Sat, 22 Dec 2018 20:23:39 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.100.2 at mail.enfer-du-nord.net From: Michael Grimm Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: security/clamav-milter fails to compile (preliminary patch included) Date: Sat, 22 Dec 2018 20:23:39 +0100 References: <633326DC-E841-4ECC-ACA8-F67C9F4DA873@ellael.org> <0C727A7D-32CD-451A-AC2B-9F10A936BDA4@ellael.org> To: FreeBSD In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.102.3) X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.kaan-bock.lan X-Rspamd-Queue-Id: E5AF16DEC7 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.78 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[ellael.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.81)[0.808,0]; IP_SCORE(0.07)[asn: 16276(0.38), country: FR(-0.02)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mx1.enfer-du-nord.net,mx2.enfer-du-nord.net]; NEURAL_SPAM_LONG(0.77)[0.768,0]; NEURAL_HAM_SHORT(-0.26)[-0.261,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:87.98.128.0/17, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2018 19:23:46 -0000 Carmel NY wrote: > On Sat, 22 Dec 2018 18:13:51 +0100, Michael Grimm stated: >> Michael Grimm wrote: >>> I am using poudriere to build my ports. Within a poudriere jail used = to >>> compile the clamav-libmilter port no libmilter.so can be found by >>> configure (see error message above) unless you = tellclamav-libmilter's >>> Makefile to depend on it and thus pre-install it in this jail. =20 >>=20 >> Sorry, s/clamav-libmilter/clamav-milter/g >=20 > Did you update the poudriere jail to 12.0? I had a similar problem = until I > undated it and did a forced rebuild of everything. In fact, I found it = easier > and quicker to simple delete the existing jail and create a new one. Hmm, I do get the feeling that you misunderstand what I am telling you. My poudriere's jail follows /usr/src. Thus at every rebuild of my OS (I = do that every other week because I am following STABLE-12) my jail gets = upgraded as well: mike> poudriere jail -l JAILNAME VERSION ARCH METHOD TIMESTAMP = PATH stable 12.0-STABLE 1200500 amd64 src=3D/usr/src 2018-12-22 = 18:19:50 /usr/home/poudriere/jails/stable 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: mike> find /usr/home/poudriere/jails/stable -name = "libmilter.so*" -ls mike> Now, poudriere will create (cpdup) as many jails from = /usr/home/poudriere/jails/stable as told to use builders. This "OS copy" = is lacking the needed libmilter library as well, when poudriere is = trying to build security/clamav-milter. And it will fail without = indicating that there is a dependency for yet another port, namely = mail/libmilter. My proposed patch will deal with that dependency. YMMV, but IMHO, a port shouldn't rely on pre-installed libraries from = base or other ports. Thus it shouldn't need a "forced rebuild of = everything". Correct me if I am mistaken, but IIRC the libmilter library used to be = part of sendmail in base. This has been modified in FBSD 12, again IIRC = [1]. Regards, Michael [1] https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D473663=