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) and then fails with
the following error log:

====

make[3]: Entering directory
`/home/chirag/open/buffalo/feeds/packages/lang/php5'
WARNING: skipping php5 -- package not selected
(cd
/home/chirag/open/buffalo/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.4.19/./;
if [ -x ./configure ]; then /usr/bin/find
/home/chirag/open/buffalo/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.4.19/
-name config.guess | xargs -r chmod u+w; /usr/bin/find
/home/chirag/open/buffalo/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.4.19/
-name config.guess | xargs -r -n1 cp
/home/chirag/open/buffalo/scripts/config.guess; /usr/bin/find
/home/chirag/open/buffalo/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.4.19/
-name config.sub | xargs -r chmod u+w; /usr/bin/find
/home/chirag/open/buffalo/build_dir/target-mips_34kc_uClibc-0.9.33.2/php-5.4.19/
-name config.sub | xargs -r -n1 cp
/home/chirag/open/buffalo/scripts/config.sub;
AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os
-pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float
-I/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libiconv-stub/include
-I/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libintl-stub/include"
LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm
CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc"
CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib
STRIP=mips-openwrt-linux-uclibc-strip
OBJCOPY=mips-openwrt-linux-uclibc-objcopy
OBJDUMP=mips-openwrt-linux-uclibc-objdump
SIZE=mips-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mno-branch-likely
-mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts
-Wno-error=unused-but-set-variable -msoft-float
-I/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libiconv-stub/include
-I/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libintl-stub/include
" CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc
-fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable
-msoft-float
-I/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libiconv-stub/include
-I/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libintl-stub/include
"
CPPFLAGS="-I/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include
-I/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include
-I/home/chirag/open/buffalo/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include
-I/home/chirag/open/buffalo/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/include
-I/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libiconv-stub/include
-I/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libintl-stub/include
"
LDFLAGS="-L/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib
-L/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib
-L/home/chirag/open/buffalo/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib
-L/home/chirag/open/buffalo/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/lib
-L/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libiconv-stub/lib
-L/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libintl-stub/lib
"  ac_cv_c_bigendian_php=yes php_cv_cc_rpath="no"
iconv_impl_name="gnu_libiconv"
ac_cv_php_xml2_config_path="/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/host/bin/xml2-config"
  ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux
--build=x86_64-linux-gnu --program-prefix="" --program-suffix=""
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share
--localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls
--enable-shared --disable-static --disable-rpath --disable-debug
--without-pear --with-config-file-path=/etc
--with-config-file-scan-dir=/etc/php5 --disable-short-tags
--with-zlib="/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr"
--with-zlib-dir="/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr"
--with-pcre-regex="/home/chirag/open/buffalo/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr"
--disable-phar --disable-cli --disable-cgi --disable-calendar
--disable-ctype --without-curl --disable-fileinfo --without-gettext
--disable-dom --disable-exif --disable-ftp --without-gd --without-gmp
--disable-hash --without-iconv --disable-json --without-ldap
--disable-mbstring --without-mcrypt --without-mysql --without-mysqli
--without-openssl --disable-pcntl --disable-pdo --without-pgsql
--disable-session --disable-shmop --disable-simplexml --disable-soap
--disable-sockets --without-sqlite --without-sqlite3 --disable-sysvmsg
--disable-sysvsem --disable-sysvshm --disable-tokenizer --disable-xml
--disable-xmlreader --disable-xmlwriter --disable-zip --disable-filter
--disable-libxml --without-system-tzdata ; fi; )
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script
/home/chirag/open/buffalo/include/site/mips-openwrt-linux-uclibc
checking for grep that handles long lines and -e...
/home/chirag/open/buffalo/staging_dir/host/bin/grep
checking for egrep... /home/chirag/open/buffalo/staging_dir/host/bin/grep -E
checking for a sed that does not truncate output...
/home/chirag/open/buffalo/staging_dir/host/bin/sed
checking build system type... x86_64-pc-linux-gnu
checking host system type... mips-openwrt-linux-gnu
checking target system type... mips-openwrt-linux-gnu
checking for mips-openwrt-linux-cc... mips-openwrt-linux-uclibc-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mips-openwrt-linux-uclibc-gcc accepts -g... yes
checking for mips-openwrt-linux-uclibc-gcc option to accept ISO C89... none
needed
checking how to run the C preprocessor... mips-openwrt-linux-uclibc-gcc -E
checking for icc... no
checking for suncc... no
checking whether mips-openwrt-linux-uclibc-gcc and cc understand -c and -o
together... yes
checking how to run the C preprocessor... mips-openwrt-linux-uclibc-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... (cached) no
checking for gawk... gawk
checking for bison... bison -y
checking for bison version... invalid
configure: WARNING: bison versions supported for regeneration of the
Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 2.4.2
2.4.3 2.5 2.5.1 2.6 2.6.1 2.6.2 2.6.4 (found: 3.0).
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to
regenerate PHP parsers.
checking whether to enable computed goto gcc extension with re2c... no
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking for pthreads_cflags...
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support... no
checking whether to enable Apache charset compatibility option... no
checking for Caudium support... no
checking for CLI build... no
checking for Continuity support... no
checking for embedded SAPI library support... no
checking for FPM build... no
checking for Zeus ISAPI support... no
checking for LiteSpeed support... no
checking for Milter support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web support... no
checking whether Roxen module is build using ZTS... no
checking for Roxen/Pike support...
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for CGI build... yes
checking for chosen SAPI module... none
checking for executable SAPI binaries... none
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

=====

in menuconfig, if php5 and php5-cli are enabled, everything runs smoothly
and the build succeeds. Problem is if I'm not building yate to include
yate-scripts-php, then why is php5 building? If php5 needs to be built
regardless, then the dependencies are misplaced.

Any ideas?
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to