From owner-freebsd-ports@freebsd.org Sat Dec 22 20:10:45 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 F307A1339BB5 for ; Sat, 22 Dec 2018 20:10:44 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-oln040092010099.outbound.protection.outlook.com [40.92.10.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C527D6F2C3 for ; Sat, 22 Dec 2018 20:10:43 +0000 (UTC) (envelope-from carmel_ny@outlook.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R5uVUWcMNOdcwtD6ZcRLGFNFOkp8br8PBhKUgZACMY8=; b=YGktbfc+xFn9z2fr/w6S1ghgLpulDbhucoHl6iFVemv2+SyqrWr1lq1f3g2r9/KqYZxASMkCOvw8ArgmXU4w8fnIlYfOsZljOOP8FPpuqDRkEN5kvWpBXYw7ppB+ZTf+2a66q50EoxLXugLP8Esik/D3p3yeD8QGx6fzEgaB69ttmU1ns5Q9//AbY3uH42fNRqvZLxVZCIreSZ7lAiuvunj6rcAqGhR8bYWDbelQu9uu+faRGn2gJo9KKlbpZc1RiN0isioO4ICSceWyJmCjKUbzpgTG8yfA14NOjUl3Zx3jOE9S54i2kgFs+fHQNivZsLeenVX8irwHcSLFOJACHQ== Received: from CO1NAM04FT035.eop-NAM04.prod.protection.outlook.com (10.152.90.58) by CO1NAM04HT047.eop-NAM04.prod.protection.outlook.com (10.152.91.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1471.13; Sat, 22 Dec 2018 20:10:42 +0000 Received: from SN1PR20MB2109.namprd20.prod.outlook.com (10.152.90.54) by CO1NAM04FT035.mail.protection.outlook.com (10.152.90.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1471.13 via Frontend Transport; Sat, 22 Dec 2018 20:10:41 +0000 Received: from SN1PR20MB2109.namprd20.prod.outlook.com ([fe80::e7:3fd6:ad79:9b1a]) by SN1PR20MB2109.namprd20.prod.outlook.com ([fe80::e7:3fd6:ad79:9b1a%2]) with mapi id 15.20.1446.022; Sat, 22 Dec 2018 20:10:41 +0000 From: Carmel NY To: FreeBSD Subject: Re: security/clamav-milter fails to compile (preliminary patch included) Thread-Topic: security/clamav-milter fails to compile (preliminary patch included) Thread-Index: AQHUmhbRyVPaHk3Y6k+nyFaJqC89TA== Date: Sat, 22 Dec 2018 20:10:41 +0000 Message-ID: References: <633326DC-E841-4ECC-ACA8-F67C9F4DA873@ellael.org> <0C727A7D-32CD-451A-AC2B-9F10A936BDA4@ellael.org> In-Reply-To: Reply-To: FreeBSD Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BN6PR1301CA0028.namprd13.prod.outlook.com (2603:10b6:405:29::41) To SN1PR20MB2109.namprd20.prod.outlook.com (2603:10b6:802:28::14) x-mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-w64-mingw32) x-incomingtopheadermarker: OriginalChecksum:6FB318A87D1C9055B939FC757F9C37EE90268C5B2EF261939AC8F785ADE0E2BE; UpperCasedChecksum:9D54EE7539931F2FCAEF940FB485C3F7C576154846227F99ED451BD6FEF8AD09; SizeAsReceived:7883; Count:51 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [gVGesLn8HNIUYf79bl3VkHk8M38zEYULoxj7KfzMDoE=] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CO1NAM04HT047; 6:+nwICLTqJesEs5voHTRC6u3pcAGoJ+TUcYbhIUQPCwXtT8eWHbu0aytuBzBk84EBQynRoAPSTMRmnscymXug/jKm1AIzG5hfOchO1vHiqxdvVH/ETWJf+LZMctpLbZt/sqxwXN4SzKExnYgY8nKHuBDqmr2H/6Zr4NDrPvXqM/JogdkhorScWNQ0dIF8nzVGRQhDCL/A6t/PGda3vsW7ThEPIaOBJWVZ3tuIlcYfo9DaNEtXy0kSVoRX6x147kMxRo4FalyuswInk54crRs8c2S11tqwbVEc60i/VdiN8jAORAre75t/srV/V6MT1QB/b0DhI4Kor2BKKOZTmEghzVoMHpGDuj/VYUOErBtxXoj9V4NGEqolCajSz/W2uK7iBXlYAt2YK7uHn8VmGUYJbWEC/jtZ77wAz+gF3XAdnIVa2Sc24w1AonxKCjW+9xZWl13RFU4hOQ/LD/jxzswTlQ==; 5:nBiU0H/vWUiv+jSKnDChhnLYmGYX8ICtoRROwVussohvM30fb/907F4u7ReVA04A4IPyKna1L1WRG6rIMHPQ7UH/0q19rQr40yXoYB+FEB2ILGBIr26RhwdgG9kyPR5SGJwfA99pkzTXsoVorCHg2EMDJS7rhY7km+2hERF4rgY=; 7:aam2FlBxAHqynNAg3Pd+wXN7BvvtTDxOKlADXLn3mnJMY0+V4fQeYSBA/ILZgRz8NLfn/nrZvkdJOTZy5dmL+P6Yiz+TojmqZcoyCStxA+oebVmrRVuT7E2U7dmg4jYiCsfK39hs2arxgWbw/BGf/g== x-incomingheadercount: 51 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031323274)(2017031324274)(2017031322404)(1601125500)(1603101475)(1701031045); SRVR:CO1NAM04HT047; x-ms-traffictypediagnostic: CO1NAM04HT047: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(4566010)(82015058); SRVR:CO1NAM04HT047; BCL:0; PCL:0; RULEID:; SRVR:CO1NAM04HT047; x-microsoft-antispam-message-info: wKwKEda7KcJ+JGba0gHbNcRVDIM50oX79P9+YggaZMCxItGMyP1mahFS3ksPNBie Content-Type: text/plain; charset="us-ascii" Content-ID: <6CC7E676BA521A43B3C181C4CB2AB608@namprd20.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-Network-Message-Id: 78db8608-2d01-4c12-194e-08d668498bdd X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 9a4e3081-9524-43cf-bfc3-dcaef82d5da1 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Dec 2018 20:10:41.9226 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM04HT047 X-Rspamd-Queue-Id: C527D6F2C3 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outlook.com header.s=selector1 header.b=YGktbfc+; dmarc=pass (policy=none) header.from=outlook.com; spf=pass (mx1.freebsd.org: domain of carmel_ny@outlook.com designates 40.92.10.99 as permitted sender) smtp.mailfrom=carmel_ny@outlook.com X-Spamd-Result: default: False [1.49 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd-ports@freebsd.org]; R_DKIM_ALLOW(-0.20)[outlook.com:s=selector1]; NEURAL_HAM_MEDIUM(-0.99)[-0.985,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/14]; FREEMAIL_FROM(0.00)[outlook.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[outlook.com:+]; MX_GOOD(-0.01)[cached: outlook-com.olc.protection.outlook.com]; DMARC_POLICY_ALLOW(-0.50)[outlook.com,none]; RCVD_IN_DNSWL_NONE(0.00)[99.10.92.40.list.dnswl.org : 127.0.3.0]; NEURAL_HAM_SHORT(-0.52)[-0.521,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[outlook.com]; REPLYTO_EQ_TO_ADDR(5.00)[]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[outlook.com.dwl.dnswl.org : 127.0.3.0] 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 20:10:45 -0000 On Sat, 22 Dec 2018 20:23:39 +0100, Michael Grimm stated: >Carmel NY wrote: >> On Sat, 22 Dec 2018 18:13:51 +0100, Michael Grimm stated: =20 >>> Michael Grimm wrote: =20 > >>>> I am using poudriere to build my ports. Within a poudriere jail used t= o >>>> 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 >>=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. =20 > >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 =20 > 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" ru= n >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> =20 > >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 indicatin= g >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 par= t >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 Michael, I am certainly not a guru regarding poudriere, or system updating.= I just now what I was told. Perhaps Matthew Seaman or somebody with more knowledge about this than I can assist you. 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 create= d a new jail. Obviously, the jail name here is mine. portmaster --list-origins | sort -d | tee "~/portlist.txt" poudriere bulk -c -f "~/portlist.txt" -j "12amd64" pkg upgrade -y ~ $ poudriere jail -l JAILNAME VERSION ARCH METHOD TIMESTAMP PATH 12amd64 12.0-RELEASE-p1 amd64 ftp 2018-12-21 18:25:41 /usr/local/poudri= ere/jails/12amd64 ~ $ 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 Good Luck! --=20 Carmel