source: general/genlib/libarchive.xml@ 4f75caf

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4f75caf was 4f75caf, checked in by Xi Ruoyao <xry111@…>, 4 years ago

libarchive: document the test fail introduced by glibc-2.32

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23463 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[57f7cfa]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[dd352da0]7 <!ENTITY libarchive-download-http "https://github.com/libarchive/libarchive/releases/download/v&libarchive-version;/libarchive-&libarchive-version;.tar.xz">
[57f7cfa]8 <!ENTITY libarchive-download-ftp " ">
[06bb5bde]9 <!ENTITY libarchive-md5sum "4b216ea3015ecf8ae555a2026f9a6b73">
[dd352da0]10 <!ENTITY libarchive-size "4.6 MB">
[06bb5bde]11 <!ENTITY libarchive-buildsize "40 MB (add 28 MB for tests)">
12 <!ENTITY libarchive-time "0.4 SBU (add 1.0 SBU for tests)">
[57f7cfa]13]>
14
15<sect1 id="libarchive" xreflabel="libarchive-&libarchive-version;">
16 <?dbhtml filename="libarchive.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libarchive-&libarchive-version;</title>
24
25 <indexterm zone="libarchive">
26 <primary sortas="a-libarchive">libarchive</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libarchive</title>
31
[5b38e37]32 <para>
33 The <application>libarchive</application> library provides a single
34 interface for reading/writing various compression formats.
35 </para>
[57f7cfa]36
[83a74f1d]37 &lfs91_checked;
[57f7cfa]38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[5b38e37]42 <para>
[56605b9]43 Download (HTTP): <ulink url="&libarchive-download-http;"/>
44 </para>
[57f7cfa]45 </listitem>
46 <listitem>
[5b38e37]47 <para>
48 Download (FTP): <ulink url="&libarchive-download-ftp;"/>
49 </para>
[57f7cfa]50 </listitem>
51 <listitem>
[5b38e37]52 <para>
53 Download MD5 sum: &libarchive-md5sum;
54 </para>
[57f7cfa]55 </listitem>
56 <listitem>
[5b38e37]57 <para>
58 Download size: &libarchive-size;
59 </para>
[57f7cfa]60 </listitem>
61 <listitem>
[5b38e37]62 <para>
63 Estimated disk space required: &libarchive-buildsize;
64 </para>
[57f7cfa]65 </listitem>
66 <listitem>
[5b38e37]67 <para>
68 Estimated build time: &libarchive-time;
69 </para>
[57f7cfa]70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">libarchive Dependencies</bridgehead>
74
[af822af]75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
[56605b9]77 <xref linkend="libxml2"/>,
[bc0d10e]78 <xref linkend="lzo"/>, and
79 <xref linkend="nettle"/>
80 <!-- <ulink url="https://facebook.github.io/zstd/">zstd</ulink> Now in LFS -->
[57f7cfa]81 </para>
82
83 <para condition="html" role="usernotes">User Notes:
[5b38e37]84 <ulink url="&blfs-wiki;/libarchive"/>
85 </para>
[57f7cfa]86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of libarchive</title>
90
[5b38e37]91 <para>
92 Install <application>libarchive</application> by running the following
93 commands:
94 </para>
[57f7cfa]95
[4dd2e4c]96<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[57f7cfa]97make</userinput></screen>
98
[5b38e37]99 <para>
[d2812732]100 To test the results, issue: <command>LC_ALL=C make check</command>.
[4f75caf]101 <!-- introduced by glibc-2.32, will be fixed in next libarchive release -->
102 One test named test_write_disk_secure is known to fail.
[5b38e37]103 </para>
[b88be39]104
[5b38e37]105 <para>
106 Now, as the <systemitem class="username">root</systemitem> user:
107 </para>
[57f7cfa]108
109<screen role="root"><userinput>make install</userinput></screen>
110
[40a4d44]111 </sect2>
[0d7900a]112
[5b38e37]113 <sect2 role="commands">
[40a4d44]114 <title>Command Explanations</title>
115
[5b38e37]116 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
117 href="../../xincludes/static-libraries.xml"/>
[40a4d44]118
[9efe5ae]119 <para>
120 <option>--without-xml2</option>: This switch sets expat for xar archive
121 format support instead of preferred libxml2 if both packages are installed.
122 </para>
123
124 <para>
125 <option>--without-nettle</option>: This switch sets OpenSSL for crypto
126 support instead of preferred Nettle if both packages are installed.
127 </para>
128
[57f7cfa]129 </sect2>
130
131 <sect2 role="content">
132 <title>Contents</title>
133
134 <segmentedlist>
[fd27868]135 <segtitle>Installed Programs</segtitle>
[40a4d44]136 <segtitle>Installed Libraries</segtitle>
[fd27868]137 <segtitle>Installed Directories</segtitle>
[57f7cfa]138
139 <seglistitem>
[5b38e37]140 <seg>
[fdbead3]141 bsdcat, bsdcpio, and bsdtar
[5b38e37]142 </seg>
143 <seg>
144 libarchive.so
145 </seg>
146 <seg>
147 None
148 </seg>
[57f7cfa]149 </seglistitem>
150 </segmentedlist>
151
152 <variablelist>
153 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
154 <?dbfo list-presentation="list"?>
155 <?dbhtml list-presentation="table"?>
156
[fdbead3]157 <varlistentry id="bsdcat">
158 <term><command>bsdcat</command></term>
159 <listitem>
160 <para>
161 expands files to standard output.
162 </para>
163 <indexterm zone="libarchive bsdcat">
164 <primary sortas="b-bsdcat">bsdcat</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
[57f7cfa]169 <varlistentry id="bsdcpio">
170 <term><command>bsdcpio</command></term>
171 <listitem>
[5b38e37]172 <para>
173 is a tool similar to <command>cpio</command>.
174 </para>
[57f7cfa]175 <indexterm zone="libarchive bsdcpio">
176 <primary sortas="b-bsdcpio">bsdcpio</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
[40a4d44]181 <varlistentry id="bsdtar">
182 <term><command>bsdtar</command></term>
183 <listitem>
[5b38e37]184 <para>
185 is a tool similar to GNU <command>tar</command>.
186 </para>
[40a4d44]187 <indexterm zone="libarchive bsdtar">
188 <primary sortas="b-bsdtar">bsdtar</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
[0d7900a]192
[5b38e37]193 <varlistentry id="libarchive-lib">
194 <term><filename class="libraryfile">libarchive.so</filename></term>
195 <listitem>
196 <para>
197 is a library that can create and read several streaming
198 archive formats.
199 </para>
200 <indexterm zone="libarchive libarchive-lib">
201 <primary sortas="c-libarchive">libarchive.so</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
[57f7cfa]206 </variablelist>
207
208 </sect2>
209
210</sect1>
Note: See TracBrowser for help on using the repository browser.