This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM57X: Pangolin install error

Part Number: PROCESSOR-SDK-AM57X

Tool/software: Linux

Hi,

While building OrbSlam on x15 xith SDK5, It requires Pangolin to be installed. While Pangolin installation, its throwing error of -

- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Build type not set (defaults to release)
-DCMAKE_BUILD_TYPE=Debug for debug
CMake Error at /usr/local/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY)
Call Stack (most recent call first):
/usr/local/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.11/Modules/FindOpenGL.cmake:395 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/CMakeLists.txt:155 (find_package)


-- Configuring incomplete, errors occurred!

I searched a lot and found the solution as to install some libraries. But in SDK5, doing "opkg install package" is also not helping me out. It says - 

Collected errors:
* opkg_prepare_url_for_install: Couldn't find anything to satisfy 'package'.

Any suggestions?

Thanks.

  • Hi,
    i searched a bit regaring x11 and wayland issue in processor sdk.
    I also found a link usefull-
    e2e.ti.com/.../2404719

    I did the same as suggeted for "DISTRO_FEATURES_remove"
    What will be the next step?


    Also i was following the steps in -
    processors.wiki.ti.com/.../Processor_SDK_Building_The_SDK

    but it throws error -
    MACHINE=am57xx-evm bitbake arago-core-tisdk-image
    Loading cache: 100% |#####################################################################################################################################################################################| Time: 0:00:01
    Loaded 4043 entries from dependency cache.
    Parsing recipes: 100% |###################################################################################################################################################################################| Time: 0:00:16
    Parsing of 3137 .bb files complete (3134 cached, 3 parsed). 4046 targets, 253 skipped, 0 masked, 0 errors.
    WARNING: No recipes available for:
    /home/rahul/tisdk/sources/meta-arago/meta-arago-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.8.3.bbappend
    /home/rahul/tisdk/sources/meta-processor-sdk/recipes-devtools/python/python3-native_3.5.2.bbappend
    /home/rahul/tisdk/sources/meta-processor-sdk/recipes-graphics/wayland/weston_1.11.0.bbappend
    NOTE: Resolving any missing task queue dependencies
    ERROR: Nothing PROVIDES 'virtual/mesa' (but /home/rahul/tisdk/sources/meta-qt5/recipes-qt/qt5/qtwayland_git.bb DEPENDS on or otherwise requires it)
    mesa-gl PROVIDES virtual/mesa but was skipped: PREFERRED_PROVIDER_virtual/mesa set to mesa, not mesa-gl
    mesa PROVIDES virtual/mesa but was skipped: PREFERRED_PROVIDER_virtual/libgl set to mesa-gl, not mesa
    NOTE: Runtime target 'qtwayland-examples' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['qtwayland-examples', 'virtual/mesa']
    NOTE: Runtime target 'packagegroup-arago-tisdk-qte' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['packagegroup-arago-tisdk-qte', 'qtwayland-examples', 'virtual/mesa']
    ERROR: Required build target 'arago-core-tisdk-image' has no buildable providers.
    Missing or unbuildable dependency chain was: ['arago-core-tisdk-image', 'tisdk-rootfs-image', 'packagegroup-arago-tisdk-qte', 'qtwayland-examples', 'virtual/mesa']

    Summary: There was 1 WARNING message shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

    I have latest PSDK5.0.
    Thanks
  • Hi,

    I would like to add.
    The above configuration i was doing with PSDK5. But with PSDK4, it seems to have no issue.
    So please just have a look may be that error can give you guys a hint to rectify something in latest PSDK5 if there is sommething to be rectified.
    Thanks.
  • Hi,
    Still using PSDK4, i am getting issue -

    Build Configuration:
    BB_VERSION = "1.32.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "Ubuntu-18.04"
    TARGET_SYS = "arm-linux-gnueabi"
    MACHINE = "am57xx-evm"
    DISTRO = "arago"
    DISTRO_VERSION = "2017.10"
    TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
    TARGET_FPU = "hard"
    meta-processor-sdk = "HEAD:eaac60268857bc56bf89625df93935a272b63341"
    meta-ros = "HEAD:e01c6ace0d4f9d700449edad3781e9cd505b5e10"
    meta-arago-distro
    meta-arago-extras = "HEAD:d34c861f846f35d089e1caf224ec43079be7b202"
    meta-browser = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
    meta-openamp = "HEAD:8a214032bfb7e8124bc1485c70c69f7d60abb819"
    meta-qt5 = "HEAD:2c9f0e4eb0e9097f6f872ec1e1d81768a8ab5f1b"
    meta-networking
    meta-ruby
    meta-python
    meta-oe
    meta-gnome
    meta-multimedia = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
    meta-ti = "HEAD:351ccf1928a18c2b69fd19b09b980c9aa3af2e26"
    meta-linaro-toolchain
    meta-optee = "HEAD:5d2cb685217794293ea2bab18d7e62019c329d06"
    meta = "HEAD:1718f0a6c1de9c23660a9bebfd4420e3c4ed37e6"

    Initialising tasks: 100% |################################################################################################################################################################################| Time: 0:00:33
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: bzip2-native-1.0.6-r5 do_fetch: Checksum mismatch for local file /home/rahul/tisdk/downloads/bzip2-1.0.6.tar.gz
    Cleaning and trying again.
    WARNING: bzip2-native-1.0.6-r5 do_fetch: Renaming /home/rahul/tisdk/downloads/bzip2-1.0.6.tar.gz to /home/rahul/tisdk/downloads/bzip2-1.0.6.tar.gz_bad-checksum_a765d21ef6db68a926d34c9fb7bb20a7
    WARNING: bzip2-native-1.0.6-r5 do_fetch: Checksum failure encountered with download of www.bzip.org/.../bzip2-1.0.6.tar.gz - will attempt other sources if available
    WARNING: libpcre-native-8.39-r0 do_fetch: Checksum mismatch for local file /home/rahul/tisdk/downloads/pcre-8.39.tar.bz2
    Cleaning and trying again.
    WARNING: libpcre-native-8.39-r0 do_fetch: Renaming /home/rahul/tisdk/downloads/pcre-8.39.tar.bz2 to /home/rahul/tisdk/downloads/pcre-8.39.tar.bz2_bad-checksum_67d475d69f396886611fe4dba5ea1ce0
    WARNING: libpcre-native-8.39-r0 do_fetch: Checksum failure encountered with download of downloads.sourceforge.net/.../pcre-8.39.tar.bz2 - will attempt other sources if available
    WARNING: ncurses-native-6.0+20160625-r0 do_fetch: Failed to fetch URL git://anonscm.debian.org/collab-maint/ncurses.git, attempting MIRRORS if available
    WARNING: chrpath-native-0.16-r0 do_fetch: Failed to fetch URL alioth.debian.org/.../chrpath-0.16.tar.gz, attempting MIRRORS if available
    WARNING: libmpc-native-1.0.3-r0 do_fetch: Failed to fetch URL www.multiprecision.org/.../mpc-1.0.3.tar.gz, attempting MIRRORS if available
    WARNING: shadow-native-4.2.1-r0 do_fetch: Failed to fetch URL pkg-shadow.alioth.debian.org/.../shadow-4.2.1.tar.xz, attempting MIRRORS if available
    ERROR: qemu-native-2.7.0-r1 do_compile: oe_runmake failed
    ERROR: qemu-native-2.7.0-r1 do_compile: Function failed: do_compile (log file is located at /home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/qemu-native/2.7.0-r1/temp/log.do_compile.19722)
    ERROR: Logfile of failure stored in: /home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/qemu-native/2.7.0-r1/temp/log.do_compile.19722
    Log data follows:
    | DEBUG: Executing shell function do_compile
    | NOTE: make -j 3 LD=ld AR=ar OBJCOPY=objcopy LDFLAGS=-L/home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/lib -L/home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/lib -Wl,-rpath,/home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/lib -Wl,-O1 -fuse-ld=bfd
    | ERROR: oe_runmake failed
    | GEN arm-softmmu/config-devices.mak.tmp
    | GEN aarch64-linux-user/config-devices.mak.tmp
    | GEN arm-linux-user/config-devices.mak.tmp
    | GEN aarch64-linux-user/config-devices.mak
    | GEN aarch64-softmmu/config-devices.mak.tmp
    | GEN arm-linux-user/config-devices.mak
    | GEN i386-linux-user/config-devices.mak.tmp
    | GEN arm-softmmu/config-devices.mak
    | GEN i386-softmmu/config-devices.mak.tmp
    | GEN i386-linux-user/config-devices.mak
    | GEN mips-linux-user/config-devices.mak.tmp
    | GEN i386-softmmu/config-devices.mak
    | GEN aarch64-softmmu/config-devices.mak
    | GEN mips-softmmu/config-devices.mak.tmp
    | GEN mipsel-linux-user/config-devices.mak.tmp
    | GEN mips-linux-user/config-devices.mak
    | GEN mipsel-softmmu/config-devices.mak.tmp
    | GEN mipsel-linux-user/config-devices.mak
    | GEN mips64-linux-user/config-devices.mak.tmp
    | GEN mips64-linux-user/config-devices.mak
    | GEN mips64-softmmu/config-devices.mak.tmp
    | GEN mips-softmmu/config-devices.mak
    | GEN mips64el-linux-user/config-devices.mak.tmp
    | GEN mipsel-softmmu/config-devices.mak
    | GEN mips64el-softmmu/config-devices.mak.tmp
    | GEN mips64el-linux-user/config-devices.mak
    | GEN mips64-softmmu/config-devices.mak
    | GEN ppc-softmmu/config-devices.mak.tmp
    | GEN ppc-linux-user/config-devices.mak.tmp
    | GEN ppc-linux-user/config-devices.mak
    | GEN sh4-linux-user/config-devices.mak.tmp
    | GEN mips64el-softmmu/config-devices.mak
    | GEN ppc-softmmu/config-devices.mak
    | GEN sh4-softmmu/config-devices.mak.tmp
    | GEN x86_64-linux-user/config-devices.mak.tmp
    | GEN sh4-linux-user/config-devices.mak
    | GEN x86_64-linux-user/config-devices.mak
    | GEN x86_64-softmmu/config-devices.mak.tmp
    | GEN sh4-softmmu/config-devices.mak
    | GEN qemu-options.def
    | GEN config-host.h
    | GEN x86_64-softmmu/config-devices.mak
    | GEN qmp-commands.h
    | GEN qapi-types.h
    | GEN qapi-visit.h
    | GEN qapi-event.h
    | GEN qmp-introspect.h
    | GEN tests/test-qapi-types.h
    | GEN tests/test-qapi-visit.h
    | GEN tests/test-qmp-commands.h
    | GEN tests/test-qapi-event.h
    | GEN tests/test-qmp-introspect.h
    | GEN config-all-devices.mak
    | GEN trace/generated-events.h
    | GEN trace/generated-tracers.h
    | GEN trace/generated-tcg-tracers.h
    | GEN trace/generated-helpers-wrappers.h
    | GEN trace/generated-helpers.h
    | GEN qemu-options.texi
    | CC tests/qemu-iotests/socket_scm_helper.o
    | GEN qemu-monitor.texi
    | GEN qemu-img-cmds.texi
    | GEN qemu-monitor-info.texi
    | GEN qemu-tech.html
    | GEN qemu-img.1
    | GEN qemu-nbd.8
    | GEN qemu-ga.8
    | GEN qmp-commands.txt
    | GEN qga/qapi-generated/qga-qapi-types.h
    | GEN qga/qapi-generated/qga-qapi-visit.h
    | GEN qga/qapi-generated/qga-qmp-commands.h
    | GEN qga/qapi-generated/qga-qapi-types.c
    | GEN qga/qapi-generated/qga-qapi-visit.c
    | GEN qga/qapi-generated/qga-qmp-marshal.c
    | GEN qmp-introspect.c
    | GEN qapi-visit.c
    | GEN qapi-types.c
    | GEN qapi-event.c
    | CC qapi/qapi-visit-core.o
    | CC qapi/qapi-dealloc-visitor.o
    | CC qapi/qmp-input-visitor.o
    | CC qapi/qmp-output-visitor.o
    | CC qapi/qmp-registry.o
    | CC qapi/qmp-dispatch.o
    | CC qapi/string-input-visitor.o
    | CC qapi/string-output-visitor.o
    | CC qapi/opts-visitor.o
    | CC qapi/qapi-clone-visitor.o
    | CC qapi/qmp-event.o
    | CC qapi/qapi-util.o
    | CC qobject/qnull.o
    | CC qobject/qint.o
    | CC qobject/qstring.o
    | CC qobject/qdict.o
    | CC qobject/qlist.o
    | CC qobject/qfloat.o
    | CC qobject/qbool.o
    | CC qobject/qjson.o
    | CC qobject/qobject.o
    | CC qobject/json-lexer.o
    | CC qobject/json-streamer.o
    | CC qobject/json-parser.o
    | GEN trace/generated-events.c
    | CC trace/control.o
    | CC trace/qmp.o
    | CC util/osdep.o
    | CC util/cutils.o
    | CC util/unicode.o
    | CC util/qemu-timer-common.o
    | CC util/compatfd.o
    | CC util/event_notifier-posix.o
    | CC util/mmap-alloc.o
    | CC util/oslib-posix.o
    | CC util/qemu-openpty.o
    | CC util/qemu-thread-posix.o
    | CC util/memfd.o
    | /home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/memfd.c:40:12: error: static declaration of ‘memfd_create’ follows non-static declaration
    | static int memfd_create(const char *name, unsigned int flags)
    | ^~~~~~~~~~~~
    | In file included from /usr/include/x86_64-linux-gnu/bits/mman-linux.h:115:0,
    | from /usr/include/x86_64-linux-gnu/bits/mman.h:45,
    | from /usr/include/x86_64-linux-gnu/sys/mman.h:41,
    | from /home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/include/sysemu/os-posix.h:29,
    | from /home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/include/qemu/osdep.h:104,
    | from /home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/util/memfd.c:28:
    | /usr/include/x86_64-linux-gnu/bits/mman-shared.h:46:5: note: previous declaration of ‘memfd_create’ was here
    | int memfd_create (const char *__name, unsigned int __flags) __THROW;
    | ^~~~~~~~~~~~
    | /home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/qemu-native/2.7.0-r1/qemu-2.7.0/rules.mak:59: recipe for target 'util/memfd.o' failed
    | make: *** [util/memfd.o] Error 1
    | make: *** Waiting for unfinished jobs....
    | WARNING: /home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/qemu-native/2.7.0-r1/temp/run.do_compile.19722:1 exit 1 from 'exit 1'
    | ERROR: Function failed: do_compile (log file is located at /home/rahul/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/qemu-native/2.7.0-r1/temp/log.do_compile.19722)
    ERROR: Task (virtual:native:/home/rahul/tisdk/sources/oe-core/meta/recipes-devtools/qemu/qemu_2.7.0.bb:do_compile) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 652 tasks of which 0 didn't need to be rerun and 1 failed.

    Summary: 1 task failed:
    virtual:native:/home/rahul/tisdk/sources/oe-core/meta/recipes-devtools/qemu/qemu_2.7.0.bb:do_compile
    Summary: There were 11 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

    Please suggest.
  • Rahul,

    Can you build either SDK without any modifications? That is the scope of support we can provide here.

    For customizing with Yocto/OE, I would recommend communities that are focused on that as it is a very specific, deep skill set to obtain.

    I'm sorry we can't provide more help.
  • Rahul,

    As we haven't heard back from you, I'm hoping you've moved beyond this issue.

    Thanks,
    Ron
  • Hi,
    yes i am not going with the custom image now.
    Thanks.