Hello,
I am trying to recompile the dey-image-graphical image after a bitbake dey-image-graphical -c cleanall. Now, when i compile, bitbake fails and the following error comes out:
| checking whether to build gtk-doc documentation... no
| checking for xsltproc... /home/belem/workspace/ccimx6sbc/tmp/sysroots/x86_64-linux/usr/bin/xsltproc
| checking for library containing clock_gettime... none required
| checking for BLKID... no
| configure: error: in `/home/belem/workspace/ccimx6sbc/tmp/work/cortexa9hf-vfp-neon-dey-linux-gnueabi/udev/182-r7/build':
| configure: error: The pkg-config script could not be found or is too old. Make sure it
| is in your PATH or set the PKG_CONFIG environment variable to the full
| path to pkg-config.
|
| Alternatively, you may set the environment variables BLKID_CFLAGS
| and BLKID_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
|
| To get pkg-config, see <http://pkg-config.freedesktop.org/>.
| See `config.log' for more details
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/belem/workspace/ccimx6sbc/tmp/work/cortexa9hf-vfp-neon-dey-linux-gnueabi/udev/182-r7/temp/log.do_configure.7962)
ERROR: Task 1645 (/usr/local/dey_sbc/sources/poky/meta/recipes-core/udev/udev_182.bb, do_configure) failed with exit code '1'
ERROR: Function failed: do_configure (log file is located at /home/belem/workspace/ccimx6sbc/tmp/work/cortexa9hf-vfp-neon-dey-linux-gnueabi/pkgconfig/0.28-r0/temp/log.do_configure.7983)
ERROR: Logfile of failure stored in: /home/belem/workspace/ccimx6sbc/tmp/work/cortexa9hf-vfp-neon-dey-linux-gnueabi/pkgconfig/0.28-r0/temp/log.do_configure.7983
[...]
| checking whether to list both direct and indirect dependencies... /home/belem/workspace/ccimx6sbc/tmp/work/cortexa9hf-vfp-neon-dey-linux-gnueabi/pkgconfig/0.28-r0/pkg-config-0.28//configure: line 13800: ./libtool: No such file or directory
| no
| checking for Win32... no
| checking if internal glib should be used... no
| checking for arm-dey-linux-gnueabi-pkg-config... /opt/dey/1.6.2/minimal/ccimx6sbc/sysroots/cortexa9hf-vfp-neon-dey-linux-gnueabi/usr/bin/arm-dey-linux-gnueabi-pkg-config
| checking pkg-config is at least version 0.9.0... /home/belem/workspace/ccimx6sbc/tmp/work/cortexa9hf-vfp-neon-dey-linux-gnueabi/pkgconfig/0.28-r0/pkg-config-0.28//configure: line 14079: /opt/dey/1.6.2/minimal/ccimx6sbc/sysroots/cortexa9hf-vfp-neon-dey-linux-gnueabi/usr/bin/arm-dey-linux-gnueabi-pkg-config: cannot execute binary file: Exec format error
| no
| checking for GLIB... no
| configure: error: Either a previously installed pkg-config or "glib-2.0 >= 2.16" could not be found. Please set GLIB_CFLAGS and GLIB_LIBS to the correct values or pass --with-internal-glib to configure to use the bundled copy.
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/belem/workspace/ccimx6sbc/tmp/work/cortexa9hf-vfp-neon-dey-linux-gnueabi/pkgconfig/0.28-r0/temp/log.do_configure.12974)
ERROR: Task 4190 (/usr/local/dey_sbc/sources/poky/meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5881 tasks of which 5875 didn't need to be rerun and 2 failed.
No currently running tasks (5770 of 6386)
Summary: 2 tasks failed:
/usr/local/dey_sbc/sources/poky/meta/recipes-core/udev/udev_182.bb, do_configure
/usr/local/dey_sbc/sources/poky/meta/recipes-devtools/pkgconfig/pkgconfig_0.28.bb, do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
I tried to locate my .pc files, there are located here:
/opt/dey/1.6.2/graphical/sysroots/cortexa9hf-vfp-neon-dey-linux-gnueabi/usr/lib/pkgconfig/..
/home/belem/workspace/ccimx6sbc/tmp/work/cortexa9hf-vfp-neon-dey-linux-gnueabi/..
I also tried to remove and reinstall the pkg-config package on my dev computer(Ubuntu 14.04) using the apt-get remove and apt-get install pkg-config. This package is well installed but the problem seems to be the PKG_CONFIG variable. How can i specify to bitbake the PKG_CONFIG path? I tried with export PKG_CONFIG=/../../.. just before executing the bitbake compilation, but that did not work.
Has anyone an idea?