* Maintaining Jami #3
@ 2020-01-07 12:05 Jan
2020-01-07 18:13 ` Jan
` (3 more replies)
0 siblings, 4 replies; 18+ messages in thread
From: Jan @ 2020-01-07 12:05 UTC (permalink / raw)
To: guix-devel
I sent the patches to the mailing list, hope this time it'll be
threaded properly. Thanks everyone for suggestions!
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-01-07 12:05 Maintaining Jami #3 Jan
@ 2020-01-07 18:13 ` Jan
2020-01-18 23:47 ` Jan
` (2 subsequent siblings)
3 siblings, 0 replies; 18+ messages in thread
From: Jan @ 2020-01-07 18:13 UTC (permalink / raw)
To: guix-devel
The issue is now available here
https://issues.guix.gnu.org/issue/39005
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-01-07 12:05 Maintaining Jami #3 Jan
2020-01-07 18:13 ` Jan
@ 2020-01-18 23:47 ` Jan
2020-01-18 23:51 ` Jan
2020-01-18 23:55 ` Jan
3 siblings, 0 replies; 18+ messages in thread
From: Jan @ 2020-01-18 23:47 UTC (permalink / raw)
To: guix-devel
Hi,
Although pjproject-jami works, I decided to fix the broken pjproject
package. In order to do this, I need to package GSM, but I'm not sure
what license is it using, can someone help me idendifying the
following license:
---------
Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann,
Technische Universitaet Berlin
Any use of this software is permitted provided that this notice is not
removed and that neither the authors nor the Technische Universitaet Berlin
are deemed to have made any representations as to the suitability of this
software for any purpose nor are held responsible for any defects of
this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
As a matter of courtesy, the authors request to be informed about uses
this software has found, about bugs in this software, and about any
improvements that may be of general interest.
Berlin, 28.11.1994
Jutta Degener
Carsten Bormann
---------
I guess it's "license:non-copyleft", but I'm not sure.
By the way, have someone checked my commits for Jami? My private repo
starts getting more and more outdated, what makes it harder for me to
continue working, because I'm not a git wizard yet.
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-01-07 12:05 Maintaining Jami #3 Jan
2020-01-07 18:13 ` Jan
2020-01-18 23:47 ` Jan
@ 2020-01-18 23:51 ` Jan
2020-01-18 23:55 ` Jan
3 siblings, 0 replies; 18+ messages in thread
From: Jan @ 2020-01-18 23:51 UTC (permalink / raw)
To: guix-devel
Nevermind, I somehow missed GSM is already packaged, sorry.
Anyway, the second question is still relevant.
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-01-07 12:05 Maintaining Jami #3 Jan
` (2 preceding siblings ...)
2020-01-18 23:51 ` Jan
@ 2020-01-18 23:55 ` Jan
2020-01-19 9:20 ` Pierre Neidhardt
3 siblings, 1 reply; 18+ messages in thread
From: Jan @ 2020-01-18 23:55 UTC (permalink / raw)
To: guix-devel
I'm really sorry for this spam, but the GSM we have packaged isn't the
GSM I'm talking about, didn't notice this.
Help me identifying the license please, sorry for the confusion.
How should I name the package, if both have the same name?
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-01-18 23:55 ` Jan
@ 2020-01-19 9:20 ` Pierre Neidhardt
2020-01-19 15:55 ` Jan
2020-01-20 14:53 ` Jan
0 siblings, 2 replies; 18+ messages in thread
From: Pierre Neidhardt @ 2020-01-19 9:20 UTC (permalink / raw)
To: Jan, guix-devel
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
Hi Jan,
I tested the Jami package we have in upstream Guix:
- It fails to start on my desktop, it only works on my laptop.
- The client kept disconnecting. I could send a few text messages here
and there, but most of them didn't go through.
- I could not give an audio or video call.
- I can receive text messages perfectly.
- I can receive calls, but when I click on the "pick up" button, Jami
crashes.
In general, Jami crashed _a lot_. I wonder if it's upstream or if we
have something wrong with our package.
Did you have a similar experience?
Does your work fix any of those issues?
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-01-19 9:20 ` Pierre Neidhardt
@ 2020-01-19 15:55 ` Jan
2020-01-20 14:53 ` Jan
1 sibling, 0 replies; 18+ messages in thread
From: Jan @ 2020-01-19 15:55 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: guix-devel
On Sun, 19 Jan 2020 10:20:51 +0100
Pierre Neidhardt <mail@ambrevar.xyz> wrote:
> Hi Jan,
>
> I tested the Jami package we have in upstream Guix:
>
> - It fails to start on my desktop, it only works on my laptop.
>
> - The client kept disconnecting. I could send a few text messages
> here and there, but most of them didn't go through.
>
> - I could not give an audio or video call.
>
> - I can receive text messages perfectly.
>
> - I can receive calls, but when I click on the "pick up" button, Jami
> crashes.
>
> In general, Jami crashed _a lot_. I wonder if it's upstream or if we
> have something wrong with our package.
>
> Did you have a similar experience?
> Does your work fix any of those issues?
>
Well, generally I started working on Jami, because it never worked for
me well - crashes, bugs, issues with UPnP and NAT. That was on Devuan,
but on Guix it is like this also. I think bugs are present upstream,
but Guix only makes them reproducible :)
I also don't know which releases are beta and which are not, I once
tried asking, but did not get real answer.
Their release naming system is YYYYMMDD and it tells you nothing, I
asked them to change it, but they didn't.
I just package the latest version available at
https://dl.jami.net/ring-release/tarballs/?C=M;O=D
and sometimes its okay, but once I couldn't build gnome client on
Devuan at all.
Jami should not be considered stable for now, at least my package - they
make too many changes for it to be stable, without any code freeze.
The software was started in 2016 and two years ago it was a deep beta,
they need some time to clean this up.
Current versions also use beta software - OpenDHT 2.0 is currently at
beta stage.
Once my changes are merged, I can try updating everything to the latest
versions and maybe it'll work, if not we can rename jami to jami-beta
and rename it back when it's ready.
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-01-19 9:20 ` Pierre Neidhardt
2020-01-19 15:55 ` Jan
@ 2020-01-20 14:53 ` Jan
2020-01-21 10:12 ` Pierre Neidhardt
2020-02-06 21:41 ` Jan
1 sibling, 2 replies; 18+ messages in thread
From: Jan @ 2020-01-20 14:53 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: guix-devel
I didn't really answer your questions earlier, sorry.
On Sun, 19 Jan 2020 10:20:51 +0100
Pierre Neidhardt <mail@ambrevar.xyz> wrote:
> Hi Jan,
>
> I tested the Jami package we have in upstream Guix:
>
> - It fails to start on my desktop, it only works on my laptop.
What do you mean by desktop, is it even a difference for the OS and the
application?
> - The client kept disconnecting. I could send a few text messages
> here and there, but most of them didn't go through.
For me it works, I test it in my local network though. The problem
begins when you try communicating with someone behind a strong NAT,
firewall or a badly configured network. Based on my previous experience
I think that's normal - it have never worked well enough, because ISPs
don't want you to have control over your networking - client-server
applications work well, but p2p are broken. Often router firmware is
buggy, outdated and malicious as nonfree software is.
> - I could not give an audio or video call
Works on my machine, except for the bug caused by screen sharing.
> - I can receive text messages perfectly.
This one works.
> - I can receive calls, but when I click on the "pick up" button, Jami
> crashes.
Maybe its something hardware specific or depends on the client you call
with - I have no problem answering calls made from Android.
> In general, Jami crashed _a lot_. I wonder if it's upstream or if we
> have something wrong with our package.
>
> Did you have a similar experience?
> Does your work fix any of those issues?
>
I tested 20200115 version now, and it pretty much works the same.
Anyway I fixed my private branch and can continue working, but see no
point in waiting.
What DE are you using? I could try it on my machine. If you run it on
top of Wayland, then you should know Jami is currently broken on
Wayland, they work on fixing it. Aaaand even if client-gnome will
continue being broken like this, they're working on porting
client-windows(Qt) to GNU/Linux and there's a possibility it won't be
broken as well.
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-01-20 14:53 ` Jan
@ 2020-01-21 10:12 ` Pierre Neidhardt
2020-01-27 23:12 ` Jan
2020-02-06 21:41 ` Jan
1 sibling, 1 reply; 18+ messages in thread
From: Pierre Neidhardt @ 2020-01-21 10:12 UTC (permalink / raw)
To: Jan; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 2397 bytes --]
Jan <tona_kosmicznego_smiecia@interia.pl> writes:
> I didn't really answer your questions earlier, sorry.
>
> On Sun, 19 Jan 2020 10:20:51 +0100
> Pierre Neidhardt <mail@ambrevar.xyz> wrote:
>
>> Hi Jan,
>>
>> I tested the Jami package we have in upstream Guix:
>>
>> - It fails to start on my desktop, it only works on my laptop.
> What do you mean by desktop, is it even a difference for the OS and the
> application?
I have a desktop computer and a laptop. Both running a mostly identical
Guix system.
The hardware is different; in particular, the desktop does not have a
mic or a camera, if that matters.
>> - The client kept disconnecting. I could send a few text messages
>> here and there, but most of them didn't go through.
> For me it works, I test it in my local network though. The problem
> begins when you try communicating with someone behind a strong NAT,
> firewall or a badly configured network. Based on my previous experience
> I think that's normal - it have never worked well enough, because ISPs
> don't want you to have control over your networking - client-server
> applications work well, but p2p are broken. Often router firmware is
> buggy, outdated and malicious as nonfree software is.
I've tried between my laptop and an Android. Both were on the local network.
>> - I can receive calls, but when I click on the "pick up" button, Jami
>> crashes.
> Maybe its something hardware specific or depends on the client you call
> with - I have no problem answering calls made from Android.
>> In general, Jami crashed _a lot_. I wonder if it's upstream or if we
>> have something wrong with our package.
>>
>> Did you have a similar experience?
>> Does your work fix any of those issues?
>>
>
> I tested 20200115 version now, and it pretty much works the same.
> Anyway I fixed my private branch and can continue working, but see no
> point in waiting.
>
> What DE are you using? I could try it on my machine.
I run EXWM.
> If you run it on top of Wayland, then you should know Jami is
> currently broken on Wayland, they work on fixing it. Aaaand even if
> client-gnome will continue being broken like this, they're working on
> porting client-windows(Qt) to GNU/Linux and there's a possibility it
> won't be broken as well.
That'd be interesting.
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-01-21 10:12 ` Pierre Neidhardt
@ 2020-01-27 23:12 ` Jan
0 siblings, 0 replies; 18+ messages in thread
From: Jan @ 2020-01-27 23:12 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: guix-devel
Hi Pierre,
I made some tests Guix System <-> Devuan on my current Jami package
20200124 version or something similar to this and I managed to
reproduce bugs you pointed out.
Didn't get answer from Jami developers yet, but it seems something is
wrong with our pjproject package:
That's what the daemon prints while crashing:
dring: ../src/pjsip-ua/sip_inv.c:246: pjsip_inv_dec_ref: Assertion `inv
&& inv->ref_cnt' failed.
Now I am going to investigate what's wrong with pjproject, mostly
finish our currently not working pjproject package (it won't compile,
only pjproject-jami works) and then I'll update it to the latest
version, if it got outdated much since the last time I checked.
I also wait for merging core-updates, because another bug - the
screen sharing one may be caused by something related to glibc, which
got updated on core-updates. Or webkit-gtk or Qt or whatever - anything
can be a problem, if the package has about 1GB of dependencies...
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-01-20 14:53 ` Jan
2020-01-21 10:12 ` Pierre Neidhardt
@ 2020-02-06 21:41 ` Jan
2020-02-07 13:53 ` Pierre Neidhardt
2020-02-07 22:34 ` Marius Bakke
1 sibling, 2 replies; 18+ messages in thread
From: Jan @ 2020-02-06 21:41 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: guix-devel
Hello,
I think I found the source of the problems - there's a bug in pjproject
2.9
https://trac.pjsip.org/repos/ticket/2240
and 2.10 wasn't yet released, so I can't package it.
The error message is the same as I got during testing calls.
I guess the bug have been unnoticed by Jami developers, because:
1. their builds are not reproducible
2. software is tested and used in different network environments -
there's a chance specific settings trigger the bug
Until the release of pjproject 2.10 I can do nothing, but I actually
cleaned up my private guix repository, so DO NOT pull my changes,
because they're a total mess. I guess I'll close the current issue and
open a new one once I finish cleaning my code. I'll also finish
learning git, as I have some free time now.
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-02-06 21:41 ` Jan
@ 2020-02-07 13:53 ` Pierre Neidhardt
2020-02-07 15:12 ` Jan
2020-02-07 22:34 ` Marius Bakke
1 sibling, 1 reply; 18+ messages in thread
From: Pierre Neidhardt @ 2020-02-07 13:53 UTC (permalink / raw)
To: Jan; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 383 bytes --]
This is great news, thanks for keeping up with the hard work!
At this point, I think it's safe to say that Jami is still a
work-in-progress :p
Jan, what do you think of making a channel of your work with Jami, so
that other users can easily benefit from it and test / report?
This could be useful until things settle down.
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-02-07 13:53 ` Pierre Neidhardt
@ 2020-02-07 15:12 ` Jan
2020-02-07 17:17 ` Pierre Neidhardt
0 siblings, 1 reply; 18+ messages in thread
From: Jan @ 2020-02-07 15:12 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: guix-devel
On Fri, 07 Feb 2020 14:53:23 +0100
Pierre Neidhardt <mail@ambrevar.xyz> wrote:
> This is great news, thanks for keeping up with the hard work!
>
> At this point, I think it's safe to say that Jami is still a
> work-in-progress :p
Yeah, it's always wip in my opinion :D
> Jan, what do you think of making a channel of your work with Jami, so
> that other users can easily benefit from it and test / report?
> This could be useful until things settle down.
>
You mean a guix channel? I must read more about channels and
clean up my repository on notabug dot org. I also must finish one git
chapter about branching, to prevent making a huge mess when rebasing
and merging.
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-02-06 21:41 ` Jan
2020-02-07 13:53 ` Pierre Neidhardt
@ 2020-02-07 22:34 ` Marius Bakke
2020-02-07 23:28 ` Jan
2020-02-08 1:39 ` Jan
1 sibling, 2 replies; 18+ messages in thread
From: Marius Bakke @ 2020-02-07 22:34 UTC (permalink / raw)
To: Jan, Pierre Neidhardt; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 765 bytes --]
Jan <tona_kosmicznego_smiecia@interia.pl> writes:
> Hello,
> I think I found the source of the problems - there's a bug in pjproject
> 2.9
> https://trac.pjsip.org/repos/ticket/2240
> and 2.10 wasn't yet released, so I can't package it.
> The error message is the same as I got during testing calls.
> I guess the bug have been unnoticed by Jami developers, because:
> 1. their builds are not reproducible
> 2. software is tested and used in different network environments -
> there's a chance specific settings trigger the bug
Nice find! The fix[0] seems straightforward, would it work to download
the patch[1] and apply it for pjproject 2.9?
[0] https://trac.pjsip.org/repos/changeset/6087
[1] https://trac.pjsip.org/repos/changeset/6087?format=diff&new=6087
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-02-07 22:34 ` Marius Bakke
@ 2020-02-07 23:28 ` Jan
2020-02-08 1:39 ` Jan
1 sibling, 0 replies; 18+ messages in thread
From: Jan @ 2020-02-07 23:28 UTC (permalink / raw)
To: Marius Bakke; +Cc: guix-devel
Dnia 2020-02-07, o godz. 23:34:24
Marius Bakke <mbakke@fastmail.com> napisał(a):
> Nice find! The fix[0] seems straightforward, would it work to
> download the patch[1] and apply it for pjproject 2.9?
>
> [0] https://trac.pjsip.org/repos/changeset/6087
> [1] https://trac.pjsip.org/repos/changeset/6087?format=diff&new=6087
I've been thinking about this. What's the procedure of applying patches
in Guix? Should I use my procedure? How to copy the patch into the
package source tree? Or should I use substitute*?
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Maintaining Jami #3
2020-02-07 22:34 ` Marius Bakke
2020-02-07 23:28 ` Jan
@ 2020-02-08 1:39 ` Jan
1 sibling, 0 replies; 18+ messages in thread
From: Jan @ 2020-02-08 1:39 UTC (permalink / raw)
To: Marius Bakke; +Cc: guix-devel
On Fri, 07 Feb 2020 23:34:24 +0100
Marius Bakke <mbakke@fastmail.com> wrote:
> Nice find! The fix[0] seems straightforward, would it work to
> download the patch[1] and apply it for pjproject 2.9?
>
> [0] https://trac.pjsip.org/repos/changeset/6087
> [1] https://trac.pjsip.org/repos/changeset/6087?format=diff&new=6087
I applied the patch and it resolved the bug, when jami crashes during
video call! Got another crash, when I pressed "disconnect" button, but
guess that's just standard Jami experience, anyway one step forward!
I think more bugs will be resolved after the 2.10 release of pjproject
(they fix lots of stuff there).
I'll clean up my repo tomorrow and post changes.
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
* Maintaining Jami #3
@ 2020-01-10 20:17 Jan
0 siblings, 0 replies; 18+ messages in thread
From: Jan @ 2020-01-10 20:17 UTC (permalink / raw)
To: guix-devel
Hello everyone,
I have a problem with running Jami on an forein distribution - when I
try running Jami, I get the following message:
Locale not supported by C library.
Using the fallback 'C' locale.
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
/home/user/.guix-profile/bin/jami: line 46: 3874 Aborted (core dumped)
ami-gnome $*
Guix nagged me about some locales and profiles and profiles, so I added
the commands it asket for to .bashrc. It fixed for example icecat
having no characters displayed, but didn't fork for Jami.
What am I missing?
I need to try running it on a foreign distro to check if my hardware is
not an issue, since Jami devs can't reproduce the issue I wrote about
some mails ago.
Jan Wielkiewicz
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2020-02-08 1:39 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-07 12:05 Maintaining Jami #3 Jan
2020-01-07 18:13 ` Jan
2020-01-18 23:47 ` Jan
2020-01-18 23:51 ` Jan
2020-01-18 23:55 ` Jan
2020-01-19 9:20 ` Pierre Neidhardt
2020-01-19 15:55 ` Jan
2020-01-20 14:53 ` Jan
2020-01-21 10:12 ` Pierre Neidhardt
2020-01-27 23:12 ` Jan
2020-02-06 21:41 ` Jan
2020-02-07 13:53 ` Pierre Neidhardt
2020-02-07 15:12 ` Jan
2020-02-07 17:17 ` Pierre Neidhardt
2020-02-07 22:34 ` Marius Bakke
2020-02-07 23:28 ` Jan
2020-02-08 1:39 ` Jan
-- strict thread matches above, loose matches on Subject: below --
2020-01-10 20:17 Jan
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.