GNU bug report logs - #43501
gst-plugins-bad fails to build on armhf-linux

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; dated Sat, 19 Sep 2020 01:45:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Changed bug title to 'gst-plugins-bad fails to build on armhf-linux' from 'gst-plugins-bad cannot be built on linux-armhf, breaking qemu' Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 43501 <at> debbugs.gnu.org:


Received: (at 43501) by debbugs.gnu.org; 24 Sep 2020 04:40:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 24 00:40:29 2020
Received: from localhost ([127.0.0.1]:38438 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kLJ3V-00081L-41
	for submit <at> debbugs.gnu.org; Thu, 24 Sep 2020 00:40:29 -0400
Received: from mail-qt1-f195.google.com ([209.85.160.195]:36972)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1kLJ3P-000812-CO
 for 43501 <at> debbugs.gnu.org; Thu, 24 Sep 2020 00:40:27 -0400
Received: by mail-qt1-f195.google.com with SMTP id k25so1999693qtu.4
 for <43501 <at> debbugs.gnu.org>; Wed, 23 Sep 2020 21:40:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=hSUlItF2LbGqswYVyQQfnTZe0TsNkVeCIM78Tc8BTWk=;
 b=PQs3LCe/jNMsQhwp6MnzJk7nQwIa/FS7REWdZgwwu4kvYfuQHYEbAK00m5+ooz0g36
 IF6nzkUDH0kUz6WdosziDeZ/dbEkrMpu2MJ5jn2K3hS7OIipVzWAAbO6Li8q0SciY7Fo
 S+EvR+RdE91HygpA7t7/fNEs725oIJMkI/cXhzrLs/oASVEwDhSkUPsooKRzFXZk0lak
 Oh1epZ2UB8OtuFpsc/EkRw3p3V5jagrMsSFSfQsWgc9Bu4MNK+sNOFla8raS3zaMbi6F
 CUUfOcj1qnYc+Va1U0SAv5uhWmWIXpuQUJ2dZVvZmJIpOL8YLzWDbJZ445LuDSbBEA+j
 wK4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=hSUlItF2LbGqswYVyQQfnTZe0TsNkVeCIM78Tc8BTWk=;
 b=S5mWQHkulbhYaF3ciVjqaVpfSXCdB1XC6/AyKsit2mM7VZB9gCCQlP6qeGyXecn3hd
 998pXK/+JDzcAs2mfX3NR3OZWKEzRuffVbZ+0w1sCuf3GpJgEkMlSUQYxOwtzAVOZNhS
 Zbw8NeG6fU2XWCdCHSRkc9KRORGzKVrdp1zAWJJVii1x++KAr6Q4xCK6D79hWVE3/FIF
 zwoBeX8Z1jr/i+hachDjndsCRiuqVboZYSblH3R14jxMZJrCr/dQj4YYQCMMpiMkKzRs
 ip4hCrmoTPCVQ6yFpoVIWWRgJjMkCIkSOd7OdH0BqI/523GVvBMNrqlsdqbzqqVyH64i
 Pyjg==
X-Gm-Message-State: AOAM532ckfhPQQ6N6jfpkgS2omvK49sJsaFYfsiz03Uz66Q/NAIUXdnh
 LzxizX3slzvNOWkTZ2n1p31pQAoNNdkSNQ==
X-Google-Smtp-Source: ABdhPJx4nITb63kDs1NXr6DJskS06eKXlv87TUXSSKa6pSMSwE6UCPq7yoDEZEEbuNGgd8RRY8ORfQ==
X-Received: by 2002:ac8:31d5:: with SMTP id i21mr3476201qte.373.1600922417720; 
 Wed, 23 Sep 2020 21:40:17 -0700 (PDT)
Received: from hurd (dsl-10-130-151.b2b2c.ca. [72.10.130.151])
 by smtp.gmail.com with ESMTPSA id k52sm1446535qtc.56.2020.09.23.21.40.16
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 23 Sep 2020 21:40:17 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Mark H Weaver <mhw@HIDDEN>
Subject: Re: bug#43501: gst-plugins-bad cannot be built on linux-armhf
References: <878sd6zgii.fsf@HIDDEN> <87wo0q77t3.fsf@HIDDEN>
 <87zh5kw1k7.fsf@HIDDEN> <87k0wmy1v1.fsf@HIDDEN>
Date: Thu, 24 Sep 2020 00:41:33 -0400
In-Reply-To: <87k0wmy1v1.fsf@HIDDEN> (Maxim Cournoyer's message of "Mon, 21
 Sep 2020 22:36:02 -0400")
Message-ID: <87pn6bvlaa.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43501
Cc: 43501 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

retitle 43501 new-title gst-plugins-bad fails to build on armhf-linux
quit

Maxim Cournoyer <maxim.cournoyer@HIDDEN> writes:

> Hello Mark!
>
> Mark H Weaver <mhw@HIDDEN> writes:
>
>> Earlier, I wrote:
>>> Ever since 'spice-gtk' was added, it has included *every* gstreamer
>>> plugin package in its 'propagated-inputs'.
>>
>> On my private branch, I removed 'gst-libav', 'gst-plugins-bad' and
>> 'gst-plugins-ugly' from the propagated-inputs of 'spice-gtk'.
>>
>> diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
>> index 4aff8dbf56..4b4c673a9d 100644
>> --- a/gnu/packages/spice.scm
>> +++ b/gnu/packages/spice.scm
>> @@ -144,11 +144,8 @@ which allows users to view a desktop computing environment.")
>>      (build-system gnu-build-system)
>>      (propagated-inputs
>>        `(("gstreamer" ,gstreamer)
>> -        ("gst-libav" ,gst-libav)
>
> I feel less strongly about this one, perhaps because its name doesn't
> contain "bad" or "ugly" ;-).  Why should we remove it?
>
>>          ("gst-plugins-base" ,gst-plugins-base)
>>          ("gst-plugins-good" ,gst-plugins-good)
>> -        ("gst-plugins-bad" ,gst-plugins-bad)
>> -        ("gst-plugins-ugly" ,gst-plugins-ugly)
>>          ("spice-protocol" ,spice-protocol)
>

> I agree philosophically, but I feel we need more testing of the spice
> part, to know what we're loosing, if we're loosing anything.  I'll try
> rebuilding qemu with this patch and test gnome-boxes, which must make
> use of spice-gtk.

I've now done so, and could run a foreign distribution that I had
already installed without any perceived difference.

I've pushed this as 035df987f1.  Editing the title to reflect the fact
that QEMU is no longer affected by this problem.

Thanks!

Maxim




Information forwarded to bug-guix@HIDDEN:
bug#43501; Package guix. Full text available.

Message received at 43501 <at> debbugs.gnu.org:


Received: (at 43501) by debbugs.gnu.org; 22 Sep 2020 02:35:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 21 22:35:03 2020
Received: from localhost ([127.0.0.1]:56837 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kKY90-0001q4-U9
	for submit <at> debbugs.gnu.org; Mon, 21 Sep 2020 22:35:03 -0400
Received: from mail-qv1-f67.google.com ([209.85.219.67]:42995)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1kKY8x-0001pW-7e
 for 43501 <at> debbugs.gnu.org; Mon, 21 Sep 2020 22:35:01 -0400
Received: by mail-qv1-f67.google.com with SMTP id h1so8760059qvo.9
 for <43501 <at> debbugs.gnu.org>; Mon, 21 Sep 2020 19:34:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=7XIrGgVox78JkFzFbCCtgTen3ao5xg5F1GjdT5rwGGk=;
 b=PFTOzMNxA9DDWS2iZXA8PlLx+UecKxj2lWfwSuh3MFhmOx5yTz0eRUSNz1H46XYf2y
 PIOTR94CR/GWCmRiqxrCZfa6ofUuiu0ZPkSwDAlOcDOaDPrDrM7kmkFGns0mNyOh8o2Y
 nox61gqo51748G+Y1Bz3bkUNJsOwAZg9/XYc9J0lc+48OfMt2B/vC0LSoerji79msp+M
 BWkRMoH7I0L8HQx96qCKk6RFon/L0ko65UYpuR/v33SmDrrW9k+/hVLWM6Y95ZEFWV7x
 hDz2LEBgpbCJykakNHxmyejkMYK2rYDSBIfQzpR0q5paBasksii0PGv7Z5tZ5krBpwNq
 TSyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=7XIrGgVox78JkFzFbCCtgTen3ao5xg5F1GjdT5rwGGk=;
 b=Bs81etx3xZOhtqxvgUGAljfhovY5z9aE+UYcPXqCMULDwjfhy0nDcVnq/Tv3H8nsAT
 lR71I94oYzcfe6DGV2qKFPm6W/hVW0VKQA313bdVBEbOH10zM1yTquZGJon82yNyDEMJ
 kz+J7vLBZlHq5JX55/Dv/iiRfft+RJJlxlr9xRKbGK6I7Ah/Iun0MqSzgOh6JF9ISx+U
 AaDPsSKEH3+05szm6tBoPCKAEg515gedfEBV4E3G8gJjKwq3lZuQWo32xPQhoXJEMQOK
 X8Je+QY9qkDsWlkvc083TusCA0Bb8TKeksKCcQ0Dvq7Lg0nHZFUfNqjGotGpE27Na1Ro
 jG9g==
X-Gm-Message-State: AOAM532aCy3rYz+yMqizfazBoLtGeTE8vVek/20n6ECMsrMEi+ay6WZa
 pJjcR6tO/kfxFun1Cm1FKpQaImlL6JA=
X-Google-Smtp-Source: ABdhPJx595Eg429E4O9/WyNzMVPL/h37hzEae/yEfnlt7LcvPG1tolezMsnMoEefTGmucs9PrlOWkw==
X-Received: by 2002:ad4:458f:: with SMTP id x15mr3624800qvu.33.1600742093540; 
 Mon, 21 Sep 2020 19:34:53 -0700 (PDT)
Received: from hurd (dsl-10-131-6.b2b2c.ca. [72.10.131.6])
 by smtp.gmail.com with ESMTPSA id i187sm10734080qke.43.2020.09.21.19.34.52
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 21 Sep 2020 19:34:52 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Mark H Weaver <mhw@HIDDEN>
Subject: Re: bug#43501: gst-plugins-bad cannot be built on linux-armhf,
 breaking qemu
References: <878sd6zgii.fsf@HIDDEN> <87wo0q77t3.fsf@HIDDEN>
 <87zh5kw1k7.fsf@HIDDEN>
Date: Mon, 21 Sep 2020 22:36:02 -0400
In-Reply-To: <87zh5kw1k7.fsf@HIDDEN> (Mark H. Weaver's message of "Sun, 20
 Sep 2020 18:00:29 -0400")
Message-ID: <87k0wmy1v1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43501
Cc: 43501 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello Mark!

Mark H Weaver <mhw@HIDDEN> writes:

> Earlier, I wrote:
>> Ever since 'spice-gtk' was added, it has included *every* gstreamer
>> plugin package in its 'propagated-inputs'.
>
> On my private branch, I removed 'gst-libav', 'gst-plugins-bad' and
> 'gst-plugins-ugly' from the propagated-inputs of 'spice-gtk'.
>
> diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
> index 4aff8dbf56..4b4c673a9d 100644
> --- a/gnu/packages/spice.scm
> +++ b/gnu/packages/spice.scm
> @@ -144,11 +144,8 @@ which allows users to view a desktop computing environment.")
>      (build-system gnu-build-system)
>      (propagated-inputs
>        `(("gstreamer" ,gstreamer)
> -        ("gst-libav" ,gst-libav)

I feel less strongly about this one, perhaps because its name doesn't
contain "bad" or "ugly" ;-).  Why should we remove it?

>          ("gst-plugins-base" ,gst-plugins-base)
>          ("gst-plugins-good" ,gst-plugins-good)
> -        ("gst-plugins-bad" ,gst-plugins-bad)
> -        ("gst-plugins-ugly" ,gst-plugins-ugly)
>          ("spice-protocol" ,spice-protocol)

I'd be in favor of not promoting plugins which are known to be of 1)
subpar quality (bad) or patent encumbered (ugly), by letting the users
install them if they choose, but not forcing those on them.

>          ;; These are required by the pkg-config files.
>
> I rebuilt my system and user profiles with this patch applied, and
> everything seems to work fine.  Moreover, I'm glad to report that
> 'gst-plugins-ugly' is no longer in my store.  (Sadly, 'gst-plugins-bad'
> still is, because our 'gnome' package depends on 'cheese' which depends
> on 'gst-plugins-bad', and last I checked that was unavoidable.)

That's unfortunate.

> I haven't tried using the 'spice' functionality specifically, but I
> suspect that any reduced "out-of-the-box" functionality could be
> regained by users simply installing those plugins as needed, along with
> gstreamer for its 'native-search-paths' field.

They wouldn't even need to install gstreamer itself as it is propagated
in the spice-gtk hunk shown above.

> What do you think?

I agree philosophically, but I feel we need more testing of the spice
part, to know what we're loosing, if we're loosing anything.  I'll try
rebuilding qemu with this patch and test gnome-boxes, which must make
use of spice-gtk.

>       Mark
>
> PS: Danny's idea is worth considering in its own right, but I think it's
>     orthogonal to this proposed change.

Seconded.

Maxim




Information forwarded to bug-guix@HIDDEN:
bug#43501; Package guix. Full text available.

Message received at 43501 <at> debbugs.gnu.org:


Received: (at 43501) by debbugs.gnu.org; 20 Sep 2020 22:01:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 20 18:01:55 2020
Received: from localhost ([127.0.0.1]:52877 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kK7P9-00015g-Dz
	for submit <at> debbugs.gnu.org; Sun, 20 Sep 2020 18:01:55 -0400
Received: from world.peace.net ([64.112.178.59]:33334)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1kK7P6-00015R-PW
 for 43501 <at> debbugs.gnu.org; Sun, 20 Sep 2020 18:01:53 -0400
Received: from mhw by world.peace.net with esmtpsa
 (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92)
 (envelope-from <mhw@HIDDEN>)
 id 1kK7P0-0004bs-IB; Sun, 20 Sep 2020 18:01:46 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>, 43501 <at> debbugs.gnu.org
Subject: Re: bug#43501: gst-plugins-bad cannot be built on linux-armhf,
 breaking qemu
In-Reply-To: <87wo0q77t3.fsf@HIDDEN>
References: <878sd6zgii.fsf@HIDDEN> <87wo0q77t3.fsf@HIDDEN>
Date: Sun, 20 Sep 2020 18:00:29 -0400
Message-ID: <87zh5kw1k7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43501
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Earlier, I wrote:
> Ever since 'spice-gtk' was added, it has included *every* gstreamer
> plugin package in its 'propagated-inputs'.

On my private branch, I removed 'gst-libav', 'gst-plugins-bad' and
'gst-plugins-ugly' from the propagated-inputs of 'spice-gtk'.

--8<---------------cut here---------------start------------->8---
diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index 4aff8dbf56..4b4c673a9d 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -144,11 +144,8 @@ which allows users to view a desktop computing environment.")
     (build-system gnu-build-system)
     (propagated-inputs
       `(("gstreamer" ,gstreamer)
-        ("gst-libav" ,gst-libav)
         ("gst-plugins-base" ,gst-plugins-base)
         ("gst-plugins-good" ,gst-plugins-good)
-        ("gst-plugins-bad" ,gst-plugins-bad)
-        ("gst-plugins-ugly" ,gst-plugins-ugly)
         ("spice-protocol" ,spice-protocol)
 
         ;; These are required by the pkg-config files.
--8<---------------cut here---------------end--------------->8---

I rebuilt my system and user profiles with this patch applied, and
everything seems to work fine.  Moreover, I'm glad to report that
'gst-plugins-ugly' is no longer in my store.  (Sadly, 'gst-plugins-bad'
still is, because our 'gnome' package depends on 'cheese' which depends
on 'gst-plugins-bad', and last I checked that was unavoidable.)

I haven't tried using the 'spice' functionality specifically, but I
suspect that any reduced "out-of-the-box" functionality could be
regained by users simply installing those plugins as needed, along with
gstreamer for its 'native-search-paths' field.

What do you think?

      Mark

PS: Danny's idea is worth considering in its own right, but I think it's
    orthogonal to this proposed change.




Information forwarded to bug-guix@HIDDEN:
bug#43501; Package guix. Full text available.

Message received at 43501 <at> debbugs.gnu.org:


Received: (at 43501) by debbugs.gnu.org; 19 Sep 2020 14:25:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 19 10:25:03 2020
Received: from localhost ([127.0.0.1]:47673 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJdnS-0005Nx-VO
	for submit <at> debbugs.gnu.org; Sat, 19 Sep 2020 10:25:03 -0400
Received: from dd26836.kasserver.com ([85.13.145.193]:42452)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1kJdnP-0005NS-6d
 for 43501 <at> debbugs.gnu.org; Sat, 19 Sep 2020 10:25:01 -0400
Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at
 [80.110.126.103])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 853E63360809;
 Sat, 19 Sep 2020 16:24:57 +0200 (CEST)
Date: Sat, 19 Sep 2020 16:24:11 +0200
From: Danny Milosavljevic <dannym@HIDDEN>
To: Mark H Weaver <mhw@HIDDEN>
Subject: Whitelisting/blacklisting transitive package dependencies
Message-ID: <20200919162411.1b6f621b@HIDDEN>
In-Reply-To: <87wo0q77t3.fsf@HIDDEN>
References: <878sd6zgii.fsf@HIDDEN>
	<87wo0q77t3.fsf@HIDDEN>
X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/9iZZ=xi4/LE6qBy1R/=UhNR";
 protocol="application/pgp-signature"; micalg=pgp-sha512
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43501
Cc: 43501 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--Sig_/9iZZ=xi4/LE6qBy1R/=UhNR
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi,

On Fri, 18 Sep 2020 23:40:13 -0400
Mark H Weaver <mhw@HIDDEN> wrote:

> I think it's important that Guix core functionality should be usable
> without installing a collection of patented media codecs.  Those plugins
> should be purely optional.  In my opinion, we should find a way to
> eliminate those dependencies.

I agree that it would be good to prevent weird dependencies from creeping i=
n--for
your stated reasons, but also for a lot of other reasons, chief of which is=
 that
the most secure source code is the source code that has been eliminated.

Also, Guix sometimes pulls in transitive dependencies for the weirdest thin=
gs.

The "*-minimal" packages we have make it less bad.

Still, it would nice to also have something that automatically checks wheth=
er
there are weird transitive inputs of a package, for each package (*especial=
ly*
in order to use that for "-minimal" packages).

I sometimes add #:disallowed-references after tracking down problems of
unintended transitive inputs (for example see f2fs-tools/static).  But even
that disallows just one specific reference (one package version).

What I want is to disallow any package of that name entirely in the depende=
ncy
graph--or even disallow references to specific source files (or other group=
s of
packages) entirely.
And I want it to keep disallowing it mechanically without me having to
remember it.

Guix lint already does something like I want, but for direct (non-transitiv=
e)
inputs.

It should be possible to add a "guix lint" check that also checks transitive
inputs of packages for suspicious packages.

The maintenance of a transitive-whitelist/-blacklist per package would then
probably be have to be done inside guix lint, though.  It could be nicer if
there were package fields for those for it eventually.  But for now, I guess
inside guix lint is good enough.

That said, for practicality one has to find some kind of groups of packages,
in order to keep the whitelist/blacklist from ballooning.  For now, I assume
that each group has an extra source file--which we know is not true in Guix
right now.  But we could make it true.

I started to add something to guix lint (possible procedures to use:
package-transitive-inputs, package-transitive-propagated-inputs,
package-transitive-native-inputs)--see patch below.  But note that it just
complains about everything now--we would still have to specify what is
"bad".

I would suggest to have a whitelist (of file names) and a blacklist
(of file names), and the following:
If a package has a whitelist and a transitive dependency is not on the
whitelist, complain.  If a package does not have a whitelist but does
have a blacklist and a transitive dependency is on the blacklist, complain.

I still find it illuminating as it is now.  Try:

$ guix lint qemu
[...]
gnu/packages/virtualization.scm:260:5: qemu@HIDDEN: 'gnu/packages/dbm.scm' s=
hould probably not be referred to (but it is--because of packages (gdbm))
[...]
gnu/packages/virtualization.scm:260:5: qemu@HIDDEN: 'gnu/packages/spice.scm'=
 should probably not be referred to (but it is by packages (libcacard spice=
 usbredir virglrenderer spice-protocol))
gnu/packages/virtualization.scm:260:5: qemu@HIDDEN: 'gnu/packages/gl.scm' sh=
ould probably not be referred to (but it is by packages (libepoxy mesa))
[...]
gnu/packages/virtualization.scm:260:5: qemu@HIDDEN: 'gnu/packages/dbm.scm' s=
hould probably not be referred to (but it is by packages (gdbm))
[...]
gnu/packages/virtualization.scm:260:5: qemu@HIDDEN: 'gnu/packages/pulseaudio=
.scm' should probably not be referred to (but it is because of packages (pu=
lseaudio))

WTF!

Also, for the special case where no package in a source file A should refer=
 to
any package in a source file B, it could be enough to establish a convention
of commenting out the respective "#:use-module (...)" in source file A (and
adding a "DO NOT USE" text to it), and never deleting that comment.

That way, once somebody had found what module one should not ever import, he
could document that fact.

diff --git a/guix/lint.scm b/guix/lint.scm
index ec43a4dcad..d65ac34441 100644
--- a/guix/lint.scm
+++ b/guix/lint.scm
@@ -72,6 +72,7 @@
   #:export (check-description-style
             check-inputs-should-be-native
             check-inputs-should-not-be-an-input-at-all
+            check-transitive-input-sanity
             check-patch-file-names
             check-synopsis-style
             check-derivation
@@ -287,6 +288,38 @@ of a package, and INPUT-NAMES, a list of package speci=
fications such as
                                input))))
                  packages outputs))))
=20
+(define (check-transitive-input-sanity package)
+  (let* ((examined-package-name (package-name package))
+         (examined-package-location (package-location package))
+         (examined-package-source-file-name (location-file examined-packag=
e-location))
+         (examined-package-dependency-source-file-names
+          (delete examined-package-source-file-name
+           (delete-duplicates
+            (map (match-lambda
+                  ((key dependency . rest) (location-file (package-locatio=
n dependency))))
+             (package-transitive-target-inputs package))))))
+    (map (lambda (source-file-name)
+           (let ((packages-in-source-file
+                  (filter (match-lambda
+                            ((key dependency . rest) (string=3D? source-fi=
le-name
+                                                               (location-f=
ile
+                                                                (package-l=
ocation dependency)))))
+                          (package-transitive-target-inputs package))))
+             (make-warning package
+              (G_ "'~a' should probably not be referred to (but it is--bec=
ause of packages ~a)")
+              (list source-file-name (map (match-lambda
+                                           ((key dependency . rest)
+                                            (package-name dependency)))
+                                          packages-in-source-file))
+               #:field 'inputs)))
+         examined-package-dependency-source-file-names)))
+          (delete examined-package-source-file-name
+           (delete-duplicates
+            (map (match-lambda
+                  ((key dependency . rest) (location-file (package-locatio=
n dependency))))
+             (package-transitive-target-inputs package))))))
+    (map (lambda (source-file-name)
+           (let ((packages-in-source-file
+                  (filter (match-lambda
+                            ((key dependency . rest) (string=3D? source-fi=
le-name
+                                                               (location-f=
ile
+                                                                (package-l=
ocation dependency)))))
+                          (package-transitive-target-inputs package))))
+             (make-warning package
+              (G_ "'~a' should probably not be referred to (but it is--bec=
ause of packages ~a)")
+              (list source-file-name (map (match-lambda
+                                           ((key dependency . rest)
+                                            (package-name dependency)))
+                                          packages-in-source-file))
+               #:field 'inputs)))
+         examined-package-dependency-source-file-names)))
+
+    ;; if examined-package-name like '%qemu%':
+    ;;   (package-name (map <car cdr> package-transitive-inputs)) no gstre=
amer; source file not
+    ;;   gstreamer.scm, gtk.scm.
+    ;;   allowed references to location-files
+  ;; TODO: gstreamer should not be anywhere in any transitive inputs of an=
y qemu
+
 (define (check-inputs-should-be-native package)
   ;; Emit a warning if some inputs of PACKAGE are likely to belong to its
   ;; native inputs.
@@ -1378,6 +1411,10 @@ them for PACKAGE."
=20
 (define %local-checkers
   (list
+   (lint-checker
+     (name        'transitive-inputs)
+     (description "Checks transitive inputs")
+     (check check-transitive-input-sanity))
    (lint-checker
      (name        'description)
      (description "Validate package descriptions")

--Sig_/9iZZ=xi4/LE6qBy1R/=UhNR
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9mFIsACgkQ5xo1VCww
uqXtZAf/VHwgXpYbcEtzGuHSMX68vHOmDb4ZP6li5HQ7H5JwBADQwfC8jyQke47k
UM5QVokU04Sg3oh2hvjwGngmVe3UrtvHLvg5EyGi+endKJAee891dikWCWQUrCLC
RYbNU16qgFCs1jrtDQwUrP2b2ztveut9ElumyF3Y+lXmU4/laC4/76fP0NrEpaEe
SS5ATpR5SHOXHU0FzE3gmc8dq359Ha1Wf8iAZUy7Yd8nv72jUURwvsbJKqEk6p2q
nwy2ZeCuHmyF1W1AE512h/Wg1Gt5U7Y5v/R52JHyQ8uZ+WHmABNk8BRcf4oOO6Dx
dmB0tY5/gqqhGUffew7RImvqPoJxvw==
=VKZJ
-----END PGP SIGNATURE-----

--Sig_/9iZZ=xi4/LE6qBy1R/=UhNR--




Information forwarded to bug-guix@HIDDEN:
bug#43501; Package guix. Full text available.

Message received at 43501 <at> debbugs.gnu.org:


Received: (at 43501) by debbugs.gnu.org; 19 Sep 2020 03:41:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 18 23:41:44 2020
Received: from localhost ([127.0.0.1]:45473 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJTku-00089Y-2j
	for submit <at> debbugs.gnu.org; Fri, 18 Sep 2020 23:41:44 -0400
Received: from world.peace.net ([64.112.178.59]:56232)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1kJTkr-00089K-Ty
 for 43501 <at> debbugs.gnu.org; Fri, 18 Sep 2020 23:41:42 -0400
Received: from mhw by world.peace.net with esmtpsa
 (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92)
 (envelope-from <mhw@HIDDEN>)
 id 1kJTkl-0005S4-OO; Fri, 18 Sep 2020 23:41:35 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>, 43501 <at> debbugs.gnu.org
Subject: Re: bug#43501: gst-plugins-bad cannot be built on linux-armhf,
 breaking qemu
In-Reply-To: <878sd6zgii.fsf@HIDDEN>
References: <878sd6zgii.fsf@HIDDEN>
Date: Fri, 18 Sep 2020 23:40:13 -0400
Message-ID: <87wo0q77t3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 43501
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Maxim Cournoyer <maxim.cournoyer@HIDDEN> writes:

> This occurs on master (commit 679d5e6b3dcac4ee1f419c04b3719fead0bd9ee5).
>
> qemu-minimal is not impacted, but the fully-fledged qemu package
> cannot be built, due to a dependency on gst-plugins-bad, which fails to
> build like:

It would be good to eliminate that dependency.  Ever since 'spice-gtk'
was added, it has included *every* gstreamer plugin package in its
'propagated-inputs'.  I'm not sure, but it may have been motivated by a
goal that some Guix developers have advocated, to make packages in Guix
work "out of the box" in a way that users of proprietary systems have
come to expect, i.e. with popular patented codecs included.

I think it's important that Guix core functionality should be usable
without installing a collection of patented media codecs.  Those plugins
should be purely optional.  In my opinion, we should find a way to
eliminate those dependencies.

       Mark




Information forwarded to bug-guix@HIDDEN:
bug#43501; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Sep 2020 01:44:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 18 21:44:15 2020
Received: from localhost ([127.0.0.1]:45394 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJRvC-0005MG-VP
	for submit <at> debbugs.gnu.org; Fri, 18 Sep 2020 21:44:15 -0400
Received: from lists.gnu.org ([209.51.188.17]:58076)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1kJRvA-0005M8-Ir
 for submit <at> debbugs.gnu.org; Fri, 18 Sep 2020 21:44:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42348)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1kJRvA-0005Rj-A9
 for bug-guix@HIDDEN; Fri, 18 Sep 2020 21:44:12 -0400
Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]:33852)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1kJRv7-0007ZR-U6
 for bug-guix@HIDDEN; Fri, 18 Sep 2020 21:44:11 -0400
Received: by mail-qt1-x82e.google.com with SMTP id 19so6889057qtp.1
 for <bug-guix@HIDDEN>; Fri, 18 Sep 2020 18:44:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=UExgjovYPV5H0Z6Ifs9VIYHAHkJqk3nOu0BFMzyQoxc=;
 b=Nb27ZQWuN1XAwUTK1zsIvJsaUTmHQem6MgX7bw1cWwv3f9qw8ZSl7XVOIBupZqYz0U
 XUt9qLhbXioC+sDtL5UeshyYl0ddD9VHQUvH4fepM0tGRCJy55zIebUAr24RS64l1f/h
 HxztbJLvhG6eRA3hn2Nl3jKuMjEf7cGDSQhfP/W3UGPyiA6WQMsUKewP4sOCbhX2a7/C
 UjAYBoHaubMrJDREy5xnMgQRwO44PW3nuwdo2+Y/qBrmNpm06GoRxBPDPeTMd09uZ3YN
 +u2qB5dGd0EemzG7Ttao1EIpPBn+0GKdTrYyq+GSigbAL2K3GG+ulqVhfKv+pJnF+mh8
 FB+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=UExgjovYPV5H0Z6Ifs9VIYHAHkJqk3nOu0BFMzyQoxc=;
 b=PY9k1Fnz2sLjvELr2lNUoaFpDLR+j91KrbTzzvKzi9YCBAN+K6W5cx/hsCKNTnAnSb
 o8dcaqRYMYK7votoQiv+lyt0BuRRBcl5bd8KLgqjNFtdLm5DR+RgcGj/2AGNJHT/Zk21
 RCmETtVF5jo1sh+4Do6X8asRbMYdp5BIEvRVybOU6L2OAcsjzOMIsDRSfcOA79ZYx4CP
 L70l1ji7lfmGQ2ujgsqq+g9CwH6MMfz7L0i91zZXvxBJ/eszOEai9NElG64iEI9tDG8q
 FvLSca4nIdizsoYWH1nfnUUpaChbU4waQCmhqTZGD/130IuTLn2nsGzpma2MD9xiS1PS
 lqVw==
X-Gm-Message-State: AOAM533mpFiPYEzrz0g7Bgomu1iUYBchtRdDkiiGXzJ7uJN75FJFGwhB
 AMLIbpgYLzrq9p90Oeo40M+e05SDJo8=
X-Google-Smtp-Source: ABdhPJys7rqA2QGDAdGq+9/6Zo2tW/y4pvFJE8oZsSBn41hp396uWGJQZBy1XWK6K9nGT29SOc9Qmw==
X-Received: by 2002:ac8:4658:: with SMTP id f24mr35528577qto.158.1600479848145; 
 Fri, 18 Sep 2020 18:44:08 -0700 (PDT)
Received: from hurd (dsl-236-125-61.b2b2c.ca. [207.236.125.61])
 by smtp.gmail.com with ESMTPSA id v18sm3312566qtq.15.2020.09.18.18.44.07
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 18 Sep 2020 18:44:07 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: gst-plugins-bad cannot be built on linux-armhf, breaking qemu
Date: Fri, 18 Sep 2020 21:45:09 -0400
Message-ID: <878sd6zgii.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::82e;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qt1-x82e.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

This occurs on master (commit 679d5e6b3dcac4ee1f419c04b3719fead0bd9ee5).

qemu-minimal is not impacted, but the fully-fledged qemu package
cannot be built, due to a dependency on gst-plugins-bad, which fails to
build like:

./pre-inst-env guix build qemu --rounds=3D5 --system=3Darmhf-linux

--8<---------------cut here---------------start------------->8---
[104/738] Generating GstInsertBin-1.0.gir with a custom command.
FAILED: gst-libs/gst/insertbin/GstInsertBin-1.0.gir=20
/gnu/store/v3k3md5673pncrdmyywrgwiapjl6baz8-gobject-introspection-1.62.0/bi=
n/g-ir-scanner -pthread -I/gnu/store/v3k3md5673pncrdmyywrgwiapjl6baz8-gobje=
ct-introspection-1.62.0/include/gobject-introspection-1.0 -I/gnu/store/1qp1=
w8pjwk4ba26mj6gnyxdz9cyd0jvv-glib-2.62.6/include/glib-2.0 -I/gnu/store/1qp1=
w8pjwk4ba26mj6gnyxdz9cyd0jvv-glib-2.62.6/lib/glib-2.0/include --no-libtool =
--namespace=3DGstInsertBin --nsversion=3D1.0 --warn-all --output gst-libs/g=
st/insertbin/GstInsertBin-1.0.gir '--add-init-section=3Dextern void gst_ini=
t(gint*,gchar**);g_setenv("GST_REGISTRY_1.0", "/tmp/guix-build-gst-plugins-=
bad-1.16.2.drv-0/build/gir_empty_registry.reg", TRUE);g_setenv("GST_PLUGIN_=
PATH_1_0", "", TRUE);g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);gst_i=
nit(NULL,NULL);' --quiet -DGST_USE_UNSTABLE_API --c-include=3Dgst/insertbin=
/gstinsertbin.h -I/tmp/guix-build-gst-plugins-bad-1.16.2.drv-0/gst-plugins-=
bad-1.16.2/gst-libs/gst/insertbin -I/tmp/guix-build-gst-plugins-bad-1.16.2.=
drv-0/build/gst-libs/gst/insertbin -I./. -I../gst-plugins-bad-1.16.2/. -I./=
gst-libs -I../gst-plugins-bad-1.16.2/gst-libs --filelist=3D/tmp/guix-build-=
gst-plugins-bad-1.16.2.drv-0/build/gst-libs/gst/insertbin/5a402bf@@gstinser=
tbin-1.0@sha/GstInsertBin_1.0_gir_filelist --include=3DGst-1.0 --symbol-pre=
fix=3Dgst --identifier-prefix=3DGst --pkg-export=3Dgstreamer-insertbin-1.0 =
--cflags-begin -fvisibility=3Dhidden -fno-strict-aliasing -DG_DISABLE_CAST_=
CHECKS -Wmissing-prototypes -Wdeclaration-after-statement -Wold-style-defin=
ition -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Wformat -Wf=
ormat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar =
-Wvla -Wpointer-arith -I./. -I../gst-plugins-bad-1.16.2/. -I./gst-libs -I..=
/gst-plugins-bad-1.16.2/gst-libs -I/gnu/store/1qp1w8pjwk4ba26mj6gnyxdz9cyd0=
jvv-glib-2.62.6/include/glib-2.0 -I/gnu/store/1qp1w8pjwk4ba26mj6gnyxdz9cyd0=
jvv-glib-2.62.6/lib/glib-2.0/include -I/gnu/store/5b1i5ilddxn96ricgrzzyprg2=
h5xy4f4-gstreamer-1.16.2/include/gstreamer-1.0 --cflags-end --add-include-p=
ath=3D/gnu/store/5b1i5ilddxn96ricgrzzyprg2h5xy4f4-gstreamer-1.16.2/share/gi=
r-1.0 --library gstinsertbin-1.0 -L/tmp/guix-build-gst-plugins-bad-1.16.2.d=
rv-0/build/gst-libs/gst/insertbin -L/gnu/store/1qp1w8pjwk4ba26mj6gnyxdz9cyd=
0jvv-glib-2.62.6/lib -L/gnu/store/5b1i5ilddxn96ricgrzzyprg2h5xy4f4-gstreame=
r-1.16.2/lib --extra-library=3Dgstreamer-1.0 --extra-library=3Dgobject-2.0 =
--extra-library=3Dglib-2.0 --sources-top-dirs /tmp/guix-build-gst-plugins-b=
ad-1.16.2.drv-0/gst-plugins-bad-1.16.2/subprojects/ --sources-top-dirs /tmp=
/guix-build-gst-plugins-bad-1.16.2.drv-0/build/subprojects/
ERROR: can't resolve libraries to shared libraries: gstinsertbin-1.0
[105/738] Generating symbol file 'gst-libs/gst/webrtc/ebe7247@@gstwebrtc-1.=
0@sha/libgstwebrtc-1.0.so.0.1602.0.symbols'.
[106/738] Compiling C object 'gst/camerabin2/4042765@@gstcamerabin@sha/came=
rabingeneral.c.o'.
[107/738] Linking target gst/audiomixmatrix/libgstaudiomixmatrix.so.
[108/738] Compiling C object 'gst/audiovisualizers/cbf4535@@gstaudiovisuali=
zers@sha/gstsynaescope.c.o'.
[109/738] Linking target gst/audiobuffersplit/libgstaudiobuffersplit.so.
[110/738] Compiling C object 'gst/autoconvert/e5cffa3@@gstautoconvert@sha/g=
stautoconvert.c.o'.
[111/738] Compiling C object 'gst/audiovisualizers/cbf4535@@gstaudiovisuali=
zers@sha/gstwavescope.c.o'.
[112/738] Linking target gst-libs/gst/codecparsers/libgstcodecparsers-1.0.s=
o.0.1602.0.
-- Adding Fcitx Addon clipboard
[113/738] Compiling C object 'gst/aiff/3dba985@@gstaiff@sha/aiffparse.c.o'.
[114/738] Compiling C object 'gst/bayer/9043930@@gstbayer@sha/meson-generat=
ed_.._gstbayerorc.c.o'.
[115/738] Compiling C object 'gst/camerabin2/4042765@@gstcamerabin@sha/gstp=
lugin.c.o'.
[116/738] Compiling C object 'gst/camerabin2/4042765@@gstcamerabin@sha/gstd=
igitalzoom.c.o'.
[117/738] Generating symbol file 'gst-libs/gst/adaptivedemux/f8886ef@@gstad=
aptivedemux-1.0@sha/libgstadaptivedemux-1.0.so.0.1602.0.symbols'.
[118/738] Compiling C object 'gst/camerabin2/4042765@@gstcamerabin@sha/gstv=
iewfinderbin.c.o'.
[119/738] Compiling C object 'gst/bayer/9043930@@gstbayer@sha/gstbayer2rgb.=
c.o'.
[120/738] Compiling C object 'gst/bayer/9043930@@gstbayer@sha/gstrgb2bayer.=
c.o'.
[121/738] Compiling C object 'gst/asfmux/3f2ef0f@@gstasfmux@sha/gstasfmux.c=
.o'.
[122/738] Generating symbol file 'gst-libs/gst/mpegts/aa7f611@@gstmpegts-1.=
0@sha/libgstmpegts-1.0.so.0.1602.0.symbols'.
-- Adding Fcitx Addon vk
[123/738] Compiling C object 'gst/camerabin2/4042765@@gstcamerabin@sha/gstw=
rappercamerabinsrc.c.o'.
-- Adding Fcitx Addon dbus
[124/738] Compiling C object 'gst/camerabin2/4042765@@gstcamerabin@sha/gstc=
amerabin2.c.o'.
-- Adding Fcitx Addon lua
[125/738] Generating GstWebRTC-1.0.gir with a custom command.
FAILED: gst-libs/gst/webrtc/GstWebRTC-1.0.gir=20
/gnu/store/v3k3md5673pncrdmyywrgwiapjl6baz8-gobject-introspection-1.62.0/bi=
n/g-ir-scanner -pthread -I/gnu/store/v3k3md5673pncrdmyywrgwiapjl6baz8-gobje=
ct-introspection-1.62.0/include/gobject-introspection-1.0 -I/gnu/store/1qp1=
w8pjwk4ba26mj6gnyxdz9cyd0jvv-glib-2.62.6/include/glib-2.0 -I/gnu/store/1qp1=
w8pjwk4ba26mj6gnyxdz9cyd0jvv-glib-2.62.6/lib/glib-2.0/include --no-libtool =
--namespace=3DGstWebRTC --nsversion=3D1.0 --warn-all --output gst-libs/gst/=
webrtc/GstWebRTC-1.0.gir '--add-init-section=3Dextern void gst_init(gint*,g=
char**);g_setenv("GST_REGISTRY_1.0", "/tmp/guix-build-gst-plugins-bad-1.16.=
2.drv-0/build/gir_empty_registry.reg", TRUE);g_setenv("GST_PLUGIN_PATH_1_0"=
, "", TRUE);g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);gst_init(NULL,=
NULL);' --quiet -DGST_USE_UNSTABLE_API --c-include=3Dgst/webrtc/webrtc.h -I=
/tmp/guix-build-gst-plugins-bad-1.16.2.drv-0/gst-plugins-bad-1.16.2/gst-lib=
s/gst/webrtc -I/tmp/guix-build-gst-plugins-bad-1.16.2.drv-0/build/gst-libs/=
gst/webrtc -I./. -I../gst-plugins-bad-1.16.2/. -I./gst-libs -I../gst-plugin=
s-bad-1.16.2/gst-libs --filelist=3D/tmp/guix-build-gst-plugins-bad-1.16.2.d=
rv-0/build/gst-libs/gst/webrtc/ebe7247@@gstwebrtc-1.0@sha/GstWebRTC_1.0_gir=
_filelist --include=3DGst-1.0 --include=3DGstSdp-1.0 --symbol-prefix=3Dgst =
--identifier-prefix=3DGst --pkg-export=3Dgstreamer-webrtc-1.0 --cflags-begi=
n -fvisibility=3Dhidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wmiss=
ing-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wmissi=
ng-declarations -Wredundant-decls -Wwrite-strings -Wformat -Wformat-securit=
y -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpoint=
er-arith -I./. -I../gst-plugins-bad-1.16.2/. -I./gst-libs -I../gst-plugins-=
bad-1.16.2/gst-libs -I/gnu/store/1qp1w8pjwk4ba26mj6gnyxdz9cyd0jvv-glib-2.62=
.6/include/glib-2.0 -I/gnu/store/1qp1w8pjwk4ba26mj6gnyxdz9cyd0jvv-glib-2.62=
.6/lib/glib-2.0/include -I/gnu/store/5b1i5ilddxn96ricgrzzyprg2h5xy4f4-gstre=
amer-1.16.2/include/gstreamer-1.0 -I/gnu/store/6fd5y75yklr46wxfrs917p5sa7qm=
27h5-gst-plugins-base-1.16.2/include/gstreamer-1.0 -I/gnu/store/47i3zixb4mm=
92r79ry9a2kqkvkqx4cyh-util-linux-2.35.1-lib/include/libmount -I/gnu/store/4=
7i3zixb4mm92r79ry9a2kqkvkqx4cyh-util-linux-2.35.1-lib/include/blkid --cflag=
s-end --add-include-path=3D/gnu/store/5b1i5ilddxn96ricgrzzyprg2h5xy4f4-gstr=
eamer-1.16.2/share/gir-1.0 --add-include-path=3D/gnu/store/6fd5y75yklr46wxf=
rs917p5sa7qm27h5-gst-plugins-base-1.16.2/share/gir-1.0 --library gstwebrtc-=
1.0 -L/tmp/guix-build-gst-plugins-bad-1.16.2.drv-0/build/gst-libs/gst/webrt=
c -L/gnu/store/1qp1w8pjwk4ba26mj6gnyxdz9cyd0jvv-glib-2.62.6/lib -L/gnu/stor=
e/5b1i5ilddxn96ricgrzzyprg2h5xy4f4-gstreamer-1.16.2/lib --extra-library=3Dg=
stbase-1.0 --extra-library=3Dgstreamer-1.0 --extra-library=3Dgobject-2.0 --=
extra-library=3Dglib-2.0 -L/gnu/store/6fd5y75yklr46wxfrs917p5sa7qm27h5-gst-=
plugins-base-1.16.2/lib --extra-library=3Dgstsdp-1.0 --sources-top-dirs /tm=
p/guix-build-gst-plugins-bad-1.16.2.drv-0/gst-plugins-bad-1.16.2/subproject=
s/ --sources-top-dirs /tmp/guix-build-gst-plugins-bad-1.16.2.drv-0/build/su=
bprojects/
ERROR: can't resolve libraries to shared libraries: gstwebrtc-1.0
-- Adding Fcitx Addon unicode
-- Adding Fcitx Addon freedesktop-notify
-- Adding Fcitx Addon notificationitem
[126/738] Generating GstMpegts-1.0.gir with a custom command.
FAILED: gst-libs/gst/mpegts/GstMpegts-1.0.gir=20
/gnu/store/v3k3md5673pncrdmyywrgwiapjl6baz8-gobject-introspection-1.62.0/bi=
n/g-ir-scanner -pthread -I/gnu/store/v3k3md5673pncrdmyywrgwiapjl6baz8-gobje=
ct-introspection-1.62.0/include/gobject-introspection-1.0 -I/gnu/store/1qp1=
w8pjwk4ba26mj6gnyxdz9cyd0jvv-glib-2.62.6/include/glib-2.0 -I/gnu/store/1qp1=
w8pjwk4ba26mj6gnyxdz9cyd0jvv-glib-2.62.6/lib/glib-2.0/include --no-libtool =
--namespace=3DGstMpegts --nsversion=3D1.0 --warn-all --output gst-libs/gst/=
mpegts/GstMpegts-1.0.gir '--add-init-section=3Dextern void gst_init(gint*,g=
char**);g_setenv("GST_REGISTRY_1.0", "/tmp/guix-build-gst-plugins-bad-1.16.=
2.drv-0/build/gir_empty_registry.reg", TRUE);g_setenv("GST_PLUGIN_PATH_1_0"=
, "", TRUE);g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);gst_init(NULL,=
NULL);' --quiet -DGST_USE_UNSTABLE_API --c-include=3Dgst/mpegts/mpegts.h -I=
/tmp/guix-build-gst-plugins-bad-1.16.2.drv-0/gst-plugins-bad-1.16.2/gst-lib=
s/gst/mpegts -I/tmp/guix-build-gst-plugins-bad-1.16.2.drv-0/build/gst-libs/=
gst/mpegts -I./. -I../gst-plugins-bad-1.16.2/. -I./gst-libs -I../gst-plugin=
s-bad-1.16.2/gst-libs --filelist=3D/tmp/guix-build-gst-plugins-bad-1.16.2.d=
rv-0/build/gst-libs/gst/mpegts/aa7f611@@gstmpegts-1.0@sha/GstMpegts_1.0_gir=
_filelist --include=3DGst-1.0 --symbol-prefix=3Dgst_mpegts --symbol-prefix=
=3Dgst --identifier-prefix=3DGstMpegts --pkg-export=3Dgstreamer-mpegts-1.0 =
--cflags-begin -fvisibility=3Dhidden -fno-strict-aliasing -DG_DISABLE_CAST_=
CHECKS -Wmissing-prototypes -Wdeclaration-after-statement -Wold-style-defin=
ition -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Wformat -Wf=
ormat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar =
-Wvla -Wpointer-arith -I./. -I../gst-plugins-bad-1.16.2/. -I./gst-libs -I..=
/gst-plugins-bad-1.16.2/gst-libs -I/gnu/store/1qp1w8pjwk4ba26mj6gnyxdz9cyd0=
jvv-glib-2.62.6/include/glib-2.0 -I/gnu/store/1qp1w8pjwk4ba26mj6gnyxdz9cyd0=
jvv-glib-2.62.6/lib/glib-2.0/include -I/gnu/store/5b1i5ilddxn96ricgrzzyprg2=
h5xy4f4-gstreamer-1.16.2/include/gstreamer-1.0 --cflags-end --add-include-p=
ath=3D/gnu/store/5b1i5ilddxn96ricgrzzyprg2h5xy4f4-gstreamer-1.16.2/share/gi=
r-1.0 --library gstmpegts-1.0 -L/tmp/guix-build-gst-plugins-bad-1.16.2.drv-=
0/build/gst-libs/gst/mpegts -L/gnu/store/1qp1w8pjwk4ba26mj6gnyxdz9cyd0jvv-g=
lib-2.62.6/lib -L/gnu/store/5b1i5ilddxn96ricgrzzyprg2h5xy4f4-gstreamer-1.16=
.2/lib --extra-library=3Dgstreamer-1.0 --extra-library=3Dgobject-2.0 --extr=
a-library=3Dglib-2.0 --sources-top-dirs /tmp/guix-build-gst-plugins-bad-1.1=
6.2.drv-0/gst-plugins-bad-1.16.2/subprojects/ --sources-top-dirs /tmp/guix-=
build-gst-plugins-bad-1.16.2.drv-0/build/subprojects/
ERROR: can't resolve libraries to shared libraries: gstmpegts-1.0
[127/738] Generating GstPlayer-1.0.gir with a custom command.
FAILED: gst-libs/gst/player/GstPlayer-1.0.gir=20
/gnu/store/v3k3md5673pncrdmyywrgwiapjl6baz8-gobject-introspection-1.62.0/bi=
n/g-ir-scanner -pthread -I/gnu/store/v3k3md5673pncrdmyywrgwiapjl6baz8-gobje=
ct-introspection-1.62.0/include/gobject-introspection-1.0 -I/gnu/store/1qp1=
w8pjwk4ba26mj6gnyxdz9cyd0jvv-glib-2.62.6/include/glib-2.0 -I/gnu/store/1qp1=
w8pjwk4ba26mj6gnyxdz9cyd0jvv-glib-2.62.6/lib/glib-2.0/include --no-libtool =
--namespace=3DGstPlayer --nsversion=3D1.0 --warn-all --output gst-libs/gst/=
player/GstPlayer-1.0.gir '--add-init-section=3Dextern void gst_init(gint*,g=
char**);g_setenv("GST_REGISTRY_1.0", "/tmp/guix-build-gst-plugins-bad-1.16.=
2.drv-0/build/gir_empty_registry.reg", TRUE);g_setenv("GST_PLUGIN_PATH_1_0"=
, "", TRUE);g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);gst_init(NULL,=
NULL);' --quiet -DGST_USE_UNSTABLE_API --c-include=3Dgst/player/player.h -I=
/tmp/guix-build-gst-plugins-bad-1.16.2.drv-0/gst-plugins-bad-1.16.2/gst-lib=
s/gst/player -I/tmp/guix-build-gst-plugins-bad-1.16.2.drv-0/build/gst-libs/=
gst/player -I./. -I../gst-plugins-bad-1.16.2/. -I./gst-libs -I../gst-plugin=
s-bad-1.16.2/gst-libs --filelist=3D/tmp/guix-build-gst-plugins-bad-1.16.2.d=
rv-0/build/gst-libs/gst/player/da2c0c4@@gstplayer-1.0@sha/GstPlayer_1.0_gir=
_filelist --include=3DGst-1.0 --include=3DGstPbutils-1.0 --include=3DGstBas=
e-1.0 --include=3DGstVideo-1.0 --include=3DGstAudio-1.0 --include=3DGstTag-=
1.0 --symbol-prefix=3Dgst --identifier-prefix=3DGst --pkg-export=3Dgstreame=
r-player-1.0 --cflags-begin -fvisibility=3Dhidden -fno-strict-aliasing -DG_=
DISABLE_CAST_CHECKS -Wmissing-prototypes -Wdeclaration-after-statement -Wol=
d-style-definition -Wmissing-declarations -Wredundant-decls -Wwrite-strings=
 -Wformat -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -W=
no-multichar -Wvla -Wpointer-arith -I./. -I../gst-plugins-bad-1.16.2/. -I./=
gst-libs -I../gst-plugins-bad-1.16.2/gst-libs -I/gnu/store/1qp1w8pjwk4ba26m=
j6gnyxdz9cyd0jvv-glib-2.62.6/include/glib-2.0 -I/gnu/store/1qp1w8pjwk4ba26m=
j6gnyxdz9cyd0jvv-glib-2.62.6/lib/glib-2.0/include -I/gnu/store/5b1i5ilddxn9=
6ricgrzzyprg2h5xy4f4-gstreamer-1.16.2/include/gstreamer-1.0 -I/gnu/store/6f=
d5y75yklr46wxfrs917p5sa7qm27h5-gst-plugins-base-1.16.2/include/gstreamer-1.=
0 --cflags-end --add-include-path=3D/gnu/store/5b1i5ilddxn96ricgrzzyprg2h5x=
y4f4-gstreamer-1.16.2/share/gir-1.0 --add-include-path=3D/gnu/store/6fd5y75=
yklr46wxfrs917p5sa7qm27h5-gst-plugins-base-1.16.2/share/gir-1.0 --library g=
stplayer-1.0 -L/tmp/guix-build-gst-plugins-bad-1.16.2.drv-0/build/gst-libs/=
gst/player -L/gnu/store/1qp1w8pjwk4ba26mj6gnyxdz9cyd0jvv-glib-2.62.6/lib -L=
/gnu/store/5b1i5ilddxn96ricgrzzyprg2h5xy4f4-gstreamer-1.16.2/lib --extra-li=
brary=3Dgstbase-1.0 --extra-library=3Dgstreamer-1.0 --extra-library=3Dgobje=
ct-2.0 --extra-library=3Dglib-2.0 -L/gnu/store/6fd5y75yklr46wxfrs917p5sa7qm=
27h5-gst-plugins-base-1.16.2/lib --extra-library=3Dgstvideo-1.0 --extra-lib=
rary=3Dgstaudio-1.0 --extra-library=3Dgsttag-1.0 --extra-library=3Dgstpbuti=
ls-1.0 --sources-top-dirs /tmp/guix-build-gst-plugins-bad-1.16.2.drv-0/gst-=
plugins-bad-1.16.2/subprojects/ --sources-top-dirs /tmp/guix-build-gst-plug=
ins-bad-1.16.2.drv-0/build/subprojects/
ERROR: can't resolve libraries to shared libraries: gstplayer-1.0
ninja: build stopped: subcommand failed.
command "ninja" "-j" "24" failed with status 1
builder for `/gnu/store/6yy2qhp8hfm6ajdvk5fscrzgzg701dqn-gst-plugins-bad-1.=
16.2.drv' failed with exit code 1
@ build-failed /gnu/store/6yy2qhp8hfm6ajdvk5fscrzgzg701dqn-gst-plugins-bad-=
1.16.2.drv - 1 builder for `/gnu/store/6yy2qhp8hfm6ajdvk5fscrzgzg701dqn-gst=
-plugins-bad-1.16.2.drv' failed with exit code 1
derivation '/gnu/store/6yy2qhp8hfm6ajdvk5fscrzgzg701dqn-gst-plugins-bad-1.1=
6.2.drv' offloaded to '127.0.0.1' failed: build of `/gnu/store/6yy2qhp8hfm6=
ajdvk5fscrzgzg701dqn-gst-plugins-bad-1.16.2.drv' failed
-- Adding Fcitx Addon pinyin
build of /gnu/store/6yy2qhp8hfm6ajdvk5fscrzgzg701dqn-gst-plugins-bad-1.16.2=
.drv failed
View build log at '/var/log/guix/drvs/6y/y2qhp8hfm6ajdvk5fscrzgzg701dqn-gst=
-plugins-bad-1.16.2.drv.bz2'.
cannot build derivation `/gnu/store/4hpglj6vk0zggchh9hv287d1fh0s5mbq-spice-=
0.14.3.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/x3dibi2h2b1a29752f0x0j2lap9qxy2d-qemu-5=
.0.0.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/x3dibi2h2b1a29752f0x0j2lap9qxy2d-qe=
mu-5.0.0.drv' failed
--8<---------------cut here---------------end--------------->8---




Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#43501; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 24 Sep 2020 19:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.