| 次のリビジョン | 前のリビジョン |
| linux:fedora:beignet [2024/04/18 09:39] – 作成 ともやん | linux:fedora:beignet [2025/09/21 11:14] (現在) – [ビルド依存関係のパッケージインストール] ともやん |
|---|
| ====== beignet ====== | ====== beignet ====== |
| | |
| | ===== rpmbuild 環境のパッケージインストール ===== |
| <WRAP color_term> | <WRAP color_term> |
| <WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
| </WRAP> | </WRAP> |
| |
| | ===== beignet ソースパッケージのダウンロード ===== |
| <WRAP color_term> | <WRAP color_term> |
| <WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
| <font color="#FF8700"><b>$</b></font> <font color="#26A269">dnf</font> download <font color="#A347BA">--releasever</font> 29 <font color="#A347BA">--source</font> beignet | <font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> download <font color="#A347BA">--releasever</font> 29 <font color="#A347BA">--source</font> beignet |
| </pre></html></WRAP> | </pre></html></WRAP> |
| <WRAP color_result><html><pre> | <WRAP color_result><html><pre>リポジトリの更新を読み込み中: |
| fedora-source リポジトリーの有効化 | Fedora 29 - Source 100% | 492.6 KiB/s | 5.8 MiB | 00m12s |
| updates-source リポジトリーの有効化 | RPM Fusion for Fedora 29 - Free 100% | 32.3 KiB/s | 244.7 KiB | 00m08s |
| rpmfusion-free-source リポジトリーの有効化 | RPM Fusion for Fedora 29 - Free - Updates 100% | 37.7 KiB/s | 152.8 KiB | 00m04s |
| rpmfusion-free-updates-source リポジトリーの有効化 | RPM Fusion for Fedora 29 - Free - Updates Source 100% | 9.9 KiB/s | 47.6 KiB | 00m05s |
| rpmfusion-nonfree-source リポジトリーの有効化 | RPM Fusion for Fedora 29 - Free - Source 100% | 10.6 KiB/s | 89.4 KiB | 00m08s |
| rpmfusion-nonfree-nvidia-driver-source リポジトリーの有効化 | RPM Fusion for Fedora 29 - Nonfree - NVIDIA Driver 100% | 3.5 KiB/s | 10.7 KiB | 00m03s |
| rpmfusion-nonfree-steam-source リポジトリーの有効化 | RPM Fusion for Fedora 29 - Nonfree - NVIDIA Driver Source 100% | 2.5 KiB/s | 7.4 KiB | 00m03s |
| rpmfusion-nonfree-updates-source リポジトリーの有効化 | RPM Fusion for Fedora 29 - Nonfree - Steam 100% | 2.1 KiB/s | 7.4 KiB | 00m03s |
| メタデータの期限切れの最終確認: 0:01:51 前の 2024年04月18日 09時20分18秒 に実施しました。 | RPM Fusion for Fedora 29 - Nonfree - Updates 100% | 7.5 KiB/s | 30.9 KiB | 00m04s |
| beignet-1.3.2-5.fc29.src.rpm 1.1 MB/s | 1.1 MB 00:01 | RPM Fusion for Fedora 29 - Nonfree - Steam Source 100% | 1.5 KiB/s | 6.1 KiB | 00m04s |
| | RPM Fusion for Fedora 29 - Nonfree - Updates Source 100% | 5.5 KiB/s | 16.9 KiB | 00m03s |
| | RPM Fusion for Fedora 29 - Nonfree 100% | 10.3 KiB/s | 76.0 KiB | 00m07s |
| | RPM Fusion for Fedora 29 - Nonfree - Source 100% | 5.1 KiB/s | 38.2 KiB | 00m07s |
| | リポジトリを読み込みました。 |
| | Downloading Packages: |
| | beignet-0:1.3.2-5.fc29.src 100% | 460.1 KiB/s | 1.1 MiB | 00m02s |
| </pre></html></WRAP> | </pre></html></WRAP> |
| </WRAP> | </WRAP> |
| |
| | ===== rpmbuild ディレクトリを作成 ===== |
| <WRAP color_term> | <WRAP color_term> |
| <WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
| <font color="#FF8700"><b>$</b></font> <font color="#26A269">rpmdev-setuptree</font> | <font color="#0087FF"><b>$</b></font> <font color="#26A269">rpmdev-setuptree</font> |
| <font color="#FF8700"><b>$</b></font> <font color="#26A269">tree</font> <u style="text-decoration-style:single">~/rpmbuild</u> | <font color="#0087FF"><b>$</b></font> <font color="#26A269">tree</font> <u style="text-decoration-style:solid">~/rpmbuild</u></pre></html></WRAP> |
| </pre></html></WRAP> | |
| <WRAP color_result><html><pre> | <WRAP color_result><html><pre> |
| <font color="#12488B"><b>/home/tomoyan/rpmbuild</b></font> | <font color="#12488B"><b>/home/tomoyan/rpmbuild</b></font> |
| ├── <font color="#12488B"><b>SPECS</b></font> | ├── <font color="#12488B"><b>SPECS</b></font> |
| └── <font color="#12488B"><b>SRPMS</b></font> | └── <font color="#12488B"><b>SRPMS</b></font> |
| | |
| | 6 directories, 0 files |
| </pre></html></WRAP> | </pre></html></WRAP> |
| <WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
| <font color="#FF8700"><b>$</b></font> <font color="#26A269">rpm</font> <font color="#A347BA">-ivh</font> <u style="text-decoration-style:single">beignet-1.3.2-5.fc29.src.rpm</u> | <font color="#0087FF"><b>$</b></font> <font color="#26A269">rpm</font> <font color="#A347BA">-ivh</font> <u style="text-decoration-style:solid">beignet-1.3.2-5.fc29.src.rpm</u> |
| </pre></html></WRAP> | </pre></html></WRAP> |
| <WRAP color_result><html><pre> | <WRAP color_result><html><pre> |
| </WRAP> | </WRAP> |
| |
| | ===== ビルド依存関係のパッケージインストール ===== |
| <WRAP color_term> | <WRAP color_term> |
| <WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
| <font color="#FF8700"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:single">sudo</u></font> <font color="#26A269">dnf</font> builddep <u style="text-decoration-style:single">~/rpmbuild/SPECS/beignet.spec</u> | <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">dnf</font> builddep <u style="text-decoration-style:solid">~/rpmbuild/SPECS/beignet.spec</u> |
| </pre></html></WRAP> | </pre></html></WRAP> |
| <WRAP color_result><html><pre> | <WRAP color_result><html><pre> |
| メタデータの期限切れの最終確認: 1:49:11 前の 2024年04月18日 07時41分14秒 に実施しました。 | リポジトリの更新を読み込み中: |
| パッケージ libappstream-glib-0.8.2-4.fc39.x86_64 は既にインストールされています。 | リポジトリを読み込みました。 |
| パッケージ clang-devel-17.0.6-2.fc39.x86_64 は既にインストールされています。 | Failed to resolve the transaction: |
| パッケージ cmake-3.27.7-1.fc39.x86_64 は既にインストールされています。 | Package "libappstream-glib-0.8.3-3.fc42.x86_64" is already installed. |
| パッケージ gcc-13.2.1-7.fc39.x86_64 は既にインストールされています。 | Package "clang-devel-20.1.3-1.fc42.x86_64" is already installed. |
| パッケージ gcc-c++-13.2.1-7.fc39.x86_64 は既にインストールされています。 | Package "cmake-3.31.6-2.fc42.x86_64" is already installed. |
| パッケージ llvm-devel-17.0.6-3.fc39.x86_64 は既にインストールされています。 | Package "gcc-15.1.1-1.fc42.x86_64" is already installed. |
| パッケージ ncurses-devel-6.4-7.20230520.fc39.1.x86_64 は既にインストールされています。 | Package "gcc-c++-15.1.1-1.fc42.x86_64" is already installed. |
| パッケージ ocl-icd-devel-2.3.2-2.fc39.x86_64 は既にインストールされています。 | Package "llvm-devel-20.1.3-1.fc42.x86_64" is already installed. |
| インストール用の一致するパッケージがありません: 'pkgconfig(egl) >= 11.0.0' | Package "ncurses-devel-6.5-5.20250125.fc42.x86_64" is already installed. |
| パッケージ libdrm-devel-2.4.120-1.fc39.x86_64 は既にインストールされています。 | Package "ocl-icd-devel-2.3.2-8.fc42.x86_64" is already installed. |
| パッケージ libdrm-devel-2.4.120-1.fc39.x86_64 は既にインストールされています。 | No match for argument: pkgconfig(egl) >= 11.0.0 |
| パッケージ libX11-devel-1.8.7-1.fc39.x86_64 は既にインストールされています。 | Package "libglvnd-devel-1:1.7.0-7.fc42.x86_64" is already installed. |
| パッケージ libXext-devel-1.3.5-3.fc39.x86_64 は既にインストールされています。 | Package "libdrm-devel-2.4.124-2.fc42.x86_64" is already installed. |
| パッケージ libXfixes-devel-6.0.0-6.fc39.x86_64 は既にインストールされています。 | Package "libdrm-devel-2.4.124-2.fc42.x86_64" is already installed. |
| パッケージ python3-devel-3.12.2-2.fc39.x86_64 は既にインストールされています。 | Package "libva-devel-2.22.0-4.fc42.x86_64" is already installed. |
| パッケージ zlib-devel-1.2.13-4.fc39.x86_64 は既にインストールされています。 | Package "libva-devel-2.22.0-4.fc42.x86_64" is already installed. |
| すべての依存関係が満たされているわけではない | Package "libX11-devel-1.8.11-1.fc42.x86_64" is already installed. |
| エラー: 一部のパッケージは見つかりませんでした。 | Package "libXext-devel-1.3.6-3.fc42.x86_64" is already installed. |
| | Package "libXfixes-devel-6.0.1-5.fc42.x86_64" is already installed. |
| | Package "python3-devel-3.13.3-2.fc42.x86_64" is already installed. |
| | Package "zlib-ng-compat-devel-2.2.4-3.fc42.x86_64" is already installed. |
| | コマンド ラインに追加してみてください: |
| | --skip-unavailable で利用できないパッケージをスキップします |
| </pre></html></WRAP> | </pre></html></WRAP> |
| </WRAP> | </WRAP> |
| | |
| | ビルドチェック...🤔\\ |
| | <WRAP color_term> |
| | <WRAP color_command><html><pre> |
| | <font color="#0087FF"><b>$</b></font> <font color="#26A269">rpmbuild</font> <font color="#A347BA">-ba</font> <u style="text-decoration-style:solid">~/rpmbuild/SPECS/beignet.spec</u> |
| | </pre></html></WRAP> |
| | <WRAP color_result><html><pre> |
| | setting SOURCE_DATE_EPOCH=1531353600 |
| | エラー: ビルド依存性の失敗: |
| | pkgconfig(egl) >= 11.0.0 は beignet-1.3.2-5.fc42.x86_64 に必要とされています |
| | </pre></html></WRAP> |
| | <WRAP color_command><html><pre> |
| | <font color="#0087FF"><b>$</b></font> <font color="#26A269">pkg-config</font> <font color="#A347BA">--modversion</font> egl |
| | </pre></html></WRAP> |
| | <WRAP color_result><html><pre> |
| | 1.5 |
| | </pre></html></WRAP> |
| | </WRAP> |
| | |
| | <WRAP color_term> |
| | <WRAP color_command><html><pre> |
| | <font color="#0087FF"><b>$</b></font> <font color="#26A269">bat</font> <font color="#A347BA">-H27:28</font> <u style="text-decoration-style:solid">~/rpmbuild/SPECS/beignet.spec</u> |
| | </pre></html></WRAP> |
| | <WRAP color_mincode><html><pre class=Bat> |
| | <font color="#839496"> 1</font> <font color="#F8F8F2">Name: beignet</font> |
| | <font color="#839496"> 2</font> <font color="#F8F8F2">Version: 1.3.2</font> |
| | <font color="#839496"> 3</font> <font color="#F8F8F2">Release: 5%{?dist}</font> |
| | <font color="#839496"> 4</font> <font color="#F8F8F2">Summary: Open source implementation of the OpenCL for Intel GPUs</font> |
| | <font color="#839496"> 5</font> |
| | <font color="#839496"> 6</font> <font color="#F8F8F2">License: LGPLv2+</font> |
| | <font color="#839496"> 7</font> <font color="#F8F8F2">URL: https://01.org/beignet/</font> |
| | <font color="#839496"> 8</font> <font color="#F8F8F2">Source0: https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz</font> |
| | <font color="#839496"> 9</font> <font color="#F8F8F2"># https://cgit.freedesktop.org/beignet/commit/?id=033464f4b8045a49dbcc1a84cde5c05986ca11c2</font> |
| | <font color="#839496"> 10</font> <font color="#F8F8F2">Patch1: 0001-Add-AppStream-metadata.patch</font> |
| | <font color="#839496"> 11</font> <font color="#F8F8F2"># Sent to ignatenkobrain by Debian maintainers via email</font> |
| | <font color="#839496"> 12</font> <font color="#F8F8F2">Patch2: beignet-llvm6.patch</font> |
| | <font color="#839496"> 13</font> |
| | <font color="#839496"> 14</font> <font color="#F8F8F2">BuildRequires: cmake</font> |
| | <font color="#839496"> 15</font> <font color="#F8F8F2">BuildRequires: gcc</font> |
| | <font color="#839496"> 16</font> <font color="#F8F8F2">BuildRequires: gcc-c++</font> |
| | <font color="#839496"> 17</font> <font color="#F8F8F2">BuildRequires: llvm-devel</font> |
| | <font color="#839496"> 18</font> <font color="#F8F8F2">BuildRequires: clang-devel</font> |
| | <font color="#839496"> 19</font> <font color="#F8F8F2">BuildRequires: ncurses-devel</font> |
| | <font color="#839496"> 20</font> <font color="#F8F8F2">BuildRequires: zlib-devel</font> |
| | <font color="#839496"> 21</font> <font color="#F8F8F2">BuildRequires: pkgconfig(x11)</font> |
| | <font color="#839496"> 22</font> <font color="#F8F8F2">BuildRequires: pkgconfig(libdrm)</font> |
| | <font color="#839496"> 23</font> <font color="#F8F8F2">BuildRequires: pkgconfig(libdrm_intel) >= 2.4.52</font> |
| | <font color="#839496"> 24</font> <font color="#F8F8F2">BuildRequires: pkgconfig(xext)</font> |
| | <font color="#839496"> 25</font> <font color="#F8F8F2">BuildRequires: pkgconfig(xfixes)</font> |
| | <font color="#839496"> 26</font> <font color="#F8F8F2">BuildRequires: pkgconfig(gl)</font> |
| | <font color="#839496"> 27</font> <span style="background-color:#333333"><font color="#F8F8F2">BuildRequires: pkgconfig(egl) >= 1.5</font></span><span style="background-color:#333333"> </span> |
| | <font color="#839496"> 28</font> <span style="background-color:#333333"><font color="#F8F8F2">#BuildRequires: pkgconfig(egl) >= 11.0.0</font></span><span style="background-color:#333333"> </span> |
| | <font color="#839496"> 29</font> <font color="#F8F8F2">BuildRequires: ocl-icd-devel</font> |
| | <font color="#839496"> 30</font> <font color="#F8F8F2">BuildRequires: pkgconfig(libva)</font> |
| | <font color="#839496"> 31</font> <font color="#F8F8F2">BuildRequires: pkgconfig(libva-x11)</font> |
| | </pre></html></WRAP> |
| | </WRAP> |
| | |
| | 不足しているビルド依存関係を更にインストール...🤔\\ |
| | <WRAP color_term> |
| | <WRAP color_command><html><pre> |
| | <font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">dnf</font> install libglvnd-devel libva-devel egl-wayland-devel |
| | </pre></html></WRAP> |
| | <WRAP color_result><html><pre> |
| | リポジトリの更新を読み込み中: |
| | リポジトリを読み込みました。 |
| | Package "libglvnd-devel-1:1.7.0-7.fc42.x86_64" is already installed. |
| | Package "libva-devel-2.22.0-4.fc42.x86_64" is already installed. |
| | Package "egl-wayland-devel-1.1.19~20250313gitf1fd514-1.fc42.x86_64" is already installed. |
| | |
| | Nothing to do. |
| | </pre></html></WRAP> |
| | </WRAP> |
| | |
| | ===== 参考文献 ===== |
| | [[https://www.freedesktop.org/wiki/Software/Beignet/|Beignet - freedesktop.org]]\\ |
| | [[https://aur.archlinux.org/packages/beignet-git|AUR (en) - beignet-git]]\\ |
| | [[https://aur.archlinux.org/packages/beignet|AUR (ja) - beignet]]\\ |
| | |
| | |
| |