[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#793121: ocaml-fdkaac: FTBFS in pbuilder: error: configure script must not be run with root user!



Package: ocaml-fdkaac
Version: 0.2.0-1
Severity: serious
Justification: fails to build from source

ocaml-fdkaac fails to build in pbuilder. I don't know if it fails in
sbuild as well, since I don't have a sbuild setup.
Since the package is in non-free and has Build-Depends from non-free
as well it cannot be built on the buildd network and is also not
tested by the regular archive wide rebuild tests, so this bug has gone
unnoticed for some time.


   dh_auto_configure
        ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/ocaml-fdkaac --disable-maintainer-mode --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-maintainer-mode, --disable-dependency-tracking
configuring ocaml-fdkaac 0.2.0
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 build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking that calling user is not root... configure: error: configure script must not be run with root user!
        "tail -v -n +0 config.log"
[snip config.log output]

pbuilder is definitively not running the build as root, so 
that check for root seems to be bogus.

Trying to refresh the build system does not work:

ocaml-fdkaac-0.2.0$ autoreconf -f -i
configure.ac:8: error: possibly undefined macro: AC_BASE_CHECKS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:19: error: possibly undefined macro: PKG_CONFIG_CHECK_MODULE
autoreconf: /usr/bin/autoconf failed with exit status: 1


Andreas


Reply to: