openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
4.01k stars 3.49k forks source link

new error to builds miniupnpd (lede) #2904

Closed build000 closed 8 years ago

build000 commented 8 years ago
# make -j8
(...)
 make[3] -C feeds/packages/net/adblock compile
 make[3] -C feeds/packages/net/aria2 compile
 make[3] -C feeds/packages/net/ddns-scripts compile
 make[3] -C feeds/luci/applications/luci-app-samba compile
 make[3] -C feeds/packages/utils/collectd compile
 make[3] -C feeds/luci/applications/luci-app-uhttpd compile
 make[3] -C feeds/routing/miniupnpd compile
 make[3] -C package/network/utils/comgt compile
 make[3] -C feeds/luci/protocols/luci-proto-relay compile
 make[3] -C feeds/packages/net/3ginfo compile
make -r world: build failed. Please re-run make with -j1 V=s to see what's going on
/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/include/toplevel.mk:193: polecenia dla obiektu 'world' nie powiodły się
make: *** [world] Błąd 1

# make -j1 V=s
(...)
make[3]: Entering directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/feeds/routing/miniupnpd'
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/miniupnpd-2.0:miniupnpd-2.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/usr/include -I/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/include -I/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/usr/include -I/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/include/fortify -I/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/miniupnpd-2.0:miniupnpd-2.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/usr/include -I/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/include -I/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/usr/include -I/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/include/fortify -I/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/include " LDFLAGS="-L/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/usr/lib -L/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/lib -L/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/usr/lib -L/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/lib -znow -zrelro " make -j1 -C /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/miniupnpd-2.0/. AR="mips-openwrt-linux-musl-gcc-ar" AS="mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap /home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/miniupnpd-2.0:miniupnpd-2.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=mips-openwrt-linux-musl-ld NM="mips-openwrt-linux-musl-gcc-nm" CC="mips-openwrt-linux-musl-gcc" GCC="mips-openwrt-linux-musl-gcc" CXX="mips-openwrt-linux-musl-g++" RANLIB="mips-openwrt-linux-musl-gcc-ranlib" STRIP=mips-openwrt-linux-musl-strip OBJCOPY=mips-openwrt-linux-musl-objcopy OBJDUMP=mips-openwrt-linux-musl-objdump SIZE=mips-openwrt-linux-musl-size CROSS="mips-openwrt-linux-musl-" ARCH="mips" TEST=0 LIBS="" CC="mips-openwrt-linux-musl-gcc -DIPTABLES_143 -lip4tc -lip6tc" CONFIG_OPTIONS="--ipv6 --leasefile" -f Makefile.linux miniupnpd ;
make[4]: Entering directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/miniupnpd-2.0'
please install uuid-dev package / libuuid
mips-openwrt-linux-musl-gcc -DIPTABLES_143 -lip4tc -lip6tc -L/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/usr/lib -L/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/lib -L/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/usr/lib -L/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/lib -znow -zrelro  -L/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/usr/lib   miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o upnpreplyparse.o minixml.o portinuse.o upnpredirect.o getifaddr.o daemonize.o upnpglobalvars.o options.o upnppermissions.o minissdp.o natpmp.o pcpserver.o upnpevents.o upnputils.o getconnstatus.o upnppinhole.o pcplearndscp.o asyncsendto.o linux/getifstats.o linux/ifacewatcher.o linux/getroute.o netfilter/iptcrdr.o netfilter/iptpinhole.o netfilter/nfct_get.o   -o miniupnpd
/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.14/lib/gcc/mips-openwrt-linux-musl/5.3.0/../../../../mips-openwrt-linux-musl/bin/ld: copy reloc against protected `__stack_chk_guard' is dangerous
upnpevents.o: In function `upnpevents_addSubscriber':
upnpevents.c:(.text+0x1ee): undefined reference to `uuid_generate'
upnpevents.c:(.text+0x21a): undefined reference to `uuid_unparse'
collect2: error: ld returned 1 exit status
<builtin>: recipe for target 'miniupnpd' failed
make[4]: *** [miniupnpd] Error 1
make[4]: Leaving directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/miniupnpd-2.0'
Makefile:70: recipe for target '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/miniupnpd-2.0/.built' failed
make[3]: *** [/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/build_dir/target-mips_34kc_musl-1.1.14/miniupnpd-2.0/.built] Error 2
make[3]: Leaving directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/feeds/routing/miniupnpd'
package/Makefile:187: recipe for target 'package/feeds/routing/miniupnpd/compile' failed
make[2]: *** [package/feeds/routing/miniupnpd/compile] Error 2
make[2]: Leaving directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300'
package/Makefile:184: recipe for target '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/stamp/.package_compile' failed
make[1]: *** [/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/staging_dir/target-mips_34kc_musl-1.1.14/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/slawekj/Pulpit/Projects/LEDE-WNDR4300'
/home/slawekj/Pulpit/Projects/LEDE-WNDR4300/include/toplevel.mk:193: polecenia dla obiektu 'world' nie powiodły się
make: *** [world] Błąd 2
build000 commented 8 years ago

I'm sorry, but I made a mistake in a hurry repositories - one way or another: https://github.com/openwrt-routing/packages/commit/fa76522336590a7c9fcb657f734bcdc9f400bd14 - problem probably (?) fixed