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/* \
"
を追記せよとのことだったので追記しましたが、変化はありませんでした。
正しい対策方法をご存知の方がいらっしゃいましたら、教えていただけると助かります。
よろしくお願いいたします。