I have tried to build couple RPMs for the V6 beta but found that the current daily autogenerated releases cannot be built. Is there any specific git commit I should try to use? These are the last lines of the rpmbuild in CentOS 8 Stream: ## START loaded-virtual -Werror -pipe -D_REENTRANT -I/usr/include/libxml2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=genb -I../../src -I../../include -I../../libltdl -I/usr/include/libxml2 -Wextra -Wno-unused-private-field -Wimplicit-fallthrough=2 -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Wmissing-declarations -Woverlibtool: compile: g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I../.. -I../../include -I../../lib -I../../src -I../../include -I../../libltdl -I/usr/include/libxml2 -Wextra -Wno-unused-private-field -Wimplicit-fallthrough=2 -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Wmissing-declarations -Woverror.o .libs/SquidErrorData.o .libs/StringData.o .libs/Tag.o .libs/Time.o .libs/TimeData.o .libs/TransactionInitiator.o .libs/Url.o .libs/UrlLogin.o .libs/UrlPath.o .libs/UrlPort.o .libs/UserData.o .libs/Certifg++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I.. -I../include -I../lib -I../src -I../include -I../libltdl -I../src -I../libltdl -I/usr/include/libxml2 -Wextra -Wno-unused-private-field -Wimplicit-fallthrough=2 -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Wmissing-declarations -Woverloaded-virtual -Werror -pipe -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o DelayBucket.o DelayBucket.cc AclRegs.cc: In lambda function: AclRegs.cc:165:50: error: unused parameter 'name' [-Werror=unused-parameter] RegisterMaker("clientside_mark", [](TypeName name)->ACL* { return new Acl::ConnMark; }); ~~~~~~~~~^~~~ AclRegs.cc: In lambda function: AclRegs.cc:166:57: error: unused parameter 'name' [-Werror=unused-parameter] RegisterMaker("client_connection_mark", [](TypeName name)->ACL* { return new Acl::ConnMark; }); ~~~~~~~~~^~~~ g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I.. -I../include -I../lib -I../src -I../include -I../libltdl -I../src -I../libltdl -I/usr/include/libxml2 -Wextra -Wno-unused-private-field -Wimplicit-fallthrough=2 -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Wmissing-declarations -Woverloaded-virtual -Werror -pipe -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o DelayConfig.o DelayConfig.cc g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I.. -I../include -I../lib -I../src -I../include -I../libltdl -I../src -I../libltdl -I/usr/include/libxml2 -Wextra -Wno-unused-private-field -Wimplicit-fallthrough=2 -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Wmissing-declarations -Woverloaded-virtual -Werror -pipe -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o DelayPool.o DelayPool.cc g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I.. -I../include -I../lib -I../src -I../include -I../libltdl -I../src -I../libltdl -I/usr/include/libxml2 -Wextra -Wno-unused-private-field -Wimplicit-fallthrough=2 -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Wmissing-declarations -Woverloaded-virtual -Werror -pipe -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -o DelaySpec.o DelaySpec.cc At global scope: cc1plus: error: unrecognized command line option '-Wno-unused-private-field' [-Werror] cc1plus: all warnings being treated as errors make[3]: *** [Makefile:5929: AclRegs.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/builder/BUILD/squid-6.0.1/src' make[2]: *** [Makefile:6046: all-recursive] Error 1 make[2]: Leaving directory '/home/builder/BUILD/squid-6.0.1/src' make[1]: *** [Makefile:5037: all] Error 2 make[1]: Leaving directory '/home/builder/BUILD/squid-6.0.1/src' make: *** [Makefile:591: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.kiBaSw (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.kiBaSw (%build) ufdio: 1 reads, 17154 total bytes in 0.000007 secs ufdio: 1 reads, 5442 total bytes in 0.003573 secs ufdio: 1 reads, 17154 total bytes in 0.000004 secs ## END Thanks, ---- Eliezer Croitoru NgTech, Tech Support Mobile: +972-5-28704261 Email: ngtech1ltd@xxxxxxxxx |
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users