Skip to contentSkip to conversation

dpkg: fix configuration issure for mips64

PATCH Superseded Joe Slater 2 participants 2 messages Aug 26, 2013

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 dpkg: fix configuration issure for mips64

CQID: 431771

configure cannot determine the proper cpu, os, or architeture 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.

---
 meta/recipes-devtools/dpkg/dpkg/arch_pm.patch |   19 +++++++++++++++++++
 meta/recipes-devtools/dpkg/dpkg_1.17.1.bb     |    1 +
 2 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-devtools/dpkg/dpkg/arch_pm.patch
meta/recipes-devtools/dpkg/dpkg/arch_pm.patch new file +19 -0
new file mode 100644
index 0000000..2ce5ef3
@@ -0,0 +1,19 @@
+configure cannot determine the proper cpu, os, or
+architeture 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
+
+--- a/scripts/Dpkg/Arch.pm
++++ b/scripts/Dpkg/Arch.pm
+@@ -233,9 +233,6 @@ sub read_triplettable()
+ 		    (my $dt = $debtriplet) =~ s/<cpu>/$_cpu/;
+ 		    (my $da = $debarch) =~ s/<cpu>/$_cpu/;
+ 
+-		    next if exists $debarch_to_debtriplet{$da}
+-		         or exists $debtriplet_to_debarch{$dt};
+-
+ 		    $debarch_to_debtriplet{$da} = $dt;
+ 		    $debtriplet_to_debarch{$dt} = $da;
+ 		}
meta/recipes-devtools/dpkg/dpkg_1.17.1.bb +1 -0
index 9ac2aa7..e436f4e 100644
@@ -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"
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 20 lines · Joe Slater

CQID: 431771

configure cannot determine the proper cpu, os, or architeture 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.

---
  meta/recipes-devtools/dpkg/dpkg/arch_pm.patch |   19 +++++++++++++++++++
  meta/recipes-devtools/dpkg/dpkg_1.17.1.bb     |    1 +
  2 files changed, 20 insertions(+), 0 deletions(-)

create mode 100644 meta/recipes-devtools/dpkg/dpkg/arch_pm.patch

meta/recipes-devtools/dpkg/dpkg/arch_pm.patch new file +0 -0
new file mode 100644
index 0000000..2ce5ef3

meta/recipes-devtools/dpkg/dpkg/arch_pm.patch line 7

Quoted 7 lines
meta/recipes-devtools/dpkg/dpkg/arch_pm.patch new file +7 -0
@@ -0,0 +1,19 @@
+configure cannot determine the proper cpu, os, or
+architeture 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
+

Should be Upstream-Status: Pending

and no Signed-off-by:

Sau!

Quoted 25 lines
meta/recipes-devtools/dpkg/dpkg/arch_pm.patch new file +12 -0
+--- a/scripts/Dpkg/Arch.pm
++++ b/scripts/Dpkg/Arch.pm
+@@ -233,9 +233,6 @@ sub read_triplettable()
+ 		    (my $dt = $debtriplet) =~ s/<cpu>/$_cpu/;
+ 		    (my $da = $debarch) =~ s/<cpu>/$_cpu/;
+
+-		    next if exists $debarch_to_debtriplet{$da}
+-		         or exists $debtriplet_to_debarch{$dt};
+-
+ 		    $debarch_to_debtriplet{$da} = $dt;
+ 		    $debtriplet_to_debarch{$dt} = $da;
+ 		}
meta/recipes-devtools/dpkg/dpkg_1.17.1.bb +1 -0
index 9ac2aa7..e436f4e 100644
@@ -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"