From owner-freebsd-ports@freebsd.org Sat Jun 27 15:58:03 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 35BA53558A4 for ; Sat, 27 Jun 2020 15:58:03 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49vJLf63fdz47WL for ; Sat, 27 Jun 2020 15:58:02 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: by mailman.nyi.freebsd.org (Postfix) id CE391355937; Sat, 27 Jun 2020 15:58:02 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CDFBB355A90 for ; Sat, 27 Jun 2020 15:58:02 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from p3plwbeout05-03.prod.phx3.secureserver.net (p3plsmtp05-03-02.prod.phx3.secureserver.net [97.74.135.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wbeout.secureserver.net", Issuer "Starfield Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49vJLd5Btyz47R6 for ; Sat, 27 Jun 2020 15:58:01 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from outmx-028.london.gridhost.co.uk ([95.142.156.253]) by :WBEOUT: with ESMTP id pDCpjsIuoERUIpDCqjXRC3; Sat, 27 Jun 2020 08:57:28 -0700 X-CMAE-Analysis: v=2.3 cv=eOFtc0h1 c=1 sm=1 tr=0 a=0sP6G7xXiiOFqQt3g3kR8w==:117 a=aH6JTgnnTGHwN2iBTwNb8w==:17 a=nTHF0DUjJn0A:10 a=r77TgQKjGQsHNAKrUKIA:9 a=nbohbTRERWkUqr_CN9gA:9 a=QEXdDO2ut3YA:10 a=IgusdEzB1mZr8tTkkrQA:9 a=4fA5dEBOC79nwlai:21 a=_W_S_7VecoQA:10 X-SECURESERVER-ACCT: X-SID: pDCpjsIuoERUI Received: from curlew.milibyte.co.uk (unknown [82.71.56.121]) (Authenticated sender: mailpool@milibyte.co.uk) by outmx-028.london.gridhost.co.uk (Postfix) with ESMTPA id 12389221B18C1 for ; Sat, 27 Jun 2020 16:57:27 +0100 (BST) Received: from [127.0.0.1] (helo=curlew.localnet) by curlew.milibyte.co.uk with esmtp (Exim 4.93.0.4) (envelope-from ) id 1jpDBm-0002Ey-Is for ports@freebsd.org; Sat, 27 Jun 2020 16:56:22 +0100 From: Mike Clarke To: ports@freebsd.org Subject: mail/filtermail fails to build with 13.0-CURRENT Date: Sat, 27 Jun 2020 16:56:22 +0100 Message-ID: <11067123.Fl8HKFhtjO@curlew> MIME-Version: 1.0 X-TSO-Authenticated: X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-CMAE-Envelope: MS4wfFhCm/GW3Ci8dXVYf+fsITFdkqgEnJC5tfW1mE5OzD71WlJ3+M27/h3FIFbZMxwoRn6ycNgCRtRX/lj6ZyAuwVCgYHoPiJ6JX4tb+MGLhZPQ67NEEESH /njCheF30QwRMsx6fNZ03VlGLVzgaVs2sQZVfEoiPefcoqIs85ArULoBR8J9qsDnGT+QVztT3pK6e5x3XDuYGuEwlrogrZupcAA= X-Rspamd-Queue-Id: 49vJLd5Btyz47R6 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jmc-freebsd2@milibyte.co.uk designates 97.74.135.48 as permitted sender) smtp.mailfrom=jmc-freebsd2@milibyte.co.uk X-Spamd-Result: default: False [-1.59 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:97.74.135.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.90)[-0.902]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_SHORT(-0.37)[-0.375]; RCVD_IN_DNSWL_NONE(0.00)[97.74.135.48:from]; NEURAL_HAM_MEDIUM(-1.02)[-1.017]; DMARC_NA(0.00)[milibyte.co.uk]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; CTE_CASE(0.50)[]; ASN(0.00)[asn:26496, ipnet:97.74.132.0/22, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RWL_MAILSPIKE_POSSIBLE(0.00)[97.74.135.48:from] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2020 15:58:03 -0000 As someone with very little experience with C++ I'd welcome advice on how to fix this for 13.0- CURRENT. It builds without problem on 12.1-RELEASE Making all in src gmake[3]: Entering directory '/usr/ports/mail/filtermail/work/filtermail-0.8.3/src' c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I. -I../include -I.. -DLOCALEDIR=\"/usr/local/share/ locale\" -I../intl -I.. -I../include -I. -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno- strict-aliasing -MT rcfile.o -MD -MP -MF .deps/rcfile.Tpo -c -o rcfile.o rcfile.cc rcfile.ll:151:14: error: no viable overloaded '=' yyin = new ifstream (sub_file.c_str ()); ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/istream:200:20: note: candidate function not viable: no known conversion from 'std::__1::ifstream *' (aka 'basic_ifstream *') to 'std::__1::basic_istream' for 1st argument; dereference the argument with * basic_istream& operator=(basic_istream&& __rhs); ^ /usr/include/c++/v1/istream:211:20: note: candidate function not viable: no known conversion from 'std::__1::ifstream *' (aka 'basic_ifstream *') to 'const std::__1::basic_istream' for 1st argument; dereference the argument with * basic_istream& operator=(const basic_istream& __rhs) = delete; ^ rcfile.ll:153:15: error: cannot cast from type 'std::istream' (aka 'basic_istream') to pointer type 'std::__1::ifstream *' (aka 'basic_ifstream *') if (!((ifstream*) yyin)->is_open ()) ^~~~~~~~~~~~~~~~ 2 errors generated. gmake[3]: *** [Makefile:453: rcfile.o] Error 1 gmake[3]: Leaving directory '/usr/ports/mail/filtermail/work/filtermail-0.8.3/src' gmake[2]: *** [Makefile:382: all-recursive] Error 1 gmake[2]: Leaving directory '/usr/ports/mail/filtermail/work/filtermail-0.8.3' gmake[1]: *** [Makefile:320: all] Error 2 gmake[1]: Leaving directory '/usr/ports/mail/filtermail/work/filtermail-0.8.3' *** Error code 1 -- Mike Clarke