Trouble building in docker

Post Reply
gogmosis
Posts: 4
Joined: Sat Mar 03, 2018 4:17 pm

Trouble building in docker

Post by gogmosis » Sat Mar 03, 2018 6:24 pm

I pulled the latest from the docker repo, run "docker-compose up" and it starts going through all of the onbuild processes. After a while it stalls out saying that the configure.ac file is throwing errors because "no FUNCTION_NAME detected in body" for a fairly large number of functions. It then fails out and kills the docker startup process. I have installed Visual Studio 2017 with the C++ libraries and have all the .NET installs recommended on the darkstar startup guide. Does anyone know what might be causing this error?

Section of output where errors start (blue is info, red is error):

Running meld3-1.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-f932Bm/meld3-1.0.2/egg-dist-tmp-MHpQoo
zip_safe flag not set; analyzing archive contents...
Adding meld3 1.0.2 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/meld3-1.0.2-py2.7.egg
Finished processing dependencies for supervisor
Downloading/unpacking supervisor-stdout
Downloading supervisor-stdout-0.1.1.tar.gz
Running setup.py (path:/tmp/pip_build_root/supervisor-stdout/setup.py) egg_info for package supervisor-stdout

Installing collected packages: supervisor-stdout
Running setup.py install for supervisor-stdout

Installing supervisor_stdout script to /usr/local/bin
Successfully installed supervisor-stdout
Cleaning up...

Cloning into '/darkstar'...
configure.ac:129: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:129: the top level
configure.ac:141: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:141: the top level
configure.ac:153: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:153: the top level
configure.ac:129: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
configure.ac:129: the top level


This goes on for several more calls before seeming to rollback and fail out.

User avatar
whasf
Site Admin
Posts: 1312
Joined: Thu Jul 19, 2012 9:11 pm

Re: Trouble building in docker

Post by whasf » Sun Mar 04, 2018 9:23 am

Those look like warnings, not errors.
With that said, I bet the configure.ac file needs some love to make sure it's updated
-- Whasf

gogmosis
Posts: 4
Joined: Sat Mar 03, 2018 4:17 pm

Re: Trouble building in docker

Post by gogmosis » Sun Mar 04, 2018 9:51 pm

Thanks for the quick reply and sorry if I am not too familiar with this build process. I simply went to the start of the last large red block and started reading the warnings. I run it again and captured a log of the whole run.
After the warnings about missing method, it then seems to run make and throws numerous errors like:
sources.am:499: warning: source file 'src/login/login.cpp' is in a subdirectory,
sources.am:499: but option 'subdir-objects' is disabled

Any advice on how to enable the subdir-objects option? I found this github post describing a flag that can be set for this, but I am not sure how to modify the process to do so. Thanks again.
Attachments
onbuild.log
(136.78 KiB) Downloaded 276 times

Post Reply