Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938845 - app-editors/neovim-9999 - error: ‘utf8proc_property_t’ {aka ‘const struct utf8proc_property_struct’} has no member named ‘ambiguous_width’
Summary: app-editors/neovim-9999 - error: ‘utf8proc_property_t’ {aka ‘const struct ut...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Brahmajit Das
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-31 19:03 UTC by squatted_posture785
Modified: 2025-01-01 13:56 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,729.28 KB, text/x-log)
2024-08-31 19:03 UTC, squatted_posture785
Details
emerge -pqv 'app-editors/neovim-9999::gentoo' (emerge_pvq_neovim_9999.log,99 bytes, text/x-log)
2024-08-31 19:05 UTC, squatted_posture785
Details
emerge --info '=app-editors/neovim-9999::gentoo' (emerge_info_neovim_9999.log,14.60 KB, text/x-log)
2024-08-31 19:05 UTC, squatted_posture785
Details

Note You need to log in before you can comment on or make changes to this bug.
Description squatted_posture785 2024-08-31 19:03:55 UTC
Created attachment 901781 [details]
build.log

app-editors/neovim-9999 fails to build since this commit: https://github.com/neovim/neovim/commit/26be6446e5ea1c5b22c50bfd9a0e5aa85927aff9

Relevant part of the build log:

FAILED: src/nvim/CMakeFiles/nvim_bin.dir/mbyte.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_UNIBILIUM -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  -march=haswell -O2 -pipe -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:482:29: error: ‘utf8proc_property_t’ {aka ‘const struct utf8proc_property_struct’} has no member named ‘ambiguous_width’
  482 |   if (*p_ambw == 'd' && prop->ambiguous_width) {
      |                             ^~
/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/mbyte.c:488:39: error: ‘utf8proc_property_t’ {aka ‘const struct utf8proc_property_struct’} has no member named ‘ambiguous_width’
  488 |   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:1348:14: error: ‘utf8proc_property_t’ {aka ‘const struct utf8proc_property_struct’} has no member named ‘ambiguous_width’
 1348 |   return prop->ambiguous_width || prop_is_emojilike(prop);
      |              ^~
/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/mbyte.c:1349:1: warning: control reaches end of non-void function [-Wreturn-type]
 1349 | }
      | ^
Comment 1 squatted_posture785 2024-08-31 19:05:03 UTC
Created attachment 901782 [details]
emerge -pqv 'app-editors/neovim-9999::gentoo'
Comment 2 squatted_posture785 2024-08-31 19:05:41 UTC
Created attachment 901783 [details]
emerge --info '=app-editors/neovim-9999::gentoo'
Comment 3 Brahmajit Das 2024-09-08 06:04:38 UTC
It's due to dev-libs/libutf8proc-2.9.0 missing upstream commit 3de4596[0]. I've asked upstream[1] to make a new release until they make it, I'm not sure what to do, we can try backport the commit to dev-libs/libutf8proc-2.9.0 from ::gentoo.

[0]: https://github.com/JuliaStrings/utf8proc/commit/3de4596fbe28956855df2ecb3c11c0bbc3535838
[1]: https://github.com/JuliaStrings/utf8proc/issues/272
Comment 4 Brahmajit Das 2024-09-08 06:07:17 UTC
@Akinori should we backport commit 3de4596 to dev-libs/libutf8proc in our tree?
Comment 5 squatted_posture785 2024-10-12 20:46:53 UTC
Would using a dev-libs/libutf8proc-9999 ebuild work too?
Comment 6 Brahmajit Das 2025-01-01 13:45:53 UTC
utf8proc 2.10.0 with the missing commit has been released.
Closing this bug. @Akinori, update package please :)
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-01 13:52:59 UTC
(In reply to Brahmajit Das from comment #6)
> utf8proc 2.10.0 with the missing commit has been released.
> Closing this bug. @Akinori, update package please :)

I suggest filing a bump bug and making this one depend on it.