Message ID | 20230728133817.893883-3-masahiro.yamada@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=sqbDajPO; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RC7yP45fKz20G0 for <incoming@patchwork.ozlabs.org>; Fri, 28 Jul 2023 23:38:52 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1qPNg5-0001Zk-49; Fri, 28 Jul 2023 13:38:45 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <masahiro.yamada@canonical.com>) id 1qPNfy-0001Vi-TW for kernel-team@lists.ubuntu.com; Fri, 28 Jul 2023 13:38:38 +0000 Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 600833F078 for <kernel-team@lists.ubuntu.com>; Fri, 28 Jul 2023 13:38:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1690551517; bh=ZVs35hW+5CqafFauOkYNLKjAY3s7KFn++cb2B7X2Sm4=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sqbDajPOxqGLd7DMloiaTamR2/hFCfenI1AUu4fCLQO1/jpyoSqQljijtQTUZL2nZ 9vktGVHLoZbN5ROTvxyuQE+4Erud5Q+VIRoaSLXkSsDPvytIAhV3ehMx/1BqJbXkZH pOqkGssNMu0Fd1SQpiWvbtSXk6OmkNXEM3WpuHsDyrm4t0MxSfKzG7I2c9LI+G2yQ4 mBtFy+pHq8WypbwuihCmChyzBWv/2JZASEfUqaerXyYZmxPwNXx9BRvfhQkwqF87Mm 3sCAp6wDGQWdT649sI2x4rbpk7CisxlC5G8jspAci9pOo/xPhErLrcAkl3WHrJYea2 zSsDeNRS6ZELg== Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-1bb962ada0dso13359805ad.2 for <kernel-team@lists.ubuntu.com>; Fri, 28 Jul 2023 06:38:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690551516; x=1691156316; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZVs35hW+5CqafFauOkYNLKjAY3s7KFn++cb2B7X2Sm4=; b=KW4eE1RDyh11Ev1DAFVl8dcIhXDQSAyftJ+6ebsQSyYBY1+QPReOxDNyGcoV6fzVuK in8P5YeK3NFvGf/4lQAKWKZ/vReVfJA8QGbOap0RHupeNuqOm0VOKgaT4KIxhw0HSWNf Fhec2pnU66jfsoUTCBTxEoAa/wVq+ksK4/us0zHgHpb/ktshBVCiPtuWWza5BqFdr/48 7hBY0xnQ0m/+nMqhb4xDA8ZRXa24J8Nw6iuaIuWnpnTyAk3r3mSZWf1DdiflgaQOh9Dl MqTxq0PELwqtLwNzP+0GsizxleX4f85ySJXDyFQ0gtko8QMSbbgtY2I13fFqjmL+Iq8z 80Yw== X-Gm-Message-State: ABy/qLbkic/RI/93UF8dB+l0T5QKHo0O1RvkkDQYUN3gsMnKjIhPoFg/ 2vXMLj6VNCXUe9Y+fbGAy/eSHbVCI/hmwIPA4JA1GZxuU/x5b+QnvhlHjZo0zDOjzzCBJyI2YEO GHfo+8kNGGweQ9BFX7MruHvReMQ057DZUwbDXjFk0aHyZmMcF8w== X-Received: by 2002:a17:902:ea05:b0:1bb:809d:ae72 with SMTP id s5-20020a170902ea0500b001bb809dae72mr1303091plg.33.1690551515906; Fri, 28 Jul 2023 06:38:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlFEjv5dBcaPUTzB/yIDHyzlwI3LKX/rQHKE3Ds4UflCNj+UZLbm0YAKeaMKWre9nhh0DB7ZXw== X-Received: by 2002:a17:902:ea05:b0:1bb:809d:ae72 with SMTP id s5-20020a170902ea0500b001bb809dae72mr1303074plg.33.1690551515503; Fri, 28 Jul 2023 06:38:35 -0700 (PDT) Received: from zoe.. ([2001:f74:8f00:c00:6aff::1002]) by smtp.gmail.com with ESMTPSA id e8-20020a170902b78800b001b6740207d2sm3561794pls.215.2023.07.28.06.38.34 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jul 2023 06:38:35 -0700 (PDT) From: Masahiro Yamada <masahiro.yamada@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [Mantic 3/6] UBUNTU: [Packaging] Fix File exists error in install-arch-headers Date: Fri, 28 Jul 2023 22:38:14 +0900 Message-Id: <20230728133817.893883-3-masahiro.yamada@canonical.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230728133817.893883-1-masahiro.yamada@canonical.com> References: <20230728133817.893883-1-masahiro.yamada@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
[Mantic,1/6] UBUNTU: [Packaging] Add .NOTPARALLEL
|
expand
|
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk index 1f77a787000e..7af0287b6535 100644 --- a/debian/rules.d/2-binary-arch.mk +++ b/debian/rules.d/2-binary-arch.mk @@ -561,7 +561,7 @@ install-arch-headers: ifeq ($(do_libc_dev_package),true) dh_prep -plinux-libc-dev endif - rm -rf $(headers_tmp) + rm -rf $(headers_tmp) $(headers_dir) install -d $(headers_tmp) $(headers_dir)/usr/include/ $(hmake) $(conc_level) headers_install ( cd $(headers_tmp)/install/include/ && \
Our debian build scripts only work in a pristine source tree. If you build the packages second time, the following code mkdir $(headers_dir)/usr/include/$(DEB_HOST_MULTIARCH) ... will fail with this message: mkdir: cannot create directory '...': File exists Irrespective of the error, $(headers_dir) should be removed because garbage files from the previous build might be remaining. Signed-off-by: Masahiro Yamada <masahiro.yamada@canonical.com> --- debian/rules.d/2-binary-arch.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)