Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944364 - app-editors/neovim-0.10.2 - [ncurses-6.5] [meson] [libtool] [gcc-15] /.../buffer.c: error: passing argument 4 of normalize_index from incompatible pointer type [-Wincompa
Summary: app-editors/neovim-0.10.2 - [ncurses-6.5] [meson] [libtool] [gcc-15] /.../buf...
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: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-21 20:24 UTC by Toralf Förster
Modified: 2025-02-13 02:25 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.73 KB, text/plain)
2024-11-21 20:24 UTC, Toralf Förster
Details
app-editors:neovim-0.10.2:20241121-065540.log.xz (app-editors:neovim-0.10.2:20241121-065540.log.xz,10.21 KB, application/x-xz)
2024-11-21 20:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,143.75 KB, text/plain)
2024-11-21 20:24 UTC, Toralf Förster
Details
environment (environment,120.80 KB, text/plain)
2024-11-21 20:24 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-21 20:24 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,26.02 KB, application/x-xz)
2024-11-21 20:24 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,41.55 KB, application/x-xz)
2024-11-21 20:24 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,27.04 KB, application/x-xz)
2024-11-21 20:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-11-21 20:24:51 UTC
too long lines were shrinked:

[192/415] /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_UNIBILIUM -DINCLUDE_GENERATED_DECLARATIONS -DUNIT_TESTING -D_GNU_SOURCE -Dnvim_bin_EXPORTS -I/var/tmp/portage/app-editors/neovim-0.10.2/work/neovim-0.10.2_build/src/nvim/auto -I/var/tmp/portage/app-editors/neovim-0.10.2/work/neovim-0.10.2_build/inclu
[193/415] /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_UNIBILIUM -DINCLUDE_GENERATED_DECLARATIONS -DUNIT_TESTING -D_GNU_SOURCE -Dnvim_bin_EXPORTS -I/var/tmp/portage/app-editors/neovim-0.10.2/work/neovim-0.10.2_build/src/nvim/auto -I/var/tmp/portage/app-editors/neovim-0.10.2/work/neovim-0.10.2_build/inclu
[194/415] /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_UNIBILIUM -DINCLUDE_GENERATED_DECLARATIONS -DUNIT_TESTING -D_GNU_SOURCE -Dnvim_bin_EXPORTS -I/var/tmp/portage/app-editors/neovim-0.10.2/work/neovim-0.10.2_build/src/nvim/auto -I/var/tmp/portage/app-editors/neovim-0.10.2/work/neovim-0.10.2_build/inclu
FAILED: src/nvim/CMakeFiles/nvim_bin.dir/api/buffer.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_UNIBILIUM -DINCLUDE_GENERATED_DECLARATIONS -DUNIT_TESTING -D_GNU_SOURCE -Dnvim_bin_EXPORTS -I/var/tmp/portage/app-editors/neovim-0.10.2/work/neovim-0.10.2_build/src/nvim/auto -I/var/tmp/portage/app-editors/neovim-0.10.2/work/neovim-0.10.2_build/include -I/var/
/var/tmp/portage/app-editors/neovim-0.10.2/work/neovim-0.10.2/src/nvim/api/buffer.c: In function nvim_buf_get_lines:
/var/tmp/portage/app-editors/neovim-0.10.2/work/neovim-0.10.2/src/nvim/api/buffer.c:272:45: error: passing argument 4 of normalize_index from incompatible pointer type [-Wincompatible-pointer-types]
  272 |   start = normalize_index(buf, start, true, &oob);
      |                                             ^~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20241117-232508

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 6f9f04c8d985f9b593fa688828ed6234142183ff
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 21 02:48:48 2024 +0000

    2024-11-21 02:48:47 UTC

emerge -qpvO =app-editors/neovim-0.10.2
[ebuild  N    ] app-editors/neovim-0.10.2  USE="nvimpager -test" LUA_SINGLE_TARGET="luajit -lua5-1"
Comment 1 Toralf Förster gentoo-dev 2024-11-21 20:24:52 UTC
Created attachment 911220 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-21 20:24:53 UTC
Created attachment 911221 [details]
app-editors:neovim-0.10.2:20241121-065540.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-21 20:24:54 UTC
Created attachment 911222 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-21 20:24:55 UTC
Created attachment 911223 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-21 20:24:56 UTC
Created attachment 911224 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-21 20:24:57 UTC
Created attachment 911225 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-21 20:24:58 UTC
The file size of ./files/logs.tar.xz is too big (1.4M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0_systemd-20241117-232508/var/tmp/tb/issues/20241121-065603-app-editors_neovim-0.10.2/files/logs.tar.xz is valid.
Comment 8 Toralf Förster gentoo-dev 2024-11-21 20:24:59 UTC
Created attachment 911226 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-21 20:25:00 UTC
Created attachment 911227 [details]
temp.tar.xz
Comment 10 Brahmajit Das 2025-01-28 12:38:05 UTC
Should be fixed now
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-28 12:40:40 UTC
(In reply to Brahmajit Das from comment #10)
> Should be fixed now

By what commit? The fix doesn't seem to be a release or backported to gentoo yet.
Comment 12 Brahmajit Das 2025-01-29 15:51:25 UTC
(In reply to Sam James from comment #11)
> (In reply to Brahmajit Das from comment #10)
> > Should be fixed now
> 
> By what commit? The fix doesn't seem to be a release or backported to gentoo
> yet.

Sorry I forgot to mention. It was fixed by https://github.com/neovim/neovim/pull/32180.

Its' part of 0.10.4 (which I've made a PR for)

Sam, shall I make a backport for older ebuilds?
Comment 13 Larry the Git Cow gentoo-dev 2025-02-12 15:17:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=509a0b633fbb8c9d70d1ccd8b028ed9d27d13b8b

commit 509a0b633fbb8c9d70d1ccd8b028ed9d27d13b8b
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2025-01-29 15:45:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-12 15:17:10 +0000

    app-editors/neovim: add 0.10.4
    
    Closes: https://bugs.gentoo.org/944364
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40362
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/neovim/Manifest             |   1 +
 app-editors/neovim/neovim-0.10.4.ebuild | 127 ++++++++++++++++++++++++++++++++
 2 files changed, 128 insertions(+)
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-13 00:04:51 UTC
*** Bug 949265 has been marked as a duplicate of this bug. ***
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-13 02:25:48 UTC
(In reply to Brahmajit Das from comment #12)
> (In reply to Sam James from comment #11)
> > (In reply to Brahmajit Das from comment #10)
> > > Should be fixed now
> > 
> > By what commit? The fix doesn't seem to be a release or backported to gentoo
> > yet.
> 
> Sorry I forgot to mention. It was fixed by
> https://github.com/neovim/neovim/pull/32180.
> 
> Its' part of 0.10.4 (which I've made a PR for)
> 
> Sam, shall I make a backport for older ebuilds?

It's OK not to if you stable 0.10.4 quickly.