[Pkg-octave-devel] Bug#666294: octave-miscellaneous: FTBFS: /bin/bash: lex: command not found
Lucas Nussbaum
lucas at lucas-nussbaum.net
Fri Mar 30 09:22:13 UTC 2012
Source: octave-miscellaneous
Version: 1.0.11-3
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120330 qa-ftbfs qa-ftbfs-buildarch
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
This rebuild was done by building only architecture:any binary packages
(binary-arch target of debian/rules), and using a recent dpkg that uses the
build-arch target if available.
Also, only the Build-Depends were installed, not the Build-Depends-Indep.
Relevant part:
> fakeroot debian/rules binary-arch
> test -x debian/rules
> dh_testroot
> dh_prep
> dh_installdirs -A
> mkdir -p "."
> Adding cdbs dependencies to debian/octave-miscellaneous.substvars
> dh_installdirs -poctave-miscellaneous
> Checking the Octave version... ok
> mkdir -p /«PKGBUILDDIR»/debian/octave-miscellaneous/usr/share/octave/packages \
> /«PKGBUILDDIR»/debian/octave-miscellaneous/usr/lib/x86_64-linux-gnu/octave/packages
> [ -e PKG_ADD ] && mv PKG_ADD PKG_ADD.bak
> make: [install-pkg] Error 1 (ignored)
> /usr/bin/octave --no-history --silent --no-init-file --eval \
> "pkg ('prefix', [pwd(),'/debian/octave-miscellaneous/usr/share/octave/packages'], \
> [pwd(),'/debian/octave-miscellaneous/usr/lib/x86_64-linux-gnu/octave/packages']); \
> pkg ('local_list', [pwd(),'/local-list']); \
> pkg ('global_list', [pwd(),'/global-list']); \
> if (exist ('PKG_ADD.bak') == 2), \
> movefile ('PKG_ADD.bak', 'PKG_ADD'); \
> endif; \
> pkg -verbose -nodeps install ."
> warning: X11 DISPLAY environment variable not set
> mkdir (/tmp/oct-KyiN0W)
> Copying directory (., /tmp/oct-KyiN0W)
> warning: X11 DISPLAY environment variable not set
> warning: X11 DISPLAY environment variable not set
> warning: X11 DISPLAY environment variable not set
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> 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 mkoctfile... /usr/bin/mkoctfile
> retrieving compile and link flags from /usr/bin/mkoctfile
> checking for F77_FUNC... yes
> checking for octave... /usr/bin/octave
> checking for OCTAVE_VERSION in Octave... 3.6.1
> checking for octave_config_info('canonical_host_type') in Octave... x86_64-pc-linux-gnu
> checking for octave_config_info('SHLEXT') in Octave... so
> checking whether ln -s works... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for fork... yes
> checking for socklen_t... yes
> checking for octave_function(void)... yes
> checking how to run the C preprocessor... gcc -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... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking term.h usability... yes
> checking term.h presence... yes
> checking for term.h... yes
> checking termcap.h usability... yes
> checking termcap.h presence... yes
> checking for termcap.h... yes
> checking for tgetnum in -ltermcap... yes
> configure: creating ./config.status
> config.status: creating Makeconf
>
> "$prefix" is /«PKGBUILDDIR»/debian/octave-miscellaneous/usr/share/octave/packages/miscellaneous-1.0.11
> "$exec_prefix" is ${prefix}
>
> octave commands will install into the following directories:
> m-files: /usr/share/octave/3.6.1/site/m/octave-forge
> oct-files: /usr/lib/x86_64-linux-gnu/octave/3.6.1/site/oct/x86_64-pc-linux-gnu/octave-forge
> binaries: /usr/lib/x86_64-linux-gnu/octave/3.6.1/site/exec/x86_64-pc-linux-gnu
> alternatives:
> m-files: /usr/share/octave/3.6.1/site/octave-forge-alternatives/m
> oct-files: /usr/lib/x86_64-linux-gnu/octave/3.6.1/site/octave-forge-alternatives/oct/x86_64-pc-linux-gnu
>
> shell commands will install into the following directories:
> binaries: ${exec_prefix}/bin
> man pages: ${datarootdir}/man
> libraries: ${exec_prefix}/lib
> headers: ${prefix}/include
>
> octave-forge is configured with
> octave: /usr/bin/octave (version 3.6.1)
> mkoctfile: /usr/bin/mkoctfile for Octave 1
> have term.h or termcap.h: yes
>
> find . -name NOINSTALL -print # shows which toolboxes won't be installed
>
> /bin/bash: lex: command not found
> make[1]: *** [xmltree_read.c] Error 127
The full build log is available from:
http://people.debian.org/~lucas/logs/2012/03/30/octave-miscellaneous_1.0.11-3_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
More information about the Pkg-octave-devel
mailing list