ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Михаил Новоселов" <mikhailnov@dumalogiya.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] electron-forge/maker-alt-rpm ?
Date: Sun, 20 Dec 2020 01:07:45 +0300
Message-ID: <307e9fb1-f4b6-5181-11c7-d4ff2a62b8d1@dumalogiya.ru> (raw)
In-Reply-To: <CAN5SjAAafnD0SEmdOiaxk_ZMmYfUSpaLJE-ymWGEV=v8U60gRQ@mail.gmail.com>


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



      reply	other threads:[~2020-12-19 22:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-19 11:43 Michael Bykov
2020-12-19 22:07 ` Михаил Новоселов [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=307e9fb1-f4b6-5181-11c7-d4ff2a62b8d1@dumalogiya.ru \
    --to=mikhailnov@dumalogiya.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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