[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-10-15 Thread Gianfranco Costamagna via ubuntu-bugs
** Changed in: gcc-9 (Ubuntu Eoan) Status: In Progress => Fix Released ** Changed in: clickhouse (Ubuntu Eoan) Assignee: Gianfranco Costamagna (costamagnagianfranco) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-10-15 Thread Gianfranco Costamagna via ubuntu-bugs
** Changed in: clickhouse (Ubuntu Eoan) Status: In Progress => Fix Committed ** Changed in: clickhouse (Ubuntu Eoan) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-31 Thread Mathew Hodson
** No longer affects: mysql-8.0 (Ubuntu Eoan) ** No longer affects: mysql-8.0 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840511 Title: Eoan FTBFS with gcc-9 and MySQL 8 To manage

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-24 Thread Rafael David Tinoco
** Changed in: mysql-8.0 (Ubuntu Eoan) Assignee: Gianfranco Costamagna (costamagnagianfranco) => (unassigned) ** Changed in: gcc-9 (Ubuntu Eoan) Assignee: Gianfranco Costamagna (costamagnagianfranco) => (unassigned) -- You received this bug notification because you are a member of

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-21 Thread Gianfranco Costamagna via ubuntu-bugs
I uploaded after changing some little bit to make the changes upstreamable to Debian -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840511 Title: Eoan FTBFS with gcc-9 and MySQL 8 To manage

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
** Changed in: clickhouse (Ubuntu Eoan) Status: Fix Released => In Progress ** Changed in: mysql-8.0 (Ubuntu Eoan) Status: In Progress => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
Well it looks like clickhouse is an amd64 only package, I have added more architectures in the PPA, please ignore those building errors. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840511 Title:

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
** Patch added: "clickhouse_18.16.1+ds-4ubuntu2.debdiff" https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1840511/+attachment/5283598/+files/clickhouse_18.16.1+ds-4ubuntu2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
I guess if tests make the build hard to happen we can just enable: #export DEB_BUILD_OPTIONS+=nocheck in debian/rules but, for now, I tried to avoid that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
PPA containing clickhouse build and cpuinfo, with needed fix from (LP: #1840847): https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1840511 Debdiff with proposed changes are attached to this bug. ** Patch removed: "0001-G-9-crashes-returning-exception-using-true-false-syn.patch"

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
Fixing libcpuid I was able to run all tests and, apart from those already marked as buggy and/or flaky, in debian/rules, I'm adding those extra for now: # # LP: #1840511 cleanup # # libm precision on exp() related functions SKIP_TESTS+=00536 00534 # long_http_bufferization ? SKIP_TESTS+=00429

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
Instead of reverting the libcpuid change (done in Debian and not upstream) I will make libcpuid not to stderr for warnings for now: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1840847 And this might fix comment #14 issue. -- You received this bug notification because you are a member

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
Im currently building the to-be-suggested source package locally so I can push it to a PPA for the debdiff reviewers before final upload. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840511 Title:

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
I have opened the following BUG: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1840847 To address this issue, for now.. I might have to drop the specific patch: From: Alexander GQ Gerasiov Date: Fri, 4 Jan 2019 03:04:07 +0300 Subject: Replace cpuid with cpuinfo. cpuinfo is already

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
>From cpuinfo library: #if defined(__ANDROID__) && !defined(CPU_SETSIZE) /* * Android NDK headers before platform 21 do not define CPU_SETSIZE, * so we hard-code its value, as defined in platform 21 headers */ #if defined(__LP64__) static const uint32_t

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
Looks like that patch: 0008-Replace-cpuid-with-cpuinfo.patch Introduced a stderr in ctests: 11: 11: Running stateless tests. 11: 11: 00802_daylight_saving_time_shift_backwards_at_midnight: [ FAIL ] - having stderror: 11: Warning in cpuinfo: kernel_max value of 8191 parsed from

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
@Gian, As clickhouse is blocking the full MySQL 8 update, and we have only 1 day until the freeze, I'll update clickhouse with the accepted upstream patch: https://github.com/yandex/ClickHouse/issues/6552 https://github.com/yandex/ClickHouse/pull/6569 instead of yours mysql.h patch, AND we

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
** Changed in: mysql-8.0 (Ubuntu Eoan) Status: Fix Released => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840511 Title: Eoan FTBFS with gcc-9 and MySQL 8 To manage

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
Alright, the compilation error in comment #9 is related to: libs/libcommon/include/common/preciseExp10.h: /** exp10 from GNU libm fails to give precise result for integer arguments. * For example, exp10(3) gives 1000.1 * despite the fact that 1000 is exactly representable in

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
Fix for ": ?" errors for gcc-9: https://gcc.gnu.org/viewcvs/gcc?view=revision=274550 https://gcc.gnu.org/viewcvs/gcc?view=revision=274597 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840511 Title:

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
gcc-9 issue likely related to: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91493 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91500 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1840511 Title:

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
Just for the record, it wasn't the migration, it was the build tests at the end. And it looks like the deviation from expected results was regarding number formatting other than different results: 00534_exp10: FAIL - result differs with reference: ---

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Ubuntu Foundations Team Bug Bot
The attachment "0001-G-9-crashes-returning-exception-using-true-false- syn.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
Migration failed due to autopkgtests: https://launchpadlibrarian.net/438156898/buildlog_ubuntu-eoan- amd64.clickhouse_18.16.1+ds-4ubuntu1_BUILDING.txt.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
Im attaching 2 patches to the case: - Fixing MySQL building issue (proposed upstream) - Mitigating GCC 9 issue (reported upstream) Package maintainer already mitigated both with different patches. clickhouse (18.16.1+ds-4ubuntu1) eoan; urgency=medium * Use gcc-8 to build: see

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
** Patch added: "0002-MySQL-8-integration-requires-previous-declaration-ch.patch" https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1840511/+attachment/5283439/+files/0002-MySQL-8-integration-requires-previous-declaration-ch.patch ** Changed in: mysql-8.0 (Ubuntu Eoan) Status: New

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
Im attaching 2 patches to the case: - Fixing MySQL building issue (proposed upstream) - Mitigating GCC 9 issue (reported upstream) Package maintainer already mitigated both with different patches. clickhouse (18.16.1+ds-4ubuntu1) eoan; urgency=medium * Use gcc-8 to build: see

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-20 Thread Rafael David Tinoco
@gianfranco: https://github.com/yandex/ClickHouse/issues/6552 Based on the upstream discussion, I think upstream change should be: >From cc17b8f0687d0b290e7a543032a87ca289290563 Mon Sep 17 00:00:00 2001 From: Rafael David Tinoco Date: Tue, 20 Aug 2019 02:38:47 + Subject: [PATCH 2/2]

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-19 Thread Rafael David Tinoco
I opened the following upstream issue for GCC/G++ 9: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91493 and following upstream issue for ClickHouse to track the G++ issue: https://github.com/yandex/ClickHouse/issues/6560 I already have patches to either fix (issue #1) or mitigate (issue #2)

[Bug 1840511] Re: Eoan FTBFS with gcc-9 and MySQL 8

2019-08-19 Thread Rafael David Tinoco
I have opened the following issue upstream: https://github.com/yandex/ClickHouse/issues/6552 Explaining what was discovered and asking what would be the best alternative to address the issue (particularly interested why we were not facing this before). ** Bug watch added: