Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails in debian docker container #1

Open
nmenon opened this issue Feb 7, 2022 · 0 comments
Open

Build fails in debian docker container #1

nmenon opened this issue Feb 7, 2022 · 0 comments

Comments

@nmenon
Copy link

nmenon commented Feb 7, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant