dockerd install error

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

senis_kenis
Posts: 15
Joined: Sun Feb 23, 2020 5:27 am

dockerd install error

Post 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

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

Re: dockerd install error

Post 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.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

senis_kenis
Posts: 15
Joined: Sun Feb 23, 2020 5:27 am

Re: dockerd install error

Post 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?

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

Re: dockerd install error

Post 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
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

senis_kenis
Posts: 15
Joined: Sun Feb 23, 2020 5:27 am

Re: dockerd install error

Post by senis_kenis »

Lantis wrote:
Fri Mar 15, 2024 7:14 pm
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
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

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

Re: dockerd install error

Post by Lantis »

There must be more console output than that?
Did you install all of the prerequisite software required to compile the firmware?
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

senis_kenis
Posts: 15
Joined: Sun Feb 23, 2020 5:27 am

Re: dockerd install error

Post by senis_kenis »

I'm on wsl2 Ubuntu 24.04.1 LTS.
some prerequisite libs replaced:

Code: Select all

lib32gcc1 -> lib32gcc-s1
and instead of python3-distutils used:

Code: Select all

sudo apt install python3-setuptools
because it's deprecated.

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

Re: dockerd install error

Post by Lantis »

Run this and post the full output (on pastebin or similar if necessary).

make FULL_BUILD=true BUILD_THREADS=1 ramips.mt7621
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

senis_kenis
Posts: 15
Joined: Sun Feb 23, 2020 5:27 am

Re: dockerd install error

Post 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

Code: Select all

export FORCE_UNSAFE_CONFIGURE=1
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 ?

senis_kenis
Posts: 15
Joined: Sun Feb 23, 2020 5:27 am

Re: dockerd install error

Post by senis_kenis »

After the build where are firmware image files located? Images folder contains only

Code: Select all

ramips-mt7621.buildinfo

Post Reply