LFS(Linux From Scratch) 統合スレ 3 [無断転載禁止]©2ch.net
現行での最新版は7.10です。 本家 http://www.linuxfromscratch.org/ 日本語参考 http://www.green.ne.jp/JF/LFS-BOOK.html (JFの日本語訳です。5.0なので注意) http://www.atmarkit.co.jp/flinux/index/indexfiles/lfsindex.html (@ITの記事です。3.3なので注意) http://lfsbookja.osdn.jp/7.10/ (Version 7.10日本語訳) LFS(Linux From Scratch) 統合スレ 1 http://pc8.2ch.net/test/read.cgi/linux/1019828587/ LFS(Linux From Scratch) 統合スレ 2 http://hayabusa6.2ch.net/test/read.cgi/linux/1155412397/ 今はLiveCDやら自動化のシェルスクリプトなど便利なものがあるみたいですが、 本質的に理解したい人や初めての人は全て手動でやる事を進めます。 基本的に分からない事やトラブルに関しての質問をする時は気を付けましょう。 なるべく抽象的な表現は避け、具体的な事象を元に理論立てて相手に分かりやすいように 質問される側の立場に立って質問してください。 ticket/5316へのリンクが 5315 になってるよ BLFS があちこちビルドエラーでるんだが、binutils-2.41 が犯人? OpenJDK-20.0.2 をビルドするとき、 JAVA_HOME だけじゃなくて、最近付加された _JAVA_OPTIONS も unset しないと configure できないって怒られるね >ffmpeg-6.0-binutils_2.41-1.patch 例えば、firefox でも同処理をしないといけないみたいだね。 media/ffvpx/libavcodec/x86/mathops.h こらー llvm 17.0.1 にすると mesa のビルドごときに失敗するぞ こらー llvm 17.0.1 にすると rustc-1.72.0 のビルドごときに失敗するぞ >epdfview-gtk3 meson: error: unrecognized arguments: --Denable-printing=true 大丈夫か?w epdfview は自分的に重要 gtk3 で維持してくれて有難い '-D' libxkbcommon-1.6.x qt6i-qtbase sed -i '242,245d' src/gui/platform/unix/qxkbcommon.cpp >>88 6.6.1 から不要になった xkbcommon-1.5.x にも1.6.xにも対応してる diff -ur aaa/qt6/qt3d/src/3rdparty/assimp/src/code/AssetLib/FBX/FBXTokenizer.h bbb/qt6/qt3d/src/3rdparty/assimp/src/code/AssetLib/FBX/FBXTokenizer.h --- aaa/qt6/qt3d/src/3rdparty/assimp/src/code/AssetLib/FBX/FBXTokenizer.h 2023-05-12 05:34:06.986943842 +0900 +++ bbb/qt6/qt3d/src/3rdparty/assimp/src/code/AssetLib/FBX/FBXTokenizer.h 2023-07-20 15:20:37.713323433 +0900 @@ -49,6 +49,7 @@ #include "FBXCompileConfig.h" #include <assimp/ai_assert.h> #include <assimp/defs.h> +#include <cstdint> #include <vector> #include <string> とりあえずqt6 を使うブツ ttp://qmmp.ylsoftware.com/ 2.1.x が qt6 pygments-2.17.1 >ModuleNotFoundError: No module named 'hatchling' dependency が変わってる requests-2.31.0 >ERROR: Could not find a version that satisfies the requirement certifi>=2017.4.17 certifi-2023.11.17 pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD pip3 install --no-index --find-links=dist --no-cache-dir --no-user certifi vulkan-tools や validationlayers はナシ robin-hood-hashing やDirectX も当然ナシ。 seamonkey 2.53.18 autoconf-2.13 がねぇって mach が怒ってるけど? ぶっちゃけrust周り覚えたくも触りたくもない。mozilla発って時点で振り回される気しかしない。 >>99 git もそうなんだけど github にソースを置くの止めて欲しい エディタ()のやつら自分でアーカイブ展開するところからやり直してないだろ $PYTHON311 AUTOCONF=true ./mach build これが通るわけないでしょ… vlc-3.0.20 Arch の taglib-2.patch cups-2.4.7 >--disable-systemd いつまでこうしておくの? あちこちで出る invaild escape sequence がムカツク() python-3.12.x はなんかアレだね… … 2024-04-25 [***] - Update to sysvinit-3.09. Fixes #5466. xz とりあえず、BLFSで openssh 作っただけの人には影響しない。 ま、気持ち悪いからdown grade するかね… 結局ダウングレードせずgit で拾った5.6.1のビルド・インストールを選択。 xz-5.6.1.tar.xz で配布される m4/build-to-host.m4 がバックドアを仕掛ける起点になる模様。 m4/build-to-host.m4 は gettext-runtime 配下で配布されているもので 普通にシステムの usr/share/aclocal に突っ込まれてる。 git した xz のツリーで autogen.sh した後、m4/ にコピーされたものが gettext が配布しているものと同じか比較、ビルド。 一応 openssh を作り直す。 取り合えずの対応。 sphinx 7.3.0 にしないと setuptools のヴァージョンが要件を満たさないとか gdgd文句言ってインスコしねぇ あかん icu75にするとseamonkey のビルドに失敗する あー、 CXXFLAGS='-std=c++17' を通すとビルドできるなー >114 あかん ffmpeg-7.0 にすると vlc のビルドに失敗する qtlocation もあかん icu75 は異常 誰も上げたくないわけだ… >>117 sed -e s@c++14@c++17@ -i qtlocation/src/3rdparty/mapbox-gl-native/mapbox-gl-native.pro mapbox* はBLFS だとツリーに入ってないはずだけど gst-plugin-libav-1.24.3 ffmpeg-7.0 ttps://gitlab.freedesktop.org/slomo/gstreamer/-/commit/de74c19479c97d5aecdf0bcbc337e6d00b4b315a gcc-14 $ make -f unix/Makefile generic_gcc > zip.c >In file included from zip.c:16: >zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)' > 726 | char *memset OF((char *, int, unsigned int)); > | ^~~~~~ >>121 gentoo zip-3.0-clang-15-configure-tests.patch で通る。 gcc-14 だと unix/configure の結果、 -DZMEM なんかが flag に立つのが原因 それ以上追求してない ghostscript https://bugs.ghostscript.com/show_bug.cgi?id=707649 これで通る diff --git a/pdf/pdf_sec.c b/pdf/pdf_sec.c index 565ae80ca..7e8f6719d 100644 --- a/pdf/pdf_sec.c +++ b/pdf/pdf_sec.c @@ -183,8 +183,8 @@ static int apply_sasl(pdf_context *ctx, char *Password, int Len, char **NewPassw * this easy: the errors we want to ignore are the ones with * codes less than 100. */ if ((int)err < 100) { - NewPassword = Password; - NewLen = Len; + *NewPassword = Password; + *NewLen = Len; return 0; } gtk+2 ttps://gitweb.gentoo.org/repo/gentoo.git/plain/x11-libs/gtk+/files/gtk+-2.24.33-Fix-casts.patch >>121 >Certain warnings are now errors >Implicit function declarations (-Werror=implicit-function-declaration) gcc-14の変更で、以前は warning だったのが error 吐いて止まるんだね conftest.c int main(){ char k; memset(&k,0,0); return 0; } これだと落ちる #include <string.h> int main(){ char k; memset(&k,0,0); return 0; } これだと通る あかん… xorg-server + tearfree_backport-1.patch ../hw/xfree86/drivers/modesetting/dri2.c: In function 'ms_dri2_schedule_flip': ../hw/xfree86/drivers/modesetting/dri2.c:498:36: error: passing argument 4 of 'ms_do_pageflip' makes pointer from integer without a cast [-Wint-conversion] あかん… libcddb-1.3.2 cddb_net.c: In function 'timeout_connect': cddb_net.c:328:63: error: passing argument 5 of 'getsockopt' from incompatible pointer type [-Wincompatible-pointer-types] mesa 24.1.1 にしたら色々とさらに酷くなったw 補助的にgcc-13 をstatic でつくって入れておいた方がいい。 誰でもいいからエディタはそれを書くべき。 アチャーやっちゃった… > mesa-24.1.1 あかん… libxml-2.13.0 -> libxslt-1.1.39 CC xsltproc.o xsltproc.c: In function ‘main’: xsltproc.c:735:21: warning: ‘xmlParserMaxDepth’ is deprecated [-Wdeprecated-declarations] 735 | xmlParserMaxDepth = value; | ^~~~~~~~~~~~~~~~~ In file included from xsltproc.c:42: /usr/include/libxml2/libxml/parserInternals.h:35:30: note: declared here 35 | XMLPUBVAR const unsigned int xmlParserMaxDepth; | ^~~~~~~~~~~~~~~~~ xsltproc.c:735:39: error: assignment of read-only variable ‘xmlParserMaxDepth’ 735 | xmlParserMaxDepth = value; | ^ xsltproc.c:905:5: warning: ‘xmlMemoryDump’ is deprecated [-Wdeprecated-declarations] 905 | xmlMemoryDump(); | ^~~~~~~~~~~~~ In file included from /usr/include/libxml2/libxml/tree.h:19, from ../libexslt/exslt.h:11, from xsltproc.c:11: /usr/include/libxml2/libxml/xmlmemory.h:161:9: note: declared here 161 | xmlMemoryDump (void); | ^~~~~~~~~~~~~ make[1]: *** [Makefile:514: xsltproc.o] Error 1 #systemctl enable cups Failed to enable unit: Unit file cups.service does not exist. …… cups-2.4.8/2.4.9 $make DESTDIR=$PWD/DEST install $find DEST -type f -name *.service $ $ls -al CHANGES.md CONTRIBUTING.md CREDITS.md DEST DESTyes <- ???? $ls DESTyes cups-lpd.socket cups-lpd@.service cups.path cups.service cups.socket read.cgi ver 07.5.5 2024/06/08 Walang Kapalit ★ | Donguri System Team 5ちゃんねる