On Sat, Sep 11, 2021 at 9:49 PM Neal Gompa <ngompa13(a)gmail.com> wrote:
Hello all,
I've been trying to figure out how to fix the builds for
libyui-ncurses[1] and libyui-mga-ncurses[2].
The errors in both package builds confuse me. It looks like the
"friend" declarations are all broken and it leads to all kinds of
missing methods and members, which breaks the whole thing.
Anyone have any idea how to fix this? I'm out of ideas...
Take this with a grain of salt, I'm certainly not an expert when it
comes to C++. Though I think I might have found the issue in the
ncurses header files. Comparing the contents of ncurses-devel between
f34 (which builds fine) and f35/rawhide (which doesn't), particularly
the /usr/include/ncurses_dll.h file, where those definitions seem to
live:
- NCURSES_IMPEXP is actually defined to a sensible value on f34
- NCURSES_IMPEXP is defined to be NCURSES_EXPORT_GENERAL_EXPORT on f35+
- NCURSES_EXPORT_GENERAL_EXPORT looks like it might not be properly
defined, or at least, defined *after* it is used in the definition of
NCURSES_IMPEXP
This might be a bug in the development snapshot of ncurses that we
seem to be shipping?
Fabio