$ poudriere jail -cj clang8 -v projects/clang800-import -m svn+https $ poudriere testport -j clang8 www/squid [...] In file included from old_api.cc:26: In file included from ../../src/Store.h:15: In file included from ../../src/CommRead.h:15: In file included from ../../src/comm.h:13: In file included from ../../src/CommCalls.h:16: In file included from ../../src/MasterXaction.h:13: In file included from ../../src/anyp/PortCfg.h:17: ../../src/security/ServerOptions.h:38:5: error: explicitly defaulted copy constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] ServerOptions(const ServerOptions &) = default; ^ ../../src/security/ServerOptions.h:110:29: note: copy constructor of 'ServerOptions' is implicitly deleted because field 'clientCaStack' has a deleted copy constructor X509_NAME_STACK_Pointer clientCaStack; ^ /usr/include/c++/v1/memory:2494:3: note: copy constructor is implicitly deleted because 'unique_ptr<stack_st_X509_NAME, Security::ServerOptions::sk_X509_NAME_free_wrapper>' has a user-declared move constructor unique_ptr(unique_ptr&& __u) noexcept ^ 1 error generated. http://package18.nyi.freebsd.org/data/headamd64PR236062-default/2019-03-01_06h42m53s/logs/errors/squid-4.5.log http://package18.nyi.freebsd.org/data/headamd64PR236062-default/2019-03-01_06h42m53s/logs/errors/squid-devel-4.0.25_3.log
attachment 202434 [details] doesn't help, see https://ptpb.pw/x9Q_
Reminder: Clang 8 was merged to 13.0-CURRENT in base r344779. Maintainers, expect pkg-fallout@ mail soon.
Created attachment 202703 [details] Fix www/squid build with clang 8 The fix is to delete the copy constructor, as it isn't used (and probably should not be used in any case.) Patch attached.
Comment on attachment 202703 [details] Fix www/squid build with clang 8 maintainer-approval+
Approved by maintainer in comment 4
A commit references this bug: Author: dim Date: Mon Apr 8 14:40:18 UTC 2019 New revision: 498377 URL: https://svnweb.freebsd.org/changeset/ports/498377 Log: Fix build of www/squid and www/squid-devel with clang 8 This fixes an error with a defaulted copy constructor: ../../src/security/ServerOptions.h:38:5: error: explicitly defaulted copy constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] ServerOptions(const ServerOptions &) = default; ^ ../../src/security/ServerOptions.h:110:29: note: copy constructor of 'ServerOptions' is implicitly deleted because field 'clientCaStack' has a deleted copy constructor X509_NAME_STACK_Pointer clientCaStack; ^ /usr/include/c++/v1/memory:2494:3: note: copy constructor is implicitly deleted because 'unique_ptr<stack_st_X509_NAME, Security::ServerOptions::sk_X509_NAME_free_wrapper>' has a user-declared move constructor unique_ptr(unique_ptr&& __u) noexcept ^ The copy constructor can instead be deleted. Approved by: timp87@gmail.com (maintainer) PR: 236210 MFH: 2019Q2 Changes: head/www/squid/files/patch-src_security_ServerOptions.h head/www/squid-devel/files/patch-src_security_ServerOptions.h
A commit references this bug: Author: dim Date: Fri Apr 12 20:26:19 UTC 2019 New revision: 498742 URL: https://svnweb.freebsd.org/changeset/ports/498742 Log: MFH: r498377 Fix build of www/squid and www/squid-devel with clang 8 This fixes an error with a defaulted copy constructor: ../../src/security/ServerOptions.h:38:5: error: explicitly defaulted copy constructor is implicitly deleted [-Werror,-Wdefaulted-function-deleted] ServerOptions(const ServerOptions &) = default; ^ ../../src/security/ServerOptions.h:110:29: note: copy constructor of 'ServerOptions' is implicitly deleted because field 'clientCaStack' has a deleted copy constructor X509_NAME_STACK_Pointer clientCaStack; ^ /usr/include/c++/v1/memory:2494:3: note: copy constructor is implicitly deleted because 'unique_ptr<stack_st_X509_NAME, Security::ServerOptions::sk_X509_NAME_free_wrapper>' has a user-declared move constructor unique_ptr(unique_ptr&& __u) noexcept ^ The copy constructor can instead be deleted. Approved by: portmgr (joneum) PR: 236210 Changes: _U branches/2019Q2/ branches/2019Q2/www/squid/files/patch-src_security_ServerOptions.h branches/2019Q2/www/squid-devel/files/patch-src_security_ServerOptions.h