ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] electron-forge/maker-alt-rpm ?
@ 2020-12-19 11:43 Michael Bykov
  2020-12-19 22:07 ` Михаил Новоселов
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Bykov @ 2020-12-19 11:43 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Салют,

скажите, у нас кто-нибудь занимается 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 ?

-- 
М.

http://diglossa.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] electron-forge/maker-alt-rpm ?
  2020-12-19 11:43 [sisyphus] electron-forge/maker-alt-rpm ? Michael Bykov
@ 2020-12-19 22:07 ` Михаил Новоселов
  0 siblings, 0 replies; 2+ messages in thread
From: Михаил Новоселов @ 2020-12-19 22:07 UTC (permalink / raw)
  To: sisyphus


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-19 22:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-19 11:43 [sisyphus] electron-forge/maker-alt-rpm ? Michael Bykov
2020-12-19 22:07 ` Михаил Новоселов

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git