I ported openIL back to recent Buildroot (2020.08.x) in order to have Ubuntu rootfs and was successfully generated image with Ubuntu-18.04.
I was trying to pump the rootfs to Ubuntu-20.04 but I was facing the problem of building eudev package as following :
mv: '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libudev.so.1' and '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/lib/libudev.so.1' are the same file
mv: '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libudev.so.1.6.3' and '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/lib/libudev.so.1.6.3' are the same file
Complete log :
>>> eudev 3.2.9 Installing to staging directory
PATH="/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/bin:/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/sbin:/home/khang//bin:/home/khang//.local/bin:/home/khang//bin/python-bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j17 DESTDIR=/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot install -C /workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/build/eudev-3.2.9/
Making install in src
Making install in shared
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
Making install in libudev
/bin/mkdir -p '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib'
/bin/mkdir -p '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include'
/bin/mkdir -p '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig'
/bin/bash ../../libtool --mode=install /usr/bin/install -c libudev.la '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib'
/usr/bin/install -c -m 644 libudev.pc '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig'
/usr/bin/install -c -m 644 libudev.h '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include'
libtool: install: /usr/bin/install -c .libs/libudev.so.1.6.3 /workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libudev.so.1.6.3
libtool: install: (cd /workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib && { ln -s -f libudev.so.1.6.3 libudev.so.1 || { rm -f libudev.so.1 && ln -s libudev.so.1.6.3 libudev.so.1; }; })
libtool: install: (cd /workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib && { ln -s -f libudev.so.1.6.3 libudev.so || { rm -f libudev.so && ln -s libudev.so.1.6.3 libudev.so; }; })
libtool: install: /usr/bin/install -c .libs/libudev.lai /workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libudev.la
libtool: warning: remember to run 'libtool --finish /usr/lib'
/usr/bin/make install-exec-hook
libname=libudev.so && if test "/usr/lib" != "/lib"; then /bin/mkdir -p /workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/lib && so_img_name=$(readlink /workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/$libname) && so_img_rel_target_prefix=$(echo /usr/lib | sed 's,\(^/\|\)[^/][^/]*,..,g') && ln -s -f $so_img_rel_target_prefix/lib/$so_img_name /workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/$libname && mv /workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/$libname.* /workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/lib; fi
mv: '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libudev.so.1' and '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/lib/libudev.so.1' are the same file
mv: '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libudev.so.1.6.3' and '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/host/aarch64-buildroot-linux-gnu/sysroot/lib/libudev.so.1.6.3' are the same file
Makefile:1048: recipe for target 'install-exec-hook' failed
make[6]: *** [install-exec-hook] Error 1
Makefile:954: recipe for target 'install-exec-am' failed
make[5]: *** [install-exec-am] Error 2
Makefile:883: recipe for target 'install-am' failed
make[4]: *** [install-am] Error 2
Makefile:400: recipe for target 'install-recursive' failed
make[3]: *** [install-recursive] Error 1
Makefile:450: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
package/pkg-generic.mk:286: recipe for target '/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/build/eudev-3.2.9/.stamp_staging_installed' failed
make[1]: *** [/workspace/khang/Ref/Platforms/iMX/Boards/Spark/Buildroot/2020.08.x-ubuntu_20.04-spark/output/build/eudev-3.2.9/.stamp_staging_installed] Error 2
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2
I know that this is not directly related to OpenIL. However, I wonder if you could help to resolve this, please ?
I recognized that the Ubuntu-20.04 could be achieved indirectly bu upgrading from ubuntu-18.04.x and it is applicable for my iMX8MP_EVK. So I will close this ticket.
Dear OpenIL experts,
I ported openIL back to recent Buildroot (2020.08.x) in order to have Ubuntu rootfs and was successfully generated image with Ubuntu-18.04. I was trying to pump the rootfs to Ubuntu-20.04 but I was facing the problem of building eudev package as following :
Complete log :
I know that this is not directly related to OpenIL. However, I wonder if you could help to resolve this, please ?
Thanks in advance and best regards, Pascal