Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

[solved] neovim-9999 fails to build

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
ingenarel
n00b
n00b
User avatar
Posts: 15
Joined: Thu Jan 16, 2025 11:07 pm

[solved] neovim-9999 fails to build

  • Quote

Post by ingenarel » Thu Jan 16, 2025 11:22 pm

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: Select all

emerge --info '=app-editors/neovim-9999::gentoo'
https://bpa.st/5RSA

output of

Code: Select all

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
Last edited by ingenarel on Sat Jan 18, 2025 7:54 pm, edited 1 time in total.
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Thu Jan 16, 2025 11:43 pm

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: Select all

 [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?
Top
ingenarel
n00b
n00b
User avatar
Posts: 15
Joined: Thu Jan 16, 2025 11:07 pm

  • Quote

Post by ingenarel » Fri Jan 17, 2025 5:36 am

this is my full build log:
https://gist.github.com/ingenarel/48023 ... 515957a814
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31983
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Jan 17, 2025 6:25 am

Code: Select all

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.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
ingenarel
n00b
n00b
User avatar
Posts: 15
Joined: Thu Jan 16, 2025 11:07 pm

  • Quote

Post by ingenarel » Sat Jan 18, 2025 7:54 pm

it got fixed today!!! libutf8proc-2.10.0 got added to gentoo repos, and now neovim-9999 builds successfully!
thanks everyone who tried to help me!!
Top
Post Reply

5 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy