Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
neovim-9999 fails to build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ingenarel
n00b
n00b


Joined: 16 Jan 2025
Posts: 2

PostPosted: Thu Jan 16, 2025 11:22 pm    Post subject: neovim-9999 fails to build Reply with quote

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
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23014

PostPosted: Thu Jan 16, 2025 11:43 pm    Post subject: Reply with quote

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:
 * 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
View user's profile Send private message
ingenarel
n00b
n00b


Joined: 16 Jan 2025
Posts: 2

PostPosted: Fri Jan 17, 2025 5:36 am    Post subject: Reply with quote

this is my full build log:
https://gist.github.com/ingenarel/48023af55ea5753519442d515957a814
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31423
Location: here

PostPosted: Fri Jan 17, 2025 6:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum