From unknown Tue Jun 24 06:54:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#31213 <31213@debbugs.gnu.org> To: bug#31213 <31213@debbugs.gnu.org> Subject: Status: [PATCH] gnu: gst-plugins-base: Disable tests that create network Reply-To: bug#31213 <31213@debbugs.gnu.org> Date: Tue, 24 Jun 2025 13:54:36 +0000 retitle 31213 [PATCH] gnu: gst-plugins-base: Disable tests that create netw= ork reassign 31213 guix-patches submitter 31213 Roel Janssen severity 31213 normal tag 31213 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 18 18:01:42 2018 Received: (at submit) by debbugs.gnu.org; 18 Apr 2018 22:01:42 +0000 Received: from localhost ([127.0.0.1]:59769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8v93-00073x-TH for submit@debbugs.gnu.org; Wed, 18 Apr 2018 18:01:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8v90-00073i-10 for submit@debbugs.gnu.org; Wed, 18 Apr 2018 18:01:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8v8t-0000LI-QK for submit@debbugs.gnu.org; Wed, 18 Apr 2018 18:01:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38450) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f8v8t-0000LA-Mj for submit@debbugs.gnu.org; Wed, 18 Apr 2018 18:01:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8v8s-0005pX-Bt for guix-patches@gnu.org; Wed, 18 Apr 2018 18:01:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8v8o-0000JP-UP for guix-patches@gnu.org; Wed, 18 Apr 2018 18:01:30 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8v8o-0000JL-Q4 for guix-patches@gnu.org; Wed, 18 Apr 2018 18:01:26 -0400 Received: from ip112-245-209-87.adsl2.static.versatel.nl ([87.209.245.112]:52349 helo=yellowstone) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f8v8o-0003Kv-AN for guix-patches@gnu.org; Wed, 18 Apr 2018 18:01:26 -0400 User-agent: mu4e 1.0; emacs 25.3.1 From: Roel Janssen To: guix-patches Subject: [PATCH] gnu: gst-plugins-base: Disable tests that create network Date: Thu, 19 Apr 2018 00:01:23 +0200 Message-ID: <87tvs8fa30.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) --=-=-= Content-Type: text/plain Dear Guix, The build for gst-plugins-base is failing, breaking the builds of quite a few dependent packages. The attached patch disables the two tests that are failing. It seems that both tests attempt to set-up or connect to a TCP socket on "localhost". Would this work in the build environment? Is it OK to apply the following patch to fix the build for this package? Kind regards, Roel Janssen --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-gst-plugins-base-Disable-tests-that-create-netwo.patch >From 1036f149e2117f4db4997a7427dec4707db30e9f Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Wed, 18 Apr 2018 23:55:23 +0200 Subject: [PATCH] gnu: gst-plugins-base: Disable tests that create network connections. * gnu/local.mk: Register patch. * gnu/packages/gstreamer.scm: Add patch. * gnu/packages/patches/gst-plugins-base-disable-tcp-tests.patch: New file. --- gnu/local.mk | 1 + gnu/packages/gstreamer.scm | 3 +- .../gst-plugins-base-disable-tcp-tests.patch | 34 +++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/gst-plugins-base-disable-tcp-tests.patch diff --git a/gnu/local.mk b/gnu/local.mk index 056a46cb7..f2e041d05 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -750,6 +750,7 @@ dist_patch_DATA = \ %D%/packages/patches/grep-timing-sensitive-test.patch \ %D%/packages/patches/groff-source-date-epoch.patch \ %D%/packages/patches/gsl-test-i686.patch \ + %D%/packages/patches/gst-plugins-base-disable-tcp-tests.patch \ %D%/packages/patches/gspell-dash-test.patch \ %D%/packages/patches/guile-1.8-cpp-4.5.patch \ %D%/packages/patches/guile-2.2-default-utf8.patch \ diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index 6747c388d..33c4e04cd 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -157,7 +157,8 @@ This package provides the core library and elements.") name "-" version ".tar.xz")) (sha256 (base32 - "10i255q7i8an1hxz3szb36x1jcs9nfdy511pj2wg24h2vw1nnc2c")))) + "10i255q7i8an1hxz3szb36x1jcs9nfdy511pj2wg24h2vw1nnc2c")) + (patches (search-patches "gst-plugins-base-disable-tcp-tests.patch")))) (build-system gnu-build-system) (outputs '("out" "doc")) (propagated-inputs diff --git a/gnu/packages/patches/gst-plugins-base-disable-tcp-tests.patch b/gnu/packages/patches/gst-plugins-base-disable-tcp-tests.patch new file mode 100644 index 000000000..e58081bd4 --- /dev/null +++ b/gnu/packages/patches/gst-plugins-base-disable-tcp-tests.patch @@ -0,0 +1,34 @@ +This patch disables the rtspconnection test and the pipelines/tcp test because +it attempts to set up a network connection. + +Patch by Roel Janssen + +*** a/tests/check/Makefile.am 2017-05-15 17:46:23.000000000 +0200 +--- b/tests/check/Makefile.am 2018-04-18 23:36:45.691293186 +0200 +*************** +*** 179,185 **** + + if USE_PLUGIN_TCP + if USE_PLUGIN_APP +! check_tcp = elements/multifdsink elements/multisocketsink pipelines/tcp + else + check_tcp = elements/multifdsink elements/multisocketsink + endif +--- 179,185 ---- + + if USE_PLUGIN_TCP + if USE_PLUGIN_APP +! check_tcp = elements/multifdsink elements/multisocketsink + else + check_tcp = elements/multifdsink elements/multisocketsink + endif +*************** +*** 219,225 **** + libs/rtpbasedepayload \ + libs/rtpbasepayload \ + libs/rtsp \ +- libs/rtspconnection \ + libs/sdp \ + libs/tag \ + libs/video \ +--- 219,224 ---- -- 2.17.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 19 12:11:17 2018 Received: (at 31213) by debbugs.gnu.org; 19 Apr 2018 16:11:18 +0000 Received: from localhost ([127.0.0.1]:33128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9C9V-0004G9-MS for submit@debbugs.gnu.org; Thu, 19 Apr 2018 12:11:17 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:57301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9C9U-0004G2-Lz for 31213@debbugs.gnu.org; Thu, 19 Apr 2018 12:11:16 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 710CE21DC4; Thu, 19 Apr 2018 12:11:16 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 19 Apr 2018 12:11:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=/y62tkhQurFVbYDb0AVkEYfax+TPCSU7WctcVwXnyGE=; b=UIBHNC6w zKcUmTeWsZHLJRPPmtVgptsn6l7HIu9ZxjBYJk6h384U5B89im5XiN4eeEUxnweE 0fVaKr00+1GnGnT/zv34sJv1fmGyIGPRcH++7T/jKk6Ove22W45nJH+zbT9isopx 7Un1UuYcJnlX18jCbitYsHpVnY8gPstVbj9Z6jgvksAJuMiJ6N4GV7qYyRPM6ck4 dOuDK5v3x+3k19FY/Z5rMRjPLeldI3a5kR60El327fqdqwZczITPX+5V+2xzyrPb aYyoxSM2bg43uaCfElsrCJ8BuI0pUQh21134RpwE0RyYadvQpZh0lpCJ6/HQYIiH zqHCY2pGooxufg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=/y62tkhQurFVbYDb0AVkEYfax+TPC SU7WctcVwXnyGE=; b=X9XND99YANxaDYbVz0HKYoMholYfVp5Q2Tv3VW8ao61/E SO6f2KeTnuugOHM2fnx/8pjkRtIO169MxYRhSaiXGrvmLdZhxaPvxnUTILAPZRZO TauR9Ih3T1ySk2lz4UXxn4KgIbBRofI/YZCjFFz7G6dO98tUT1POiGo3ZGEEcvzl ftYuozB6vJRJwZwWVavhQuI+JU1c+cQdn6b17n0OYHMcOwCsPlf7OueB9EjnMTeE 7r5Je4laU2EIKTkG8Wmr8rr0ZKo/hxLyu6s6e7CwyyJD67x0GP2I0iYrVbcfnL8x XvQEtHs7r/H1XsVKvKOr4ffbw/8XjnQKAOgXLpTJw== X-ME-Sender: Received: from localhost (228.92-221-162.customer.lyse.net [92.221.162.228]) by mail.messagingengine.com (Postfix) with ESMTPA id E4ED110263; Thu, 19 Apr 2018 12:11:15 -0400 (EDT) From: Marius Bakke To: Roel Janssen , 31213@debbugs.gnu.org Subject: Re: [bug#31213] [PATCH] gnu: gst-plugins-base: Disable tests that create network In-Reply-To: <87tvs8fa30.fsf@gnu.org> References: <87tvs8fa30.fsf@gnu.org> User-Agent: Notmuch/0.26.1 (https://notmuchmail.org) Emacs/25.3.1 (x86_64-pc-linux-gnu) Date: Thu, 19 Apr 2018 18:11:14 +0200 Message-ID: <87in8n9nx9.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 31213 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Roel Janssen writes: > Dear Guix, > > The build for gst-plugins-base is failing, breaking the builds of quite > a few dependent packages. The attached patch disables the two tests > that are failing. I cannot reproduce this failure, and on Hydra everything is fine: https://hydra.gnu.org/job/gnu/master/gst-plugins-base-1.12.4.x86_64-linux Strange that it fails on your machine, it suggests some "impurity" in the build environment. Can you try to figure out why it does not work? > It seems that both tests attempt to set-up or connect to a TCP socket on > "localhost". Would this work in the build environment? TCP sockets on localhost are normally fine, as long as they don't use getaddrinfo() (I've been thinking about adding support for that). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlrYv6IACgkQoqBt8qM6 VPqSRQf/Ryh/zJn0tMvAfSm3ccR7evCnXcRwhNkf021QGy6Liyx9brdDfn9o0YXI 1Syy4jAG4AyLf/CtnOFC/VA6eAZb6l7xnTjkYfc4nKIDX+AL2IiWYGJAiCrsEF3m eaj/QLMAgaDdu2mmrEKr3l/YylJlO05IU4KC+PVUuZ5l6JshXRY0e/6J1//DDkuv lVNiky3duNgA/BTJr56+w3UhvHYdWNWNFCL9SV9rciZT2InXMRLxyEYPtkQqESzw eSLPyBvWhD6m0w+1cWdNbt4G3hJP76hDBANI4BST62vyfAqUxvPW0rhDJsAycKqS SodpVr5WLJiYXcxnSkuYg/gfI2uE+w== =EhmT -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 19 13:16:51 2018 Received: (at 31213-done) by debbugs.gnu.org; 19 Apr 2018 17:16:51 +0000 Received: from localhost ([127.0.0.1]:33138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9DAw-0005kR-Pd for submit@debbugs.gnu.org; Thu, 19 Apr 2018 13:16:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f9DAv-0005kG-IC for 31213-done@debbugs.gnu.org; Thu, 19 Apr 2018 13:16:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f9DAl-0004an-9O for 31213-done@debbugs.gnu.org; Thu, 19 Apr 2018 13:16:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f9DAl-0004af-5T; Thu, 19 Apr 2018 13:16:39 -0400 Received: from ip112-245-209-87.adsl2.static.versatel.nl ([87.209.245.112]:52642 helo=yellowstone) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f9DAk-0008IP-Gb; Thu, 19 Apr 2018 13:16:38 -0400 References: <87tvs8fa30.fsf@gnu.org> <87in8n9nx9.fsf@fastmail.com> User-agent: mu4e 1.0; emacs 25.3.1 From: Roel Janssen To: Marius Bakke Subject: Re: [bug#31213] [PATCH] gnu: gst-plugins-base: Disable tests that create network In-reply-to: <87in8n9nx9.fsf@fastmail.com> Date: Thu, 19 Apr 2018 19:16:35 +0200 Message-ID: <87lgdjw1zg.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31213-done Cc: 31213-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Marius Bakke writes: > Roel Janssen writes: > >> Dear Guix, >> >> The build for gst-plugins-base is failing, breaking the builds of quite >> a few dependent packages. The attached patch disables the two tests >> that are failing. > > I cannot reproduce this failure, and on Hydra everything is fine: > > https://hydra.gnu.org/job/gnu/master/gst-plugins-base-1.12.4.x86_64-linux > > Strange that it fails on your machine, it suggests some "impurity" in > the build environment. Can you try to figure out why it does not work? > >> It seems that both tests attempt to set-up or connect to a TCP socket on >> "localhost". Would this work in the build environment? > > TCP sockets on localhost are normally fine, as long as they don't use > getaddrinfo() (I've been thinking about adding support for that). Right.. So the patch is not needed. Kind regards, Roel Janssen From unknown Tue Jun 24 06:54:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 18 May 2018 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator