Modify

Opened 7 years ago

Closed 5 years ago

Last modified 5 years ago

#8422 closed defect (worksforme)

libflac does not compile in trunc

Reported by: anonymous Owned by: jow
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: flac Cc:

Description (last modified by jow)

the @LIBICONV@ could not resolved ... whenever

here is my compile output:

i486-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I../..   -DFLaC__INLINE=__inline__ -DNDEBUG -I../.. -I./include -I../../include -I/home/carcinoma/src/alix/fs/staging_dir/target-i386_uClibc-0.9.31/usr/include -I/home/carcinoma/src/alix/fs/staging_dir/target-i386_uClibc-0.9.31/include -I/home/carcinoma/src/alix/fs/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.31/usr/include -I/home/carcinoma/src/alix/fs/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.31/include   -O3 -funroll-loops -finline-functions -Wall -W -Winline -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -fpic  -MT vorbiscomment.o -MD -MP -MF .deps/vorbiscomment.Tpo -c -o vorbiscomment.o vorbiscomment.c
mv -f .deps/vorbiscomment.Tpo .deps/vorbiscomment.Po
/bin/sh ../../libtool --tag=CC   --mode=link i486-openwrt-linux-uclibc-gcc  -O3 -funroll-loops -finline-functions -Wall -W -Winline -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -fpic   -L/home/carcinoma/src/alix/fs/staging_dir/target-i386_uClibc-0.9.31/usr/lib -L/home/carcinoma/src/alix/fs/staging_dir/target-i386_uClibc-0.9.31/lib -L/home/carcinoma/src/alix/fs/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.31/usr/lib -L/home/carcinoma/src/alix/fs/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.31/lib  -o flac analyze.o decode.o encode.o foreign_metadata.o main.o local_string_utils.o utils.o vorbiscomment.o ../../src/share/grabbag/libgrabbag.la ../../src/share/getopt/libgetopt.a ../../src/share/replaygain_analysis/libreplaygain_analysis.la ../../src/share/replaygain_synthesis/libreplaygain_synthesis.la ../../src/share/utf8/libutf8.la ../../src/libFLAC/libFLAC.la @LIBICONV@ -lm 
libtool: link: i486-openwrt-linux-uclibc-gcc -O3 -funroll-loops -finline-functions -Wall -W -Winline -O2 -pipe -march=i486 -funit-at-a-time -fhonour-copts -fpic -o .libs/flac analyze.o decode.o encode.o foreign_metadata.o main.o local_string_utils.o utils.o vorbiscomment.o @LIBICONV@  -L/home/carcinoma/src/alix/fs/staging_dir/target-i386_uClibc-0.9.31/usr/lib -L/home/carcinoma/src/alix/fs/staging_dir/target-i386_uClibc-0.9.31/lib -L/home/carcinoma/src/alix/fs/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.31/usr/lib -L/home/carcinoma/src/alix/fs/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.31/lib ../../src/share/grabbag/.libs/libgrabbag.a ../../src/share/getopt/libgetopt.a ../../src/share/replaygain_analysis/.libs/libreplaygain_analysis.a ../../src/share/replaygain_synthesis/.libs/libreplaygain_synthesis.a ../../src/share/utf8/.libs/libutf8.a ../../src/libFLAC/.libs/libFLAC.so -lm
i486-openwrt-linux-uclibc-gcc: @LIBICONV@: No such file or directory
make[7]: *** [flac] Error 1
make[7]: Leaving directory `/home/carcinoma/src/alix/fs/build_dir/target-i386_uClibc-0.9.31/flac-1.2.1/src/flac'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/carcinoma/src/alix/fs/build_dir/target-i386_uClibc-0.9.31/flac-1.2.1/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/carcinoma/src/alix/fs/build_dir/target-i386_uClibc-0.9.31/flac-1.2.1'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/carcinoma/src/alix/fs/build_dir/target-i386_uClibc-0.9.31/flac-1.2.1'
make[3]: *** [/home/carcinoma/src/alix/fs/build_dir/target-i386_uClibc-0.9.31/flac-1.2.1/.built] Error 2
make[3]: Leaving directory `/home/carcinoma/src/alix/fs/feeds/packages/libs/flac'
make[2]: *** [package/feeds/packages/flac/compile] Error 2
make[2]: Leaving directory `/home/carcinoma/src/alix/fs'
make[1]: *** [/home/carcinoma/src/alix/fs/staging_dir/target-i386_uClibc-0.9.31/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/carcinoma/src/alix/fs'
make: *** [world] Fehler 2

i could remove all these @LIBICONV@ things, but is this the right way?

Attachments (0)

Change History (11)

comment:1 Changed 7 years ago by jow

  • Description modified (diff)
  • Owner changed from developers to jow
  • Status changed from new to accepted

No removing @LIBICONV@ is indeed the wrong approach.
Please try adding this instead:

PKG_BUILD_DEPENDS:=libiconv

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

Same problem here, PKG_BUILD_DEPENDS:=libiconv fixed it.

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

I spoke too soon, no it didn't...

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

Here's the fix:

PKG_BUILD_DEPENDS:=libintl

comment:5 Changed 7 years ago by jow

This issue should be solved with r24528 - please confirm

comment:6 Changed 7 years ago by arokh

Not fixed:

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[3]: *** [/media/EXT4/kamikaze/build_dir/target-mips_r2_uClibc-0.9.32/flac-1.2.1/.configured_] Error 2
make[3]: Leaving directory `/media/EXT4/kamikaze/feeds/packages/libs/flac'
make[2]: *** [package/feeds/packages/flac/compile] Error 2
make[2]: Leaving directory `/media/EXT4/kamikaze'
make[1]: *** [/media/EXT4/kamikaze/staging_dir/target-mips_r2_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/media/EXT4/kamikaze'
make: *** [world] Error 2

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

Same problem here with a fresh svn roll out.

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

Do a 'TOPDIR=$PWD make -C package/feeds/packages/gettext' first, then it will compile.

comment:9 Changed 7 years ago by anonymous

Or add

DEPENDS:=+libintl-full

to the Package/libflac define

comment:10 Changed 5 years ago by florian

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

comment:11 Changed 5 years ago by anonymous

You need an iconv.m4 file.
"yum whatprovides \*/iconv.m4", or the equivalent on your Linux distro, will tell you the package.
On Fedora, it's gettext-devel.

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.