From nobody Mon Apr 29 04:03:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1568029402; cv=none; d=zoho.com; s=zohoarc; b=KaSrG+FLRK7CgWoPZqnppLjxJyw8RjpR5x/aSKRsmmY+K9SXI6Q8FQ7Vh/OAR71tgycR82/SLl9Iqlf1x7zMqJdqmHCNFOeXP/N7IYP2URaqE6ltNOAZhbWOPmlA32WSq4v4nP4pZaMJkUVqet9k1eo57KdakD1oCKkfSFATIm0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568029402; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=y4AWb77QkjKjbHJERD/B2CIg2QEHWkCYs9dY7bv0pP0=; b=fqNt/g7W01r3P63t/qezue3NSvmGs9aZ1wMXdj2Ee6epCbAhYm8b0SvfpMha7r8buXIaUxxaYMOxZ0PFtNHhwxI4YxzU4XDvlittXU6EnMpjzNtFdmKUT7QnLFAE5KdFtF5jbm4MIYWCpUY1K/GLBGdM8AbonhmQKDctMHbAA2M= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1568029401875392.35857718475336; Mon, 9 Sep 2019 04:43:21 -0700 (PDT) Received: from localhost ([::1]:55318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7I4j-0005QI-Jr for importer@patchew.org; Mon, 09 Sep 2019 07:43:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41014) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7I3a-0004hn-Rd for qemu-devel@nongnu.org; Mon, 09 Sep 2019 07:42:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7I3W-0000vN-IU for qemu-devel@nongnu.org; Mon, 09 Sep 2019 07:42:06 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:40033) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i7I3W-0000ti-1K for qemu-devel@nongnu.org; Mon, 09 Sep 2019 07:42:02 -0400 Received: by mail-wm1-x342.google.com with SMTP id t9so14254171wmi.5 for ; Mon, 09 Sep 2019 04:42:01 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id x6sm22784525wmf.38.2019.09.09.04.42.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 04:42:00 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 6E2F31FF87; Mon, 9 Sep 2019 12:41:59 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=y4AWb77QkjKjbHJERD/B2CIg2QEHWkCYs9dY7bv0pP0=; b=C0MPg58o9PsSMpqYLfwGE0iFkyP710OqGP7xifjdyaQkpkFAT2cgsfa0DGh7BYmWwc dptMFrucB9RwVJv/XrrN/dNVsiy/pKvZMwpEaNsf5FdCRJOLfF9M7mO9TI26ZLuvBmPZ 6NXkDewLohCZUCNHf72fQB0NrHoWje5UT+d4y4h5Av9IgexmmJmsKGrBr2QQUwC0T8JP WYRExT0xwN5qHPsVlPWKe3ALvUa/UMJCfocARf3u/qzgWURqotlvu5lDI23/2cByDKBf 1XpeI5tT2WlyqBJokUvCBniiH/RV64Av2vblbtVcLvTSB1SDAD7M5O3PpROeX7mAvEfx 1LHQ== 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:date:message-id:mime-version :content-transfer-encoding; bh=y4AWb77QkjKjbHJERD/B2CIg2QEHWkCYs9dY7bv0pP0=; b=K55su83aWdSLoHdeEoC32SbWWNbs1MDTBOMx5x5W31z3flR3zfYeLKhHoUspeMiUUD mZAzMFmrDUIy5qz1+FjjW8ukPS2ij75TVMWKKdQU8dZrOk7dsKtSz288mmVQlbk+UMKL tQ845tlgqE1mQMCWQ+w9SWXwvtYTIgl7WYq7sorxjDrUrtJzUH/OaKVVQpBNjBvdPFz9 2/rA4TBdZUrCzozMlTfe+JfBYJDB1hqGmwDy9/DDKqRF76+yCfXFiHkXyb8UqXJqTsMy 0zbXCZXscCv0zqWRChZ57evQ+VTPJKr2VZ4qnwcH+OgAzALbnnZvM78/qHqWUadMSZfT ochg== X-Gm-Message-State: APjAAAVYiPD2f7Mz5G3UqSb3iLw09dYi0E/mF4EDzsnHM8e56GKWAZAV rb3NRqzvDmvG4jRz/bsEwFLmVg== X-Google-Smtp-Source: APXvYqzmswVBwwrfxeW+MNgRaOiUSYiqeyw23Us6uXRlWkIREm3YlSdEOrOvq6x2tESXQtiwEe4Eag== X-Received: by 2002:a1c:f917:: with SMTP id x23mr19280587wmh.101.1568029320684; Mon, 09 Sep 2019 04:42:00 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Mon, 9 Sep 2019 12:41:51 +0100 Message-Id: <20190909114151.32404-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 Subject: [Qemu-devel] [PATCH] tests/docker: pin powerpc-user-cross to a snapshot X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Now Jessie has entered LTS the powerpc architecture has been dropped so we can no longer build the image from scratch. However we can use the snapshot archive to build the last working version. This now only lives on an example of setting up a user-cross image as at least on x86-64 we can use the Buster packaged cross compiler for building test images. Suggested-by: Philippe Mathieu-Daud=C3=A9 Cc: David Gibson Signed-off-by: Alex Benn=C3=A9e --- tests/docker/Makefile.include | 4 +++- tests/docker/dockerfiles/debian-powerpc-user-cross.docker | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index b6c04059502..b06716ff71c 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -71,7 +71,8 @@ docker-binfmt-image-debian-%: $(DOCKER_FILES_DIR)/debian-= bootstrap.docker $(if $(wildcard $(EXECUTABLE)), \ $(call quiet-command, \ DEB_ARCH=3D$(DEB_ARCH) \ - DEB_TYPE=3D$(DEB_TYPE) \ + DEB_TYPE=3D$(DEB_TYPE) \ + $(if $(DEB_URL),DEB_URL=3D$(DEB_URL),) \ $(DOCKER_SCRIPT) build qemu:debian-$* $< \ $(if $V,,--quiet) $(if $(NOCACHE),--no-cache) \ $(if $(NOUSER),,--add-current-user) \ @@ -130,6 +131,7 @@ DOCKER_PARTIAL_IMAGES +=3D fedora-cris-cross # broken so we need a qemu-linux-user for this target docker-binfmt-image-debian-powerpc-user: DEB_ARCH =3D powerpc docker-binfmt-image-debian-powerpc-user: DEB_TYPE =3D jessie +docker-binfmt-image-debian-powerpc-user: DEB_URL =3D http://snapshot.debia= n.org/archive/debian/20180615T211437Z docker-binfmt-image-debian-powerpc-user: EXECUTABLE =3D ${BUILD_DIR}/ppc-l= inux-user/qemu-ppc docker-image-debian-powerpc-user-cross: docker-binfmt-image-debian-powerpc= -user DOCKER_USER_IMAGES +=3D debian-powerpc-user diff --git a/tests/docker/dockerfiles/debian-powerpc-user-cross.docker b/te= sts/docker/dockerfiles/debian-powerpc-user-cross.docker index 6938a845ee2..83749b0abb8 100644 --- a/tests/docker/dockerfiles/debian-powerpc-user-cross.docker +++ b/tests/docker/dockerfiles/debian-powerpc-user-cross.docker @@ -8,8 +8,14 @@ # debootstrapped qemu:debian-powerpc-user but doesn't need any extra # magic once it is setup. # +# It can be used to build old versions of QEMU, current versions need +# newer dependencies than Jessie provides. +# FROM qemu:debian-powerpc-user =20 RUN echo man-db man-db/auto-update boolean false | debconf-set-selections RUN apt-get update && \ - DEBIAN_FRONTEND=3Dnoninteractive apt-get build-dep -yy qemu + DEBIAN_FRONTEND=3Dnoninteractive apt-get build-dep -yy qemu + +ENV QEMU_CONFIGURE_OPTS --disable-werror +ENV DEF_TARGET_LIST powerpc-softmmu,arm-linux-user,aarch64-linux-user --=20 2.20.1