new Build

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

Post Reply
ispyisail
Moderator
Posts: 4875
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

new Build

Post by ispyisail »

Hi all

Should I make a new build?,

i'm a bit suspect on how stable it would be?

Lantis
Moderator
Posts: 5727
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: new Build

Post by Lantis »

A lot of good changes. Especially the imq needs testing as it should solve some crashes people were experiencing when using quotas.

Also be aware that the build system now uses git instead of svn to grab the source code. Shouldn't affect the build phase at all but I don't know how the rest of your auto script works!
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ispyisail
Moderator
Posts: 4875
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: new Build

Post by ispyisail »

Code: Select all


ERROR: could not download source, exiting
Setting target language
fetching openwrt source
Cloning into '/home/user/gargoyle/downloaded/15.05-a03a846'...
fatal: unable to connect to openwrt.org:
openwrt.org[0: 78.24.191.177]: errno=Connection refused

ERROR: could not download source, exiting
Setting target language
fetching openwrt source
Cloning into '/home/user/gargoyle/downloaded/15.05-a03a846'...
fatal: unable to connect to openwrt.org:
openwrt.org[0: 78.24.191.177]: errno=Connection refused

ERROR: could not download source, exiting
Setting target language

petbrau
Posts: 28
Joined: Fri Jan 29, 2016 2:08 pm

Re: new Build

Post by petbrau »

The commit of Lantis on GitHub has not been merged up to now.
https://github.com/lantis1008/gargoyle/commit/1fa540e4ca6fbfb84b0a20aedc266933c88d5dac
Either switch to the repository of Lantis or modify your build.sh by hand.

ispyisail
Moderator
Posts: 4875
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: new Build

Post by ispyisail »

looks all good now

fingers crossed

building

petbrau
Posts: 28
Joined: Fri Jan 29, 2016 2:08 pm

Re: new Build

Post by petbrau »

ispyisail wrote:looks all good now

fingers crossed

building



A few minutes ago, the commit has been merged.
Fingers crossed

ispyisail
Moderator
Posts: 4875
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: new Build

Post by ispyisail »

build errors

Code: Select all

) { mods="$1"; boot="$2"; shift 2; for mod in $mods; do mkdir -p /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/etc/modules.d; echo "$mod" >> /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/etc/modules.d/video-core; done; if [ -e /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/etc/modules.d/video-core ]; then if [ "$boot" = "1" ]; then mkdir -p /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/etc/modules-boot.d; ln -s ../modules.d/video-core /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/etc/modules-boot.d/; fi; modules="${modules:+$modules }$mods"; fi; }; add_module() { priority="$1"; mods="$2"; boot="$3"; shift 3; for mod in $mods; do mkdir -p /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/etc/modules.d; echo "$mod" >> /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/etc/modules.d/$priority-video-core; done; if [ -e /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/etc/modules.d/$priority-video-core ]; then if [ "$boot" = "1" ]; then mkdir -p /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/etc/modules-boot.d; ln -s ../modules.d/$priority-video-core /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/etc/modules-boot.d/; fi; modules="${modules:+$modules }$priority-video-core"; fi; }; add_module "60" " videodev v4l2-common" ""; if [ -n "$modules" ]; then mkdir -p /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/etc/modules.d; mkdir -p /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/CONTROL; echo "#!/bin/sh" > /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/CONTROL/postinst-pkg; echo "[ -z \"\$IPKG_INSTROOT\" ] || exit 0" >> /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/CONTROL/postinst-pkg; echo ". /lib/functions.sh" >> /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/CONTROL/postinst-pkg; echo "insert_modules $modules" >> /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/CONTROL/postinst-pkg; chmod 0755 /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/CONTROL/postinst-pkg; fi
SHELL= /home/user/gargoyle/mvebu-src/staging_dir/host/bin/flock /home/user/gargoyle/mvebu-src/tmp/.root-copy.flock -c 'cp -fpR /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core/. /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/'
rm -rf /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/tmp-kmod-video-core
touch /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/root-mvebu/stamp/.kmod-video-core_installed
if [ -f /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/pkginfo/linux.default.install.clean ]; then rm -f /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/pkginfo/linux.default.install /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/pkginfo/linux.default.install.clean; fi; echo "kmod-video-core" >> /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/pkginfo/linux.default.install
mkdir -p /home/user/gargoyle/mvebu-src/bin/mvebu/packages /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/CONTROL /home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/pkginfo
. /home/user/gargoyle/mvebu-src/include/shell.sh; export modules=; probe_module() { mods="$1"; boot="$2"; shift 2; for mod in $mods; do mkdir -p /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/etc/modules.d; echo "$mod" >> /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/etc/modules.d/video-videobuf2; done; if [ -e /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/etc/modules.d/video-videobuf2 ]; then if [ "$boot" = "1" ]; then mkdir -p /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/etc/modules-boot.d; ln -s ../modules.d/video-videobuf2 /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/etc/modules-boot.d/; fi; modules="${modules:+$modules }$mods"; fi; }; add_module() { priority="$1"; mods="$2"; boot="$3"; shift 3; for mod in $mods; do mkdir -p /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/etc/modules.d; echo "$mod" >> /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/etc/modules.d/$priority-video-videobuf2; done; if [ -e /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/etc/modules.d/$priority-video-videobuf2 ]; then if [ "$boot" = "1" ]; then mkdir -p /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/etc/modules-boot.d; ln -s ../modules.d/$priority-video-videobuf2 /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/etc/modules-boot.d/; fi; modules="${modules:+$modules }$priority-video-videobuf2"; fi; }; add_module "65" "videobuf2-core videobuf2-memops videobuf2-vmalloc" ""; if [ -n "$modules" ]; then mkdir -p /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/etc/modules.d; mkdir -p /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/CONTROL; echo "#!/bin/sh" > /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/CONTROL/postinst-pkg; echo "[ -z \"\$IPKG_INSTROOT\" ] || exit 0" >> /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/CONTROL/postinst-pkg; echo ". /lib/functions.sh" >> /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/CONTROL/postinst-pkg; echo "insert_modules $modules" >> /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/CONTROL/postinst-pkg; chmod 0755 /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2/CONTROL/postinst-pkg; fi
find /home/user/gargoyle/mvebu-src/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/linux-mvebu/packages/ipkg-mvebu/kmod-video-videobuf2 -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package kmod-video-videobuf2 is missing dependencies for the following libraries:
dma-shared-buffer.ko
make[4]: *** [/home/user/gargoyle/mvebu-src/bin/mvebu/packages/base/kmod-video-videobuf2_3.18.23-1-324cf6b6a65a468d20354b0fa55a4c48_mvebu.ipk] Error 1
make[4]: Leaving directory `/home/user/gargoyle/mvebu-src/package/kernel/linux'
make[3]: *** [package/kernel/linux/compile] Error 2
make[3]: Leaving directory `/home/user/gargoyle/mvebu-src'
make[2]: *** [/home/user/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/stamp/.package_compile] Error 2
make[2]: Leaving directory `/home/user/gargoyle/mvebu-src'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/home/user/gargoyle/mvebu-src'

Eric
Site Admin
Posts: 1441
Joined: Sat Jun 14, 2008 1:14 pm

Re: new Build

Post by Eric »

I just did a clean build (starting from a fresh checkout) and couldn't reproduce this error.

Is anyone else experiencing trouble compiling the source in its present state?

ispyisail
Moderator
Posts: 4875
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: new Build

Post by ispyisail »

I'm doing another build and it seams to be building OK this time?

Lantis
Moderator
Posts: 5727
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: new Build

Post by Lantis »

Out of town on business at the moment.
Tried to get someone to read the console for me to see if there was any errors. They complained that it was too complicated and too much text so I just walked them through shutting it down lol!
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply