From patchwork Sun Jul 12 16:00:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Wielkiewicz X-Patchwork-Id: 23175 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A3EE727BBE5; Sun, 12 Jul 2020 17:02:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 3352A27BBE3 for ; Sun, 12 Jul 2020 17:02:24 +0100 (BST) Received: from localhost ([::1]:42490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jueQp-0008TL-On for patchwork@mira.cbaines.net; Sun, 12 Jul 2020 12:02:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jueQU-0008T5-Vj for guix-patches@gnu.org; Sun, 12 Jul 2020 12:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jueQU-00048b-Mm for guix-patches@gnu.org; Sun, 12 Jul 2020 12:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jueQU-0002oD-Ka for guix-patches@gnu.org; Sun, 12 Jul 2020 12:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42229] [[PATCH v3] 4/4] gnu: pjproject-jami: Fix assertion bug. Resent-From: Jan Wielkiewicz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jul 2020 16:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42229 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42229@debbugs.gnu.org Cc: Jan Wielkiewicz Received: via spool by 42229-submit@debbugs.gnu.org id=B42229.159456968010713 (code B ref 42229); Sun, 12 Jul 2020 16:02:02 +0000 Received: (at 42229) by debbugs.gnu.org; 12 Jul 2020 16:01:20 +0000 Received: from localhost ([127.0.0.1]:46642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juePn-0002mj-OQ for submit@debbugs.gnu.org; Sun, 12 Jul 2020 12:01:20 -0400 Received: from smtpo.poczta.interia.pl ([217.74.65.155]:57951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1juePm-0002m1-FK for 42229@debbugs.gnu.org; Sun, 12 Jul 2020 12:01:18 -0400 X-Interia-R: Interia X-Interia-R-IP: 89.64.43.25 X-Interia-R-Helo: Received: from localhost.localdomain (89-64-43-25.dynamic.chello.pl [89.64.43.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by poczta.interia.pl (INTERIA.PL) with ESMTPSA; Sun, 12 Jul 2020 18:01:12 +0200 (CEST) From: Jan Wielkiewicz Date: Sun, 12 Jul 2020 18:00:49 +0200 Message-Id: <20200712160049.6541-4-tona_kosmicznego_smiecia@interia.pl> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200712160049.6541-1-tona_kosmicznego_smiecia@interia.pl> References: <20200712160049.6541-1-tona_kosmicznego_smiecia@interia.pl> MIME-Version: 1.0 X-Interia-Antivirus: OK DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1594569672; bh=m1Jb0ECPcDbdXipHnmbzIvpjyZ6zErlKvp73C5j8eH0=; h=X-Interia-R:X-Interia-R-IP:X-Interia-R-Helo:From:To:Cc:Subject: Date:Message-Id:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Interia-Antivirus; b=UhCmxUwBPq9IOd83FNL2ShDsySTbDam6u9+CfwAVWdgOr41shwa2Y3V0aPFOawAuA cFs3xhJ3YZuQAl+GZ6jVI9u3G+mA7NLqJWlDDVyQHkU5mwWI9FhB8zkFljJO5f/OXs UgMopmyDAhVFs5QIU3ClmFJRznQqJtxKxvNOz14A= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches This fixes the bug where Jami crashes while disconnecting from an audio call. * gnu/packages/jami.scm (pjproject-jami)[arguments]: Use -DNDEBUG compiler flag. --- gnu/packages/jami.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm index b164169e66..0fb547e233 100644 --- a/gnu/packages/jami.scm +++ b/gnu/packages/jami.scm @@ -142,8 +142,10 @@ ;; against pjproject-jami: ;; relocation R_X86_64_32S against `.rodata' can not be used when ;; making a shared object; - "CFLAGS=-fPIC" - "CXXFLAGS=-fPIC") + ;; -DNDEBUG is needed to prevent assertion from happening and + ;; stopping the daemon. + "CFLAGS=-fPIC -DNDEBUG" + "CXXFLAGS=-fPIC -DNDEBUG") #:phases (modify-phases %standard-phases (add-after 'unpack 'make-git-checkout-writable