Skip to content

Build fails in debian docker container #1

@nmenon

Description

@nmenon

Describe the bug
configure script fails

To Reproduce
Attempting to build the system in a debian docker container
(NOTE: https://github.com/TexasInstruments/ti-wisunfantund/blob/release/INSTALL.md indicates libreadline and libreadline-dev are optional)

Dockerfile:

FROM debian:bullseye
 
RUN export DEBIAN_FRONTEND=noninteractive; apt-get update
RUN export DEBIAN_FRONTEND=noninteractive; \
		apt-get install -y git dbus gcc g++ libdbus-1-dev libboost-dev \
			libtool autoconf autoconf-archive

RUN mkdir /tmp/wfantund && cd /tmp/wfantund &&\
	git clone https://github.com/TexasInstruments/ti-wisunfantund.git wisun && \
	cd wisun && git checkout TI_WiSUN_STACK_01_00_01  && \
	./bootstrap.sh && \
	./configure --sysconfdir=/etc --disable-dependency-tracking &&  \
	make -j `nproc`

Expected behavior
Builds fine

Console/log output

#7 286.3 checking for dlfcn.h... (cached) yes
#7 286.3 checking for dlsym in -ldl... yes
#7 287.6 checking linker flags needed for programs to export symbols... "-Wl,--export-dynamic"
#7 288.8 Definiting TI_WISUN_FAN
#7 289.3 checking that generated files are newer than configure... done
#7 289.3 configure: creating ./config.status
#7 305.4 config.status: creating Makefile
#7 305.8 config.status: creating doxygen.cfg
#7 306.2 config.status: creating src/Makefile
#7 306.7 config.status: creating doc/Makefile
#7 307.2 config.status: creating src/connman-plugin/Makefile
#7 307.7 config.status: creating src/ipc-dbus/Makefile
#7 308.2 config.status: creating src/ipc-dbus/wpantund.conf
#7 308.7 config.status: creating src/wpanctl/Makefile
#7 309.3 config.status: creating src/wpantund/Makefile
#7 309.8 config.status: creating src/util/Makefile
#7 310.2 config.status: creating src/scripts/Makefile
#7 310.7 config.status: creating src/missing/Makefile
#7 311.1 config.status: creating src/missing/strlcat/Makefile
#7 311.6 config.status: creating src/missing/strlcpy/Makefile
#7 312.0 config.status: creating third_party/Makefile
#7 312.5 config.status: creating src/ncp-spinel/Makefile
#7 313.0 config.status: creating src/ncp-dummy/Makefile
#7 313.4 config.status: creating src/config.h
#7 313.8 config.status: executing depfiles commands
#7 316.8 config.status: error: in `/tmp/wfantund/wisun':
#7 316.8 config.status: error: Something went wrong bootstrapping makefile fragments
#7 316.8     for automatic dependency tracking.  If GNU make was not used, consider
#7 316.8     re-running the configure script with MAKE="gmake" (or whatever is
#7 316.8     necessary).  You can also try re-running configure with the
#7 316.8     '--disable-dependency-tracking' option to at least be able to build
#7 316.8     the package (albeit without support for automatic dependency tracking).
#7 316.8 See `config.log' for more details

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions