| Summary: | Wire - An encrypted web based chat client | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Kristoffer Grundström <lovaren> |
| Component: | New RPM package request | Assignee: | All Packagers <pkg-bugs> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | hodos, j.biernacki+mga, lovaren, marja11 |
| Version: | Cauldron | Keywords: | PATCH |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | wire-desktop | CVE: | |
| Status comment: | |||
| Attachments: |
Output from doing a manual build using the source archive
Spec file to build an RPM New build error New spec file to build the latest wire-desktop src.rpm for wire-desktop |
||
|
Description
Kristoffer Grundström
2018-03-03 15:47:47 CET
Created attachment 10013 [details]
Output from doing a manual build using the source archiveCC:
(none) =>
hamnisdude Created attachment 10014 [details]
Spec file to build an RPM
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes. (In reply to Kristoffer Grundström from comment #2) > Created attachment 10014 [details] > Spec file to build an RPM Adding the PATCH keyword, because we don't have a SPEC keyword ;-) Severity:
normal =>
enhancement Created attachment 10040 [details]
New build error
I ran into this problem building in Mageia 6 today.
I changed the spec file to use the instructions that CentOS is using to build.
node_modules/.bin/build --linux rpm instead of ./node_modules/grunt/bin/grunt --arch=x64 --target=rpm linux-other as that failed as well.
Anyone able to help me solve it? Created attachment 11097 [details]
New spec file to build the latest wire-desktop
I know that the spec file should not look like that, but I've tested to build, install and run it and it works.
Someone may want to adjust the %prep, %build, %install parts a bit though.
Anyone here up to it?
Attachment 10014 is obsolete:
0 =>
1 Created attachment 11098 [details]
src.rpm for wire-desktop
I don't know how, but wire-desktop now needs yarn to build instead of npm so I guess that it can be removed as a BuildRequire. Hi Kristoffer,
For someone else I tried to build the package. I think you have to take a look from another side :
> [jibz@jabztop SOURCES]$ rpmbuild --rebuild ./wire-desktop-3.9*
> attention : user kristoffer does not exist - using root
> attention : group kristoffer does not exist - using root
> attention : user kristoffer does not exist - using root
> attention : group kristoffer does not exist - using root
> attention : user kristoffer does not exist - using root
> attention : group kristoffer does not exist - using root
> Installation de ./wire-desktop-3.9.2895-1.mga7.src.rpm
> Exécution_de(%prep) : /bin/sh -e /var/tmp/rpm-tmp.inm1tT
> + umask 022
> + cd /home/jibz/rpmbuild/BUILD
> + '[' 1 -eq 1 ']'
> + '[' 1 -eq 1 ']'
> + '[' 1 -eq 1 ']'
> + cd /home/jibz/rpmbuild/BUILD
> + rm -rf wire-desktop-linux-3.9.2895
> + /usr/bin/gzip -dc /home/jibz/rpmbuild/SOURCES/wire-desktop-linux-3.9.2895.tar.gz
> + /usr/bin/tar -xof -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd wire-desktop-linux-3.9.2895
> + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + yarn
> Usage: yarn [--config confdir] [COMMAND | CLASSNAME]
> CLASSNAME run the class named CLASSNAME
> or
> where COMMAND is one of:
> resourcemanager -format-state-store deletes the RMStateStore
> resourcemanager run the ResourceManager
> nodemanager run a nodemanager on each slave
> timelineserver run the timeline server
> rmadmin admin tools
> sharedcachemanager run the SharedCacheManager daemon
> scmadmin SharedCacheManager admin tools
> version print the version
> jar <jar> run a jar file
> application prints application(s)
> report/kill application
> applicationattempt prints applicationattempt(s)
> report
> container prints container(s) report
> node prints node report(s)
> queue prints queue information
> logs dump container logs
> classpath prints the class path needed to
> get the Hadoop jar and the
> required libraries
> cluster prints cluster information
> daemonlog get/set the log level for each
> daemon
>
> Most commands print help when invoked w/o parameters.
> erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.inm1tT (%prep)
> user kristoffer does not exist - using root
> group kristoffer does not exist - using root
>
>
> Erreur de construction de RPM :
> user kristoffer does not exist - using root
> group kristoffer does not exist - using root
> user kristoffer does not exist - using root
> group kristoffer does not exist - using root
> Mauvais statut de sortie pour /var/tmp/rpm-tmp.inm1tT (%prep)CC:
(none) =>
j.biernacki Is the yarn package installed? rpm -q yarn Mageia 7 still does no seem to have the yarn package so you have to install it from the website: https://yarnpkg.com/lang/en/ No, as it doesn't exist in Mageia.
But I install the packet from Mageia.
[jibz@jabztop SOURCES]$ rpm -q yarn
le paquet yarn n'est pas installé
[jibz@jabztop SOURCES]$ echo ${?}
1
[jibz@jabztop SOURCES]$ urpmf /bin/yarn
hadoop-yarn:/usr/bin/yarn
[jibz@jabztop SOURCES]$ rpm -q hadoop-yarn
hadoop-yarn-2.7.7-4.mga7
[jibz@jabztop SOURCES]$
(In reply to Jybz from comment #13) > No, as it doesn't exist in Mageia. > But I install the packet from Mageia. > > [jibz@jabztop SOURCES]$ rpm -q yarn > le paquet yarn n'est pas installé > [jibz@jabztop SOURCES]$ echo ${?} > 1 > [jibz@jabztop SOURCES]$ urpmf /bin/yarn > hadoop-yarn:/usr/bin/yarn That's not the same package. Install yarn from the website I linked you to. > [jibz@jabztop SOURCES]$ rpm -q hadoop-yarn > hadoop-yarn-2.7.7-4.mga7 > [jibz@jabztop SOURCES]$ |