Bug 22689 - Wire - An encrypted web based chat client
Summary: Wire - An encrypted web based chat client
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords: PATCH
: 25535 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-03 15:47 CET by Kristoffer Grundström
Modified: 2019-10-08 14:25 CEST (History)
4 users (show)

See Also:
Source RPM: wire-desktop
CVE:
Status comment:


Attachments
Output from doing a manual build using the source archive (31.66 KB, text/plain)
2018-03-03 15:49 CET, Kristoffer Grundström
Details
Spec file to build an RPM (1.96 KB, text/plain)
2018-03-03 15:49 CET, Kristoffer Grundström
Details
New build error (1.57 KB, text/plain)
2018-03-11 21:48 CET, Kristoffer Grundström
Details
New spec file to build the latest wire-desktop (2.66 KB, text/x-matlab)
2019-06-16 02:40 CEST, Kristoffer Grundström
Details
src.rpm for wire-desktop (289.56 KB, application/x-rpm)
2019-06-16 02:41 CEST, Kristoffer Grundström
Details

Description Kristoffer Grundström 2018-03-03 15:47:47 CET
Description of problem: Wire is an encrypted web based chat client that I just ported to Cauldron from Rawhide.
Comment 1 Kristoffer Grundström 2018-03-03 15:49:24 CET
Created attachment 10013 [details]
Output from doing a manual build using the source archive

CC: (none) => hamnisdude

Comment 2 Kristoffer Grundström 2018-03-03 15:49:57 CET
Created attachment 10014 [details]
Spec file to build an RPM
Comment 3 Marja Van Waes 2018-03-03 20:55:57 CET
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
Keywords: (none) => PATCH
CC: (none) => marja11
Assignee: bugsquad => pkg-bugs

Comment 4 Kristoffer Grundström 2018-03-11 21:48:41 CET
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.
Comment 5 Kristoffer Grundström 2018-03-11 21:49:03 CET
Anyone able to help me solve it?
Comment 6 Kristoffer Grundström 2019-06-16 02:40:18 CEST
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

Comment 7 Kristoffer Grundström 2019-06-16 02:41:24 CEST
Created attachment 11098 [details]
src.rpm for wire-desktop
Comment 8 Kristoffer Grundström 2019-06-16 03:39:47 CEST
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.
Comment 9 Jybz 2019-10-07 19:56:58 CEST
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

Comment 10 Lewis Smith 2019-10-07 21:28:07 CEST
*** Bug 25535 has been marked as a duplicate of this bug. ***

CC: (none) => hodos

Comment 11 Kristoffer Grundström 2019-10-08 11:57:01 CEST
Is the yarn package installed?

rpm -q yarn
Comment 12 Kristoffer Grundström 2019-10-08 12:02:15 CEST
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/
Comment 13 Jybz 2019-10-08 12:03:04 CEST
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]$
Comment 14 Kristoffer Grundström 2019-10-08 14:25:59 CEST
(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]$

Note You need to log in before you can comment on or make changes to this bug.