На сборочнице при сборке на архитектуре aarch64 возникает ошибка поиска requires следующего вида: error: line 57: Dependency tokens must begin with alpha-numeric, '_' or '/': /usr/lib/luarocks/rocks-5.3 ... lua5.3(€R€ä£ÿ—á!À‘àª!`‘€Rîµÿ—ó@ù €Rý{¨À_Ö Õý{¾©ý‘óùóªtÀÿ—àªB€R€Rt©ÿ—àª) Лог: https://git.altlinux.org/tasks/316597/build/1070/aarch64/log Проводилась проверка на qemu-system-aarch64. Ошибка не воспроизвелась.
Чтобы не висело на placeholder.
Давайте перевесим куда-нибудь ещё.
IDK how to fix aarch64, but I briefly took a look at build logs and found unrelated (I guess) bug in deps parsing logic that I fixed at recent release of rpm-build-lua. You can try it, but I'd be really surprised if it solves the problem. If it does not, I guess it is an issue on aarch64 buildnone, and we should contact to the responsible person to get access to the build env to analyse why this happens.
Проблема не решена, ошибка воспроизвелась
(In reply to Vladimir D. Seleznev from comment #3) > IDK how to fix aarch64, but I briefly took a look at build logs and found > unrelated (I guess) bug in deps parsing logic that I fixed at recent release > of rpm-build-lua. You can try it, but I'd be really surprised if it solves > the problem. If it does not, I guess it is an issue on aarch64 buildnone, > and we should contact to the responsible person to get access to the build > env to analyse why this happens. Well, apparently this is not an aarch64 specific problem. It's just a coincidence that this time it happened on aarch64. The problem itself is that lua.req.files does not filter out binary files (in this case, a shared library) that are placed in RPM_LUAMODDIR. So lua.req gets garbage as it tries to parse a binary file. I'm not familiar with lua, so I'm not sure if it's correct to put such files there in the first place, but skipping ELF files [1] should solve the problem. Also it looks like lua allows single quotes for strings, but lua.req looks for double quotes only. [1] https://git.altlinux.org/people/egori/packages/?p=rpm-build-lua.git;a=blobdiff;f=lua.req.files;h=52965caacb25c5dd21450b26076c902979d8e0ee;hp=9eefac78d54042c1ec410463696e2e69f74e50ac;hb=ae862ecb4cfaa326d5ec253eba2ceb7b03060646;hpb=bb7101354c16c587ee8c00adda39d630afde7d4c
Changes, which had offered by Egor Ignatov, work. See it in a task #317239: https://packages.altlinux.org/ru/tasks/317239/