From nobody Thu Apr 18 12:24:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1581355493590892.231786098496; Mon, 10 Feb 2020 09:24:53 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-31-UmmKOITKN-CuUBztcPCEDA-1; Mon, 10 Feb 2020 12:24:30 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A2762800D55; Mon, 10 Feb 2020 17:24:24 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7C2BA89F0A; Mon, 10 Feb 2020 17:24:24 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 07EFC866D6; Mon, 10 Feb 2020 17:24:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 01AHLJgo028227 for ; Mon, 10 Feb 2020 12:21:19 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1F7125C107; Mon, 10 Feb 2020 17:21:19 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.43.2.246]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 99F8E5C10B for ; Mon, 10 Feb 2020 17:21:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581355492; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=HiqJHJLA2Z5MGxsOS3DTR5J7OSGA/EiNpbK5Yea53wQ=; b=ALwkF4ybs2SlgL5KmG5jvQBMwBqKZwK3oduGExPMLvPyv7W7bY/bTu2fNh8ZVMYqDpio8m PG+6q/LE+gVyzgAM6FU8/IFTxUDafeaymoCbLLGwNMI71FoLtKfmgIjGtkQ5scpoFtEmgK T9oVNyCVV75B1binwrais8CcXxXh2DA= From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 1/2] ci: Make container environment available to scripts Date: Mon, 10 Feb 2020 18:21:12 +0100 Message-Id: <20200210172113.53965-2-abologna@redhat.com> In-Reply-To: <20200210172113.53965-1-abologna@redhat.com> References: <20200210172113.53965-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: UmmKOITKN-CuUBztcPCEDA-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" For container images targeted at cross-building, we bake a small amount of architecture-specific information in the environment so that builds can work as expected without requiring additional work from the user; unfortunately this information got lost as soon as we called sudo. Explicitly allow it. Signed-off-by: Andrea Bolognani --- ci/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci/Makefile b/ci/Makefile index acb655941c..03799924b4 100644 --- a/ci/Makefile +++ b/ci/Makefile @@ -220,6 +220,8 @@ ci-run-command@%: ci-prepare-tree --login \ --user=3D"#$(CI_UID)" \ --group=3D"#$(CI_GID)" \ + CONFIGURE_OPTS=3D"$$CONFIGURE_OPTS" \ + PKG_CONFIG_LIBDIR=3D"$$PKG_CONFIG_LIBDIR" \ CI_CONT_SRCDIR=3D"$(CI_CONT_SRCDIR)" \ CI_CONT_BUILDDIR=3D"$(CI_CONT_BUILDDIR)" \ CI_SMP=3D"$(CI_SMP)" \ --=20 2.24.1 From nobody Thu Apr 18 12:24:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1581355438282505.9165561827315; Mon, 10 Feb 2020 09:23:58 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-325-gwtOL3YtPtGfhy6rqQWDIA-1; Mon, 10 Feb 2020 12:23:52 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CE6B996D43; Mon, 10 Feb 2020 17:23:46 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 991745C10B; Mon, 10 Feb 2020 17:23:45 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id E3537866C1; Mon, 10 Feb 2020 17:23:43 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 01AHLJCr028232 for ; Mon, 10 Feb 2020 12:21:19 -0500 Received: by smtp.corp.redhat.com (Postfix) id E5CCD5C108; Mon, 10 Feb 2020 17:21:19 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.43.2.246]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6CDF75C107 for ; Mon, 10 Feb 2020 17:21:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581355437; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Sy6mRKL2b1uG2lKSZr6HDiUWYe6sEXwM/OmzcOFD4/8=; b=KLjXjHPuoHjx+66l0pfaCu6rmZtVnhjdfPtRUUK61zisuu3poMzkUmYrQT7WvtIm7mkkjy eKiRNttVrWnVtRR7E2xcH4SdBvwmqEfAhSZoWbH92VkxYalRbXUB+UPpD8PSpYCMccnqgL U2qjwP3HCAd3NISnAZZqzPJiZ9I0r34= From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 2/2] travis: Use dedicated images for MinGW builds Date: Mon, 10 Feb 2020 18:21:13 +0100 Message-Id: <20200210172113.53965-3-abologna@redhat.com> In-Reply-To: <20200210172113.53965-1-abologna@redhat.com> References: <20200210172113.53965-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: gwtOL3YtPtGfhy6rqQWDIA-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Now that we treat MinGW like any other cross-build target, we should update our Travis CI configuration. Signed-off-by: Andrea Bolognani --- This patch needs https://www.redhat.com/archives/libvir-list/2020-February/msg00409.html to be merged into libvirt-jenkins-ci and the corresponding container images to be regenerated. .travis.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index b243e3d5c4..f400f76118 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,17 +56,15 @@ matrix: - services: - docker env: - - IMAGE=3D"fedora-30" - - MINGW=3D"mingw32" + - IMAGE=3D"fedora-30-cross-mingw32" script: - - make -C ci/ ci-build@$IMAGE CI_CONFIGURE=3D"$MINGW-configure" + - make -C ci/ ci-build@$IMAGE - services: - docker env: - - IMAGE=3D"fedora-30" - - MINGW=3D"mingw64" + - IMAGE=3D"fedora-30-cross-mingw64" script: - - make -C ci/ ci-build@$IMAGE CI_CONFIGURE=3D"$MINGW-configure" + - make -C ci/ ci-build@$IMAGE - compiler: clang language: c os: osx --=20 2.24.1