[Pbuilder-maint] Bug#333935: bash: FTBFS under pbuilder

Daniel Schepler schepler at math.berkeley.edu
Fri Oct 14 15:15:16 UTC 2005


Package: bash
Version: 3.0-17
Severity: important

When I try to build the latest upload of bash using pbuilder, I get
the error message:

: # see #327477, needed to have HAVE_DEV_STDIN defined
test -c /dev/stdin
make: *** [before-build] Error 1

I traced the problem to the fact that pbuilder runs a shell, passing a
dpkg-buildpackage command line to it via a pipe.  As a result, the
build process runs with /dev/stdin pointing to a pipe (but one which
is already at EOF).

I would suggest that the bash build process should just make sure that
the /dev/stdin link exists, and possibly that /dev/fd functions
correctly.  (Maybe run test -c /dev/stdin </dev/null.)  And if the
bash configure script malfunctions with /dev/stdin pointing to a pipe,
run that with stdin redirected also.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages bash depends on:
ii  base-files                    3.1.9      Debian base system miscellaneous f
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libncurses5                   5.4-9      Shared libraries for terminal hand
ii  passwd                        1:4.0.13-1 change and administer password and

bash recommends no packages.

-- no debconf information




More information about the Pbuilder-maint mailing list