Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #232014

Re: [BUG REPORT] luajit-2.1.0-beta3/jit/bcsave.lua:240: cannot convert 'nil' to 'unsigned short'

From YunQiang Su <syq@debian.org>
Newsgroups linux.debian.user
Subject Re: [BUG REPORT] luajit-2.1.0-beta3/jit/bcsave.lua:240: cannot convert 'nil' to 'unsigned short'
Date 2021-02-24 10:20 +0100
Message-ID <BLYuR-4ux-1@gated-at.bofh.it> (permalink)
References <BLT29-166-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Ohh, this packages hasn't been update for so long.
If no objection, I will upload the current git snapshot.

Tiezhu Yang <yangtiezhu@loongson.cn> 于2021年2月24日周三 上午11:15写道:
>
> (1) Background
> Source: luajit
> Version: luajit_2.1.0~beta3+dfsg-5.3_mips64el.deb
> Severity: important
> Link: https://packages.debian.org/sid/luajit
>
> (2) Description of problem
> When I build bcc, there exists the following build error:
> [ 34%] Generating bcc.o
> /usr/bin/luajit: /usr/share/luajit-2.1.0-beta3/jit/bcsave.lua:240: cannot convert 'nil' to 'unsigned short'
> [ 35%] Linking C executable bcc-lua
> cc: error: bcc.o: No such file or directory
>
> (3) Steps to Reproduce
> # According to https://packages.debian.org/source/sid/bpfcc,
> # BCC build dependencies:
> sudo apt-get install arping bison clang-format cmake dh-python \
>    dpkg-dev pkg-kde-tools ethtool flex inetutils-ping iperf \
>    libbpf-dev libclang-dev libclang-cpp-dev libedit-dev libelf-dev \
>    libfl-dev libzip-dev linux-libc-dev llvm-dev libluajit-5.1-dev \
>    luajit python3-netaddr python3-pyroute2 python3-distutils python3
> # In oreder to avoid "/bin/sh: 1: python: not found"
> sudo apt-get install python
>
> git clone https://github.com/iovisor/bcc.git
> mkdir bcc/build; cd bcc/build
> cmake ..
> make
>
> (4) Additional info
> I just replace the following old file [1] with the latest new file [2],
> then the error disappeared.
> [1] /usr/share/luajit-2.1.0-beta3/jit/bcsave.lua
> [2] https://github.com/LuaJIT/LuaJIT/blob/v2.1/src/jit/bcsave.lua
>
> It seems that this commit fixed it:
> https://github.com/LuaJIT/LuaJIT/commit/94d0b53004a5
>
> (5) Question and Suggestion
> Could you please update the luajit package used with the latest source code?
>
> Thanks,
> Tiezhu
>

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[BUG REPORT] luajit-2.1.0-beta3/jit/bcsave.lua:240: cannot convert  'nil' to 'unsigned short' Tiezhu Yang <yangtiezhu@loongson.cn> - 2021-02-24 04:30 +0100
  Re: [BUG REPORT] luajit-2.1.0-beta3/jit/bcsave.lua:240: cannot  convert 'nil' to 'unsigned short' YunQiang Su <syq@debian.org> - 2021-02-24 10:20 +0100

csiph-web