64 | input_cell(nullptr_t); | ^ ../../include/ixion/model_context.hpp:64:20: error: field nullptr_t has incomplete type ixion::model_context::input_cell 64 | input_cell(nullptr_t); | ^~~~~~~~~ ../../include/ixion/model_context.hpp:51:28: note: definition of struct ixion::model_context::input_cell is not complete until the closing brace ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200316-165821 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.41.1 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Sun Mar 22 16:14:27 UTC 2020 /var/db/repos/musl Sun Mar 22 15:02:57 UTC 2020 emerge -qpvO dev-libs/libixion [ebuild U ] dev-libs/libixion-0.15.0 [0.14.1] USE="threads -debug -python -static-libs" PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8"
Created attachment 624510 [details] emerge-info.txt
Created attachment 624512 [details] dev-libs:libixion-0.15.0:20200322-173610.log
Created attachment 624514 [details] emerge-history.txt
Created attachment 624516 [details] environment
Created attachment 624518 [details] etc.portage.tbz2
Created attachment 624520 [details] logs.tbz2
Created attachment 624522 [details] temp.tbz2
Created attachment 624658 [details, diff] libixion-0.15.0-nullptr_t.patch There is a similar error when compiling with clang 10.0.0, so hopefully the proposed patch (by me) will also fix it with musl. I have not tested it with musl.
Please send it upstream.
(In reply to Mark Wright from comment #8) > Created attachment 624658 [details, diff] [details, diff] > libixion-0.15.0-nullptr_t.patch > > There is a similar error when compiling with clang 10.0.0, so hopefully the > proposed patch (by me) will also fix it with musl. I have not tested it > with musl. From a8fe2c542b16ee30723ab3d7f3b643ee479e9723 Mon Sep 17 00:00:00 2001 From: orbea <orbea@riseup.net> Date: Fri, 23 Aug 2019 08:50:28 -0700 Subject: [PATCH] Fix build with clang. --- include/ixion/model_context.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ixion/model_context.hpp b/include/ixion/model_context.hpp index 6ff5b67..dc27ed0 100644 --- a/include/ixion/model_context.hpp +++ b/include/ixion/model_context.hpp @@ -61,7 +61,7 @@ public: } value; /** Initializes the cell to be empty. */ - input_cell(nullptr_t); + input_cell(std::nullptr_t); /** Boolean cell value. */ input_cell(bool b); /** The char array must be null-terminated. */ -- 2.24.1 Patch has been around for ever.
(In reply to Jory A. Pratt from comment #10) > (In reply to Mark Wright from comment #8) > > Created attachment 624658 [details, diff] [details, diff] [details, diff] > > libixion-0.15.0-nullptr_t.patch > > > > There is a similar error when compiling with clang 10.0.0, so hopefully the > > proposed patch (by me) will also fix it with musl. I have not tested it > > with musl. > > From a8fe2c542b16ee30723ab3d7f3b643ee479e9723 Mon Sep 17 00:00:00 2001 > From: orbea <orbea@riseup.net> > Date: Fri, 23 Aug 2019 08:50:28 -0700 > Subject: [PATCH] Fix build with clang. > > --- > include/ixion/model_context.hpp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/ixion/model_context.hpp > b/include/ixion/model_context.hpp > index 6ff5b67..dc27ed0 100644 > --- a/include/ixion/model_context.hpp > +++ b/include/ixion/model_context.hpp > @@ -61,7 +61,7 @@ public: > } value; > > /** Initializes the cell to be empty. */ > - input_cell(nullptr_t); > + input_cell(std::nullptr_t); > /** Boolean cell value. */ > input_cell(bool b); > /** The char array must be null-terminated. */ > -- > 2.24.1 > > > Patch has been around for ever. Ok so why the hell hasn't it been pushed upstream??!?!
(In reply to Andreas Sturmlechner from comment #9) > Please send it upstream. patch has already landed upstream commit a8fe2c542b16ee30723ab3d7f3b643ee479e9723
(In reply to Jory A. Pratt from comment #12) > (In reply to Andreas Sturmlechner from comment #9) > > Please send it upstream. > > patch has already landed upstream commit > a8fe2c542b16ee30723ab3d7f3b643ee479e9723 ACK - https://gitlab.com/ixion/ixion/-/commit/a8fe2c542b16ee30723ab3d7f3b643ee479e9723 Since this is already 6 months ago .. why is this package failing still?! Looks like we need an -rX release or snapshot...
don't panic, it is upstream is all I need to know...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cd6c37430359b936182b26f47605e396043239c commit 5cd6c37430359b936182b26f47605e396043239c Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-03-23 00:33:20 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-03-23 00:33:20 +0000 dev-libs/libixion: Fix build with musl/clang Closes: https://bugs.gentoo.org/714018 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/libixion-0.15.0-musl-clang.patch | 24 ++++++++++++++++++++++ dev-libs/libixion/libixion-0.15.0.ebuild | 2 ++ 2 files changed, 26 insertions(+)