On Fri, 15 Nov 2013 21:59:48 -0500 Chirag Chhatriwala <cchha...@gmail.com> wrote:
> I am having a bit difficulty building OpenWrt trunk as of today. > checked out from git, updated and installed feeds. > Selected the following yate modules: > > CONFIG_PACKAGE_yate=y > CONFIG_PACKAGE_yate-mod-accfile=y > CONFIG_PACKAGE_yate-mod-jabberclient=y > CONFIG_PACKAGE_yate-mod-jbfeatures=y > CONFIG_PACKAGE_yate-mod-openssl=y > CONFIG_PACKAGE_yate-mod-regexroute=y > CONFIG_PACKAGE_yate-mod-regfile=y > CONFIG_PACKAGE_yate-mod-rmanager=y > CONFIG_PACKAGE_yate-mod-sipfeatures=y > CONFIG_PACKAGE_yate-mod-tonegen=y > CONFIG_PACKAGE_yate-mod-yjinglechan=y > CONFIG_PACKAGE_yate-mod-yrtpchan=y > CONFIG_PACKAGE_yate-mod-ysipchan=y > CONFIG_PACKAGE_yate-mod-ystunchan=y > CONFIG_PACKAGE_yate-sounds=y > > As a result, php5 "attempts" to build (not sure why) I don't know why it tries to build php5 either, but the build system seems to want to build python and libopenssl even if these yate modules aren't selected. So maybe this is the expected behaviour? > and then fails with the following error log: [ ... ] > configure: error: Nothing to build. > make[3]: *** > [/home/chirag/open/buffalo/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.4.19/.configured_nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn] > Error 1 > make[3]: Leaving directory > `/home/chirag/open/buffalo/feeds/packages/lang/php5' > make[2]: *** [package/feeds/packages/php5/compile] Error 2 > make[2]: Leaving directory `/home/chirag/open/buffalo' > make[1]: *** > [/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] > Error 2 > make[1]: Leaving directory `/home/chirag/open/buffalo' > make: *** [world] Error 2 It looks like you get the exact same error if you build CONFIG_PACKAGE_php5=m .. but no other php modules so I get the feeling that this is a php problem and not specific to yate. The following patch solves the problem. Maybe it's an acceptable solution? diff --git a/lang/php5/patches/951-allow_build_without_sapis.patch b/lang/php5/patches/951-allow_build_without_sapis.patch new file mode 100644 index 0000000..14033a4 --- /dev/null +++ b/lang/php5/patches/951-allow_build_without_sapis.patch @@ -0,0 +1,16 @@ +Index: php-5.4.19/configure.in +=================================================================== +--- php-5.4.19.orig/configure.in 2013-11-16 18:48:58.806909648 +0100 ++++ php-5.4.19/configure.in 2013-11-16 18:49:50.614145909 +0100 +@@ -401,11 +401,6 @@ + AC_MSG_RESULT([none]) + fi + +-dnl Exit early +-if test -z "$PHP_INSTALLED_SAPIS"; then +- AC_MSG_ERROR([Nothing to build.]) +-fi +- + dnl force ZTS + if test "$enable_maintainer_zts" = "yes"; then + PTHREADS_ASSIGN_VARS _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel