<div dir="ltr"><p><span style="font-family:Calibri,sans-serif">On Tue, 5 Jul 2016 09:53:03
-0400 Brad King <<a href="mailto:brad.king@kitware.com">brad.king@kitware.com</a>> wrote:</span> <br>
<span style="font-family:Calibri,sans-serif">> On 07/02/2016 03:54 PM,
Debian Bug Tracking System wrote:</span> <br>
<span style="font-family:Calibri,sans-serif">> > It has been closed by
Sylvestre Ledru <<a href="mailto:sylvestre@debian.org">sylvestre@debian.org</a>>.</span> <br>
<span style="font-family:Calibri,sans-serif">> </span><br>
<span style="font-family:Calibri,sans-serif">> I can confirm 3.8.1-3 works
now.  Thanks!</span> <br>
<span style="font-family:Calibri,sans-serif">> </span><br>
<span style="font-family:Calibri,sans-serif">> However, it looks like 3.9
needs additional work due to more upstream</span> <br>
<span style="font-family:Calibri,sans-serif">> changes.  The changes
needed to support it will likely be incompatible</span> <br>
<span style="font-family:Calibri,sans-serif">> with the 3.8 packages so
you may need a new svn branch in the packaging</span> <br>
<span style="font-family:Calibri,sans-serif">> repo for 3.9.  I'll
follow up in</span> <br>
<span style="font-family:Calibri,sans-serif">> </span><br>
<span style="font-family:Calibri,sans-serif">>  <a href="https://llvm.org/bugs/show_bug.cgi?id=28325"><span style="font-family:"Times New Roman",serif">https://llvm.org/bugs/show_bug.cgi?id=28325</span></a></span>
<br>
<span style="font-family:Calibri,sans-serif">> </span><br>
<span style="font-family:Calibri,sans-serif">> with more details.</span> <br>
<span style="font-family:Calibri,sans-serif">> </span><br>
<span style="font-family:Calibri,sans-serif">> -Brad</span> <br>
<span style="font-family:Calibri,sans-serif">> </span><br>
<span style="font-family:Calibri,sans-serif">> </span><br>
<span style="font-family:Calibri,sans-serif">> </span></p><p><span style="font-family:Calibri,sans-serif"><br></span></p><p><span style="font-family:Calibri,sans-serif">It appears that with </span><font face="Calibri, sans-serif">3.8.1-4, there is an issue with help2man and how BUILD_DIR is handled.</font></p><p>"<span style="color:rgb(51,51,51);font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;white-space:pre">help2man: can't get `--help' info from build-llvm//bin/llvm-mc"</span></p><p>The following code sets this early on:</p><p>ifeq (${AUTOCONF_BUILD},yes)</p><p>BUILD_DIR=Release</p><p>endif</p><p>However, later on, this is referenced during man page generation:</p><p>LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/:/usr/lib/*/libfakeroot help2man --no-discard-stderr --version-string=$(LLVM_VERSION) $(TARGET_BUILD)/$(BUILD_DIR)/bin/$$f > debian/man/$$f-$(LLVM_VERSION).1; </p><p>What this does then, is just mess up this process, adding two slashes. The path should be be corrected here, maybe in any of the two ways:</p><p>1. Adjust the setting of BUILD_DIR, accounting for both cases (yes and no)</p><p>2. Use a sed expression ahead of help2man like:</p><p><br></p><p>ifeq (${AUTOCONF_BUILD},yes)</p><p>VERSION_STRING=$(LLVM_VERSION) $(TARGET_BUILD)/$(BUILD_DIR)<br></p><p>else</p><p>VERSION_STRING=$(LLVM_VERSION) $(TARGET_BUILD)<br></p><p>endif</p><p><br></p><p>Then later:</p><p>LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/:/usr/lib/*/libfakeroot help2man --no-discard-stderr --version-string=$(VERSION_STRING)/bin/$$f > debian/man/$$f-$(LLVM_VERSION).1; <br></p><p>Going to test this out myself, but the build takes quite a while.</p><p><br></p><p><br></p><p><br></p><p>-- </p><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Michael DeGuzis<br>Email: <a href="mailto:mdeguzis@gmail.com" target="_blank">mdeguzis@gmail.com</a><br>Website: <a href="http://www.libregeek.org/" target="_blank">http://www.libregeek.org</a><br>Linked In <a href="http://www.linkedin.com/profile/view?id=124915388&trk=nav_responsive_tab_profile" target="_blank">Resume/Profile</a></div>
<div><span style="font-size:small">Projects: <a href="https://github.com/ProfessorKaos64" target="_blank">GitHub Projects</a></span><br></div></div></div></div>
</div>