This service is available only in Japanese-language.

QA Issue: Files/directories were installed but not shipped in any packageの対応方法

2038年問題の対策パッチを当てたglibcの動作確認を行うために、

https://github.com/lmajewski/meta-y2038

のREADMEファイルに従って、

git://git.yoctoproject.org/poky.git
git://git.openembedded.org/meta-openembedded.git
https://github.com/lmajewski/meta-y2038

のリポジトリをクローンし、リビジョンをそれぞれ、

ee7dd3194411695e659c0c5cfbe2d938764dcc78
cca27b5ea7569d2730ee5da7ee7f47b39d775d89
bd8cd0fc9d805a563ab7d73dbb0c274e878a7812

として、conf/local.confに下記を追記

MACHINE ??= "y2038"
PREFERRED_PROVIDER_virtual/kernel = "linux-y2038"
IMAGE_INSTALL_append = " y2038-glibc"
IMAGE_INSTALL_append = " y2038-tests"

さらに、conf/bblayers.confのBBLAYERSに下記を追加

meta-y2038
meta-openembedded/meta-oe
meta-openembedded/meta-networking
meta-openembedded/meta-python
meta-openembedded/meta-filesystems
meta-openembedded/meta-perl

して、下記のコマンドを入力しました。

bitbake y2038-image-devel && runqemu -d y2038-image-devel

下記エラーが出てしまい、ビルドが止まってしまいます。

ERROR: linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0 do_package: QA Issue: linux-y2038: Files/directories were installed but not shipped in any package:
/include
/include/linux
/include/rdma
/include/xen
/include/scsi
/include/drm
/include/asm-generic
/include/misc
/include/asm
/include/sound
/include/mtd
/include/video
...略...
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
linux-y2038: 996 installed and not shipped files. [installed-vs-shipped]
ERROR: linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0 do_package: Fatal QA errors found, failing task.
ERROR: linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: /***/tmp/poky/y2038/tmp/work/y2038arm-poky-linux-gnueabi/linux-y2038/5.0+gitAUTOINC+48166e6ea4-r0/temp/log.do_package.21931
ERROR: Task (/***/tmp/poky/y2038/meta-y2038/recipes-kernel/linux/linux-y2038_git.bb:do_package) failed with exit code '1'

WEB等で調査したところ、

/***/tmp/poky/y2038/meta-y2038/recipes-kernel/linux/linux-y2038_git.bb

FILES_${PN} += "\
${includedir}/linux/* \
${includedir}/rdma/* \
${includedir}/xen/* \
${includedir}/scsi/* \
${includedir}/drm/* \
${includedir}/asm-generic/* \
${includedir}/misc/* \
${includedir/asm/* \
${includedir}/sound/* \
${includedir}/mtd/* \
${includedir}/video/* \
"

を追記せよとのことだったので追記しましたが、変化はありませんでした。
正しい対策方法をご存知の方がいらっしゃいましたら、教えていただけると助かります。
よろしくお願いいたします。

現在、当方でも環境を設定し構築を始めたところですが、local.conf に指定するMACHINEは、y2038arm としています。
Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "arm-poky-linux-gnueabi"do_package
MACHINE = "y2038arm"
DISTRO = "y2038"
DISTRO_VERSION = "2.6.1"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "tmp:ee7dd3194411695e659c0c5cfbe2d938764dcc78"
meta-oe
meta-networking
meta-python
meta-webserver
meta-perl = "tmp:cca27b5ea7569d2730ee5da7ee7f47b39d775d89"
meta-y2038 = "tmp:bd8cd0fc9d805a563ab7d73dbb0c274e878a7812"

違いは、MACHINEとDISTROと思われますが、この環境で実施した場合、linux-y2038-5.0-gitAUTOINC の 各タスクは正常
に終了していることを確認しています。

NOTE: recipe linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0: task do_install: Started
NOTE: recipe linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0: task do_install: Succeeded
NOTE: Running task 2276 of 3080 (/home/lineo/y2038/src/meta-y2038/recipes-kernel/linux/linux-y2038_git.bb:do_populate_sysroot)
NOTE: recipe linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0: task do_populate_sysroot: Started
NOTE: recipe linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0: task do_populate_sysroot: Succeeded
NOTE: Running task 2358 of 3080 (/home/lineo/y2038/src/meta-y2038/recipes-kernel/linux/linux-y2038_git.bb:do_package)
NOTE: recipe linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0: task do_package: Started
NOTE: recipe linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0: task do_package: Succeeded
NOTE: Running task 2383 of 3080 (/home/lineo/y2038/src/meta-y2038/recipes-kernel/linux/linux-y2038_git.bb:do_packagedata)
NOTE: recipe linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0: task do_packagedata: Started
NOTE: recipe linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0: task do_packagedata: Succeeded
NOTE: Running task 2652 of 3080 (/home/lineo/y2038/src/meta-y2038/recipes-kernel/linux/linux-y2038_git.bb:do_package_write_rpm)
NOTE: recipe linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0: task do_package_write_rpm: Started
NOTE: recipe linux-y2038-5.0+gitAUTOINC+48166e6ea4-r0: task do_package_write_rpm: Succeeded

早速のご回答ありがとうございます。

Build Configurationを確認したところ、local.confに指定するDISTROを"yocto"にしてしまっていました。
DISTROを"y2038"にしたところ、正常にビルドが完了しました。

ありがとうございました。