On Thu, 24 Jul 2008, Michael Piefel wrote:
kimwitu++ should build-dep on bison, as it uses it during build.
No, it doesnt normally. Apart from src/kimwy.y, Kimwitu++ comes with
src/Gen.boot/kimwy.{cc,h,output}, all of which are 5 minutes younger
than their source. Bison is not called if you did not touch
anything. I not only proved it, I actually tried it.
Please have a close look on the environment that you used and that
caused the build process to call Bison. If you can reproduce it, I
want to find a way to fix it (without the build-dep).
I tried to auto-build kimwitu++ for interix-i386, see
http://www.debian-interix.net/ for more details on that
architecture.
Attached you find the log from sbuild. Maybe you see the problem
immediately from that. I don't have more details currently, as the
unpacked source has already been deleted automatically.
Please ignore this line:
/dev/null: line 1: ./configure:: No such file or directory
Apparently all build logs have it, and I currently don't know what
causes it, and apparently it has no ill effects, at least none that I
know of. Hopefully this is not the same problem :-)
If you still can't figure out, what the problem is, I'll investigate
further to find it, but this will probably not happen before Aug 20,
2008.
Interix has several unusual properties, so this build might have hit
one of those.
Thanks for your cooperation
Martin
Automatic build of kimwitu++_2.3.12-1 on interix60 by sbuild/interix-i386 0.53
Build started at 20080716-1633
******************************************************************************
Checking available source versions...
Fetching source files...
Reading package lists...
Building dependency tree...
Need to get 570kB of source archives.
Get:1 http://ftp.de.debian.org unstable/main kimwitu++ 2.3.12-1 (dsc) [688B]
Get:2 http://ftp.de.debian.org unstable/main kimwitu++ 2.3.12-1 (tar) [565kB]
Get:3 http://ftp.de.debian.org unstable/main kimwitu++ 2.3.12-1 (diff) [4070B]
Fetched 570kB in 1s (349kB/s)
Download complete and in download only mode
** Using build dependencies supplied by package:
Build-Depends: debhelper (>= 5.0.0)
Build-Depends-Indep: docbook-xml, docbook-xsl, gs, texlive,
texlive-latex-extra, transfig, xsltproc
Checking for already installed source dependencies...
debhelper: already installed (7.0.13-0+interix.1 >= 5.0.0 is satisfied)
Checking for source dependency conflicts...
Checking correctness of source dependencies...
Kernel: Interix 6.0 interix-i386 (x86)
------------------------------------------------------------------------------
sh: gcc: command not found
dpkg-source: warning: Couldn't determine gcc system type, falling back to
default (native compilation)
gpg: Please note that you don't have secure memory on this system
gpg: Signature made Wed Feb 13 21:02:49 2008 WEST using DSA key ID 798DD95C
gpg: Can't check signature: public key not found
dpkg-source: extracting kimwitu++ in kimwitu++-2.3.12
dpkg-source: unpacking kimwitu++_2.3.12.orig.tar.gz
dpkg-source: applying
/srv/wanna-build/buildd-home/build/kimwitu++_2.3.12-1.diff.gz
dpkg-buildpackage: source package kimwitu++
dpkg-buildpackage: source version 2.3.12-1
dpkg-buildpackage: host architecture interix-i386
/usr/local/bin/fakesudo debian/rules clean
dh_testdir src/gen.k
dh_testroot
rm -f build-stamp build-doc-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/build/interix60+Administrator/kimwitu++-2.3.12'
make[1]: *** No rule to make target `clean'. Stop.
make[1]: Leaving directory `/build/interix60+Administrator/kimwitu++-2.3.12'
make: [clean] Error 2 (ignored)
cd doc && /usr/bin/make veryclean
make[1]: Entering directory
`/build/interix60+Administrator/kimwitu++-2.3.12/doc'
rm -f *.aux *.log *.toc *.dvi *.out *.idx *.ind *.loe *.ilg *.fot *.fo
rm -f .kkkk_eeee .kkkk_kkkk
rm -rf imagesgen
rm -f manual.tex manual.pdf manual.html
make[1]: Leaving directory `/build/interix60+Administrator/kimwitu++-2.3.12/doc'
rm -f Makefile src/Makefile
rm -f config.log config.status src/config.h
dh_clean
debian/rules build
dh_testdir src/gen.k
# Add here commands to compile the package.
./configure --prefix=/usr --mandir=/usr/share/man
configure: loading cache /dev/null
/dev/null: line 1: ./configure:: No such file or directory
checking whether a universal binary is requested... no
checking for g++... g++
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 g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for flex... no
checking for lex... no
checking for bison... no
checking for byacc... no
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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... no
checking for stdint.h... no
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking hash_set usability... no
checking hash_set presence... no
checking for hash_set... no
checking ext/hash_set usability... yes
checking ext/hash_set presence... yes
checking for ext/hash_set... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking how we like to call the build architecture... interix
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: creating src/config.h
/usr/bin/make
make[1]: Entering directory `/build/interix60+Administrator/kimwitu++-2.3.12'
cd src && \
/usr/bin/make boot GENDIR=Gen && \
cp Gen/kc++ ..
make[2]: Entering directory
`/build/interix60+Administrator/kimwitu++-2.3.12/src'
Making Gen/kc++...
if test ! -d Gen; then mkdir Gen; fi
cd Gen; \
for f in kimwy.cc kimwl.cc unpk.cc k.cc rk.cc abs.cc main.cc parse.cc
error.cc occur.cc util.cc gen.cc gutil.cc pat.cc unpk.h k.h rk.h abs.h main.h
parse.h error.h occur.h util.h gen.h gutil.h pat.h yystype.h kimwy.h
errmsg.inc kimwy.output; \
do cp -p
/build/interix60+Administrator/kimwitu++-2.3.12/src/Gen.boot/${f} ${f}; done ; \
for f in abs.k main.k parse.k error.k occur.k util.k gen.k gutil.k
pat.k errmsg.py getopt.h getopt.c getopt1.c kimwy.y kimwl.l; \
do cp -p
/build/interix60+Administrator/kimwitu++-2.3.12/src/${f} ${f}; done; \
cp /build/interix60+Administrator/kimwitu++-2.3.12/src/config.h
config.h; \
touch tstamp.kc ; \
/usr/bin/make -e -f
/build/interix60+Administrator/kimwitu++-2.3.12/src/Makefile \
MAKERUNDIR=/build/interix60+Administrator/kimwitu++-2.3.12/src \
CFLAGS=" -O2 -DHAVE_CONFIG_H -I." \
CXXFLAGS=" -O2 -Os" \
kc++
make[3]: Entering directory
`/build/interix60+Administrator/kimwitu++-2.3.12/src/Gen'
LC_ALL=C bison --verbose --defines kimwy.y
/bin/sh: bison: command not found
make[3]: *** [kimwy.cc] Error 127
make[3]: Leaving directory
`/build/interix60+Administrator/kimwitu++-2.3.12/src/Gen'
make[2]: *** [boot] Error 2
make[2]: Leaving directory `/build/interix60+Administrator/kimwitu++-2.3.12/src'
make[1]: *** [boot] Error 2
make[1]: Leaving directory `/build/interix60+Administrator/kimwitu++-2.3.12'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20080716-1636
FAILED [dpkg-buildpackage died]
Purging
/srv/build/chroot-unstable/build/interix60+Administrator/kimwitu++-2.3.12
------------------------------------------------------------------------------
******************************************************************************
Finished at 20080716-1636
Build needed 00:02:09, 6776k disk space