View previous topic :: View next topic |
Author |
Message |
ingenarel n00b
Joined: 16 Jan 2025 Posts: 2
|
Posted: Thu Jan 16, 2025 11:22 pm Post subject: neovim-9999 fails to build |
|
|
i can confirm that this shouldn't be a problem with neovim's source code since i can clone the repo and build it manually from the master branch
output of Code: | emerge --info '=app-editors/neovim-9999::gentoo' |
https://bpa.st/5RSA
output of Code: | emerge -pqv '=app-editors/neovim-9999::gentoo' |
https://bpa.st/NQ2A
the error log: (not the full, just where the error actually happens)
https://bpa.st/NIOQ
any help would be really appreciated, thanks |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23014
|
Posted: Thu Jan 16, 2025 11:43 pm Post subject: |
|
|
Welcome to the forums. This appears to be an incompatibility in neovim's code between src/nvim/mbyte.c and the definition of struct utf8proc_property_struct. When you built from the master branch, did you build exactly the same commit as failed here? What commit is failing here? Since you did not provide the complete build log, we cannot see what commit you used. Per the snippet you provided: Code: | [31;01m*[0m The complete build log is located at '/var/tmp/portage/app-editors/neovim-9999/temp/build.log'. | What provides the definition of struct utf8proc_property_struct? |
|
Back to top |
|
|
ingenarel n00b
Joined: 16 Jan 2025 Posts: 2
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31424 Location: here
|
Posted: Fri Jan 17, 2025 6:25 am Post subject: |
|
|
Code: | FAILED: src/nvim/CMakeFiles/nvim_bin.dir/mbyte.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DINCLUDE_GENERATED_DECLARATIONS -DUNIT_TESTING -DUTF8PROC_STATIC -D_GNU_SOURCE -Dnvim_bin_EXPORTS -I/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999_build/src/nvim/auto -I/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999_build/include -I/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999_build/cmake.config -I/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src -isystem /usr/include/luajit-2.1 -O2 -pipe -march=native -mtune=native -fomit-frame-pointer -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fsigned-char -fstack-protector-strong -Wno-conversion -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always -MD -MT src/nvim/CMakeFiles/nvim_bin.dir/mbyte.c.o -MF src/nvim/CMakeFiles/nvim_bin.dir/mbyte.c.o.d -o src/nvim/CMakeFiles/nvim_bin.dir/mbyte.c.o -c /var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/mbyte.c
/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/mbyte.c: In function ‘utf_char2cells’:
/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/mbyte.c:479:29: error: ‘utf8proc_property_t’ {aka ‘const struct utf8proc_property_struct’} has no member named ‘ambiguous_width’
479 | if (*p_ambw == 'd' && prop->ambiguous_width) {
| ^~
/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/mbyte.c:485:39: error: ‘utf8proc_property_t’ {aka ‘const struct utf8proc_property_struct’} has no member named ‘ambiguous_width’
485 | if (p_emoji && c >= 0x1f000 && !prop->ambiguous_width && prop_is_emojilike(prop)) {
| ^~
/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/mbyte.c: In function ‘utf_ambiguous_width’:
/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/mbyte.c:1356:13: error: ‘utf8proc_property_t’ {aka ‘const struct utf8proc_property_struct’} has no member named ‘ambiguous_width’
1356 | if (prop->ambiguous_width || prop_is_emojilike(prop)) {
| ^~
ninja: build stopped: subcommand failed. |
See Compile Error with current master branch upstream issue. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|