[Lsb-messages] /var/www/bzr/lsb/devel/appbat r959: Work around the ICE building lsb-perl on ia64 with a patch from Debian (bug 3513)

Stew Benedict stewb at linux-foundation.org
Thu May 10 16:06:50 UTC 2012


------------------------------------------------------------
revno: 959
committer: Stew Benedict <stewb at linux-foundation.org>
branch nick: appbat
timestamp: Thu 2012-05-10 12:06:50 -0400
message:
  Work around the ICE building lsb-perl on ia64 with a patch from Debian (bug 3513)
added:
  patches/0001-Temporarily-work-around-an-internal-compiler-error-i.patch
modified:
  entities/package
  extras/md5sums
  rpm/lsb-perl.spec
-------------- next part --------------
=== modified file 'entities/package'
--- a/entities/package	2012-04-25 16:16:19 +0000
+++ b/entities/package	2012-05-10 16:06:50 +0000
@@ -38,6 +38,7 @@
 
 <!ENTITY perl-package "perl-5.12.3.tar.bz2">
 <!ENTITY perl-patch "perl-5.12.3.patch"> 
+<!ENITIY perl-ia64-patch "0001-Temporarily-work-around-an-internal-compiler-error-i.patch">
 
 <!ENTITY lynx-package "lynx2.8.7.tar.bz2">
 <!ENTITY lynx-patch "lynx2.8.7.patch">

=== modified file 'extras/md5sums'
--- a/extras/md5sums	2012-04-25 16:16:19 +0000
+++ b/extras/md5sums	2012-05-10 16:06:50 +0000
@@ -75,6 +75,7 @@
 757dd9b80042463d853adc0bbcb200b4  httpd-2.2.0-conf.patch
 07308283b632666f12f55625da3b7ebd  gdbm-1.8.3.patch
 b19feace1ed591f9feff1f58baeb1788  perl-5.12.3.patch
+1d75ddcad4271da109d3d6981f6bd08d  0001-Temporarily-work-around-an-internal-compiler-error-i.patch
 51f26a0237f13667567d079d19b9bd7b  libart_lgpl-2.3.19.patch
 9e79c0519997283808207f9a2a3a5e6f  xpdf-1.01.patch
 a16398d70f9e14f2f3a8674b118ec538  qt-x11-opensource-src-4.2.3.patch

=== added file 'patches/0001-Temporarily-work-around-an-internal-compiler-error-i.patch'
--- a/patches/0001-Temporarily-work-around-an-internal-compiler-error-i.patch	1970-01-01 00:00:00 +0000
+++ b/patches/0001-Temporarily-work-around-an-internal-compiler-error-i.patch	2012-05-10 16:06:50 +0000
@@ -0,0 +1,30 @@
+From 1c9a52aee28caece604ee25b4562943fcc74e636 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Tue, 29 Sep 2009 22:26:22 +0300
+Subject: [PATCH] Temporarily work around an internal compiler error in Devel::PPPort on ia64+gcc-4.3. (Closes: #548943)
+
+---
+ ext/Devel-PPPort/Makefile.PL |    7 +++++++
+ 1 files changed, 7 insertions(+), 0 deletions(-)
+
+diff --git a/ext/Devel-PPPort/Makefile.PL b/ext/Devel-PPPort/Makefile.PL
+index 67eebc1..f1ef7a2 100644
+--- a/ext/Devel-PPPort/Makefile.PL
++++ b/ext/Devel-PPPort/Makefile.PL
+@@ -75,6 +75,13 @@ sub configure
+     push @moreopts, INSTALLDIRS => ($] >= 5.007003 ? 'perl' : 'site');
+   }
+ 
++
++  # temporary Debian hack, see http://bugs.debian.org/548943
++  require Config;
++  if ($Config::Config{archname} =~ /^ia64/) {
++    push @moreopts, OPTIMIZE => '-g -O0';
++  }
++
+   if ($opt{'apicheck'}) {
+     $PL_FILES{'apicheck_c.PL'} = 'apicheck.c';
+     push @C_FILES, qw{ apicheck.c };
+-- 
+1.6.4.3
+

=== modified file 'rpm/lsb-perl.spec'
--- a/rpm/lsb-perl.spec	2012-05-03 14:12:12 +0000
+++ b/rpm/lsb-perl.spec	2012-05-10 16:06:50 +0000
@@ -1,7 +1,7 @@
 Summary: Practical Extraction and Report Language
 Name: lsb-perl
 Version: 5.12.3 
-Release: 2.lsb5
+Release: 3.lsb5
 Vendor: Linux Foundation
 Packager: Appbat Team <lsb-appbat at linux-foundation.org>
 License: Artistic
@@ -14,6 +14,7 @@
 
 Source0: http://ftp.funet.fi/pub/CPAN/src/perl-%{version}.tar.bz2
 Patch0: perl-%{version}.patch
+Patch1: 0001-Temporarily-work-around-an-internal-compiler-error-i.patch
 
 %description
 LSB conforming version of Perl. Perl is a general-purpose programming 
@@ -24,6 +25,9 @@
 %prep
 %setup -q -n perl-%{version}
 %patch0 -p0 -b .lsbcc
+cd cpan
+%patch1 -p2 -b .no-ice
+cd ..
 
 %build
 # common environment settings
@@ -107,6 +111,9 @@
 %attr ( -   root root ) /opt/lsb/appbat
 
 %changelog
+* Thu May 10 2012 Stew Benedict <stewb at linux-foundation.org>
+- add patch from Debian to prevent ICE on IA64 (P1, bug 3513)
+
 * Wed Jun 15 2011 Stew Benedict <stewb at linux-foundation.org>
 - uplift to 5.12.3, rediff P0
 



More information about the lsb-messages mailing list