I’m trying to compile a tor firmware over LEDE I copied the list of packages list here:

then use the command

./gl_image -i tor -p gl-ar300 -v 2.27 (added tor list of packages mention above to images.jason)

i got this error:

Collected errors:

  • opkg_install_cmd: Cannot install package kmod-ledtrig-usbdev.
  • opkg_install_cmd: Cannot install package uhttpd-mod-tls.
    Makefile:152: recipe for target ‘package_install’ failed
    make[2]: *** [package_install] Error 255
    make[2]: Leaving directory ‘/home/doki/lede-imagebuilder-ar71xx-generic’
    Makefile:110: recipe for target ‘_call_image’ failed
    make[1]: *** [_call_image] Error 2
    make[1]: Leaving directory ‘/home/doki/lede-imagebuilder-ar71xx-generic’
    Makefile:227: recipe for target ‘image’ failed
    make: *** [image] Error 2
    Traceback (most recent call last):
    File “./gl_image”, line 90, in
    sys.exit(main(sys.argv))
    File “./gl_image”, line 87, in main
    (profile, version, include_ipk, exclude_ipk, files), shell=True);
    File “/usr/lib/python2.7/subprocess.py”, line 541, in check_call
    raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command ‘make image PROFILE=gl-ar300m VERSION=2.27 PACKAGES=“uhttpd ethtool blkid iwinfo block-mount curl gnupg iw jshn kmod-fs-ext4 kmod-fs-ntfs kmod-fs-vfat kmod-fs-ext4 ntfs-3g kmod-fs-hfs kmod-fs-hfsplus kmod-fs-reiserfs kmod-fuse kmod-loop kmod-gpio-button-hotplug kmod-leds-gpio kmod-ledtrig-default-on kmod-ledtrig-netdev kmod-ledtrig-timer kmod-ledtrig-usbdev kmod-lib-crc-ccitt kmod-lib-crc16 kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-utf8 kmod-usb-storage kmod-usb-uhci kmod-usb2 kmod-usb-ohci kmod-usb-net kmod-usb-net-cdc-ether kmod-usb-net-rndis kmod-usb-serial kmod-usb-serial-cp210x kmod-usb-serial-option kmod-usb-serial-wwan kmod-usb-acm usb-modeswitch comgt chat luci luci-lib-json luci-lib-nixio uhttpd-mod-lua uhttpd-mod-tls uhttpd-mod-ubus usbutils wget tor tor-geoip tor-resolve tor-gencert " REMOVE_PACKAGES=” " FILES=’ returned non-zero exit status 2