gcc-4.0_4.0.1-9(powerpc/unstable): fails to build without deprecated BSD ptys

Bug #22290 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
gcc-4.0 (Debian)
Fix Released
Unknown
gcc-4.0 (Ubuntu)
Invalid
High
Matthias Klose

Bug Description

Automatically imported from Debian bug report #329715 http://bugs.debian.org/329715

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #329715 http://bugs.debian.org/329715

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.9 KiB)

Message-ID: <email address hidden>
Date: Thu, 22 Sep 2005 16:08:56 -0700
From: Ryan Murray <email address hidden>
To: <email address hidden>
Subject: gcc-4.0_4.0.1-9(powerpc/unstable): fails to build without deprecated BSD ptys

Package: gcc-4.0
Version: 4.0.1-9
Severity: serious

There was an error while trying to autobuild your package:

> Automatic build of gcc-4.0_4.0.1-9 on voltaire by sbuild/powerpc 65
> Build started at 20050922-1710

[...]

> ** Using build dependencies supplied by package:
> Build-Depends: dpkg-dev (>=3D 1.13.9), libc6.1-dev (>=3D 2.3.2.ds1-16) [a=
lpha ia64] | libc0.3-dev (>=3D 2.3.2.ds1-16) | libc0.1-dev (>=3D 2.3.2.ds1-=
16) | libc12-dev (>=3D 2.3.2.ds1-16) | libc6-dev (>=3D 2.3.2.ds1-16), libc6=
-dev-sparc64 [sparc], libc6-dev-s390x [s390], libc6-dev-i386 [amd64] | ia32=
-libs-dev [amd64], libc6-dev-powerpc [ppc64], libc6-dev-ppc64 [powerpc], li=
b32gcc1 [amd64 ppc64], lib64gcc1 [i386 powerpc sparc s390], libc6-dev-amd64=
 [i386] | amd64-libs-dev (>=3D 1.2) [i386], libunwind7-dev (>=3D 0.98.5-6) =
[ia64], libatomic-ops-dev [ia64], m4, autoconf, automake1.9, libtool, autog=
en, gawk, dejagnu (>=3D 1.4.3) [!hurd-any !hurd-i386], expect-tcl8.3 [hppa]=
 | expect [hppa], expect (>=3D 5.38.0) [!hppa !hurd-any !hurd-i386], bzip2,=
 binutils (>=3D 2.16.1) | binutils-multiarch (>=3D 2.16.1), binutils-hppa64=
 (>=3D 2.16.1) [hppa], debhelper (>=3D 4.1), gperf (>=3D 3.0.1), bison (>=
=3D 1:1.875a-1), flex, gettext, texinfo (>=3D 4.3), zlib1g-dev, libgc-dev [=
!avr !alpha !amd64 !arm !hppa !i386 !ia64 !m68k !mips !mipsel !powerpc !s39=
0 !sparc !knetbsd-any !knetbsd-i386], gnat-4.0 [!alpha !arm !m68k !sh3 !sh3=
eb !sh4 !sh4eb !kfreebsd-any !knetbsd-any !netbsd-any !kfreebsd-i386 !knetb=
sd-i386 !netbsd-i386 !hurd-any !hurd-i386] | gnat-3.4 [!alpha !arm !m68k !s=
h3 !sh3eb !sh4 !sh4eb !kfreebsd-any !knetbsd-any !netbsd-any !kfreebsd-i386=
 !knetbsd-i386 !netbsd-i386 !hurd-any !hurd-i386] | gnat-3.3 [!alpha !arm !=
m68k !sh3 !sh3eb !sh4 !sh4eb !kfreebsd-any !knetbsd-any !netbsd-any !kfreeb=
sd-i386 !knetbsd-i386 !netbsd-i386 !hurd-any !hurd-i386], libmpfr-dev [!m68=
k !avr], locales [!hurd-i386 !knetbsd-i386 !netbsd-i386 !hurd-any !knetbsd-=
any !netbsd-any], procps [!hurd-any !hurd-i386], sharutils, xlibs-dev [!mip=
s !mipsel !knetbsd-any !netbsd-any !knetbsd-i386 !netbsd-i386], libgtk2.0-d=
ev (>=3D 2.4.4-2) [!mips !mipsel !knetbsd-any !netbsd-any !knetbsd-i386 !ne=
tbsd-i386], libart-2.0-dev [!mips !mipsel !knetbsd-any !netbsd-any !knetbsd=
-i386 !netbsd-i386], libcairo2-dev [!mips !mipsel !knetbsd-any !netbsd-any =
!knetbsd-i386 !netbsd-i386], realpath (>=3D 1.9.12), chrpath, lsb-release, =
dash [hppa]

[...]

> Will build the Fortran 95 compiler.
> Will build the Java compiler.
> Will not build the Pascal compiler: disabled for 4.0
> Will build the Ada compiler.
> Will build the shared Ada libraries.
> Will build the Treelang compiler.
> Will build the FFI library.
> Will run the testsuite.
> Will run the testsuite with -m64: line 14: build/runcheck: cannot execute=
 binary file
>=20
> device files /dev/pty* do not exist, the testsuite fail.
> please install the missing files: cd /dev && ./MAKEDEV pty
> make[...

Read more...

Revision history for this message
In , Matthias Klose (doko-cs) wrote : Re: Bug#329715: gcc-4.0_4.0.1-9(powerpc/unstable): fails to build without deprecated BSD ptys

Ryan Murray writes:
> A full build log can be found at:
> http://buildd.debian.org/build.php?arch=powerpc&pkg=gcc-4.0&ver=4.0.1-9
>
> /dev/pty* are only used with BSD style ptys. Linux 2.6 has named them
> as CONFIG_LEGACY_PTYS, to be removed at some point. Instead of looking for
> the old /dev/pty*, you should instead attempt to open a pty, and then close it,
> as this will also catch the case where /dev/pty* exists, but the support does
> not exist in the kernel.
>
> You could also look for a mounted /dev/pts filesystem and a valid /dev/ptmx,
> but I think opening a pty with the libC functions is probably best...

well, on m68k, a mounted /dev/pts didn't help. Could you provide such
a test?

    Matthias

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 24 Sep 2005 01:58:25 +0200
From: Matthias Klose <email address hidden>
To: Ryan Murray <email address hidden>, <email address hidden>
Subject: Re: Bug#329715: gcc-4.0_4.0.1-9(powerpc/unstable): fails to build without deprecated BSD
 ptys

Ryan Murray writes:
> A full build log can be found at:
> http://buildd.debian.org/build.php?arch=powerpc&pkg=gcc-4.0&ver=4.0.1-9
>
> /dev/pty* are only used with BSD style ptys. Linux 2.6 has named them
> as CONFIG_LEGACY_PTYS, to be removed at some point. Instead of looking for
> the old /dev/pty*, you should instead attempt to open a pty, and then close it,
> as this will also catch the case where /dev/pty* exists, but the support does
> not exist in the kernel.
>
> You could also look for a mounted /dev/pts filesystem and a valid /dev/ptmx,
> but I think opening a pty with the libC functions is probably best...

well, on m68k, a mounted /dev/pts didn't help. Could you provide such
a test?

    Matthias

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

Our version builds on our buildd.

Revision history for this message
In , Matthias Klose (doko) wrote : Bug#329715: fixed in gcc-4.0 4.0.2-1
Download full text (12.9 KiB)

Source: gcc-4.0
Source-Version: 4.0.2-1

We believe that the bug you reported is fixed in the latest version of
gcc-4.0, which is due to be installed in the Debian FTP archive:

cpp-4.0-doc_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/cpp-4.0-doc_4.0.2-1_all.deb
cpp-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/cpp-4.0_4.0.2-1_i386.deb
fastjar_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/fastjar_4.0.2-1_i386.deb
fixincludes_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/fixincludes_4.0.2-1_i386.deb
g++-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/g++-4.0_4.0.2-1_i386.deb
gcc-4.0-base_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gcc-4.0-base_4.0.2-1_i386.deb
gcc-4.0-doc_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/gcc-4.0-doc_4.0.2-1_all.deb
gcc-4.0-locales_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/gcc-4.0-locales_4.0.2-1_all.deb
gcc-4.0_4.0.2-1.diff.gz
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.2-1.diff.gz
gcc-4.0_4.0.2-1.dsc
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.2-1.dsc
gcc-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.2-1_i386.deb
gcc-4.0_4.0.2.orig.tar.gz
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.2.orig.tar.gz
gcj-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gcj-4.0_4.0.2-1_i386.deb
gfortran-4.0-doc_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/gfortran-4.0-doc_4.0.2-1_all.deb
gfortran-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gfortran-4.0_4.0.2-1_i386.deb
gij-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gij-4.0_4.0.2-1_i386.deb
gnat-4.0-doc_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/gnat-4.0-doc_4.0.2-1_all.deb
gnat-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gnat-4.0_4.0.2-1_i386.deb
gobjc-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gobjc-4.0_4.0.2-1_i386.deb
lib64gcc1_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/lib64gcc1_4.0.2-1_i386.deb
lib64gfortran0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/lib64gfortran0_4.0.2-1_i386.deb
lib64objc1_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/lib64objc1_4.0.2-1_i386.deb
lib64stdc++6-4.0-dbg_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/lib64stdc++6-4.0-dbg_4.0.2-1_i386.deb
lib64stdc++6_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/lib64stdc++6_4.0.2-1_i386.deb
libffi4-dev_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libffi4-dev_4.0.2-1_i386.deb
libffi4_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libffi4_4.0.2-1_i386.deb
libgcc1_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgcc1_4.0.2-1_i386.deb
libgcj-common_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/libgcj-common_4.0.2-1_all.deb
libgcj6-awt_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgcj6-awt_4.0.2-1_i386.deb
libgcj6-common_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/libgcj6-common_4.0.2-1_all.deb
libgcj6-dbg_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgcj6-dbg_4.0.2-1_i386.deb
libgcj6-dev_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgcj6-dev_4.0.2-1_i386.deb
libgcj6-src_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/libgcj6-src_4.0.2-1_all.deb
libgcj6_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgcj6_4.0.2-1_i386.deb
libgfortran0-dev_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgfortran0-dev_4.0.2-1_i386.deb
libgfortran0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgfortran0_4.0.2-1_i386.deb
libgnat-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgnat-4.0_4.0.2-1_i386.deb
libmudflap0-dev_4...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (13.1 KiB)

Message-Id: <email address hidden>
Date: Thu, 29 Sep 2005 16:02:28 -0700
From: Matthias Klose <email address hidden>
To: <email address hidden>
Subject: Bug#329715: fixed in gcc-4.0 4.0.2-1

Source: gcc-4.0
Source-Version: 4.0.2-1

We believe that the bug you reported is fixed in the latest version of
gcc-4.0, which is due to be installed in the Debian FTP archive:

cpp-4.0-doc_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/cpp-4.0-doc_4.0.2-1_all.deb
cpp-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/cpp-4.0_4.0.2-1_i386.deb
fastjar_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/fastjar_4.0.2-1_i386.deb
fixincludes_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/fixincludes_4.0.2-1_i386.deb
g++-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/g++-4.0_4.0.2-1_i386.deb
gcc-4.0-base_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gcc-4.0-base_4.0.2-1_i386.deb
gcc-4.0-doc_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/gcc-4.0-doc_4.0.2-1_all.deb
gcc-4.0-locales_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/gcc-4.0-locales_4.0.2-1_all.deb
gcc-4.0_4.0.2-1.diff.gz
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.2-1.diff.gz
gcc-4.0_4.0.2-1.dsc
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.2-1.dsc
gcc-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.2-1_i386.deb
gcc-4.0_4.0.2.orig.tar.gz
  to pool/main/g/gcc-4.0/gcc-4.0_4.0.2.orig.tar.gz
gcj-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gcj-4.0_4.0.2-1_i386.deb
gfortran-4.0-doc_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/gfortran-4.0-doc_4.0.2-1_all.deb
gfortran-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gfortran-4.0_4.0.2-1_i386.deb
gij-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gij-4.0_4.0.2-1_i386.deb
gnat-4.0-doc_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/gnat-4.0-doc_4.0.2-1_all.deb
gnat-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gnat-4.0_4.0.2-1_i386.deb
gobjc-4.0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/gobjc-4.0_4.0.2-1_i386.deb
lib64gcc1_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/lib64gcc1_4.0.2-1_i386.deb
lib64gfortran0_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/lib64gfortran0_4.0.2-1_i386.deb
lib64objc1_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/lib64objc1_4.0.2-1_i386.deb
lib64stdc++6-4.0-dbg_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/lib64stdc++6-4.0-dbg_4.0.2-1_i386.deb
lib64stdc++6_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/lib64stdc++6_4.0.2-1_i386.deb
libffi4-dev_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libffi4-dev_4.0.2-1_i386.deb
libffi4_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libffi4_4.0.2-1_i386.deb
libgcc1_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgcc1_4.0.2-1_i386.deb
libgcj-common_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/libgcj-common_4.0.2-1_all.deb
libgcj6-awt_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgcj6-awt_4.0.2-1_i386.deb
libgcj6-common_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/libgcj6-common_4.0.2-1_all.deb
libgcj6-dbg_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgcj6-dbg_4.0.2-1_i386.deb
libgcj6-dev_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgcj6-dev_4.0.2-1_i386.deb
libgcj6-src_4.0.2-1_all.deb
  to pool/main/g/gcc-4.0/libgcj6-src_4.0.2-1_all.deb
libgcj6_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgcj6_4.0.2-1_i386.deb
libgfortran0-dev_4.0.2-1_i386.deb
  to pool/main/g/gcc-4.0/libgfortran0-...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.