On 2016-12-31 01:51+0800 Andrew Lowe wrote:

> Hi all,
>       I'm in the process of upgrading my portable dev environment for my
> students and happened to notice that there are no clang man pages. My
> Gentoo linux box has them, so I was wondering how I get them?
>
>       When I first installed clang, I didn't have man installed so thought
> they may have been skipped, so after the man install, I reinstalled
> clang, but to no avail, no clang man pages.
>
>       Any thoughts on what's up here, greatly appreciated,

I am just lurking here with no actual MSYS2 practical experience yet,
but this does sound like a packaging bug, and I do have a lot of
experience building software so I thought I should comment.

Assuming this is a packaging bug, I would look carefully at
<https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-clang/PKGBUILD>
to see if you can figure out the issue.

For example, I notice there they relocate man pages, but it is not
clear whether they are generated properly in the first place because I
am not that familiar with how to build clang.  However, you might get
some more insight into that by looking at "Beyond Linux from scratch"
which gives lots of specific recommendations about how to build free
software packages such as clang.  The relevant link for clang is
<http://www.linuxfromscratch.org/blfs/view/cvs/general/llvm.html>)
which, for example, does discuss exactly how the man pages should be
generated.

So I have just skimmed the two URL's I mentioned, but it does appear
there is a lot for you to absorb from these two places.  However, if I
were in your shoes with a need for an MSYS2 packaging change for
clang, I would look carefully at the MSYS2 packaging done now for that
software, make your own private copy of that, analyze exactly what is
wrong with the man page generation (using sources like above from
BLFS), fix it, and build the package for your own MSYS2 needs. Then
once you were satisfied with your packaging update, donate your
improved package back to MSYS2 so everyone can benefit from what you
have done.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to