<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hey guys,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve spent a lot of time working on this issue following my post on misc:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://www.varnish-cache.org/lists/pipermail/varnish-misc/2013-January/022706.html">https://www.varnish-cache.org/lists/pipermail/varnish-misc/2013-January/022706.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Two things have come out of this.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The first is that, I’ve noted in multiple attempts at fixing this issue, every “make install” clobbers the default.vcl. I believe this is contrary to many standard applications, for example, a typical user might “make install” Apache and
their httpd.conf is not clobbered. I’ve written a patch for this I would like to be considered. This is at the bottom of this email.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Expanding on the bigger (and imo, more important) issue, I’ve had an independent pi user confirm the findings I posted to misc, which really feels like a development bug, hence this post. To avoid a full review of that posting, long story
short is that on the pi hardware (armv61):<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Default configuration= segfault on startup<o:p></o:p></p>
<p class="MsoNormal">Compile with –enable-diagnostics = successful operation<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve spent a lot of time trying to track anything that this flag does. A grep for –DDIAGNOSTICS only seems to turn up the CFLAGS declaration in Makefiles, so I’m still working on what diagnostics it produces. Any assistance you can offer
as to how I could debug this issue further would be appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">diff --git a/etc/Makefile.am b/etc/Makefile.am<o:p></o:p></p>
<p class="MsoNormal">index e724822..909c35f 100644<o:p></o:p></p>
<p class="MsoNormal">--- a/etc/Makefile.am<o:p></o:p></p>
<p class="MsoNormal">+++ b/etc/Makefile.am<o:p></o:p></p>
<p class="MsoNormal">@@ -5,6 +5,16 @@ DISTCLEANFILES = default.vcl<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">dist_varnishconf_DATA = default.vcl<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">+install-exec-local:<o:p></o:p></p>
<p class="MsoNormal">+ @if test -f "$(dist_varnishconf_DATA)"; then \<o:p></o:p></p>
<p class="MsoNormal">+ echo "$@ will not overwrite existing $(DESTDIR)$(dist_varnishcon<o:p></o:p></p>
<p class="MsoNormal">+ else \<o:p></o:p></p>
<p class="MsoNormal">+ echo " $(MKDIR_P) '$(DESTDIR)$(varnishconfdir)'"; \<o:p></o:p></p>
<p class="MsoNormal">+ $(MKDIR_P) "$(DESTDIR)$(varnishconfdir)" || exit 1; \<o:p></o:p></p>
<p class="MsoNormal">+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(varnishconfdir)'"; \<o:p></o:p></p>
<p class="MsoNormal">+ $(INSTALL_DATA) $$files "$(DESTDIR)$(varnishconfdir)" || exit $$<o:p></o:p></p>
<p class="MsoNormal">+ fi<o:p></o:p></p>
<p class="MsoNormal">+<o:p></o:p></p>
<p class="MsoNormal">default.vcl: $(top_srcdir)/bin/varnishd/default.vcl<o:p></o:p></p>
<p class="MsoNormal"> ( printf "This is a basic VCL configuration file for varnish. See the v<o:p></o:p></p>
<p class="MsoNormal">man page for details on VCL syntax and semantics.\n\<o:p></o:p></p>
</div>
</body>
</html>