Bug 2065340

Summary: neovim: FTBFS on aarch64 when compiled --with luajit
Product: [Fedora] Fedora EPEL Reporter: Michel Lind <michel>
Component: neovimAssignee: Michel Lind <michel>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: aron, asn, gchamoul, michel
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
neovim build error on aarch64 --with luajit none

Description Michel Lind 2022-03-17 18:00:59 UTC
Created attachment 1866483 [details]
neovim build error on aarch64 --with luajit

Multiple occurrences of this error:

```
/usr/bin/luajit: bad light userdata pointer
stack traceback:
	[C]: in function 'match'
	...LD/neovim-0.6.1/src/nvim/generators/gen_declarations.lua:261: in main chunk
	[C]: at 0xaaaac8f28370
gmake[2]: *** [src/nvim/CMakeFiles/nvim.dir/build.make:79: src/nvim/auto/api/buffer.c.generated.h] Error 1
/usr/bin/luajit: bad light userdata pointer
stack traceback:
	[C]: in function 'match'
	...LD/neovim-0.6.1/src/nvim/generators/gen_declarations.lua:261: in main chunk
	[C]: at 0xaaaadc8f8370
```

Comment 1 Andreas Schneider 2022-03-17 18:54:12 UTC
I guess it is too old. I've updated luajit in Fedora as it has a lot of bugfixes for aarch64. el8 still has an old version. Better build without luajit on el8/9.