Site Overlay

davfs2 installation bug in OpenWRT Chaos Calmer

The davfs2 package which ships with OpenWRT’s Chaos Calmer (15.05) version may not compile correctly when building the oWRT binaries. It is typical of the bug that the compilation process is interrupted with a message as follows:

There is a discussion on GitHub under the title “davfs2 – can use full language support – error build” which references another bug report titled “davfs2: fix inconsistency with HAVE_ICONV and HAVE_ICONV_H” which finally contains a bug fix.

Bug fix

To fix the bug, change feeds/packages/net/davfs/Makefile as shown in the following patch:

Furthermore, another patch file must be added to the patches subdirectory and saved as patches/001-replace-have-iconv-h-with-have-iconv.patch :

davfs2 update to version 1.5.4

While the basic patching procedure still applies for version 1.5.4, the patch file has to be slightly modified. You can download an updated version here.