Compiler WP7702 error

Hi,

I downloaded SWI9X06Y_02.22.12.00 Source

and compiled it, but I got error.
Log is below"

WARNING: Unable to get checksum for linux-quic SRC_URI entry sierra: [Errno 2] No such file or directory: '/home/test/workspace/yocto/kernel/./arch/arm/mach-msm/sierra/sierra'              | ETA:  0:00:06
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:11
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: android-signing-native-1.0-r1 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-WGYkBrfTN3"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/test/workspace/yocto/poky/scripts/native-intercept:/home/test/workspace/yocto/build_bin/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/test/workspace/yocto/poky/scripts:/home/test/workspace/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/test/workspace/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/bin:/home/test/workspace/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/sbin:/home/test/workspace/yocto/build_bin/tmp/sysroots/x86_64-linux/usr/bin:/home/test/workspace/yocto/build_bin/tmp/sysroots/x86_64-linux/sbin:/home/test/workspace/yocto/build_bin/tmp/sysroots/x86_64-linux/bin:/home/test/workspace/yocto/poky/scripts:/home/test/workspace/yocto/poky/bitbake/bin:/usr/local/bin:/bin:/usr/bin"; export HOME="/home/test"; git -c core.fsyncobjectfiles=0 ls-remote git://github.com/braddu/android-signing.git  failed with exit code 128, output:
fatal: unable to connect to github.com:
github.com[0: 20.27.177.113]: errno=Connection refused


ERROR: android-signing-native-1.0-r1 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/test/workspace/yocto/build_bin/tmp/work/x86_64-linux/android-signing-native/1.0-r1/temp/log.do_fetch.64354
ERROR: Task (/home/test/workspace/yocto/meta-swi/meta-swi-mdm9xxx/recipes-bsp/android-signing/android-signing-native.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 748 tasks of which 714 didn't need to be rerun and 1 failed.

How can I fix it?
I think error is in here.

fatal: unable to connect to github.com:
github.com[0: 20.27.177.113]: errno=Connection refused

Thanks!!!

does this help?

Hi @jyijyi ,

Thanks for your help.

I modify android-signing-native.bb file and let it use https and it worked.

Hi @jyijyi ,

I got other problem

WARNING: Unable to get checksum for linux-quic SRC_URI entry sierra: [Errno 2] No such file or directory: '/home/test/workspace/yocto/kernel/./arch/arm/mach-msm/sierra/sierra'              | ETA:  0:00:07
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:11
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-quic-3.18.44-r1 do_populate_sysroot: runstrip: ''arm-poky-linux-gnueabi-strip' --remove-section=.comment --remove-section=.note '/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/sysroot-destdir/usr/src/kernel/scripts/basic/fixdep'' strip command failed with 1 (b'arm-poky-linux-gnueabi-strip:/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/sysroot-destdir/usr/src/kernel/scripts/basic/fixdep: File format not recognized\n')
ERROR: linux-quic-3.18.44-r1 do_populate_sysroot: runstrip: ''arm-poky-linux-gnueabi-strip' --remove-section=.comment --remove-section=.note '/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/sysroot-destdir/usr/src/kernel/scripts/kconfig/mconf'' strip command failed with 1 (b'arm-poky-linux-gnueabi-strip:/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/sysroot-destdir/usr/src/kernel/scripts/kconfig/mconf: File format not recognized\n')
ERROR: linux-quic-3.18.44-r1 do_package: objcopy failed with exit code 1 (cmd was 'arm-poky-linux-gnueabi-objcopy' --only-keep-debug '/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/package/usr/src/kernel/scripts/basic/fixdep' '/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/package/usr/src/kernel/scripts/basic/.debug/fixdep'):
arm-poky-linux-gnueabi-objcopy:/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/package/usr/src/kernel/scripts/basic/fixdep: File format not recognized
ERROR: linux-quic-3.18.44-r1 do_package: Function failed: split_and_strip_files
ERROR: Logfile of failure stored in: /home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/temp/log.do_package.100943
ERROR: Task (/home/test/workspace/yocto/meta-swi/meta-swi-mdm9x28/recipes-kernel/linux/linux-quic_git.bb:do_package) failed with exit code '1'

What does it mean “File format not recognized” ?

can you try with WP76 FW 16.0.1 yocto rebuild?

https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-16,-d-,0,-d-,1-components/#sthash.Yl5TgbAR.dpbs

I want to make sure your PC has no problem in building yocto image.

Hi @jyijyi ,

my build information is below:

Build Configuration:
BB_VERSION        = "1.32.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "swi-mdm9x28-wp"
DISTRO            = "poky-swi-ext"
DISTRO_VERSION    = "2.2.3"
TUNE_FEATURES     = "arm armv7a vfp  neon"
TARGET_FPU        = "softfp"
meta              
meta-poky         
meta-yocto-bsp    = "HEAD:e6aadcc2a04ae4e85b1cb00c5c9ce1c0f76ee871"
meta-python       
meta-networking   
meta-oe           = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
common            = "HEAD:d29b389387fb0c5a12c8f8285f31bc89418a734f"
meta-fortune      = "HEAD:b40116cf457b88a2db14b86fda9627fb34d56ae6"
meta-swi-mdm9xxx  
meta-swi-mdm9x28  = "HEAD:d29b389387fb0c5a12c8f8285f31bc89418a734f"
meta-swi-mdm9xxx-bin 
meta-swi-mdm9x28-bin 
meta-swi-mdm9x28-wp-bin 
meta-swi-mdm9x28  
meta-swi-mdm9xxx-bin 
meta-swi-mdm9x28-bin 
meta-swi-mdm9x28-wp-bin 
common            = "HEAD:4f585ea5a8949b79b566860a667d1f082aafeec0"

If you want me use R16 version I need more time.

By the way the system I already compiled before I do make clean.

By the way the system I already compiled before I do make clean

You mean for WP77 yocto build? Can you build now?

Hi @jyijyi ,

I built WP77 before I do make clean.
But now I can’t build success, so I don’t know why.

didn’t you should
make clean and then build wp77?

Hi @jyijyi ,

I don’t understand why I didn’t should make clean or I should make clean again ?

then execute make MACH=mdm9x28 PROD=wp ?

didn’t you are compiling the wp77 yocto source? OR FX30?
For WP77, you can try:

make clean
make

Hi @jyijyi ,

I use two computer to build WP77 and FX30.

In FX30 I need set github do you know how to setup it?
In WP77 I do make clean then make image_bin now.

does this help?

Hi @jyijyi

In FX30 I got the same error

Something went wrong when trying to connect to ssh://git@github.com/legatoproject/manifest

does this help to set it to http?

Hi @jyijyi ,

I use “leaf getsrc legato” where can I modify it ?

Hi @jyijyi ,

In WP77 I try again and got the same error

WARNING: Unable to get checksum for linux-quic SRC_URI entry sierra: [Errno 2] No such file or directory: '/home/test/workspace/yocto/kernel/./arch/arm/mach-msm/sierra/sierra'              | ETA:  0:00:07
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:02:04
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-quic-3.18.44-r1 do_populate_sysroot: runstrip: ''arm-poky-linux-gnueabi-strip' --remove-section=.comment --remove-section=.note '/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/sysroot-destdir/usr/src/kernel/scripts/basic/fixdep'' strip command failed with 1 (b'arm-poky-linux-gnueabi-strip:/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/sysroot-destdir/usr/src/kernel/scripts/basic/fixdep: File format not recognized\n')
ERROR: linux-quic-3.18.44-r1 do_populate_sysroot: runstrip: ''arm-poky-linux-gnueabi-strip' --remove-section=.comment --remove-section=.note '/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/sysroot-destdir/usr/src/kernel/scripts/kconfig/mconf'' strip command failed with 1 (b'arm-poky-linux-gnueabi-strip:/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/sysroot-destdir/usr/src/kernel/scripts/kconfig/mconf: File format not recognized\n')
ERROR: linux-quic-3.18.44-r1 do_package: objcopy failed with exit code 1 (cmd was 'arm-poky-linux-gnueabi-objcopy' --only-keep-debug '/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/package/usr/src/kernel/scripts/kconfig/mconf' '/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/package/usr/src/kernel/scripts/kconfig/.debug/mconf'):
arm-poky-linux-gnueabi-objcopy:/home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/package/usr/src/kernel/scripts/kconfig/mconf: File format not recognized
ERROR: linux-quic-3.18.44-r1 do_package: Function failed: split_and_strip_files
ERROR: Logfile of failure stored in: /home/test/workspace/yocto/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.44-r1/temp/log.do_package.83191
ERROR: Task (/home/test/workspace/yocto/meta-swi/meta-swi-mdm9x28/recipes-kernel/linux/linux-quic_git.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 942 tasks of which 0 didn't need to be rerun and 1 failed.

How do I fix it ?
I have no idea to fix it.

you can try with WP76 FW16.0.1 yocto build and see if it has problem.
this is to make sure your PC is OK to build image.

if you just wanna get the legato source, you can use VSCode+LEAF plugin to download

Hi @jyijyi ,

Following your suggestion use R16.0.1 in WP76xx, I got many like the error

ERROR: dtbtool-native-git-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/test/workspace/yocto/poky/scripts/native-intercept:/home/test/workspace/yocto/build_bin/tmp/sysroots-uninative/i686-linux/usr/bin:/home/test/workspace/yocto/poky/scripts:/home/test/workspace/yocto/build_bin/tmp/work/i686-linux/dtbtool-native/git-r0/recipe-sysroot-native/usr/bin/i686-linux:/home/test/workspace/yocto/build_bin/tmp/work/i686-linux/dtbtool-native/git-r0/recipe-sysroot-native/usr/bin:/home/test/workspace/yocto/build_bin/tmp/work/i686-linux/dtbtool-native/git-r0/recipe-sysroot-native/usr/sbin:/home/test/workspace/yocto/build_bin/tmp/work/i686-linux/dtbtool-native/git-r0/recipe-sysroot-native/usr/bin:/home/test/workspace/yocto/build_bin/tmp/work/i686-linux/dtbtool-native/git-r0/recipe-sysroot-native/sbin:/home/test/workspace/yocto/build_bin/tmp/work/i686-linux/dtbtool-native/git-r0/recipe-sysroot-native/bin:/home/test/workspace/yocto/poky/bitbake/bin:/home/test/workspace/yocto/build_bin/tmp/hosttools"; export HOME="/home/test"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://codeaurora.org/device/qcom/common /home/test/workspace/yocto/build_bin/downloads/git2/codeaurora.org.device.qcom.common --progress failed with exit code 128, output:
Cloning into bare repository '/home/test/workspace/yocto/build_bin/downloads/git2/codeaurora.org.device.qcom.common'...
fatal: unable to access 'https://codeaurora.org/device/qcom/common/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

ERROR: dtbtool-native-git-r0 do_fetch: Fetcher failure for URL: 'git://codeaurora.org/device/qcom/common;branch=jb_rb5.1;protocol=https'. Unable to fetch URL from any source.
ERROR: dtbtool-native-git-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/test/workspace/yocto/build_bin/tmp/work/i686-linux/dtbtool-native/git-r0/temp/log.do_fetch.22324
ERROR: Task (/home/test/workspace/yocto/meta-swi/meta-swi-mdm9x28/recipes-bsp/dtbtool/dtbtool-native_git.bb:do_fetch) failed with exit code '1'

and I added “protocol=https” It seems the same how to I solve it ?

BTW I also got many WARNING like below:

Now at patch 0001-Adding-MDM-specific-code-under-_PLATFORM_MDM_.patch
WARNING: wpa-supplicant-2.6-r0 do_patch:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450

Does this make any difference?