[sisyphus] electron-forge/maker-alt-rpm ?

Михаил Новоселов mikhailnov на dumalogiya.ru
Вс Дек 20 01:07:45 MSK 2020


19.12.2020 14:43, Michael Bykov пишет:
> Салют,
>
> скажите, у нас кто-нибудь занимается electron-forge?
>
> Собственно, нужен аналог electron-forge/maker-rpm, потому что у меня сейчас
>
> $ rpm --version
>                            RPM version 4.0.4
>
> и в результате:
>
> $ npm run make
>> webpack на 1.0.0 make /home/michael/c/webpack
>> electron-forge make
> ✔ Checking your system
> ✔ Resolving Forge Config
> We need to package your application before we can make it
> ✔ Compiling Main Process Code
> ✔ Compiling Renderer Template
> ✔ Preparing to Package Application for arch: x64
> ✔ Preparing native dependencies
> ✔ Packaging Application
> Making for the following targets: zip
> ✔ Making for target: zip - On platform: linux - For arch: x64
> (base)  ~/c/webpack/$ apt-cache search electron-forge
>      (base)  ~/c/webpack/$
>                               (base)  ~/c/webpack/$ npm run make
>> webpack на 1.0.0 make /home/michael/c/webpack
>> electron-forge make
> ✔ Checking your system
> ✔ Resolving Forge Config
> We need to package your application before we can make it
> ✔ Compiling Main Process Code
> ✔ Compiling Renderer Template
> ✔ Preparing to Package Application for arch: x64
> ✔ Preparing native dependencies
> ✔ Packaging Application
> Making for the following targets: zip, rpm
> ✔ Making for target: zip - On platform: linux - For arch: x64
> ✖ Making for target: rpm - On platform: linux - For arch: x64
>
> An unhandled error has occurred inside Forge:
> An error occured while making for target: rpm
> Command failed with a non-zero return code (1):
> rpmbuild --version
> RPM version 4.0.4
>
> rpmbuild: no spec files given for build
> Error: Command failed with a non-zero return code (1):
> rpmbuild --version
> RPM version 4.0.4
>
> rpmbuild: no spec files given for build
>
> и т.д. ERRs
>
> (не нравится ему rpm версия 4.0.4, это действительно несчастливый номер),
>
> Но этот maker-rpm под Федору, а в Альте же, видимо, нужен свой
> electron-forge/maker-alt-rpm ?
alt-p8-edu ~ # rpmbuild --version
RPM версия 4.0.4
rpmbuild: current site policy disallows root to build packages
alt-p8-edu ~ # echo $?
1

Похоже на баг (неужели фичу) в rpmbuild. Зачем при --version ненулевой код возврата?
>
-- 
------
С уважением,
Михаил Новоселов | mikhailnov на dumalogiya.ru | https://nixtux.ru



Подробная информация о списке рассылки Sisyphus