On Thu, 28 Apr 2005, Andreas Jochens wrote:
Without the redirection of the output of 'dpkg-buildpackage' to
'build.log' the build succeeds. However, autobuilding is not
possible because of this.
Autobuilding is possible so long as the autobuild environment provides
/dev/ptmx and /dev/pts/*, as I believe they are required to do.
The command "fakeroot dpkg-buildpackage &> build.log" works for me.
(build.log attached)
dpkg-buildpackage: source package is dbishell
dpkg-buildpackage: source version is 0.8.9-7
dpkg-buildpackage: source maintainer is Vivek Dasmohapatra <[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture is i386
debian/rules clean
if [ -f "debian/patches/050-Makefile.patch.pdone" ]; then patch -R -p0 <
debian/patches/050-Makefile.patch && rm -f
"debian/patches/050-Makefile.patch.pdone"; fi
patching file Makefile
if [ -f "debian/patches/060-dbishell.patch.pdone" ]; then patch -R -p0 <
debian/patches/060-dbishell.patch && rm -f
"debian/patches/060-dbishell.patch.pdone"; fi
patching file dbishell
if [ -f "debian/patches/070-help-bareword.patch.pdone" ]; then patch -R -p0 <
debian/patches/070-help-bareword.patch && rm -f
"debian/patches/070-help-bareword.patch.pdone"; fi
patching file DBIShell/dr/DEFAULT.pm
patching file DBIShell/dr/mysql.pm
if [ -f "debian/patches/075-term-ctl-csi-maybe.patch.pdone" ]; then patch -R
-p0 < debian/patches/075-term-ctl-csi-maybe.patch && rm -f
"debian/patches/075-term-ctl-csi-maybe.patch.pdone"; fi
patching file DBIShell/Term_CTL.pm
dh_testdir
dh_testroot
rm -f build-stamp
/usr/bin/make clean
make[1]: Entering directory `/tmp/dbishell-0.8.9'
rm -f ./.cf.cache
make[1]: Leaving directory `/tmp/dbishell-0.8.9'
dh_clean
dpkg-source -b dbishell-0.8.9
dpkg-source: building dbishell using existing dbishell_0.8.9.orig.tar.gz
dpkg-source: building dbishell in dbishell_0.8.9-7.diff.gz
dpkg-source: building dbishell in dbishell_0.8.9-7.dsc
debian/rules build
patch -p0 < debian/patches/050-Makefile.patch && touch
debian/patches/050-Makefile.patch.pdone
patching file Makefile
patch -p0 < debian/patches/060-dbishell.patch && touch
debian/patches/060-dbishell.patch.pdone
patching file dbishell
patch -p0 < debian/patches/070-help-bareword.patch && touch
debian/patches/070-help-bareword.patch.pdone
patching file DBIShell/dr/DEFAULT.pm
patching file DBIShell/dr/mysql.pm
patch -p0 < debian/patches/075-term-ctl-csi-maybe.patch && touch
debian/patches/075-term-ctl-csi-maybe.patch.pdone
patching file DBIShell/Term_CTL.pm
dh_testdir
/usr/bin/make
make[1]: Entering directory `/tmp/dbishell-0.8.9'
Looking for supported readline implementation
TIOCSPTLCK: Invalid argument
EINVAL: kludging ioctls
ioctl() calls succeeded: 4/0
TTY /dev/pts/4 opened
TIOCGWINSZ succeeded
*TTY is a pty
fd of TTY is: 4
readline == Term::ReadLine::Perl
Checking bundled DBIShell modules
DBIShell::Term_CTL Ok
DBIShell::UTIL Ok
DBIShell::Help Ok
DBIShell::Fixup Ok
DBIShell::Readline Ok
DBIShell Ok
Checking basic Perl module dependencies
DBI Ok
Term::ReadKey Ok
Term::ReadLine Ok
Getopt::Long Ok
Checking included DB drivers
DBIShell::dr::DEFAULT Ok
DBIShell::dr::MSSQL_A Ok
DBIShell::dr::mysql Ok
DBIShell::dr::Oracle Ok
DBIShell::dr::Pg Ok
DBIShell::dr::Sybase Ok
Checking included help modules
DBIShell::help::mysql Ok
DBIShell::help::Oracle Ok
./dbishell syntax OK
make[1]: Leaving directory `/tmp/dbishell-0.8.9'
touch build-stamp
debian/rules binary
dh_testdir
/usr/bin/make
make[1]: Entering directory `/tmp/dbishell-0.8.9'
Looking for supported readline implementation
TIOCSPTLCK: Invalid argument
EINVAL: kludging ioctls
ioctl() calls succeeded: 4/0
TTY /dev/pts/4 opened
TIOCGWINSZ succeeded
*TTY is a pty
fd of TTY is: 4
readline == Term::ReadLine::Perl
Checking bundled DBIShell modules
DBIShell::Term_CTL Ok
DBIShell::UTIL Ok
DBIShell::Help Ok
DBIShell::Fixup Ok
DBIShell::Readline Ok
DBIShell Ok
Checking basic Perl module dependencies
DBI Ok
Term::ReadKey Ok
Term::ReadLine Ok
Getopt::Long Ok
Checking included DB drivers
DBIShell::dr::DEFAULT Ok
DBIShell::dr::MSSQL_A Ok
DBIShell::dr::mysql Ok
DBIShell::dr::Oracle Ok
DBIShell::dr::Pg Ok
DBIShell::dr::Sybase Ok
Checking included help modules
DBIShell::help::mysql Ok
DBIShell::help::Oracle Ok
./dbishell syntax OK
make[1]: Leaving directory `/tmp/dbishell-0.8.9'
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
echo -e "\n\n\n\n\n" | perl ./installer.pl /usr/bin/perl /usr /usr/share/perl5
`pwd`/debian/dbishell
Where does your perl live? [/usr/bin/perl] : Where should I install dbishell?
[/usr] : Where should I install the dbishell script? [/usr/bin] : Where should
I install the dbishell libs? [/usr/share/perl5] : Where should I install the
dbishell docs? [/usr/share/doc/dbishell] : Where should I install extra data
files? [/usr/share/dbishell] : chmod -x
debian/dbishell/usr/share/perl5/DBIShell.pm
rm -f debian/dbishell/usr/share/doc/dbishell/LICENSE
mkdir -p debian/dbishell/usr/share/man/man1
pod2man \
"--center=Debian GNU/Linux" \
"--date=`date '+%B %d %Y'`" \
--section=1 \
"--release=Version "`dpkg-parsechangelog | grep ^Version: | \
cut -f2 '-d '` dbishell \
debian/dbishell/usr/share/man/man1/dbishell.1
rm -f debian/dbishell/usr/bin/dbigtk
rm -fR debian/dbishell/usr/share/dbishell
rm -fR debian/dbishell/usr/share/perl5/Gtk
dh_testdir
dh_testroot
dh_installmanpages
dh_installmanpages: This program is deprecated, switch to dh_installman.
dh_installmenu
dh_installdocs
dh_installchangelogs ChangeLog
dh_link
dh_perl
dh_installdebconf
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `dbishell' in `../dbishell_0.8.9-7_all.deb'.
signfile dbishell_0.8.9-7.dsc
gpg: /home/vivek/.gnupg/options:82: deprecated option "honor-http-proxy"
gpg: please use "keyserver-options honor-http-proxy" instead
gpg: skipped `Vivek Dasmohapatra <[EMAIL PROTECTED]>': unusable secret key
gpg: [stdin]: clearsign failed: unusable secret key