Univention Bugzilla – Bug 43717
squid3 fails to build in UCS 4.2
Last modified: 2017-04-04 18:28:50 CEST
squid3 fails to build for UCS 4.2 with errors like the following: In file included from /usr/include/linux/netfilter.h:7:0, from /usr/include/linux/netfilter_ipv4.h:8, from Intercept.cc:100: /usr/include/linux/in.h:28:16: error: redeclaration of 'IPPROTO_IP' IPPROTO_IP = 0, /* Dummy protocol for TCP */ ^ In file included from /usr/include/arpa/inet.h:22:0, from ../../include/util.h:42, from ../../src/base/Vector.h:39, from ../../src/comm/forward.h:4, from ../../src/comm/Connection.h:40, from Intercept.cc:34: /usr/include/netinet/in.h:42:5: note: previous declaration '<anonymous enum> IPPROTO_IP' IPPROTO_IP = 0, /* Dummy protocol for TCP. */ ^
Not related, but a note, in case you stumble over it: The name of the ldap-query binaries changed, so that the squid daemon will not run with a configuration from UCS 4.1. The fix in Bug #43580 compensates that - without patching the squid3-package - by changing the configuration exactly once, and only when upgrading UCS4.1->4.2 in its preinst-script. If the squid3 package is patched anyway, the 'sed' calls from univention-squids preinst could be moved to squid3s postinst.
I guess this is: http://bugs.squid-cache.org/show_bug.cgi?id=4323 Since we need to patch the postinst, we will need to build it: Bug #44210
(In reply to Stefan Gohmann from comment #2) > I guess this is: http://bugs.squid-cache.org/show_bug.cgi?id=4323 > > Since we need to patch the postinst, we will need to build it: Bug #44210 I've applied the patch: r17447 + r17448 Changelog: r78572
OK: squid package builds OK: squid package updates 4.1 -> 4.2
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".