We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Custom Image Build Error



  • Hello,

    I am building a custom image using the latest git rep: https://github.com/OnionIoT/source.git

    I want to include mjpg-streamer, and is facing this issue while building after using the 'make' command.

    Checking out files from the svn repository...
    /bin/sh: 1: svn: not found
    /bin/sh: 1: svn: not found
    Makefile:116: recipe for target '/root/buildroot/dl/mjpg-streamer-r182.1.tar.xz' failed
    make[3]: *** [/root/buildroot/dl/mjpg-streamer-r182.1.tar.xz] Error 127
    make[3]: Leaving directory '/root/buildroot/feeds/packages/multimedia/mjpg-streamer'
    Command exited with non-zero status 2
    time: package/feeds/packages/mjpg-streamer/compile#0.19#0.08#16.04
    package/Makefile:107: recipe for target 'package/feeds/packages/mjpg-streamer/compile' failed
    make[2]: *** [package/feeds/packages/mjpg-streamer/compile] Error 2
    make[2]: Leaving directory '/root/buildroot'
    package/Makefile:103: recipe for target '/root/buildroot/staging_dir/target-mips_24kc_musl/stamp/.package_compile' failed
    make[1]: *** [/root/buildroot/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
    make[1]: Leaving directory '/root/buildroot'
    /root/buildroot/include/toplevel.mk:216: recipe for target 'world' failed
    make: *** [world] Error 2

    Any suggestions?

    Thank you!



  • @Antony The key error is : ``/bin/sh: 1: svn: not found`

    SVN is the Subversion client, mpg-streamer must use this in its make file to pull source code from a Subversion repository. You'll need to install the Subversion client on the machine yu are executing the build. On ubuntu you would use the command:

    sudo apt install subversion


  • Banned

    This post is deleted!


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