[Bug 1712668] Re: squid3: ftbfs with gcc7: "dynamic exception specifications are deprecated" and other errors
** Merge proposal unlinked: https://code.launchpad.net/~ahasenack/ubuntu/+source/squid3/+git/squid3/+merge/339434 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1712668 Title: squid3: ftbfs with gcc7: "dynamic exception specifications are deprecated" and other errors To manage notifications about this bug go to: https://bugs.launchpad.net/squid/+bug/1712668/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1712668] Re: squid3: ftbfs with gcc7: "dynamic exception specifications are deprecated" and other errors
** Merge proposal unlinked: https://code.launchpad.net/~ahasenack/ubuntu/+source/squid3/+git/squid3/+merge/339434 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1712668 Title: squid3: ftbfs with gcc7: "dynamic exception specifications are deprecated" and other errors To manage notifications about this bug go to: https://bugs.launchpad.net/squid/+bug/1712668/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1712668] Re: squid3: ftbfs with gcc7: "dynamic exception specifications are deprecated" and other errors
** Summary changed: - squid3: ftbfs with gcc7: dynamic exception specifications are deprecated + squid3: ftbfs with gcc7: "dynamic exception specifications are deprecated" and other errors -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1712668 Title: squid3: ftbfs with gcc7: "dynamic exception specifications are deprecated" and other errors To manage notifications about this bug go to: https://bugs.launchpad.net/squid/+bug/1712668/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1712668] Re: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated
And thanks for the quick response. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1712668 Title: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated To manage notifications about this bug go to: https://bugs.launchpad.net/squid/+bug/1712668/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1712668] Re: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated
Yeah, sorry about that. I got 6 identical "504 gateway timeout" errors :) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1712668 Title: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated To manage notifications about this bug go to: https://bugs.launchpad.net/squid/+bug/1712668/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1712668] Re: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated
Managed to file http://bugs.squid-cache.org/show_bug.cgi?id=4759 Upstream's response is wontfix. ** Bug watch added: Squid Bugzilla #4759 http://bugs.squid-cache.org/show_bug.cgi?id=4759 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1712668 Title: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated To manage notifications about this bug go to: https://bugs.launchpad.net/squid/+bug/1712668/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1712668] Re: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated
Ok, with these 4 commits applied, the build works on 64 bits: https://github.com/squid-cache/squid/commit/85942de8e7b4f8a449d933657fc4a5324a4c5d58 https://github.com/squid-cache/squid/commit/93454e65b0f71ae6ff981fb74ac0ccc099078cb7 https://github.com/squid-cache/squid/commit/286c132b8c067449eefc842c72cdbbcf0a1c54df https://github.com/squid-cache/squid/commit/6a41367f4985bf1b3fcd3aa32d1dc9d0108ba350 But it fails on 32 bits: Format.cc: In member function ‘void Format::Format::assemble(MemBuf&, const Pointer&, int) const’: Format.cc:345:1: error: ‘%0*lld’ directive output may be truncated writing between 1 and 2147483646 bytes into a region of size 1024 [-Werror=format-truncation=] Format::Format::assemble(MemBuf , const AccessLogEntry::Pointer , int logSequenceNumber) const ^~ The fix for that seems to be https://github.com/squid-cache/squid/commit/6d19fc4dbb47a9b6993057c8599cd57f29d1475a (thanks @paelzer for finding that one), but it was never applied to the v3.5 branch. Even the new 3.5.27 upstream release fails to build on i386 with gcc7. I filed this upstream bug about it: Their bugzilla just times out, I can't open a bug. I managed to add a comment to the existing bug about gcc7 failures that is already closed: http://bugs.squid-cache.org/show_bug.cgi?id=4671#c3 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1712668 Title: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated To manage notifications about this bug go to: https://bugs.launchpad.net/squid/+bug/1712668/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1712668] Re: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated
With those 3 diffs applied, the build progresses further, but now failed at this point: (...) purge.cc: In function ‘int log_extended(const char*, int, long int, const SquidMetaList*)’: purge.cc:258:1: error: ‘%08lx’ directive output truncated writing 16 bytes into a region of size 13 [-Werror=format-truncation=] log_extended( const char* fn, int code, long size, const SquidMetaList* meta ) ^~~~ This is probably the fix: commit 6a41367f4985bf1b3fcd3aa32d1dc9d0108ba350 Author: Lubos UhliarikDate: Mon May 8 23:09:20 2017 +1200 Bug 4695: squidpurge: GCC 7 build errors -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1712668 Title: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated To manage notifications about this bug go to: https://bugs.launchpad.net/squid/+bug/1712668/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1712668] Re: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated
I found several commits upstream about this, still going through them. So far: commit 286c132b8c067449eefc842c72cdbbcf0a1c54df Author: Amos JeffriesDate: Fri Jun 23 03:31:46 2017 +1200 Bug 4671 pt3: various GCC 7 compile errors commit 93454e65b0f71ae6ff981fb74ac0ccc099078cb7 Author: Amos Jeffries Date: Thu Jun 22 07:54:39 2017 +1200 Bug 4671 pt2: GCC 7: raise FTP Gateway CTRL channel buffer to 16KB yours (https://github.com/squid-cache/squid/commit/39cca4e121215f3f994c1e57f7201ad2a2a2d32a) Maybe this: commit 6a41367f4985bf1b3fcd3aa32d1dc9d0108ba350 Author: Lubos Uhliarik Date: Mon May 8 23:09:20 2017 +1200 Bug 4695: squidpurge: GCC 7 build errors ** Bug watch added: Debian Bug tracker #853668 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853668 ** Also affects: squid3 (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853668 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1712668 Title: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated To manage notifications about this bug go to: https://bugs.launchpad.net/squid/+bug/1712668/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1712668] Re: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated
3.5.27 was released with fixes for this. Debian still has 3.5.23 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1712668 Title: squid3: ftbfs with gcc7: dynamic exception specifications are deprecated To manage notifications about this bug go to: https://bugs.launchpad.net/squid/+bug/1712668/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs