[lfs] branch trunk updated: Add a note about updating libcap. If the go compiler is present when updating libcap, the build fails. This note tells th euser how to work around the problem.

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <176356777630.30452.14066028745346525469@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository lfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 90219474a Add a note about updating libcap. If the go compiler is present when updating libcap, the build fails. This note tells th euser how to work around the problem.
90219474a is described below

commit 90219474acded18e6f0eb2a244e1190ccf3db977
Author: Bruce Dubbs <[email protected]>
AuthorDate: Wed Nov 19 09:54:24 2025 -0600

    Add a note about updating libcap.
    If the go compiler is present when updating libcap, the build fails.
    This note tells th euser how to work around the problem.
---
 chapter08/libcap.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/chapter08/libcap.xml b/chapter08/libcap.xml
index 09a56f343..74e32c036 100644
--- a/chapter08/libcap.xml
+++ b/chapter08/libcap.xml
@@ -43,6 +43,15 @@
   <sect2 role="installation">
     <title>Installation of Libcap</title>
 
+    <note>
+      <para>
+        If updating this package on an existing system and the go compiler is
+        installed, prevent a build error by using <command>export GOLANG=no</command>
+        before running the commands below.  Be sure to unset <envar>GOLANG</envar>
+        after installation is complete.
+      </para>
+    </note>
+
     <para>Prevent static libraries from being installed:</para>
 
 <screen><userinput remap="pre">sed -i '/install -m.*STA/d' libcap/Makefile</userinput></screen>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.