Page 1 of 2
dockerd install error
Posted: Fri Mar 15, 2024 6:49 am
by senis_kenis
Hello, I'm getting this error on Xiaomi Mi Router 3G:
Code: Select all
root@Gargoyle:~# opkg install dockerd
ERROR: Dependency kmod-nf-ipvs of package dockerd cannot be found, try updating your package lists
Re: dockerd install error
Posted: Fri Mar 15, 2024 8:38 am
by Lantis
opkg => gpkg
Did you do a gpkg update first?
Regardless, even if you do find the kmod to install, it is going to complain about it being built for the wrong kernel.
You will need to custom compile this for yourself.
Re: dockerd install error
Posted: Fri Mar 15, 2024 9:18 am
by senis_kenis
I did uptate in opkg, tried with gpkg and got same error:
Code: Select all
root@Gargoyle:~# gpkg update
Downloading package list for openwrt_22.03.5_base source...
Package list for openwrt_22.03.5_base downloaded successfully.
Downloading package list for gargoyle_kernel_specific source...
Package list for gargoyle_kernel_specific downloaded successfully.
Downloading package list for gargoyle source...
Package list for gargoyle downloaded successfully.
Downloading package list for openwrt_22.03.5_routing source...
Package list for openwrt_22.03.5_routing downloaded successfully.
Downloading package list for openwrt_22.03.5_telephony source...
Package list for openwrt_22.03.5_telephony downloaded successfully.
Downloading package list for openwrt_22.03.5_packages source...
Package list for openwrt_22.03.5_packages downloaded successfully.
root@Gargoyle:~# gpkg install dockerd
ERROR: Dependency kmod-nf-ipvs of package dockerd cannot be found, try updating your package lists
root@Gargoyle:~#
Lantis, can you point me to custom compile guide?
Re: dockerd install error
Posted: Fri Mar 15, 2024 7:14 pm
by Lantis
https://github.com/ericpaulbishop/gargo ... /README.md
You will want to modify the config file for ramips/mt7621 and turn on kmod-nf-ipvs, then compile with
make FULL_BUILD=true ramips.mt7621
Re: dockerd install error
Posted: Sat Dec 07, 2024 3:50 pm
by senis_kenis
getting build error:
Code: Select all
make[8]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/root/gargoyle/ramips-src/staging_dir/host/share/man/man1'
/root/gargoyle/ramips-src/staging_dir/host/bin/install -c -m 644 'patch.man' '/root/gargoyle/ramips-src/staging_dir/host/share/man/man1/patch.1'
make[8]: Leaving directory '/root/gargoyle/ramips-src/build_dir/host/patch-2.7.6'
make[7]: Leaving directory '/root/gargoyle/ramips-src/build_dir/host/patch-2.7.6'
make[6]: Leaving directory '/root/gargoyle/ramips-src/build_dir/host/patch-2.7.6'
make[5]: Leaving directory '/root/gargoyle/ramips-src/build_dir/host/patch-2.7.6'
mkdir -p /root/gargoyle/ramips-src/staging_dir/host/stamp
touch /root/gargoyle/ramips-src/build_dir/host/patch-2.7.6/.built
touch /root/gargoyle/ramips-src/staging_dir/host/stamp/.patch_installed
make[4]: Leaving directory '/root/gargoyle/ramips-src/tools/patch'
time: tools/patch/compile#23.77#7.52#21.62
make[3]: Leaving directory '/root/gargoyle/ramips-src'
make[2]: *** [tools/Makefile:162: /root/gargoyle/ramips-src/staging_dir/host/stamp/.tools_compile_yyynyynnyyyynyyyyyynyynyyynynyyyyyyyyyyyyyyyyynynnyyyyyyy] Error 2
make[2]: Leaving directory '/root/gargoyle/ramips-src'
make[1]: *** [/root/gargoyle/ramips-src/include/toplevel.mk:230: world] Error 2
make[1]: Leaving directory '/root/gargoyle/ramips-src'
find: ‘bin/packages/mipsel_24kc’: No such file or directory
find: ‘’: No such file or directory
find: ‘’: No such file or directory
find: ‘’: No such file or directory
find: ‘’: No such file or directory
Re: dockerd install error
Posted: Sat Dec 07, 2024 9:14 pm
by Lantis
There must be more console output than that?
Did you install all of the prerequisite software required to compile the firmware?
Re: dockerd install error
Posted: Sun Dec 08, 2024 7:23 am
by senis_kenis
I'm on wsl2 Ubuntu 24.04.1 LTS.
some prerequisite libs replaced:
and instead of python3-distutils used:
Code: Select all
sudo apt install python3-setuptools
because it's deprecated.
Re: dockerd install error
Posted: Sun Dec 08, 2024 7:36 pm
by Lantis
Run this and post the full output (on pastebin or similar if necessary).
make FULL_BUILD=true BUILD_THREADS=1 ramips.mt7621
Re: dockerd install error
Posted: Mon Dec 09, 2024 4:53 am
by senis_kenis
https://pastecode.io/s/7fuu2n1e
edit: silly me, didn't notice:
Code: Select all
configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
set
and now it's building.
Sorry for wasting your time for my own stupidity
P.S. can I stick to master branch or better use 1.14 ?
Re: dockerd install error
Posted: Mon Dec 09, 2024 9:51 am
by senis_kenis
After the build where are firmware image files located? Images folder contains only