2017-03-01から1ヶ月間の記事一覧

make[1]: *** [s-attrtab] Killed

問題 “gcc-cross-initial-arm” レシピのコンパイルがエラーで失敗する。 環境 AmazonLinuxAMI-2016.09 Yocto 2.2.1 (Morty) メッセージ make[1]: *** [s-attrtab] Killed 原因 メモリ不足により、OOM Killer に kill された。 解決方法 スワップを作る。 SWA…

ERROR: OE-core's config sanity checker detected a potential misconfiguration.

メッセージ ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories…

WARNING: Host distribution ... has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.

メッセージ WARNING: Host distribution “AmazonLinuxAMI-2016.09” has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution. 訳 警告: ホ…

error: Can't install nativesdk-qt4-tools-4.8.7-r0@x86_64_nativesdk: no package provides libQtDBus.so.4()(64bit)

問題 bitbake meta-toolchain-qt がエラーで失敗する。 メッセージ ERROR: meta-toolchain-qt-1.0-r7 do_populate_sdk: Unable to install packages. Command 'build/tmp/sysroots/x86_64-linux/usr/bin/smart --log-level=warning --data-dir=build/tmp/wor…

WARNING: ... do_package_qa: QA Issue: ... rdepends on ..., but it isn't a build dependency? [build-deps]

メッセージ WARNING: nativesdk-qt4-tools-4.8.7-r0 do_package_qa: QA Issue: nativesdk-qt4-tools rdepends on qt4-native, but it isn’t a build dependency? [build-deps] 訳 警告: nativesdk-qt4-tools-4.8.7-r0 do_package_qa: QA 問題: nativesdk-qt4…

WARNING: ... do_package_qa: QA Issue: ... contained in package ... requires ..., but no providers found in RDEPENDS_...? [file-rdeps]

メッセージ WARNING: nativesdk-qt4-tools-4.8.7-r0 do_package_qa: QA Issue: /opt/poky/2.1.1/sysroots/x86_64-pokysdk-linux/usr/bin/qdbusxml2cpp4 contained in package nativesdk-qt4-tools requires libQtXml.so.4()(64bit), but no providers found …

ld: cannot find -lQtXml -lQtGui -lQtNetwork

問題 nativesdk-qt4-tools のビルド中にエラーが発生する。 メッセージ ./build/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-pokysdk-linux/gcc/x86_64-pokysdk-linux/5.3.0/ld: cannot find -lQtXml collect2: error: ld returned 1 exit status make: *…

fatal: Refusing to fetch into current branch ... of non-bare repository

メッセージ fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository 訳 致命的: 非ベアリポジトリーのカレントブランチ refs/heads/master へのフェッチを拒否されている

WARNING: Failed to fetch URL http://..., attempting MIRRORS if available

警告: URL http://... の取得に失敗しました。ミラーが使えないか試してみます。

cannot allocate an object of abstract type 'QDeclarativePrivate::QDeclarativeElement<MyClass>'

QML

エラーメッセージ error: cannot allocate an object of abstract type 'QDeclarativePrivate::QDeclarativeElement<MyClass>' note: because the following virtual functions are pure within 'QDeclarativePrivate::QDeclarativeElement<MyClass>': note: virtual void MyCl</myclass></myclass>…

Invalid parameter passed to C runtime function

訳 C ランタイム関数へ不正なパラメーターが渡された。 原因1 write 関数に不正なファイルディスクリプタ番号(-1)を渡していたため。 解決方法1 不正なファイルディスクリプタ番号で write 関数を実行しないようにする。

パッケージに含まれるファイルの一覧を表示する方法

$ sudo apt-file update $ apt-file list <パッケージ名>