fatal: unable to access 'https://git.savannah.gnu.org/r/lwip.git/': server certificate verification failed.



  • I am getting this error message not sure what to do. I have pasted the beginning part of the error prompt and the end.

    Any thoughts?

    ake -r world: build failed. Please re-run make with -j1 V=s to see what's going on
    /root/source/include/toplevel.mk:216: recipe for target 'world' failed
    make: *** [world] Error 1
    root@4490a8f97101:~/source# make -j1 V=s
    WARNING: Makefile 'package/feeds/onion/zeromq/Makefile' has a build dependency on 'libuuid', which does not exist
    make[1]: Entering directory '/root/source'
    make[2]: Entering directory '/root/source'
    make[3]: Entering directory '/root/source/target/linux'
    make[4]: Entering directory '/root/source/target/linux/ramips'
    rm -f /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/localversion
    /root/source/scripts/kconfig.pl + /root/source/target/linux/generic/config-4.14 /root/source/target/linux/ramips/mt76x8/config-4.14 > /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.target
    awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' /root/source/.config >> /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.target
    echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.target
    echo "# CONFIG_KALLSYMS_ALL is not set" >> /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.target
    echo "CONFIG_KALLSYMS_UNCOMPRESSED=y" >> /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.target
    /root/source/scripts/package-metadata.pl kconfig /root/source/tmp/.packageinfo /root/source/.config 4.14 > /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.override
    /root/source/scripts/kconfig.pl 'm+' '+' /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.target /dev/null /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.override > /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.set
    mv /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.set /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.old
    grep -v INITRAMFS /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.old > /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.set
    echo 'CONFIG_INITRAMFS_SOURCE=""' >> /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.set
    echo '# CONFIG_INITRAMFS_FORCE is not set' >> /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/linux-4.14.81/.config.set
    rm -rf /root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/modules

    fatal: unable to access 'https://git.savannah.gnu.org/r/lwip.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    fatal: clone of 'https://git.savannah.gnu.org/r/lwip.git' into submodule path '/root/source/tmp/dl/lv_micropython-1.9.2-2/lib/lwip' failed
    Failed to clone 'lib/lwip'. Retry scheduled
    Cloning into '/root/source/tmp/dl/lv_micropython-1.9.2-2/lib/nrfx'...
    Cloning into '/root/source/tmp/dl/lv_micropython-1.9.2-2/lib/stm32lib'...
    Cloning into '/root/source/tmp/dl/lv_micropython-1.9.2-2/lib/tinyusb'...
    Cloning into '/root/source/tmp/dl/lv_micropython-1.9.2-2/lib/lwip'...
    fatal: unable to access 'https://git.savannah.gnu.org/r/lwip.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    fatal: clone of 'https://git.savannah.gnu.org/r/lwip.git' into submodule path '/root/source/tmp/dl/lv_micropython-1.9.2-2/lib/lwip' failed
    Failed to clone 'lib/lwip' a second time, aborting
    Makefile:55: recipe for target '/root/source/dl/lv_micropython-1.9.2-2.tar.xz' failed
    make[3]: *** [/root/source/dl/lv_micropython-1.9.2-2.tar.xz] Error 1
    make[3]: Leaving directory '/root/source/feeds/onion/lv_micropython'
    Command exited with non-zero status 2
    time: package/feeds/onion/lv_micropython/compile#23.25#2.95#33.76
    package/Makefile:107: recipe for target 'package/feeds/onion/lv_micropython/compile' failed
    make[2]: *** [package/feeds/onion/lv_micropython/compile] Error 2
    make[2]: Leaving directory '/root/source'
    package/Makefile:103: recipe for target '/root/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
    make[1]: *** [/root/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
    make[1]: Leaving directory '/root/source'
    /root/source/include/toplevel.mk:216: recipe for target 'world' failed
    make: *** [world] Error 2



  • @Antony Have you run ./scripts/feeds update?



  • @crispyoz said in fatal: unable to access 'https://git.savannah.gnu.org/r/lwip.git/': server certificate verification failed.:

    ./scripts/feeds update

    Hi @crispyoz I have. I get the following error messages:

    root@4490a8f97101:~/source# ./scripts/feeds update
    Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git;openwrt-18.06' ...
    fatal: unable to access 'https://git.openwrt.org/feed/packages.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    failed.
    Updating feed 'luci' from 'https://git.openwrt.org/project/luci.git;openwrt-18.06' ...
    fatal: unable to access 'https://git.openwrt.org/project/luci.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    failed.
    Updating feed 'routing' from 'https://git.openwrt.org/feed/routing.git;openwrt-18.06' ...
    fatal: unable to access 'https://git.openwrt.org/feed/routing.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    failed.
    Updating feed 'telephony' from 'https://git.openwrt.org/feed/telephony.git;openwrt-18.06' ...
    fatal: unable to access 'https://git.openwrt.org/feed/telephony.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    failed.
    Updating feed 'onion' from 'https://github.com/OnionIoT/OpenWRT-Packages.git;openwrt-18.06' ...
    Already up to date.
    Create index file './feeds/onion.index'


  • administrators

    @Antony It would be helpful if you gave some background and context on what you're doing. Following the How to Ask for Help on this Forum guidelines when posting will lead to better help from the community.

    Without context on whether you're, for example, running the build system in Docker or on your own machine, it's difficult to get to the bottom of the issue.



  • @Antony of course @Lazar-Demin is quite correct, since the error relates to the certificates you have installed on your build system. So if you are using Docker it can make things more complicated. However assuming you are using a debian based *nix system on your build device, try sudo apt install ca-certificates.

    Otherwise please provide more specific details of the system you are using to run the build system. We are better able to assist when we have as much information as possible, but as a minimum please follow the advice in How To Ask For Help


  • administrators

    @Antony If you are using Docker, we've released a new version of the onion/omega2-source Docker image that resolves the certificate issue.

    Pull this latest version of the image, launch a container based on it, and try building again.

    (More info in this GitHub issue)


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.