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やら自動化のシェルスクリプトなど便利なものがあるみたいですが、 本質的に理解したい人や初めての人は全て手動でやる事を進めます。 基本的に分からない事やトラブルに関しての質問をする時は気を付けましょう。 なるべく抽象的な表現は避け、具体的な事象を元に理論立てて相手に分かりやすいように 質問される側の立場に立って質問してください。 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ちゃんねる