<html 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=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I installed it some two months ago without compiling problems. The only issue that I knew is the configurating files for new installations.</p>
<p class="MsoNormal">Can you tell me the Slackware version including architecture that you are using ?</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Mail</a> for Windows 10</p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:pacho.torres.reyes@gmail.com">Pacho t</a><br>
<b>Sent: </b>Sunday, July 26, 2020 5:47 AM<br>
<b>To: </b><a href="mailto:slackbuilds-users@slackbuilds.org">slackbuilds-users@slackbuilds.org</a><br>
<b>Subject: </b>[Slackbuilds-users] Fwd: Slackware Slackbuilds tvheadend ver 3.4patch1 Compilation error.</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Thanks in advance for reviewing this.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">---------- Forwarded message ---------<br>
From: <b>Pacho t</b> <<a href="mailto:pacho.torres.reyes@gmail.com">pacho.torres.reyes@gmail.com</a>><br>
Date: Sun, Jul 26, 2020 at 5:09 AM<br>
Subject: Slackware Slackbuilds tvheadend ver 3.4patch1 Compilation error.<br>
To: <<a href="mailto:w_calandrini@hotmail.com">w_calandrini@hotmail.com</a>><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi William.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I was trying to install this tvheadend on my box.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I got this compilation error:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">-----<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Tvheadend Data Directory:<br>
  /usr/share/tvheadend<br>
<br>
CC              build.linux/src/main.o<br>
/tmp/SBo/tvheadend-3.4patch1/src/main.c: In function ‘tvhlogv’:<br>
/tmp/SBo/tvheadend-3.4patch1/src/main.c:805:38: error: ‘%s’ directive output may be truncated writing up to 2047 bytes into a region of size between 1984 and 2047 [-Werror=format-truncation=]<br>
  805 |     snprintf(buf2, sizeof(buf2), "%s %s", t, buf);<br>
      |                                      ^~      ~~~<br>
/tmp/SBo/tvheadend-3.4patch1/src/main.c:805:5: note: ‘snprintf’ output between 2 and 2112 bytes into a destination of size 2048<br>
  805 |     snprintf(buf2, sizeof(buf2), "%s %s", t, buf);<br>
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
cc1: all warnings being treated as errors<br>
make: *** [Makefile:255: build.linux/src/main.o] Error 1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">----<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Seems to be a warning treated as error. I was including:  -Wno-error  directive to avoid this in SLKCFLAGS in tvheadend.SlackBuild and other possible places with no sucess.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I do not have experience in compiling C source code. Please review this and let me know If I can do something from my side.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks in advance for your help.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Francisco.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>