Vyacheslav-S / openwrt-rtk819

OpenWrt for MTS S1010, Beeline SmartBox ONE, Dom.ru S1010.ER, WIFIRE S1010.NBN routers
7 stars 1 forks source link

Build error (Ubuntu 18.04 LTC) #1

Open Yrij-Zhavoronkov opened 9 months ago

Yrij-Zhavoronkov commented 9 months ago

Error:

Applying ./patches/001-fix-package-rebuild.patch using plaintext: 
patching file Makefile.am
patching file Makefile.in

Applying ./patches/002-fix-package-glib.patch using plaintext: 
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/glib/glib/gdate.c b/glib/glib/gdate.c
|index 1978cf7..9be9b97 100644
|--- a/glib/gdate.c
|+++ b/glib/gdate.c
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
Patch failed!  Please fix ./patches/002-fix-package-glib.patch!
Makefile:37: recipe for target '/home/user/MTS_S1010/openwrt-rtk819/build_dir/host/pkg-config-0.28/.prepared0a4e73ce7a48753d00b21faf0b0bf6bb' failed
make[3]: *** [/home/user/MTS_S1010/openwrt-rtk819/build_dir/host/pkg-config-0.28/.prepared0a4e73ce7a48753d00b21faf0b0bf6bb] Error 1
make[3]: Leaving directory '/home/user/MTS_S1010/openwrt-rtk819/tools/pkg-config'
tools/Makefile:159: recipe for target 'tools/pkg-config/compile' failed
make[2]: *** [tools/pkg-config/compile] Error 2
make[2]: Leaving directory '/home/user/MTS_S1010/openwrt-rtk819'
tools/Makefile:158: recipe for target '/home/user/MTS_S1010/openwrt-rtk819/staging_dir/target-mips-rlx5281-linux/stamp/.tools_install_yynyynynynyyyyynynyynyyyyynnynyyyynnyyyynnyynnnyyyy' failed
make[1]: *** [/home/user/MTS_S1010/openwrt-rtk819/staging_dir/target-mips-rlx5281-linux/stamp/.tools_install_yynyynynynyyyyynynyynyyyyynnynyyyynnyyyynnyynnnyyyy] Error 2
make[1]: Leaving directory '/home/user/MTS_S1010/openwrt-rtk819'
/home/user/MTS_S1010/openwrt-rtk819/include/toplevel.mk:171: recipe for target 'world' failed
make: *** [world] Error 2
uhfband commented 9 months ago

I just removed 002-fix-package-glib.patch