<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - clant/tools Makefile pod2html incompatibility"
   href="https://llvm.org/bugs/show_bug.cgi?id=23054">23054</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clant/tools Makefile pod2html incompatibility
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.6
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Makefiles
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pkryger@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On OsX 10.10. Use clang from Apple, installed via xcode --select.
$ clang++ --version
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix
$ brew --version
0.9.5

brew cannot install llvm (brew install llvm36 --with-libcxx --with-clang
--rtti). brew output:

2015-03-28 08:46:18 +0000

make
VERBOSE=1
install
[...]
private/tmp/llvm3620150328-42496-m7aphz/llvm-3.6.0.src/autoconf/mkinstalldirs
/private/tmp/llvm3620150328-42496-m7aphz/llvm-3.6.0.src/tools/clang/docs/tools/
<span class="quote">> /dev/null</span >
/bin/date >
/private/tmp/llvm3620150328-42496-m7aphz/llvm-3.6.0.src/tools/clang/docs/tools//.dir
pod2html --css=manpage.css --htmlroot=. \
      --podpath=. --infile=clang.pod
--outfile=/private/tmp/llvm3620150328-42496-m7aphz/llvm-3.6.0.src/tools/clang/docs/tools/clang.html
--title=clang
make[4]: pod2html: Permission denied
pod2man --release "clang 3.6.0" --center="Clang Tools Documentation" clang.pod
/private/tmp/llvm3620150328-42496-m7aphz/llvm-3.6.0.src/tools/clang/docs/tools/clang.1
make[4]: ***
[/private/tmp/llvm3620150328-42496-m7aphz/llvm-3.6.0.src/tools/clang/docs/tools/clang.html]
Error 1
make[4]: *** Waiting for unfinished jobs....
rm
/private/tmp/llvm3620150328-42496-m7aphz/llvm-3.6.0.src/tools/clang/docs/tools//.dir
make[3]: *** [install] Error 1
make[2]: *** [install] Error 1
make[1]: *** [clang/.makeinstall] Error 2
make: *** [install] Error 1

(full version here:
<a href="https://gist.githubusercontent.com/anonymous/3f1a31e22d46aced723f/raw/07.make">https://gist.githubusercontent.com/anonymous/3f1a31e22d46aced723f/raw/07.make</a>)

$ ls -l  /usr/bin/pod2html*
-rw-rw-rw-  37 root  wheel   811 10 Sep  2014 /usr/bin/pod2html
-rwxr-xr-x   1 root  wheel  2073 10 Sep  2014 /usr/bin/pod2html5.16
-rwxr-xr-x   1 root  wheel  2073 10 Sep  2014 /usr/bin/pod2html5.18

The file located at /usr/local/bin/pod2html path clearly states:
-- cut --
The contents of this script should normally never run!  The perl wrapper
should pick the correct script in /usr/bin by appending the appropriate
version.
You can try appending the appropriate perl version number.  See perlmacosx.pod
for more information about multiple version support in Mac OS X.
-- cut --

I believe this is an issue with assumption in cfe/clang/docs/tools/Makefile,
that pod2html is accessible (with exactly this name).

It builds when /usr/bin/pod2html5.18 is symlinked to pod2html (symlink earlier
in path).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>