Open mrngm opened 6 months ago
It appears that subprojects/sqlitewriter
is a Git repository as well. From a git blame
, line 134 in the error message above was added/modified in 51169c8.
I noticed that sqlitewriter
@ 51169c8 doesn't compile with the same error (albeit on a different line number). One commit earlier (36ef85b does compile (although it fails on linking psqlwriter due to missing dependencies).
github.com/berthubert/sqlitewriter
is taken in as dependency and placed in the subprojects/
folder:
~/scm/simplomon/subprojects/sqlitewriter[main*]$ git lg
* 05b95d9 - (grafted, HEAD -> main, origin/main, origin/HEAD) Make sure we return (ill-advised) nul containing strings correctly, plus add a testcase. Closes #3 Thanks Wander Nauta for spotting this. (2 months ago) <bert hubert>
It seems Github Actions in that repository uses Ubuntu 22.04 as base image.
On Ubuntu 20.04:
$ c++ --version
c++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
(which, eventually, can be found in the package g++-9
).
On Ubuntu 22.04, it looks like c++
is sourced from g++-11
.
Reading the porting to section in GCC11, a few things come to mind. The underlying standard has been upgraded from gnu++14 to gnu++17 (which is C++14, C++17 with GNU extensions). It seems template parameter matching has changed as well (P0522R0).
Could it be that sqlitewriter
uses C++17 specific code that isn't supported in C++14 (or lower)?
Could it be that sqlitewriter uses C++17 specific code that isn't supported in C++14 (or lower)?
That sounds likely - sqlitewrite claims to require C++17 and simplomon asks for C++20.
Could it be that sqlitewriter uses C++17 specific code that isn't supported in C++14 (or lower)?
That sounds likely - sqlitewrite claims to require C++17 and simplomon asks for C++20.
Thanks for the clarification, I'm not too familiar with cmake/meson build systems to have looked in this direction.
On Ubuntu 20.04,
meson compile -C build/
fails intestrunner
on 3 separate files.As instructed, I'm using
meson
frompip
, becausemeson
on Ubuntu 20.04 has version0.53.2
Excerpt from one error:
Two other failures, but full log omitted for brevity:
This looks similar to #5, except it's on Linux.
Currently installed dependency versions: