Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#8523 closed defect (fixed)

package 'flac' fails compile (new error)

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

Description

wrtdev@openwrt-dev:~/trunk$ make V=99 package/flac/compile
make[1]: Entering directory `/home/wrtdev/trunk'
make[2]: Entering directory `/home/wrtdev/trunk/feeds/packages/libs/gettext'
make[2]: Leaving directory `/home/wrtdev/trunk/feeds/packages/libs/gettext'
make[2]: Entering directory `/home/wrtdev/trunk/feeds/packages/libs/libiconv'
make[2]: Leaving directory `/home/wrtdev/trunk/feeds/packages/libs/libiconv'
make[2]: Entering directory `/home/wrtdev/trunk/package/libtool'
make[2]: Leaving directory `/home/wrtdev/trunk/package/libtool'
make[2]: Entering directory `/home/wrtdev/trunk/feeds/packages/libs/flac'
(cd /home/wrtdev/trunk/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 [ -d ./autom4te.cache ] && rm -rf autom4te.cache; touch NEWS AUTHORS COPYING ChangeLog; AUTOM4TE=/home/wrtdev/trunk/staging_dir/host/bin/autom4te AUTOCONF=/home/wrtdev/trunk/staging_dir/host/bin/autoconf AUTOMAKE=/home/wrtdev/trunk/staging_dir/host/bin/automake ACLOCAL=/home/wrtdev/trunk/staging_dir/host/bin/aclocal AUTOHEADER=/home/wrtdev/trunk/staging_dir/host/bin/autoheader LIBTOOLIZE=/home/wrtdev/trunk/staging_dir/host/bin/libtoolize LIBTOOL=/home/wrtdev/trunk/staging_dir/host/bin/libtool M4=/home/wrtdev/trunk/staging_dir/host/bin/m4 AUTOPOINT=true /home/wrtdev/trunk/staging_dir/host/bin/autoreconf -v -f -i -s -B /home/wrtdev/trunk/staging_dir/host/share/aclocal -B /home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/host/share/aclocal -B /home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/share/aclocal -B m4 -I . . || true; fi; );
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: /home/wrtdev/trunk/staging_dir/host/bin/aclocal -I . --force
autoreconf: configure.in: tracing
autoreconf: running: /home/wrtdev/trunk/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.
autoreconf: running: /home/wrtdev/trunk/staging_dir/host/bin/autoconf --include=. --prepend-include=/home/wrtdev/trunk/staging_dir/host/share/aclocal --prepend-include=/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/host/share/aclocal --prepend-include=/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/share/aclocal --prepend-include=m4 --force
autoreconf: running: /home/wrtdev/trunk/staging_dir/host/bin/autoheader --include=. --prepend-include=/home/wrtdev/trunk/staging_dir/host/share/aclocal --prepend-include=/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/host/share/aclocal --prepend-include=/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/share/aclocal --prepend-include=m4 --force
autoreconf: running: /home/wrtdev/trunk/staging_dir/host/bin/automake --add-missing --force-missing
autoreconf: Leaving directory `.'
(cd /home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/flac-1.2.1/./; if [ -x ./configure ]; then /usr/bin/find /home/wrtdev/trunk/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/trunk/build_dir/target-mips_uClibc-0.9.31/flac-1.2.1/ -name config.guess | xargs -r -n1 cp /home/wrtdev/trunk/scripts/config.guess; /usr/bin/find /home/wrtdev/trunk/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/trunk/build_dir/target-mips_uClibc-0.9.31/flac-1.2.1/ -name config.sub | xargs -r -n1 cp /home/wrtdev/trunk/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/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/include " LDFLAGS="-L/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/lib -L/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/lib -L/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/lib -L/home/wrtdev/trunk/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, --disable-oggtest
configure: loading site script /home/wrtdev/trunk/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/trunk/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 16539: syntax error near unexpected token `have_ogg=yes,'
./configure: line 16539: `      XIPH_PATH_OGG(have_ogg=yes, { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Ogg development enviroment not installed - Ogg support will not be built" >&5'
make[2]: *** [/home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/flac-1.2.1/.configured_] Error 2
make[2]: Leaving directory `/home/wrtdev/trunk/feeds/packages/libs/flac'
make[1]: *** [package/feeds/packages/flac/compile] Error 2
make[1]: Leaving directory `/home/wrtdev/trunk'
make: *** [package/flac/compile] Error 2

Attachments (0)

Change History (7)

comment:1 Changed 7 years ago by arokh <trondah@…>

Reverting 24542 fixes it.

comment:2 Changed 7 years ago by arokh <trondah@…>

Sorry, I mean 24785.

comment:3 Changed 7 years ago by Steve <ccdoggy2@…>

For what its worth I am also experiencing this exact same error when compiling trunk from a fresh install.

comment:4 Changed 7 years ago by got_milk <ryan.morrison04@…>

I can also confirm this issue on a fresh build.

comment:5 Changed 7 years ago by Steve <ccdoggy2@…>

To fix it copy: https://dev.openwrt.org/export/24542/packages/libs/flac/patches/003-missing-macros.patch

into ../trunk/packages/libs/flac/patches

makes it compile just fine.

comment:6 Changed 6 years ago by nico

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

Fixed in r25300

comment:7 Changed 4 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.