[OpenAFS-devel] openafs build error making man files (including solution)
Karl Behler
karl.behler@ipp.mpg.de
Mon, 17 Dec 2018 18:26:45 +0100
This is a multi-part message in MIME format.
--------------2FFA2F4CB68A6A999D35531D
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Dear All,
I've recently built OpenAFS from git origin/master and found a minor
error which nevertheless should be fixed.
(For the following the platform and some other normally crucial details
do not matter. Feel free to ask if you think otherwise.)
During the build everything important went fine but one of the final
make steps creating the man files failed with the following error messages:
./install-man[43]: man3/*.3.tmp: cannot create [No such file or directory]
*** Error code 1
dmake: Fatal error: Command failed for target `dest'
Current working directory /home/kcbnfs/src/openafs/doc/man-pages
*** Error code 1
dmake: Fatal error: Command failed for target `man-pages'
Current working directory /home/kcbnfs/src/openafs
*** Error code 1
dmake: Fatal error: Command failed for target `build'
Current working directory /home/kcbnfs/src/openafs
*** Error code 1
dmake: Fatal error: Command failed for target `dest'
Tracking the error down I found following might fix the issue.
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: doc/man-pages/Makefile.in
Untracked files:
(use "git add <file>..." to include in what will be committed)
201812141621_.config.log
201812141621_.make.log
201812171402_sun4x_511.config.log
201812171402_sun4x_511.make.log
no changes added to commit (use "git add" and/or "git commit -a")
kcbnfs@stsrv4 43) git diff
git diff
git diff
diff --git a/doc/man-pages/Makefile.in b/doc/man-pages/Makefile.in
index 587bed2d7..882dd48c5 100644
--- a/doc/man-pages/Makefile.in
+++ b/doc/man-pages/Makefile.in
@@ -33,7 +33,7 @@ INSTALL_KAUTH = @INSTALL_KAUTH@
prep-noinstall: Makefile
rm -f man*/*.noinstall
if [ "$(INSTALL_KAUTH)" = "no" ] ; then \
- mkdir -p man1 man5 man8; \
+ mkdir -p man1 man3 man5 man8; \
for M in $(KAUTH_MAN); do \
touch $$M.noinstall; \
done; \
Apologies for my unsophisticated proposal. Nevertheless, I hope it helps. :)
Best regards,
Karl
--
Dr. Karl Behler
CODAC & IT services ASDEX Upgrade
phon +49 89 3299-1351 fax 3299-961351
--------------2FFA2F4CB68A6A999D35531D
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear All,</p>
<p>I've recently built OpenAFS from git origin/master and found a
minor error which nevertheless should be fixed.<br>
(For the following the platform and some other normally crucial
details do not matter. Feel free to ask if you think otherwise.)<br>
During the build everything important went fine but one of the
final make steps creating the man files failed with the following
error messages:</p>
<pre> ./install-man[43]: man3/*.3.tmp: cannot create [No such file or directory]
*** Error code 1
dmake: Fatal error: Command failed for target `dest'
Current working directory /home/kcbnfs/src/openafs/doc/man-pages
*** Error code 1
dmake: Fatal error: Command failed for target `man-pages'
Current working directory /home/kcbnfs/src/openafs
*** Error code 1
dmake: Fatal error: Command failed for target `build'
Current working directory /home/kcbnfs/src/openafs
*** Error code 1
dmake: Fatal error: Command failed for target `dest'
</pre>
<p>Tracking the error down I found following might fix the issue.<br>
</p>
<pre>On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: doc/man-pages/Makefile.in
Untracked files:
(use "git add <file>..." to include in what will be committed)
201812141621_.config.log
201812141621_.make.log
201812171402_sun4x_511.config.log
201812171402_sun4x_511.make.log
no changes added to commit (use "git add" and/or "git commit -a")
kcbnfs@stsrv4 43) git diff
git diff
git diff
diff --git a/doc/man-pages/Makefile.in b/doc/man-pages/Makefile.in
index 587bed2d7..882dd48c5 100644
--- a/doc/man-pages/Makefile.in
+++ b/doc/man-pages/Makefile.in
@@ -33,7 +33,7 @@ INSTALL_KAUTH = @INSTALL_KAUTH@
prep-noinstall: Makefile
rm -f man*/*.noinstall
if [ "$(INSTALL_KAUTH)" = "no" ] ; then \
- mkdir -p man1 man5 man8; \
+ mkdir -p man1 man3 man5 man8; \
for M in $(KAUTH_MAN); do \
touch $$M.noinstall; \
done; \
</pre>
<p>Apologies for my unsophisticated proposal. Nevertheless, I hope
it helps. :)</p>
<p>Best regards,</p>
<p>Karl<br>
</p>
<pre class="moz-signature" cols="72">--
Dr. Karl Behler
CODAC & IT services ASDEX Upgrade
phon +49 89 3299-1351 fax 3299-961351
</pre>
</body>
</html>
--------------2FFA2F4CB68A6A999D35531D--