Modify

Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#8502 closed defect (fixed)

package 'flac' fails compile

Reported by: JR <oss@…> Owned by: jow
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: flac Cc:

Description

wrtdev@openwrt-dev:~/openwrt/trunk2$ make package/flac/compile V=99
+ mkdir -p /home/wrtdev/openwrt/trunk2/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31
+ cd /home/wrtdev/openwrt/trunk2/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31
+ mkdir -p stamp lib usr/include usr/lib
make[4]: Entering directory `/home/wrtdev/openwrt/trunk2/target/linux'
make[5]: Entering directory `/home/wrtdev/openwrt/trunk2/target/linux/ar71xx'
make[6]: Entering directory `/home/wrtdev/openwrt/trunk2/target/linux/ar71xx/image'
make[6]: Leaving directory `/home/wrtdev/openwrt/trunk2/target/linux/ar71xx/image'
make[5]: Leaving directory `/home/wrtdev/openwrt/trunk2/target/linux/ar71xx'
make[4]: Leaving directory `/home/wrtdev/openwrt/trunk2/target/linux'
Checking 'working-sdcc'... ok.
Checking 'sdcc'... ok.
Checking 'openssl'... ok.
Checking 'rsync'... ok.
Checking 'xgettext'... ok.
Checking 'fastjar'... ok.
Checking 'jikes'... ok.
Checking '/usr/include/openssl/ssl.h'... ok.
Checking 'xsltproc'... ok.
make[1]: Entering directory `/home/wrtdev/openwrt/trunk2'
make[2]: Entering directory `/home/wrtdev/openwrt/trunk2/feeds/packages/libs/gettext'
make[2]: Leaving directory `/home/wrtdev/openwrt/trunk2/feeds/packages/libs/gettext'
make[2]: Entering directory `/home/wrtdev/openwrt/trunk2/feeds/packages/libs/libiconv'
make[2]: Leaving directory `/home/wrtdev/openwrt/trunk2/feeds/packages/libs/libiconv'
make[2]: Entering directory `/home/wrtdev/openwrt/trunk2/package/libtool'
make[2]: Leaving directory `/home/wrtdev/openwrt/trunk2/package/libtool'
make[2]: Entering directory `/home/wrtdev/openwrt/trunk2/feeds/packages/libs/flac'
(cd /home/wrtdev/openwrt/trunk2/build_dir/target-mips_uClibc-0.9.31/flac-1.2.1; rm -f autogen.sh; rm -f aclocal.m4; if [ -f ./configure.ac ] || [ -f ./configure.in ]; then [ -f ./aclocal.m4 ] && [ ! -f ./acinclude.m4 ] && mv aclocal.m4 acinclude.m4; [ -d ./autom4te.cache ] && rm -rf autom4te.cache; touch NEWS AUTHORS COPYING ChangeLog; AUTOM4TE=/home/wrtdev/openwrt/trunk2/staging_dir/host/bin/autom4te AUTOCONF=/home/wrtdev/openwrt/trunk2/staging_dir/host/bin/autoconf AUTOMAKE=/home/wrtdev/openwrt/trunk2/staging_dir/host/bin/automake ACLOCAL=/home/wrtdev/openwrt/trunk2/staging_dir/host/bin/aclocal AUTOHEADER=/home/wrtdev/openwrt/trunk2/staging_dir/host/bin/autoheader LIBTOOLIZE=/home/wrtdev/openwrt/trunk2/staging_dir/host/bin/libtoolize M4=/home/wrtdev/openwrt/trunk2/staging_dir/host/bin/m4 AUTOPOINT=true /home/wrtdev/openwrt/trunk2/staging_dir/host/bin/autoreconf -v -f -i -s -B /home/wrtdev/openwrt/trunk2/staging_dir/host/share/aclocal -B /home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/host/share/aclocal -B /home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/usr/share/aclocal -I . -I m4 . || true; fi; );
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: /home/wrtdev/openwrt/trunk2/staging_dir/host/bin/aclocal -I . -I m4 --force
/home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/usr/share/aclocal/glib.m4:8:   run info '(automake)Extending aclocal'
/home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/usr/share/aclocal/glib.m4:8:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:259: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
acinclude.m4:261: AM_ICONV_LINKFLAGS_BODY is expanded from...
acinclude.m4:272: AM_ICONV_LINK is expanded from...
acinclude.m4:327: AM_ICONV is expanded from...
configure.in:259: the top level
configure.in:259: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd
acinclude.m4:261: AM_ICONV_LINKFLAGS_BODY is expanded from...
acinclude.m4:272: AM_ICONV_LINK is expanded from...
acinclude.m4:327: AM_ICONV is expanded from...
configure.in:259: the top level
autoreconf: configure.in: tracing
configure.in:259: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
acinclude.m4:261: AM_ICONV_LINKFLAGS_BODY is expanded from...
acinclude.m4:272: AM_ICONV_LINK is expanded from...
acinclude.m4:327: AM_ICONV is expanded from...
configure.in:259: the top level
configure.in:259: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd
acinclude.m4:261: AM_ICONV_LINKFLAGS_BODY is expanded from...
acinclude.m4:272: AM_ICONV_LINK is expanded from...
acinclude.m4:327: AM_ICONV is expanded from...
configure.in:259: the top level
autoreconf: running: /home/wrtdev/openwrt/trunk2/staging_dir/host/bin/libtoolize --force
OpenWrt-libtoolize: putting auxiliary files in `.'.
OpenWrt-libtoolize: linking file `./ltmain.sh'
OpenWrt-libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
OpenWrt-libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
OpenWrt-libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
/home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/usr/share/aclocal/glib.m4:8:   run info '(automake)Extending aclocal'
/home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/usr/share/aclocal/glib.m4:8:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:259: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
acinclude.m4:261: AM_ICONV_LINKFLAGS_BODY is expanded from...
acinclude.m4:272: AM_ICONV_LINK is expanded from...
acinclude.m4:327: AM_ICONV is expanded from...
configure.in:259: the top level
configure.in:259: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd
acinclude.m4:261: AM_ICONV_LINKFLAGS_BODY is expanded from...
acinclude.m4:272: AM_ICONV_LINK is expanded from...
acinclude.m4:327: AM_ICONV is expanded from...
configure.in:259: the top level
autoreconf: running: /home/wrtdev/openwrt/trunk2/staging_dir/host/bin/autoconf --include=. --include=m4 --prepend-include=/home/wrtdev/openwrt/trunk2/staging_dir/host/share/aclocal --prepend-include=/home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/host/share/aclocal --prepend-include=/home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/usr/share/aclocal --force
configure.in:259: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd
acinclude.m4:261: AM_ICONV_LINKFLAGS_BODY is expanded from...
acinclude.m4:272: AM_ICONV_LINK is expanded from...
acinclude.m4:327: AM_ICONV is expanded from...
configure.in:259: the top level
configure.in:259: warning: AC_LIB_RPATH is m4_require'd but not m4_defun'd
acinclude.m4:261: AM_ICONV_LINKFLAGS_BODY is expanded from...
acinclude.m4:272: AM_ICONV_LINK is expanded from...
acinclude.m4:327: AM_ICONV is expanded from...
configure.in:259: the top level
configure:16708: error: possibly undefined macro: AC_LIB_PREPARE_PREFIX
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:16709: error: possibly undefined macro: AC_LIB_RPATH
configure:16714: error: possibly undefined macro: AC_LIB_LINKFLAGS_BODY
configure:16722: error: possibly undefined macro: AC_LIB_APPENDTOVAR
autoreconf: /home/wrtdev/openwrt/trunk2/staging_dir/host/bin/autoconf failed with exit status: 1
(cd /home/wrtdev/openwrt/trunk2/build_dir/target-mips_uClibc-0.9.31/flac-1.2.1/./; if [ -x ./configure ]; then /usr/bin/find /home/wrtdev/openwrt/trunk2/build_dir/target-mips_uClibc-0.9.31/flac-1.2.1/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/wrtdev/openwrt/trunk2/build_dir/target-mips_uClibc-0.9.31/flac-1.2.1/ -name config.guess | xargs -r -n1 cp /home/wrtdev/openwrt/trunk2/scripts/config.guess; /usr/bin/find /home/wrtdev/openwrt/trunk2/build_dir/target-mips_uClibc-0.9.31/flac-1.2.1/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/wrtdev/openwrt/trunk2/build_dir/target-mips_uClibc-0.9.31/flac-1.2.1/ -name config.sub | xargs -r -n1 cp /home/wrtdev/openwrt/trunk2/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -march=24kc -funit-at-a-time -fhonour-copts -msoft-float -fpic" 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 -march=24kc -funit-at-a-time -fhonour-copts -msoft-float -fpic " CXXFLAGS="-Os -pipe -march=24kc -funit-at-a-time -fhonour-copts -msoft-float -fpic " CPPFLAGS="-I/home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/usr/include -I/home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/include -I/home/wrtdev/openwrt/trunk2/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/include -I/home/wrtdev/openwrt/trunk2/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/include " LDFLAGS="-L/home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/usr/lib -L/home/wrtdev/openwrt/trunk2/staging_dir/target-mips_uClibc-0.9.31/lib -L/home/wrtdev/openwrt/trunk2/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/lib -L/home/wrtdev/openwrt/trunk2/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/lib "   ./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    --disable-cpplibs --disable-sse --disable-3dnow --disable-altivec --disable-doxgen-docs --disable-local-xmms-plugin --disable-xmms-plugin --disable-ogg --disable-oggtest --disable-debug ; fi; )
configure: WARNING: unrecognized options: --disable-nls, --disable-doxgen-docs
configure: loading site script /home/wrtdev/openwrt/trunk2/include/site/mips-openwrt-linux-uclibc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-openwrt-linux-strip... mips-openwrt-linux-uclibc-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... mips-openwrt-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for mips-openwrt-linux-gcc... 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 dependency style of mips-openwrt-linux-uclibc-gcc... gcc3
checking for a sed that does not truncate output... /home/wrtdev/openwrt/trunk2/staging_dir/host/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by mips-openwrt-linux-uclibc-gcc... mips-openwrt-linux-uclibc-ld
checking if the linker (mips-openwrt-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mips-openwrt-linux-uclibc-nm
checking the name lister (mips-openwrt-linux-uclibc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to mips-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for mips-openwrt-linux-uclibc-ld option to reload object files... -r
checking for mips-openwrt-linux-objdump... mips-openwrt-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mips-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mips-openwrt-linux-ar... mips-openwrt-linux-uclibc-ar
checking for archiver @FILE support... @
checking for mips-openwrt-linux-strip... (cached) mips-openwrt-linux-uclibc-strip
checking for mips-openwrt-linux-ranlib... mips-openwrt-linux-uclibc-ranlib
checking command to parse mips-openwrt-linux-uclibc-nm output from mips-openwrt-linux-uclibc-gcc object... ok
checking for sysroot... no
checking for mips-openwrt-linux-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if mips-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mips-openwrt-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-uclibc-gcc static flag -static works... yes
checking if mips-openwrt-linux-uclibc-gcc supports -c -o file.o... yes
checking if mips-openwrt-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-uclibc-gcc linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
sed: can't read libtool: No such file or directory
checking dependency style of mips-openwrt-linux-uclibc-gcc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether mips-openwrt-linux-uclibc-g++ accepts -g... yes
checking dependency style of mips-openwrt-linux-uclibc-g++... gcc3
checking how to run the C++ preprocessor... mips-openwrt-linux-uclibc-g++ -E
checking for ld used by mips-openwrt-linux-uclibc-g++... mips-openwrt-linux-uclibc-ld
checking if the linker (mips-openwrt-linux-uclibc-ld) is GNU ld... yes
checking whether the mips-openwrt-linux-uclibc-g++ linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking for mips-openwrt-linux-uclibc-g++ option to produce PIC... -fPIC -DPIC
checking if mips-openwrt-linux-uclibc-g++ PIC flag -fPIC -DPIC works... yes
checking if mips-openwrt-linux-uclibc-g++ static flag -static works... yes
checking if mips-openwrt-linux-uclibc-g++ supports -c -o file.o... yes
checking if mips-openwrt-linux-uclibc-g++ supports -c -o file.o... (cached) yes
checking whether the mips-openwrt-linux-uclibc-g++ linker (mips-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether make sets $(MAKE)... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGEFILE_SOURCE value needed for large files... no
checking size of void*... 4
checking whether byte ordering is bigendian... (cached) yes
checking for socklen_t... yes
checking for getopt_long... yes
checking for doxygen... no
./configure: line 16708: AC_LIB_PREPARE_PREFIX: command not found
./configure: line 16709: AC_LIB_RPATH: command not found
./configure: line 16714: syntax error near unexpected token `iconv'
./configure: line 16714: `      AC_LIB_LINKFLAGS_BODY(iconv)'
make[2]: *** [/home/wrtdev/openwrt/trunk2/build_dir/target-mips_uClibc-0.9.31/flac-1.2.1/.configured_] Error 2
make[2]: Leaving directory `/home/wrtdev/openwrt/trunk2/feeds/packages/libs/flac'
make[1]: *** [package/feeds/packages/flac/compile] Error 2
make[1]: Leaving directory `/home/wrtdev/openwrt/trunk2'
make: *** [package/flac/compile] Error 2

wrtdev@openwrt-dev:~/openwrt/trunk2$ svn info
Path: .
URL: svn://svn.openwrt.org/openwrt/trunk
Repository Root: svn://svn.openwrt.org/openwrt
Repository UUID: 3c298f89-4303-0410-b956-a3cf2f4a3e73
Revision: 24751
Node Kind: directory
Schedule: normal
Last Changed Author: acoul
Last Changed Rev: 24751
Last Changed Date: 2010-12-21 08:54:34 -0600 (Tue, 21 Dec 2010)

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by jow

The changeset r24753 should fix it, please test.

comment:2 Changed 7 years ago by jow

  • Owner changed from developers to jow
  • Status changed from new to accepted

comment:3 Changed 7 years ago by JR <oss@…>

Appears to have been fixed.

comment:4 Changed 7 years ago by jow

  • Resolution set to fixed
  • Status changed from accepted to closed

Thank you for the feedback.

comment:5 Changed 3 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.