Quoting akira yamada <[EMAIL PROTECTED]>:


Package: ruby1.8
Version: 1.8.6-2

dpkg-build -rfakeroot fails if byacc is not installed. As 'byacc' is
not listed as a build-dependency in debian/control, building fails.

ruby1.8 build-depends on bison and it does not use bison.

Please show me your build log.
(Logs at http://buildd.debian.org/pkg.cgi?pkg=ruby1.8 may help you.)


I don't understand how 'bison' is involved here. The binary file 'byacc' is in package 'byacc', not in package 'bison'.

[EMAIL PROTECTED]:~/downloads/ruby/ruby1.8-1.8.6$ chmod 755 debian/rules
[EMAIL PROTECTED]:~/downloads/ruby/ruby1.8-1.8.6$ debuild -S -sa
 fakeroot debian/rules clean
test -x debian/rules
test "`id -u`" = 0
for i in ./config.guess ./config.sub  ; do \
                if test -e $i.cdbs-orig ; then \
                        mv $i.cdbs-orig $i ; \
                fi ; \
        done
dh_clean
/usr/bin/make -C . -k distclean
make[1]: Entering directory `/home/pgquiles/downloads/ruby/ruby1.8-1.8.6'
make[1]: *** No rule to make target `distclean'.
make[1]: Leaving directory `/home/pgquiles/downloads/ruby/ruby1.8-1.8.6'
make: [makefile-clean] Error 2 (ignored)
rm -f debian/stamp-makefile-build
rm -f debian/stamp-autotools-files
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/home/pgquiles/downloads/ruby/ruby1.8-1.8.6'
for i in ./config.guess ./config.sub  ; do \
                if test -e $i.cdbs-orig ; then \
                        mv $i.cdbs-orig $i ; \
                fi ; \
        done
make[1]: Leaving directory `/home/pgquiles/downloads/ruby/ruby1.8-1.8.6'
dpatch deapply-all
904_rdoc_dot_version not applied to ./ .
903_rdoc_documents not applied to ./ .
902_extra_search_path not applied to ./ .
901_ri_pager not applied to ./ .
803_soap_massmem not applied to ./ .
802_delegate.rb.patch not applied to ./ .
801_update_sample_README not applied to ./ .
rm -rf debian/patched
rm -f debian/stamp-patched
rm -f \
            .installed.list \
            configure \
            parse.c \
            debian/libruby1.8.postinst \
            debian/libruby1.8.prerm
if [ -f ./config.guess.cdbs-orig ]; \
        then \
            mv ./config.guess.cdbs-orig \
                ./config.guess; \
        fi
if [ -f ./config.sub.cdbs-orig ]; \
        then \
            mv ./config.sub.cdbs-orig \
                ./config.sub; \
        fi
 dpkg-source -b ruby1.8-1.8.6
dpkg-source: building ruby1.8 using existing ruby1.8_1.8.6.orig.tar.gz
dpkg-source: building ruby1.8 in ruby1.8_1.8.6-2.diff.gz
dpkg-source: warning: executable mode 0755 of `debian/patches/904_rdoc_dot_version.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of `debian/patches/801_update_sample_README.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of `debian/patches/901_ri_pager.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of `debian/patches/902_extra_search_path.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of `debian/patches/802_delegate.rb.patch.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of `debian/patches/803_soap_massmem.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of `debian/patches/903_rdoc_documents.dpatch' will not be represented in diff
dpkg-source: warning: ignoring deletion of file parse.c
dpkg-source: warning: ignoring deletion of file configure
dpkg-source: building ruby1.8 in ruby1.8_1.8.6-2.dsc
 dpkg-genchanges -S -sa
dpkg-genchanges: including full source code in upload
dpkg-buildpackage (debuild emulation): source only upload (original source is included)
Now running lintian...
Finished running lintian.
Now signing changes and any dsc files...
 signfile ruby1.8_1.8.6-2.dsc akira yamada <[EMAIL PROTECTED]>
gpg: skipped "akira yamada <[EMAIL PROTECTED]>": secret key not available
gpg: [stdin]: clearsign failed: secret key not available
debsign: gpg error occurred!  Aborting....
debuild: fatal error at line 1155:
running debsign failed
[EMAIL PROTECTED]:~/downloads/ruby/ruby1.8-1.8.6$ cd ..
[EMAIL PROTECTED]:~/downloads/ruby$ sudo pbuilder build ruby1.8_1.8.6
ruby1.8_1.8.6-2.diff.gz ruby1.8_1.8.6-2.dsc.asc ruby1.8_1.8.6-2_source.changes ruby1.8_1.8.6-2.dsc ruby1.8_1.8.6-2_source.build ruby1.8_1.8.6.orig.tar.gz
[EMAIL PROTECTED]:~/downloads/ruby$ sudo pbuilder build ruby1.8_1.8.6-2.dsc
ruby1.8_1.8.6-2.dsc      ruby1.8_1.8.6-2.dsc.asc
[EMAIL PROTECTED]:~/downloads/ruby$ sudo pbuilder build ruby1.8_1.8.6-2.dsc
Password:
W: /home/pgquiles/.pbuilderrc does not exist
I: using fakeroot in build.
pbuilder-buildpackage/i386 $Id: pbuilder-buildpackage-funcs,v 1.32 2006/11/06 20:06:25 lool Exp $
$Id: pbuilder-buildpackage,v 1.127 2006/08/15 13:14:25 dancer Exp $

Current time: Tue Jun 26 13:49:57 CEST 2007
pbuilder-time-stamp: 1182858597
Building the build Environment
 -> extracting base tarball [/var/cache/pbuilder/base.tgz]
 -> creating local configuration
 -> copying local configuration
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
 -> policy-rc.d already exists
Obtaining the cached apt archive contents
Installing the build-deps
-> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.29 2006/11/06 20:20:56 lool Exp $
 -> Considering build-dep cdbs
   -> Trying cdbs
 -> Considering build-dep debhelper (>= 5)
   -> Trying debhelper
 -> Considering build-dep autotools-dev
   -> Trying autotools-dev
 -> Considering build-dep autoconf
   -> Trying autoconf
 -> Considering build-dep m4
   -> Trying m4
 -> Considering build-dep dpatch
   -> Trying dpatch
 -> Considering build-dep patch
   -> Trying patch
 -> Considering build-dep bison
   -> Trying bison
 -> Considering build-dep binutils (>= 2.14.90.0.7)
   -> Trying binutils
 -> Considering build-dep libgdbm-dev
   -> Trying libgdbm-dev
 -> Considering build-dep libncurses5-dev
   -> Trying libncurses5-dev
 -> Considering build-dep libreadline5-dev
   -> Trying libreadline5-dev
 -> Considering build-dep tcl8.4-dev
   -> Trying tcl8.4-dev
 -> Considering build-dep tk8.4-dev
   -> Trying tk8.4-dev
 -> Considering build-dep zlib1g-dev
   -> Trying zlib1g-dev
 -> Considering build-dep libssl-dev (>= 0.9.6b)
   -> Trying libssl-dev
 -> Considering build-dep gcc-4.1 (>= 4.1.1-11) [m68k]
   -> This package is not for this architecture
-> Installing cdbs debhelper autotools-dev autoconf m4 dpatch patch bison binutils libgdbm-dev libncurses5-dev libreadline5-dev tcl8.4-dev tk8.4-dev zlib1g-dev libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
patch is already the newest version.
binutils is already the newest version.
The following extra packages will be installed:
file gettext html2text intltool-debian libice-dev libice6 libmagic1 libsm-dev libsm6 libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxdmcp-dev libxdmcp6 libxt-dev libxt6 po-debconf tcl8.4 tk8.4 x-dev x11-common x11proto-core-dev x11proto-input-dev x11proto-kb-dev xtrans-dev
Suggested packages:
autoconf2.13 autobook autoconf-archive gnu-standards autoconf-doc bison-doc devscripts doc-base dh-make curl cvs gettext-doc tclreadline tcl8.4-doc tk8.4-doc
Recommended packages:
automaken fakeroot patchutils libmail-sendmail-perl libcompress-zlib-perl xterm x-terminal-emulator
The following NEW packages will be installed:
autoconf autotools-dev bison cdbs debhelper dpatch file gettext html2text intltool-debian libgdbm-dev libice-dev libice6 libmagic1 libncurses5-dev libreadline5-dev libsm-dev libsm6 libssl-dev libx11-6 libx11-data libx11-dev libxau-dev libxau6 libxdmcp-dev libxdmcp6 libxt-dev libxt6 m4 po-debconf tcl8.4 tcl8.4-dev tk8.4 tk8.4-dev x-dev x11-common
  x11proto-core-dev x11proto-input-dev x11proto-kb-dev xtrans-dev zlib1g-dev
0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/22.7MB of archives.
After unpacking 67.9MB of additional disk space will be used.
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously deselected package x11-common.
(Reading database ... 12059 files and directories currently installed.)
Unpacking x11-common (from .../x11-common_1%3a7.2-0ubuntu11_i386.deb) ...
Selecting previously deselected package libice6.
Unpacking libice6 (from .../libice6_2%3a1.0.3-1build1_i386.deb) ...
Setting up x11-common (7.2-0ubuntu11) ...

Selecting previously deselected package x11proto-core-dev.
(Reading database ... 12094 files and directories currently installed.)
Unpacking x11proto-core-dev (from .../x11proto-core-dev_7.0.10-1_all.deb) ...
Selecting previously deselected package libice-dev.
Unpacking libice-dev (from .../libice-dev_2%3a1.0.3-1build1_i386.deb) ...
Selecting previously deselected package libsm6.
Unpacking libsm6 (from .../libsm6_2%3a1.0.2-1build1_i386.deb) ...
Selecting previously deselected package libsm-dev.
Unpacking libsm-dev (from .../libsm-dev_2%3a1.0.2-1build1_i386.deb) ...
Selecting previously deselected package libxau6.
Unpacking libxau6 (from .../libxau6_1%3a1.0.3-1_i386.deb) ...
Selecting previously deselected package libxdmcp6.
Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.0.2-1_i386.deb) ...
Selecting previously deselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.1.1-1ubuntu3_all.deb) ...
Selecting previously deselected package libx11-6.
Unpacking libx11-6 (from .../libx11-6_2%3a1.1.1-1ubuntu3_i386.deb) ...
Selecting previously deselected package libxau-dev.
Unpacking libxau-dev (from .../libxau-dev_1%3a1.0.3-1_i386.deb) ...
Selecting previously deselected package libxdmcp-dev.
Unpacking libxdmcp-dev (from .../libxdmcp-dev_1%3a1.0.2-1_i386.deb) ...
Selecting previously deselected package x11proto-input-dev.
Unpacking x11proto-input-dev (from .../x11proto-input-dev_1.4.1-1_all.deb) ...
Selecting previously deselected package x11proto-kb-dev.
Unpacking x11proto-kb-dev (from .../x11proto-kb-dev_1.0.3-2ubuntu1_all.deb) ...
Selecting previously deselected package xtrans-dev.
Unpacking xtrans-dev (from .../xtrans-dev_1.0.3-1_all.deb) ...
Selecting previously deselected package libx11-dev.
Unpacking libx11-dev (from .../libx11-dev_2%3a1.1.1-1ubuntu3_i386.deb) ...
Selecting previously deselected package libxt6.
Unpacking libxt6 (from .../libxt6_1%3a1.0.5-1_i386.deb) ...
Selecting previously deselected package libxt-dev.
Unpacking libxt-dev (from .../libxt-dev_1%3a1.0.5-1_i386.deb) ...
Selecting previously deselected package libmagic1.
Unpacking libmagic1 (from .../libmagic1_4.19-1ubuntu2_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../file_4.19-1ubuntu2_i386.deb) ...
Selecting previously deselected package m4.
Unpacking m4 (from .../m4_1.4.8-1build1_i386.deb) ...
Selecting previously deselected package autoconf.
Unpacking autoconf (from .../autoconf_2.61-3_all.deb) ...
Selecting previously deselected package autotools-dev.
Unpacking autotools-dev (from .../autotools-dev_20060920.1_all.deb) ...
Selecting previously deselected package bison.
Unpacking bison (from .../bison_1%3a2.3.dfsg-4build1_i386.deb) ...
Selecting previously deselected package cdbs.
Unpacking cdbs (from .../cdbs_0.4.48ubuntu1_all.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-3_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.16.1-1ubuntu2_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.8_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.42ubuntu1_all.deb) ...
Selecting previously deselected package dpatch.
Unpacking dpatch (from .../archives/dpatch_2.0.21_all.deb) ...
Selecting previously deselected package libgdbm-dev.
Unpacking libgdbm-dev (from .../libgdbm-dev_1.8.3-3_i386.deb) ...
Selecting previously deselected package libncurses5-dev.
Unpacking libncurses5-dev (from .../libncurses5-dev_5.5-5ubuntu2_i386.deb) ...
Selecting previously deselected package libreadline5-dev.
Unpacking libreadline5-dev (from .../libreadline5-dev_5.2-2ubuntu1_i386.deb) ...
Selecting previously deselected package zlib1g-dev.
Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3-13ubuntu4_i386.deb) ...
Selecting previously deselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_0.9.8c-4build1_i386.deb) ...
Selecting previously deselected package tcl8.4.
Unpacking tcl8.4 (from .../tcl8.4_8.4.14-0ubuntu1_i386.deb) ...
Selecting previously deselected package tcl8.4-dev.
Unpacking tcl8.4-dev (from .../tcl8.4-dev_8.4.14-0ubuntu1_i386.deb) ...
Selecting previously deselected package tk8.4.
Unpacking tk8.4 (from .../tk8.4_8.4.14-0ubuntu2_i386.deb) ...
Selecting previously deselected package x-dev.
Unpacking x-dev (from .../x-dev_7.0.10-1_all.deb) ...
Selecting previously deselected package tk8.4-dev.
Unpacking tk8.4-dev (from .../tk8.4-dev_8.4.14-0ubuntu2_i386.deb) ...
Setting up libice6 (1.0.3-1build1) ...

Setting up x11proto-core-dev (7.0.10-1) ...
Setting up libice-dev (1.0.3-1build1) ...
Setting up libsm6 (1.0.2-1build1) ...

Setting up libsm-dev (1.0.2-1build1) ...
Setting up libxau6 (1.0.3-1) ...

Setting up libxdmcp6 (1.0.2-1) ...

Setting up libx11-data (1.1.1-1ubuntu3) ...
Setting up libx11-6 (1.1.1-1ubuntu3) ...

Setting up libxau-dev (1.0.3-1) ...
Setting up libxdmcp-dev (1.0.2-1) ...
Setting up x11proto-input-dev (1.4.1-1) ...
Setting up x11proto-kb-dev (1.0.3-2ubuntu1) ...
Setting up xtrans-dev (1.0.3-1) ...
Setting up libx11-dev (1.1.1-1ubuntu3) ...
Setting up libxt6 (1.0.5-1) ...

Setting up libxt-dev (1.0.5-1) ...
Setting up libmagic1 (4.19-1ubuntu2) ...

Setting up file (4.19-1ubuntu2) ...
Setting up m4 (1.4.8-1build1) ...

Setting up autoconf (2.61-3) ...

Setting up autotools-dev (20060920.1) ...
Setting up bison (2.3.dfsg-4build1) ...

Setting up cdbs (0.4.48ubuntu1) ...

Setting up html2text (1.3.2a-3) ...

Setting up gettext (0.16.1-1ubuntu2) ...

Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.8) ...
Setting up debhelper (5.0.42ubuntu1) ...
Setting up dpatch (2.0.21) ...
Setting up libgdbm-dev (1.8.3-3) ...

Setting up libncurses5-dev (5.5-5ubuntu2) ...
Setting up libreadline5-dev (5.2-2ubuntu1) ...

Setting up zlib1g-dev (1.2.3-13ubuntu4) ...
Setting up libssl-dev (0.9.8c-4build1) ...
Setting up tcl8.4 (8.4.14-0ubuntu1) ...

Setting up tcl8.4-dev (8.4.14-0ubuntu1) ...

Setting up tk8.4 (8.4.14-0ubuntu2) ...

Setting up x-dev (7.0.10-1) ...
Setting up tk8.4-dev (8.4.14-0ubuntu2) ...
 -> Finished parsing the build-deps
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  fakeroot
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/99.4kB of archives.
After unpacking 397kB of additional disk space will be used.
Selecting previously deselected package fakeroot.
(Reading database ... 16775 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.5.10ubuntu2_i386.deb) ...
Setting up fakeroot (1.5.10ubuntu2) ...

Copying back the cached apt archive contents
Copying source file
    -> copying [ruby1.8_1.8.6-2.dsc]
    -> copying [./ruby1.8_1.8.6.orig.tar.gz]
    -> copying [./ruby1.8_1.8.6-2.diff.gz]
Extracting source
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) dpkg-source: warning: extracting unsigned source package (./ruby1.8_1.8.6-2.dsc)
dpkg-source: extracting ruby1.8 in ruby1.8-1.8.6
dpkg-source: unpacking ruby1.8_1.8.6.orig.tar.gz
dpkg-source: applying ./ruby1.8_1.8.6-2.diff.gz
 -> Building the package
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-buildpackage: source package is ruby1.8
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-buildpackage: source version is 1.8.6-2
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-buildpackage: source changed by akira yamada <[EMAIL PROTECTED]>
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 1.8.6-2
dpkg-checkbuilddeps: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
 fakeroot debian/rules clean
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0) dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
test -x debian/rules
test "`id -u`" = 0
for i in ./config.guess ./config.sub  ; do \
                if test -e $i.cdbs-orig ; then \
                        mv $i.cdbs-orig $i ; \
                fi ; \
        done
dh_clean
/usr/bin/make -C . -k distclean
make[1]: Entering directory `/tmp/buildd/ruby1.8-1.8.6'
make[1]: *** No rule to make target `distclean'.
make[1]: Leaving directory `/tmp/buildd/ruby1.8-1.8.6'
make: [makefile-clean] Error 2 (ignored)
rm -f debian/stamp-makefile-build
rm -f debian/stamp-autotools-files
/usr/bin/make -f debian/rules reverse-config
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0) dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
make[1]: Entering directory `/tmp/buildd/ruby1.8-1.8.6'
for i in ./config.guess ./config.sub  ; do \
                if test -e $i.cdbs-orig ; then \
                        mv $i.cdbs-orig $i ; \
                fi ; \
        done
make[1]: Leaving directory `/tmp/buildd/ruby1.8-1.8.6'
dpatch deapply-all
904_rdoc_dot_version not applied to ./ .
903_rdoc_documents not applied to ./ .
902_extra_search_path not applied to ./ .
901_ri_pager not applied to ./ .
803_soap_massmem not applied to ./ .
802_delegate.rb.patch not applied to ./ .
801_update_sample_README not applied to ./ .
rm -rf debian/patched
rm -f debian/stamp-patched
rm -f \
            .installed.list \
            configure \
            parse.c \
            debian/libruby1.8.postinst \
            debian/libruby1.8.prerm
if [ -f ./config.guess.cdbs-orig ]; \
        then \
            mv ./config.guess.cdbs-orig \
                ./config.guess; \
        fi
if [ -f ./config.sub.cdbs-orig ]; \
        then \
            mv ./config.sub.cdbs-orig \
                ./config.sub; \
        fi
 dpkg-source -b ruby1.8-1.8.6
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-source: building ruby1.8 using existing ruby1.8_1.8.6.orig.tar.gz
dpkg-source: building ruby1.8 in ruby1.8_1.8.6-2.diff.gz
dpkg-source: warning: executable mode 0755 of `debian/patches/904_rdoc_dot_version.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of `debian/patches/801_update_sample_README.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of `debian/patches/901_ri_pager.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of `debian/patches/902_extra_search_path.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of `debian/patches/802_delegate.rb.patch.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of `debian/patches/803_soap_massmem.dpatch' will not be represented in diff dpkg-source: warning: executable mode 0755 of `debian/patches/903_rdoc_documents.dpatch' will not be represented in diff
dpkg-source: warning: ignoring deletion of file parse.c
dpkg-source: warning: ignoring deletion of file configure
dpkg-source: building ruby1.8 in ruby1.8_1.8.6-2.dsc
 debian/rules build
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
test -x debian/rules
mkdir -p "."
if test -e /usr/share/misc/config.guess ; then \
                for i in ./config.guess ; do \
                        if ! test -e $i.cdbs-orig ; then \
                                mv $i $i.cdbs-orig ; \
cp --remove-destination /usr/share/misc/config.guess $i ; \
                        fi ; \
                done ; \
        fi
if test -e /usr/share/misc/config.sub ; then \
                for i in ./config.sub ; do \
                        if ! test -e $i.cdbs-orig ; then \
                                mv $i $i.cdbs-orig ; \
cp --remove-destination /usr/share/misc/config.sub $i ; \
                        fi ; \
                done ; \
        fi
/usr/bin/make -f debian/rules reverse-config
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
make[1]: Entering directory `/tmp/buildd/ruby1.8-1.8.6'
for i in ./config.guess ./config.sub  ; do \
                if test -e $i.cdbs-orig ; then \
                        mv $i.cdbs-orig $i ; \
                fi ; \
        done
make[1]: Leaving directory `/tmp/buildd/ruby1.8-1.8.6'
dpatch apply-all
applying patch 801_update_sample_README to ./ ... ok.
applying patch 802_delegate.rb.patch to ./ ... ok.
applying patch 803_soap_massmem to ./ ... ok.
applying patch 901_ri_pager to ./ ... ok.
applying patch 902_extra_search_path to ./ ... ok.
applying patch 903_rdoc_documents to ./ ... ok.
applying patch 904_rdoc_dot_version to ./ ... ok.
/usr/bin/make -f debian/rules update-config
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234) debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
make[1]: Entering directory `/tmp/buildd/ruby1.8-1.8.6'
if test -e /usr/share/misc/config.guess ; then \
                for i in ./config.guess ; do \
                        if ! test -e $i.cdbs-orig ; then \
                                mv $i $i.cdbs-orig ; \
cp --remove-destination /usr/share/misc/config.guess $i ; \
                        fi ; \
                done ; \
        fi
if test -e /usr/share/misc/config.sub ; then \
                for i in ./config.sub ; do \
                        if ! test -e $i.cdbs-orig ; then \
                                mv $i $i.cdbs-orig ; \
cp --remove-destination /usr/share/misc/config.sub $i ; \
                        fi ; \
                done ; \
        fi
make[1]: Leaving directory `/tmp/buildd/ruby1.8-1.8.6'
touch debian/stamp-patched
if [ -e ./configure.ac ] || [ -e ./configure.in ]; then cd . && `which autoconfYES || which autoconf`; fi
touch debian/stamp-autotools-files
chmod a+x /tmp/buildd/ruby1.8-1.8.6/./configure
cd . && CC="cc" CXX="g++" CFLAGS="-fno-strict-aliasing -O2" CXXFLAGS="-fno-strict-aliasing" CPPFLAGS="" LDFLAGS="" /tmp/buildd/ruby1.8-1.8.6/./configure --build=i486-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/ruby1.8" --disable-maintainer-mode --disable-dependency-tracking --srcdir=. --enable-frame-address --with-extra-site-search-path='/usr/local/lib/site_ruby/1.8/i386-linux' --with-extra-search-path='/usr/lib/ruby/1.8/i386-linux' --program-suffix=1.8 --enable-pthread --enable-shared --enable-ipv6 --with-lookup-order-hack=INET --disable-rpath --disable-install-doc --with-sitedir='/usr/local/lib/site_ruby' --with-default-kcode=none --with-dbm-type=gdbm_compat --with-tklib=tk8.4 --with-tcllib=tcl8.4 --with-tcl-include=/usr/include/tcl8.4 --with-bundled-sha1 --with-bundled-md5 --with-bundled-rmd160
checking build system type... i486-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
checking target system type... i486-pc-linux-gnu
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether cc needs -traditional... no
checking whether the linker is GNU ld... yes
checking whether cc -E accepts -o... yes
checking for bison... byacc -d
checking for ranlib... ranlib
checking for ar... ar
checking for as... as
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for long long... yes
checking for off_t... yes
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for long long... (cached) yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking for off_t... (cached) yes
checking size of off_t... 8
checking for void*... yes
checking size of void*... 4
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for time_t... yes
checking size of time_t... 4
checking for pid_t... yes
checking for gid_t... yes
checking for uid_t... yes
checking for prototypes... yes
checking token paste string... ansi
checking for variable length prototypes and stdarg.h... yes
checking for noreturn function attribute... __attribute__ ((noreturn)) x
checking for noinline function attribute... __attribute__ ((noinline)) x
checking for RUBY_EXTERN... no
checking whether sys_nerr is declared... yes
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syscall.h usability... yes
checking syscall.h presence... yes
checking for syscall.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking a.out.h usability... yes
checking a.out.h presence... yes
checking for a.out.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for memory.h... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking intrinsics.h usability... no
checking intrinsics.h presence... no
checking for intrinsics.h... no
checking for rlim_t... yes
checking size of rlim_t... 8
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... gid_t
checking return type of signal handlers... void
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for ftello... yes
checking for dup2... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strerror... yes
checking for strftime... yes
checking for strchr... yes
checking for strstr... yes
checking for strtoul... yes
checking for crypt... yes
checking for flock... yes
checking for vsnprintf... yes
checking for isnan... yes
checking for finite... yes
checking for isinf... yes
checking for hypot... yes
checking for acosh... yes
checking for erf... yes
checking for fmod... yes
checking for killpg... yes
checking for wait4... yes
checking for waitpid... yes
checking for syscall... yes
checking for chroot... yes
checking for fsync... yes
checking for getcwd... yes
checking for eaccess... yes
checking for truncate... yes
checking for chsize... no
checking for times... yes
checking for utimes... yes
checking for fcntl... yes
checking for lockf... yes
checking for lstat... yes
checking for symlink... yes
checking for link... yes
checking for readlink... yes
checking for setitimer... yes
checking for setruid... no
checking for seteuid... yes
checking for setreuid... yes
checking for setresuid... yes
checking for setproctitle... no
checking for setrgid... no
checking for setegid... yes
checking for setregid... yes
checking for setresgid... yes
checking for issetugid... no
checking for pause... yes
checking for lchown... yes
checking for lchmod... no
checking for getpgrp... yes
checking for setpgrp... yes
checking for getpgid... yes
checking for setpgid... yes
checking for initgroups... yes
checking for getgroups... yes
checking for setgroups... yes
checking for getpriority... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for sysconf... yes
checking for dlopen... yes
checking for sigprocmask... yes
checking for sigaction... yes
checking for _setjmp... yes
checking for setsid... yes
checking for telldir... yes
checking for seekdir... yes
checking for fchmod... yes
checking for mktime... yes
checking for timegm... yes
checking for cosh... yes
checking for sinh... yes
checking for tanh... yes
checking for setuid... yes
checking for setgid... yes
checking for setenv... yes
checking for unsetenv... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for external int daylight... yes
checking for negative time_t for gmtime(3)... yes
checking whether getpgrp requires zero arguments... yes
checking whether setpgrp takes no argument... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking whether char is unsigned... no
checking for inline... inline
checking for working volatile... yes
checking whether right shift preserve sign bit... yes
checking read count field in FILE structures... not found(OK if using GNU libc)
checking read buffer ptr field in FILE structures... _IO_read_ptr
checking read buffer end field in FILE structures... _IO_read_end
checking whether need to seek between R/W... no
checking whether st_ino is huge... yes
checking whether _SC_CLK_TCK is supported... yes
checking stack growing direction... (cached) -1
checking for pthread_kill in -lpthread... yes
checking for nanosleep... yes
checking for getcontext... yes
checking for setcontext... yes
checking whether ELF binaries are produced... yes
checking whether OS depend dynamic link works... yes
checking for nroff... no
checking for awf... no
creating config.h
configure: creating ./config.status
config.status: creating Makefile
/usr/bin/make -C . all test
make[1]: Entering directory `/tmp/buildd/ruby1.8-1.8.6'
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c array.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c bignum.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c class.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c compar.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c dir.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c dln.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c enum.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c error.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c eval.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c file.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c gc.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c hash.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c inits.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c io.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c marshal.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c math.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c numeric.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c object.c
cc -fno-strict-aliasing -O2  -fPIC  -DRUBY_EXPORT  -I. -I.  -c pack.c
byacc -d parse.y
make[1]: byacc: Command not found
make[1]: *** [parse.c] Error 127
make[1]: Leaving directory `/tmp/buildd/ruby1.8-1.8.6'
make: *** [debian/stamp-makefile-build] Error 2
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
-> removing directory /var/cache/pbuilder/build//13778 and its subdirectories
[EMAIL PROTECTED]:~/downloads/ruby$

If I add 'byacc' to the list of packages in the build-depends section it build flawlessly.

--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to the amount of work, I usually need 10 days to answer)

Reply via email to