Kicad 8.0.5 compiling problem in Linux (boost 1.86) Reproducible: Always Steps to Reproduce: 1. Emerge dev-libs/boost-1.86.0 2. Rebuild Kicad against dev-libs/boost-1.86.0 Actual Results: Kicad failed to build Expected Results: Kicad expected to build
Created attachment 903578 [details, diff] Fix build with dev-libs/boost-1.86.0 KIID: Use Boost uuids own hash function (fix Boost 1.86) Not only is this simpler, but it should be compatible with all Boost versions (the cast is a problem in 1.86) and it was also 'improved' in 1.86 for better mixing. Fixes: #18651 (cherry picked from commit 9a3ebfba)
Please always include the full build.log & emerge --info.
Created attachment 903580 [details, diff] Fix build with dev-libs/boost-1.86.0 (second patch) KIID: Use Boost uuids own hash function (fix Boost 1.86) Not only is this simpler, but it should be compatible with all Boost versions (the cast is a problem in 1.86) and it was also 'improved' in 1.86 for better mixing. Fixes: #18651 (cherry picked from commit 9a3ebfba)
(In reply to Sam James from comment #2) > Please always include the full build.log & emerge --info. You are right but I already found the solution in Arch and just submitted to patches to fix the issue. That`s why I did not add the build log. If you expect it anyway I can submit this as well.
(In reply to Vladislav Mikhailikov from comment #4) > (In reply to Sam James from comment #2) > > Please always include the full build.log & emerge --info. > > You are right but I already found the solution in Arch and just submitted to > patches to fix the issue. That`s why I did not add the build log. If you > expect it anyway I can submit this as well. In general it's kind of convenient because it means we can see the pattern for other e.g. boost-1.86 bugs when we unmask it, but I won't insist in this instance given you already have it patched and so on.
Created attachment 903581 [details] Build log
Created attachment 903582 [details] Environment
Created attachment 903583 [details] Build log after patches Patches worked out well but new issue arises with boost SHA1. Found solution here: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-NNEDI3CL/issues/2?ysclid=m1djco8yp4409437056/
Created attachment 903584 [details, diff] Fixes for Boost 1.86 (which didn't quite make it into 8.0.5) This is the last patch required to build kicad-8.0.4 against boost-1.86. Kicad works fine.
(In reply to Vladislav Mikhailikov from comment #8) > Created attachment 903583 [details] > Build log after patches > > Patches worked out well but new issue arises with boost SHA1. Found solution > here: > https://github.com/HomeOfVapourSynthEvolution/VapourSynth-NNEDI3CL/issues/ > 2?ysclid=m1djco8yp4409437056/ Could you file a new bug for this, pointing out that we need to patch boost? I don't want it to get lost. Thanks again.
(In reply to Sam James from comment #10) > (In reply to Vladislav Mikhailikov from comment #8) > > Created attachment 903583 [details] > > Build log after patches > > > > Patches worked out well but new issue arises with boost SHA1. Found solution > > here: > > https://github.com/HomeOfVapourSynthEvolution/VapourSynth-NNEDI3CL/issues/ > > 2?ysclid=m1djco8yp4409437056/ > > Could you file a new bug for this, pointing out that we need to patch boost? > I don't want it to get lost. > > Thanks again. Looks like backport from kicad-8.0.5 solved the issue without touch of dev-libs/boost. I can confirm that I built kicad with boost 1.86 without any issues on amd64 arch. So there is no need to patch the boost.
Created attachment 903814 [details] Kicad-8.0.5 failed build log Ok, kicad update does not resolve the issue but the patches I submitted solves the problem.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2bd711b28713bbd9cd476757a8ea8ba7331e428 commit c2bd711b28713bbd9cd476757a8ea8ba7331e428 Author: David Seifert <soap@gentoo.org> AuthorDate: 2024-09-30 18:02:53 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2024-09-30 18:02:53 +0000 dev-libs/boost: add boost.compute patch Bug: https://bugs.gentoo.org/940042 Signed-off-by: David Seifert <soap@gentoo.org> ...{boost-1.86.0.ebuild => boost-1.86.0-r1.ebuild} | 4 +++ .../files/boost-1.86.0-uuid-compute-backport.patch | 30 ++++++++++++++++++++++ 2 files changed, 34 insertions(+)
*** Bug 942799 has been marked as a duplicate of this bug. ***
Created attachment 907944 [details, diff] kicad-8.0.5-boost-1.86.patch I consolidated the three patches into one and formatted it in a way that makes it possible to apply it via a PATCHES=( "${FILESDIR}/${P}"-boost-1.86.patch ) declaration in the rebuild. Works for me.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc310b46f0ae3f80bdb9c548af1269ce8a29cc7 commit bbc310b46f0ae3f80bdb9c548af1269ce8a29cc7 Author: Quincy Fleming <quincyf467@protonmail.com> AuthorDate: 2024-11-07 10:05:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-07 11:58:36 +0000 sci-electronics/kicad-meta: add 8.0.6 Bug: https://bugs.gentoo.org/942058 Bug: https://bugs.gentoo.org/940042 Closes: https://bugs.gentoo.org/942744 Signed-off-by: Quincy Fleming <quincyf467@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/39223 Signed-off-by: Sam James <sam@gentoo.org> sci-electronics/kicad-meta/kicad-meta-8.0.6.ebuild | 27 ++++++++++++++++++++++ sci-electronics/kicad-meta/metadata.xml | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b223cf327b8f084335d05c8c1e2ea6dd95bf14 commit 39b223cf327b8f084335d05c8c1e2ea6dd95bf14 Author: Quincy Fleming <quincyf467@protonmail.com> AuthorDate: 2024-11-07 10:02:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-07 11:58:35 +0000 app-doc/kicad-doc: add 8.0.6 Bug: https://bugs.gentoo.org/942744 Bug: https://bugs.gentoo.org/942058 Bug: https://bugs.gentoo.org/940042 Signed-off-by: Quincy Fleming <quincyf467@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-doc/kicad-doc/Manifest | 1 + app-doc/kicad-doc/kicad-doc-8.0.6.ebuild | 59 ++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3441b4aabc4b0468b13faede12eab4b87fe2ce9b commit 3441b4aabc4b0468b13faede12eab4b87fe2ce9b Author: Quincy Fleming <quincyf467@protonmail.com> AuthorDate: 2024-11-07 09:59:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-07 11:58:35 +0000 sci-electronics/kicad-templates: add 8.0.6 Bug: https://bugs.gentoo.org/942744 Bug: https://bugs.gentoo.org/942058 Bug: https://bugs.gentoo.org/940042 Signed-off-by: Quincy Fleming <quincyf467@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> sci-electronics/kicad-templates/Manifest | 1 + .../kicad-templates/kicad-templates-8.0.6.ebuild | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=606bc3c43d671c33b6bb9002095e895749822190 commit 606bc3c43d671c33b6bb9002095e895749822190 Author: Quincy Fleming <quincyf467@protonmail.com> AuthorDate: 2024-11-07 09:58:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-07 11:58:34 +0000 sci-electronics/kicad-symbols: add 8.0.6 Bug: https://bugs.gentoo.org/942744 Bug: https://bugs.gentoo.org/942058 Bug: https://bugs.gentoo.org/940042 Signed-off-by: Quincy Fleming <quincyf467@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> sci-electronics/kicad-symbols/Manifest | 1 + .../kicad-symbols/kicad-symbols-8.0.6.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f5a9db148c98dd0d01c9e3b87119bb4110c7d61 commit 5f5a9db148c98dd0d01c9e3b87119bb4110c7d61 Author: Quincy Fleming <quincyf467@protonmail.com> AuthorDate: 2024-11-07 09:57:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-07 11:58:34 +0000 sci-electronics/kicad-packages3d: add 8.0.6 Bug: https://bugs.gentoo.org/942744 Bug: https://bugs.gentoo.org/942058 Bug: https://bugs.gentoo.org/940042 Signed-off-by: Quincy Fleming <quincyf467@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> sci-electronics/kicad-packages3d/Manifest | 1 + .../kicad-packages3d/kicad-packages3d-8.0.6.ebuild | 31 ++++++++++++++++++++++ 2 files changed, 32 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fe6a04014464ec261b25412070b6df6563dfffb commit 3fe6a04014464ec261b25412070b6df6563dfffb Author: Quincy Fleming <quincyf467@protonmail.com> AuthorDate: 2024-11-07 09:54:19 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-07 11:58:33 +0000 sci-electronics/kicad-footprints: add 8.0.6 Bug: https://bugs.gentoo.org/942744 Bug: https://bugs.gentoo.org/942058 Bug: https://bugs.gentoo.org/940042 Signed-off-by: Quincy Fleming <quincyf467@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> sci-electronics/kicad-footprints/Manifest | 1 + .../kicad-footprints/kicad-footprints-8.0.6.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08f53a2e6ec046ee8bbe27bac90f5efc68860147 commit 08f53a2e6ec046ee8bbe27bac90f5efc68860147 Author: Quincy Fleming <quincyf467@protonmail.com> AuthorDate: 2024-11-07 09:38:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-07 11:58:33 +0000 sci-electronics/kicad: add 8.0.6 Bug: https://bugs.gentoo.org/942744 Bug: https://bugs.gentoo.org/940042 Bug: https://bugs.gentoo.org/942058 Signed-off-by: Quincy Fleming <quincyf467@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> sci-electronics/kicad/Manifest | 1 + sci-electronics/kicad/kicad-8.0.6.ebuild | 184 +++++++++++++++++++++++++++++++ 2 files changed, 185 insertions(+)