Modify

Opened 4 years ago

Closed 2 years ago

#16716 closed defect (moved_to_github)

miniupnpd compiled error

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

make[3]: Entering directory `/home/openwrt/trunk/feeds/routing/miniupnpd'
mkdir -p /home/openwrt/trunk/bin/ar71xx/packages /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/CONTROL /home/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/pkginfo
install -d -m0755 /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/usr/sbin /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/etc/init.d /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/etc/config /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/etc/uci-defaults /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/etc/hotplug.d/iface /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/usr/share/miniupnpd
install -m0755 /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/miniupnpd /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/usr/sbin/miniupnpd
install -m0755 ./files/miniupnpd.init /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/etc/init.d/miniupnpd
install -m0600 ./files/upnpd.config /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/etc/config/upnpd
install -m0644 ./files/miniupnpd.hotplug /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/etc/hotplug.d/iface/50-miniupnpd
install -m0644 ./files/miniupnpd.defaults /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/etc/uci-defaults/99-miniupnpd
install -m0644 ./files/firewall.include /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd/usr/share/miniupnpd/firewall.include
find /home/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/miniupnpd-1.8.20140523/ipkg-ar71xx/miniupnpd -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package miniupnpd is missing dependencies for the following libraries:
libmnl.so.0
libnetfilter_conntrack.so.3
make[3]: * /home/openwrt/trunk/bin/ar71xx/packages/miniupnpd_1.8.20140523-1_ar71xx.ipk Error 1
make[3]: Leaving directory `/home/openwrt/trunk/feeds/routing/miniupnpd'
make[2]:
* [package/feeds/routing/miniupnpd/compile] Error 2
make[2]: Leaving directory `/home/openwrt/trunk'
make[1]: * /home/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile Error 2
make[1]: Leaving directory `/home/openwrt/trunk'

Attachments (0)

Change History (8)

comment:1 Changed 4 years ago by anonymous

Add +libmnl +libnetfilter-conntrack to DEPENDS - diff:

@@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/miniupnpd
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+iptables +libip4tc +IPV6:libip6tc +IPV6:ip6tables +libnfnetlink
+  DEPENDS:=+iptables +libip4tc +IPV6:libip6tc +IPV6:ip6tables +libnfnetlink +libmnl +libnetfilter-conntrack
   TITLE:=Lightweight UPnP daemon
   SUBMENU:=Firewall
   URL:=http://miniupnp.free.fr/}}}

comment:2 Changed 4 years ago by anonymous

I tried to test. but one error happened yet as the following:
Package miniupnpd is missing dependencies for the following libraries:
libnetfilter_conntrack.so.3

comment:3 Changed 4 years ago by Goofball <goofball222@…>

The change to add libmnl and libconntrack-netfilter dependencies to miniupnpd worked for me.

comment:4 Changed 4 years ago by anonymous

Same build miniupnpd compiled error on BB trunk r41294:

find /home/testlap/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/iptables-1.4.21/ipkg-ar71xx/libiptc -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package libiptc is missing dependencies for the following libraries:
libip6tc.so.0
make[3]: *** [/home/testlap/openwrt/trunk/bin/ar71xx/packages/libiptc_1.4.21-1_ar71xx.ipk] Error 1
make[3]: Leaving directory `/home/testlap/openwrt/trunk/package/network/utils/iptables'
make[2]: *** [package/network/utils/iptables/compile] Error 2
make[2]: Leaving directory `/home/testlap/openwrt/trunk'
make[1]: *** [/home/testlap/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/testlap/openwrt/trunk'
make: *** [world] Error 2
testlap@testlab:~/openwrt/trunk$ cat .config |grep libip6tc*
CONFIG_PACKAGE_libip6tc=y

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:6 Changed 3 years ago by moguai_xl@…

Hi,

I had the same problem. I wrote script/patch which solved my problem.

#!/bin/bash

cat << "EOF" > iptables-1.4.21-libip6tc.patch
--- package/network/utils/iptables/Makefile.orig	2014-08-28 17:12:17.274983880 +0200
+++ package/network/utils/iptables/Makefile	2014-08-28 18:49:07.895182861 +0200
@@ -352,7 +352,7 @@
 $(call Package/iptables/Default)
   SECTION:=libs
   CATEGORY:=Libraries
-  DEPENDS:=+libip4tc +IPV6:libip6tc
+  DEPENDS:=+libip4tc +libip6tc
   TITLE:=IPv4/IPv6 firewall - shared libiptc library (compatibility stub)
 endef

EOF

cp package/network/utils/iptables/Makefile package/network/utils/iptables/Makefile.orig
patch -p0 < iptables-1.4.21-libip6tc.patch

Script should be run from 'openwrt' directory.

Regards,
Piotr

comment:7 Changed 3 years ago by moguai_xl@…

Hi,

Sorry, submited script applies to a different package but I think that might be the same problem with '+IPV6' in 'DEPENDS'.

Regards,
Piotr

comment:8 Changed 2 years ago by nbd

  • Resolution set to moved_to_github
  • Status changed from new to closed

miniupnpd is maintained here: ​https://github.com/openwrt-routing/packages

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.