[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#326581: [hppa] glibc-2.3.5 lets python builds FTBFS



tags 326581 patch
thanks

I hope people aren't holding out for a fix for glibc to build with gcc-4.0
on hppa, here; this bug seems to be affecting not just python builds but
also perl builds, which holds up roughly all of testing:

<http://buildd.debian.org/fetch.php?&pkg=perl&ver=5.8.7-7&arch=hppa&stamp=1130231983&file=log&as=raw>

This version of perl builds fine in the testing chroot on paer, and running
the thread test against the unstable glibc using the exact same perl binary
errors out.

Attached is a trivial (untested) patch to make glibc build with gcc-3.4 on
hppa.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/
diff -u glibc-2.3.5/debian/control glibc-2.3.5/debian/control
--- glibc-2.3.5/debian/control
+++ glibc-2.3.5/debian/control
@@ -1,7 +1,7 @@
 Source: glibc
 Section: libs
 Priority: required
-Build-Depends: gettext (>= 0.10.37-1), make (>= 3.80-1), dpkg-dev (>= 1.13.5), debianutils (>= 1.13.1), tar (>= 1.13.11), bzip2, texinfo (>= 4.0), linux-kernel-headers (>= 2.6.13+0rc3-2) [!hurd-i386], mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], texi2html, file, gcc-4.0 [!powerpc !m68k !hppa !hurd-i386], gcc-4.0 (>= 4.0.1-5) [hppa], gcc-3.4 (>= 3.4.4-6) [powerpc], gcc-3.4 [m68k], gcc-3.3 [hurd-i386], autoconf, binutils (>= 2.14.90.0.7-5), sed (>= 4.0.5-4), gawk, debhelper (>= 4.1.76), libc6-dev-amd64 [i386]
+Build-Depends: gettext (>= 0.10.37-1), make (>= 3.80-1), dpkg-dev (>= 1.13.5), debianutils (>= 1.13.1), tar (>= 1.13.11), bzip2, texinfo (>= 4.0), linux-kernel-headers (>= 2.6.13+0rc3-2) [!hurd-i386], mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], texi2html, file, gcc-4.0 [!powerpc !m68k !hppa !hurd-i386], gcc-3.4 (>= 3.4.4-6) [powerpc], gcc-3.4 [m68k hppa], gcc-3.3 [hurd-i386], autoconf, binutils (>= 2.14.90.0.7-5), sed (>= 4.0.5-4), gawk, debhelper (>= 4.1.76), libc6-dev-amd64 [i386]
 Build-Depends-Indep: perl, po-debconf
 Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
 Uploaders: Ben Collins <bcollins@debian.org>, GOTO Masanori <gotom@debian.org>, Philip Blundell <pb@nexus.co.uk>, Jeff Bailey <jbailey@raspberryginger.com>, Daniel Jacobowitz <dan@debian.org>
diff -u glibc-2.3.5/debian/changelog glibc-2.3.5/debian/changelog
--- glibc-2.3.5/debian/changelog
+++ glibc-2.3.5/debian/changelog
@@ -1,3 +1,10 @@
+glibc (2.3.5-7.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build-depend on gcc-3.4 on hppa (closes: #326581).
+
+ -- Steve Langasek <vorlon@spohr.debian.org>  Thu, 27 Oct 2005 04:15:46 -0700
+
 glibc (2.3.5-7) unstable; urgency=low
 
   [ GOTO Masanori ]
diff -u glibc-2.3.5/debian/sysdeps/hppa.mk glibc-2.3.5/debian/sysdeps/hppa.mk
--- glibc-2.3.5/debian/sysdeps/hppa.mk
+++ glibc-2.3.5/debian/sysdeps/hppa.mk
@@ -1,3 +1,7 @@
+# workaround for problems when building with gcc-4.0.
+CC = gcc-3.4
+BUILD_CC = gcc-3.4
+
 # hppa64 needs symlink /usr/hppa64-linux/include to /usr/include
 # (See: Bug#239020)  In future we may drop this file with supporting hppa64.
 

Attachment: signature.asc
Description: Digital signature


Reply to: