2024-10-16 08:32:01 +08:00
|
|
|
|
Building RPM in LFS 12.2
|
|
|
|
|
========================
|
|
|
|
|
|
|
|
|
|
This git is for the scripts needed to build the dependencies for the RPM Package
|
|
|
|
|
Manager (RPM) within a LFS 12.2 system. This is ‘Phase Three’ in `THE-PLAN.md`.
|
|
|
|
|
|
2024-10-16 16:08:54 +08:00
|
|
|
|
First I am attempting to build RPM 4.18.x as I successfully built that version
|
|
|
|
|
of RPM on LFS 11.3. However that version of RPM is EOL so once I get it building
|
|
|
|
|
I will not install it but instead look to see if I can the modern version of RPM
|
|
|
|
|
to build. I believe they changed the build system to CMake so there will almost
|
|
|
|
|
be some additional dependencies needed.
|
|
|
|
|
|
2024-10-16 08:32:01 +08:00
|
|
|
|
Dependency One: UnZip
|
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
|
|
Justification: Needed to build SQLite 3 (to unpack the documentation). No build
|
|
|
|
|
dependencies outside of LFS.
|
|
|
|
|
|
2024-10-16 08:36:01 +08:00
|
|
|
|
* Script: [`01-unzip.sh`](01-unzip.sh)
|
2024-10-16 09:36:20 +08:00
|
|
|
|
* Status: Script Works
|
|
|
|
|
|
|
|
|
|
Dependency Two: SQLite3
|
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
|
|
Justification: Needed to build RPM itself. Depends upon UnZip for documentation.
|
|
|
|
|
|
|
|
|
|
* Script: [`02-sqlite3.sh`](02-sqlite3.sh)
|
2024-10-16 11:11:00 +08:00
|
|
|
|
* Status: Script Works
|
2024-10-16 10:04:52 +08:00
|
|
|
|
|
|
|
|
|
Dependency Three: libgpg-error
|
|
|
|
|
------------------------------
|
|
|
|
|
|
2024-10-16 18:10:57 +08:00
|
|
|
|
Justification: Needed to build libgcrypt and libassuan. No build dependencies
|
|
|
|
|
outside of LFS.
|
2024-10-16 10:04:52 +08:00
|
|
|
|
|
|
|
|
|
* Script: [`03-libgpg-error.sh`](03-libgpg-error.sh)
|
2024-10-16 11:11:00 +08:00
|
|
|
|
* Status: Script Works
|
2024-10-16 10:04:52 +08:00
|
|
|
|
|
2024-10-16 10:36:59 +08:00
|
|
|
|
Dependency Four: libgcrypt
|
|
|
|
|
--------------------------
|
|
|
|
|
|
2024-10-16 18:10:57 +08:00
|
|
|
|
Justification: Needed to build RPM itself and GnuPG. Depends upon libgpg-error.
|
2024-10-16 10:36:59 +08:00
|
|
|
|
|
|
|
|
|
* Script: [`04-libgcrypt.sh`](04-libgcrypt.sh)
|
2024-10-16 11:11:00 +08:00
|
|
|
|
* Status: Script Works
|
2024-10-16 10:36:59 +08:00
|
|
|
|
|
2024-10-16 12:42:51 +08:00
|
|
|
|
Dependency Five: popt
|
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
|
|
Justification: Needed to build RPM itself. No build dependencies outside of LFS.
|
2024-10-16 10:04:52 +08:00
|
|
|
|
|
2024-10-16 12:42:51 +08:00
|
|
|
|
* Script: [`05-popt.sh`](05-popt.sh)
|
2024-10-16 13:19:15 +08:00
|
|
|
|
* Status: Script Works
|
|
|
|
|
|
2024-10-16 13:31:16 +08:00
|
|
|
|
Dependency Six: ICU
|
|
|
|
|
-------------------
|
2024-10-16 13:19:15 +08:00
|
|
|
|
|
2024-10-16 14:24:35 +08:00
|
|
|
|
Justification: Needed to build libxml2. No build dependencies outside of LFS.
|
2024-10-16 13:19:15 +08:00
|
|
|
|
|
|
|
|
|
* Script: [`06-icu.sh`](06-icu.sh)
|
2024-10-16 15:33:54 +08:00
|
|
|
|
* Status: Script Works
|
2024-10-16 13:31:16 +08:00
|
|
|
|
|
|
|
|
|
Dependency Seven: libxml2
|
|
|
|
|
-------------------------
|
|
|
|
|
|
2024-10-16 14:24:35 +08:00
|
|
|
|
Justification: Needed for libarchive. Depends on ICU.
|
2024-10-16 13:31:16 +08:00
|
|
|
|
|
|
|
|
|
* Script: [`07-libxml2.sh`](07-libxml2.sh)
|
2024-10-16 15:33:54 +08:00
|
|
|
|
* Status: Script Works
|
2024-10-16 13:31:16 +08:00
|
|
|
|
|
2024-10-16 13:42:22 +08:00
|
|
|
|
Dependency Eight: LZO
|
|
|
|
|
---------------------
|
|
|
|
|
|
2024-10-16 14:24:35 +08:00
|
|
|
|
Justification: Needed for libarchive. No build dependencies outside of LFS.
|
2024-10-16 13:42:22 +08:00
|
|
|
|
|
|
|
|
|
* Script: [`08-lzo.sh`](08-lzo.sh)
|
2024-10-16 15:33:54 +08:00
|
|
|
|
* Status: Script Works
|
2024-10-16 13:42:22 +08:00
|
|
|
|
|
2024-10-16 14:24:35 +08:00
|
|
|
|
Dependency Nine: nettle
|
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
|
|
Justification: Needed for libarchive. No build dependencies outside of LFS.
|
|
|
|
|
|
|
|
|
|
* Script: [`09-nettle.sh`](09-nettle.sh)
|
2024-10-16 15:33:54 +08:00
|
|
|
|
* Status: Script Works
|
2024-10-16 14:24:35 +08:00
|
|
|
|
|
2024-10-16 14:40:23 +08:00
|
|
|
|
Dependency Ten: pcre2
|
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
|
|
Justification: Needed for libarchive. No build dependencies outside of LFS.
|
|
|
|
|
|
|
|
|
|
* Script: [`10-pcre2.sh`](10-pcre2.sh)
|
2024-10-16 15:33:54 +08:00
|
|
|
|
* Status: Script Works
|
2024-10-16 14:40:23 +08:00
|
|
|
|
|
2024-10-16 14:50:24 +08:00
|
|
|
|
Dependency Eleven: libarchive
|
|
|
|
|
-----------------------------
|
2024-10-16 13:31:16 +08:00
|
|
|
|
|
2024-10-16 14:50:24 +08:00
|
|
|
|
Justification: Needed to build RPM. Depends upon libxml2, LZO, Nettle, and
|
|
|
|
|
pcre2.
|
|
|
|
|
|
|
|
|
|
* Script: [`11-libarchive.sh`](11-libarchive.sh)
|
2024-10-16 15:33:54 +08:00
|
|
|
|
* Status: Script Works
|
|
|
|
|
|
2024-10-16 15:54:01 +08:00
|
|
|
|
Dependency Twelve: Lua
|
|
|
|
|
----------------------
|
2024-10-16 15:33:54 +08:00
|
|
|
|
|
2024-10-16 15:54:01 +08:00
|
|
|
|
Justification: Needed to build RPM. No build dependencies outside of LFS.
|
|
|
|
|
|
|
|
|
|
* Script: [`12-lua.sh`](12-lua.sh)
|
2024-10-16 18:10:57 +08:00
|
|
|
|
* Status: Script Works
|
|
|
|
|
|
|
|
|
|
Dependency Thirteen: libassuan
|
|
|
|
|
------------------------------
|
|
|
|
|
|
|
|
|
|
Justification: Needed to build GnuPG
|
|
|
|
|
|
|
|
|
|
* Script: [`13-libassuan.sh`](13-libassuan.sh)
|
2024-10-16 15:54:01 +08:00
|
|
|
|
* Status: Script Untested
|
2024-10-16 18:10:57 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|