From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail7.windriver.com (mail7.windriver.com [128.224.252.3]) by mail.openembedded.org (Postfix) with ESMTP id 5A82D60608 for ; Mon, 26 Aug 2013 21:05:45 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail7.windriver.com (8.14.5/8.14.3) with ESMTP id r7QL5jVY024702 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 26 Aug 2013 17:05:45 -0400 (EDT) Received: from ala-jslater-lx3.wrs.com (147.11.152.42) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.2.347.0; Mon, 26 Aug 2013 14:05:44 -0700 From: Joe Slater To: Date: Mon, 26 Aug 2013 14:05:44 -0700 Message-ID: <1377551144-21035-1-git-send-email-jslater@windriver.com> X-Mailer: git-send-email 1.7.3.4 MIME-Version: 1.0 Subject: [v2][PATCH 1/1] dpkg: fix configuration issure for mips64 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 21:05:46 -0000 Content-Type: text/plain CQID: 431771 configure cannot determine the proper cpu, os, or architecture for mips64, and possibly other arch's, because of faulty code added to Arch.pm in the latest release from upstream. We remove that code. Signed-off-by: Joe Slater --- meta/recipes-devtools/dpkg/dpkg/arch_pm.patch | 22 ++++++++++++++++++++++ meta/recipes-devtools/dpkg/dpkg_1.17.1.bb | 1 + 2 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/dpkg/dpkg/arch_pm.patch diff --git a/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch b/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch new file mode 100644 index 0000000..cae5f15 --- /dev/null +++ b/meta/recipes-devtools/dpkg/dpkg/arch_pm.patch @@ -0,0 +1,22 @@ +configure cannot determine the proper cpu, os, or +architecture for mips64, and possibly other arch's +because of faulty code added to Arch.pm in the latest +release from upstream. We remove that code. + +Upstream-Status: Pending + +Signed-off-by: Joe Slater + + +--- a/scripts/Dpkg/Arch.pm ++++ b/scripts/Dpkg/Arch.pm +@@ -233,9 +233,6 @@ sub read_triplettable() + (my $dt = $debtriplet) =~ s//$_cpu/; + (my $da = $debarch) =~ s//$_cpu/; + +- next if exists $debarch_to_debtriplet{$da} +- or exists $debtriplet_to_debarch{$dt}; +- + $debarch_to_debtriplet{$da} = $dt; + $debtriplet_to_debarch{$dt} = $da; + } diff --git a/meta/recipes-devtools/dpkg/dpkg_1.17.1.bb b/meta/recipes-devtools/dpkg/dpkg_1.17.1.bb index 9ac2aa7..e436f4e 100644 --- a/meta/recipes-devtools/dpkg/dpkg_1.17.1.bb +++ b/meta/recipes-devtools/dpkg/dpkg_1.17.1.bb @@ -7,6 +7,7 @@ SRC_URI += "file://noman.patch \ file://preinst.patch \ file://fix-timestamps.patch \ file://remove-tar-no-timestamp.patch \ + file://arch_pm.patch \ " SRC_URI[md5sum] = "ece3ae87a099158c17bde95c0036c575" -- 1.7.3.4