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/AM4379: Qt serial port bitbake error

Part Number: AM4379

Tool/software: Linux

Dear Friends

I have a problem during execution of bitbake command in 

I want to install qtserial port on qt5 in ti sdk so i followed the instruction in below Thread

Linux/AM5728: Qt serial port

e2e.ti.com/.../2553042

$ sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386

$ sudo dpkg-reconfigure dash
# Select "No" when prompted.

$ wget releases.linaro.org/.../gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz
$ tar -Jxvf gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz -C $HOME

$ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
$ cd tisdk
$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-04.02.00.09-config.txt
$ cd build
$ . conf/setenv
$ export PATH=$HOME/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:$PATH
$ MACHINE=am57xx-evm bitbake qtserialport


Now I got an error during last command "MACHINE=am437x-evm bitbake qtserialport"

Here is my message log 

WARNING: linux-libc-headers-4.9-r0.arago2 do_fetch: Failed to fetch URL git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=ti-lsk-linux-4.9.y, attempting MIRRORS if available
ERROR: linux-libc-headers-4.9-r0.arago2 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-2uZ0tDpHHk"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/vivek/tisdk/sources/oe-core/scripts:/home/vivek/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/arm-linux-gnueabi:/home/vivek/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/bin/crossscripts:/home/vivek/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/sbin:/home/vivek/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin:/home/vivek/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/sbin:/home/vivek/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/bin:/home/vivek/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:/home/vivek/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:/home/vivek/tisdk/sources/meta-ros/scripts:/home/vivek/tisdk/sources/meta-browser/scripts:/home/vivek/tisdk/sources/oe-core/scripts:/home/vivek/tisdk/sources/bitbake/bin:/home/vivek/bin:/home/vivek/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/vivek"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git /home/vivek/tisdk/downloads/git2/git.ti.com.ti-linux-kernel.ti-linux-kernel.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/vivek/tisdk/downloads/git2/git.ti.com.ti-linux-kernel.ti-linux-kernel.git'...
fatal: unable to connect to git.ti.com:
git.ti.com[0: 198.47.28.208]: errno=Connection refused


ERROR: linux-libc-headers-4.9-r0.arago2 do_fetch: Fetcher failure for URL: 'git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=ti-lsk-linux-4.9.y'. Unable to fetch URL from any source.
ERROR: linux-libc-headers-4.9-r0.arago2 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/vivek/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/linux-libc-headers/4.9-r0.arago2/temp/log.do_fetch.12526
ERROR: Task (/home/vivek/tisdk/sources/meta-arago/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 327 tasks of which 325 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/vivek/tisdk/sources/meta-arago/meta-arago-distro/recipes-kernel/linux-libc-headers/linux-libc-headers_4.9.bb:do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

I cant say its a network issue because i can access my network without issue after run bitbake command in terminal

help me out to fix this problem 

Best Regards 

vivek yuvan

  • Hello vivek,

    You need to set-up the proxy configuration from this site.

    Best regards,
    Kemal

  • Hi kemal 

    I have done bitbake build for AM437x.  The end of the build process there is notification in NOTE 

    NOTE: Tasks Summary: Attempted 1749 tasks of which 329 didn't need to be rerun and all succeeded"

    So is that problem?  am I need to re-run the bitbake build again 

    Here I pasted the full build message 

    vivek@vivek-Veriton-Series:~/tisdk/build$ MACHINE=am437x-evm bitbake qtserialport
    Loading cache: 100% |#####################################################################################################################################| Time: 0:00:01
    Loaded 3797 entries from dependency cache.
    Parsing recipes: 100% |###################################################################################################################################| Time: 0:00:01
    Parsing of 3033 .bb files complete (3030 cached, 3 parsed). 3800 targets, 574 skipped, 0 masked, 0 errors.
    WARNING: No recipes available for:
      /home/vivek/tisdk/sources/meta-openamp/recipes-bsp/device-tree/device-tree-generation_%.bbappend
    NOTE: Resolving any missing task queue dependencies
    
    Build Configuration:
    BB_VERSION        = "1.32.0"
    BUILD_SYS         = "x86_64-linux"
    NATIVELSBSTRING   = "Ubuntu-16.04"
    TARGET_SYS        = "arm-linux-gnueabi"
    MACHINE           = "am437x-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:03
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    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
    WARNING: libcgroup-0.41-r0 do_fetch: Failed to fetch URL downloads.sourceforge.net/.../libcgroup-0.41.tar.bz2, attempting MIRRORS if available
    WARNING: libcheck-0.10.0-r0 do_fetch: Failed to fetch URL downloads.sourceforge.net/.../check-0.10.0.tar.gz, attempting MIRRORS if available
    WARNING: freetype-2.6.5-r0.arago0 do_fetch: Failed to fetch URL downloads.sourceforge.net/.../freetype-2.6.5.tar.bz2, attempting MIRRORS if available
    WARNING: coreutils-8.25-r0 do_fetch: Failed to fetch URL distfiles.gentoo.org/.../coreutils-8.25-man.tar.xz;name=manpages, attempting MIRRORS if available
    NOTE: Tasks Summary: Attempted 1749 tasks of which 329 didn't need to be rerun and all succeeded.
    
    Summary: There were 6 WARNING messages shown.
    

    Please confirm me is my buld is OK to proceed the next steps ?

    Thanks 

    Vivek 

  • The building is successfully completed. You can continue to follow the steps of the original post.

  • Dear 

    Today I am facing an issue while install the qtserial port .ipk packages

    1. libqt5serialport5_5.7.1+git0+0b9f41c28c-r0_armv7ahf-neon.ipk

    2. libqt5serialport-dbg_5.7.1+git0+0b9f41c28c-r0_armv7ahf-neon.ipk

    3. libqt5serialport-dev_5.7.1+git0+0b9f41c28c-r0_armv7ahf-neon.ipk

    4. libqt5serialport-examples_5.7.1+git0+0b9f41c28c-r0_armv7ahf-neon.ipk

    5. libqt5serialport-mkspecs_5.7.1+git0+0b9f41c28c-r0_armv7ahf-neon.ipk

    root@am437x-evm:~# opkg install libqt5serialport5_5.7.1+git0+0b9f41c28c-r0_armv7ahf-neon.ipk                                                                             
    Installing libqt5serialport5 (5.7.1+git0+0b9f41c28c-r0) on root.
    libqt5serialport5: unsatisfied recommendation for libqt5serialport-plugins
    libqt5serialport5: unsatisfied recommendation for libqt5serialport-qmlplugins
    Collected errors:
     * satisfy_dependencies_for: Cannot satisfy the following dependencies for libqt5serialport5:
     *      libc6 (>= 2.23) *       libgcc-s1 (>= 6.2.1) *  libstdc++6 (>= 6.2.1) *         qtbase (>= 5.7.1+git0+a55f36211e) * 
     * opkg_install: Cannot install package libqt5serialport5.
    
    

    Please Help me out resolve this issue 

    Thanks and Regards

    vivek 

  • Please, read this post.

  • Hi kemal

    Thanks for your support. Now I understand the problem. Now i am going to upgrade the Latest SDK version. I will share the results here

    Thanks & regards
    vivek