From: Christos Tsantilas Date: Sun, 19 May 2013 03:17:59 +0000 (-0600) Subject: Bug 3744: squid terminated: FATAL: Bungled (null) line 3: sslproxy_cert_sign signTrus... X-Git-Tag: SQUID_3_3_5~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=249f98b6d9d08299ac9c5de6f62fe6a47cd0b846;p=thirdparty%2Fsquid.git Bug 3744: squid terminated: FATAL: Bungled (null) line 3: sslproxy_cert_sign signTrusted all This bug is a Makefile dependencies problem. - The cf_gen includes the cf_gen_defines.cci so this file should included in cf_gen dependencies. - Currently the cf_gen_defines.cci exist in cf_gen.$(OBJEXT) dependencies but does not have any effect because the obj file never build and used. - Also the cf_gen_defines.cci file depends on autoconf.h so this file should added to to cf_gen_defines.cc dependencies. All of the sources has the autoconf.h file in their dependencies. But the cf_gen_defines.cci is auto-generated and does not exist when the dependencies computed. This is a Measurement Factory project --- diff --git a/src/Makefile.am b/src/Makefile.am index 8e9309ee2d..a33cf840fd 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -974,7 +974,7 @@ test_cache_digest: test_cache_digest.o CacheDigest.o debug.o globals.o store_key cache_cf.o: cf_parser.cci # cf_gen builds the configuration files. -cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES) +cf_gen$(EXEEXT): $(cf_gen_SOURCES) $(cf_gen_DEPENDENCIES) cf_gen_defines.cci $(HOSTCXX) -o $@ $(srcdir)/cf_gen.cc -I$(srcdir) -I$(top_builddir)/include/ -I$(top_builddir)/src # squid.conf.default is built by cf_gen when making cf_parser.cci @@ -984,7 +984,9 @@ squid.conf.default squid.conf.documented: cf_parser.cci cf_parser.cci: cf.data cf_gen$(EXEEXT) ./cf_gen$(EXEEXT) cf.data $(srcdir)/cf.data.depend -cf_gen_defines.cci: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre +# The cf_gen_defines.cci is auto-generated and does not exist when the +# dependencies computed. We need to add its include files (autoconf.h) here +cf_gen_defines.cci: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre $(top_builddir)/include/autoconf.h $(AWK) -f $(srcdir)/cf_gen_defines <$(srcdir)/cf.data.pre >$@ || ($(RM) -f $@ && exit 1)