#19335: package jshn need libubox and libblobmsg-json depend in libubox compile
----------------------+------------------------
Reporter: rockbean | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Keywords: libubox |
----------------------+------------------------
I've moved the newest libubox from trunk in my branch(based on 12.09),
while compile libubox(2015-03-22) shows this error:
make[2]: Entering directory '/home/alex/openwrt-
pandorabox/package/libubox'
mkdir -p /home/alex/openwrt-pandorabox/bin/x86/packages /home/alex
/openwrt-pandorabox/build_dir/target-
i386_uClibc-0.9.33.2/libubox-2015-03-22/ipkg-x86/jshn/CONTROL /home/alex
/openwrt-pandorabox/staging_dir/target-i386_uClibc-0.9.33.2/pkginfo
install -d -m0755 /home/alex/openwrt-pandorabox/build_dir/target-
i386_uClibc-0.9.33.2/libubox-2015-03-22/ipkg-x86/jshn/usr/bin /home/alex
/openwrt-pandorabox/build_dir/target-
i386_uClibc-0.9.33.2/libubox-2015-03-22/ipkg-x86/jshn/usr/share/libubox
install -m0755 /home/alex/openwrt-pandorabox/build_dir/target-
i386_uClibc-0.9.33.2/libubox-2015-03-22/ipkg-install/usr/bin/jshn
/home/alex/openwrt-pandorabox/build_dir/target-
i386_uClibc-0.9.33.2/libubox-2015-03-22/ipkg-x86/jshn/usr/bin
install -m0644 /home/alex/openwrt-pandorabox/build_dir/target-
i386_uClibc-0.9.33.2/libubox-2015-03-22/ipkg-
install/usr/share/libubox/jshn.sh /home/alex/openwrt-pandorabox/build_dir
/target-
i386_uClibc-0.9.33.2/libubox-2015-03-22/ipkg-x86/jshn/usr/share/libubox
find /home/alex/openwrt-pandorabox/build_dir/target-
i386_uClibc-0.9.33.2/libubox-2015-03-22/ipkg-x86/jshn -name 'CVS' -o -name
'.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package jshn is missing dependencies for the following libraries:
{{{libblobmsg_json.so}}}
{{{libubox.so}}}
Makefile:84: recipe for target '/home/alex/openwrt-
pandorabox/bin/x86/packages/jshn_2015-03-22-b8d9b382e39823850331edc2a92379173daf1be3_x86.ipk'
failed
make[2]: *** [/home/alex/openwrt-
pandorabox/bin/x86/packages/jshn_2015-03-22-b8d9b382e39823850331edc2a92379173daf1be3_x86.ipk]
Error 1
make[2]: Leaving directory '/home/alex/openwrt-pandorabox/package/libubox'
package/Makefile:105: recipe for target 'package/libubox/compile' failed
make[1]: *** [package/libubox/compile] Error 2
make[1]: Leaving directory '/home/alex/openwrt-pandorabox'
/home/alex/openwrt-pandorabox/include/toplevel.mk:144: recipe for target
'package/libubox/compile' failed
make: *** [package/libubox/compile] Error 2
I just fixed this by edit {{{libubox/Makefile}}} , like this:
{{{
define Package/jshn
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libjson-c +libubox +libblobmsg-json
TITLE:=JSON SHell Notation
endef
}}}
add libubox and blobmsg-json in DEPENDS
--
Ticket URL: <https://dev.openwrt.org/ticket/19335>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets