Форум » RusXMMS Project » libid3tag » Ответить

libid3tag

kam1kaze: Сразу хочу сказать спасибо за ваш труд Захотелось добавить RCC патч к стандартному пакету libid3tag в archlinux. Но появилась очень странная проблема при сборке пакета. Все стадии проходят на ура, но как только пытаюсь выполнить make процес застряет на [pre2]/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DHAVE_LIBRCC -Wall -pipe -march=x86-64 -mtune=generic -O2 -MT version.lo -MD -MP -MF .deps/version.Tpo -c -o version.lo version.c[/pre2] И при этом вижу кучу процессов через ps [pre2] /bin/sh ./libtool --no-reexec /bin/sed s%^.*/%% /bin/sh ./libtool --no-reexec /bin/sh ./libtool --no-reexec /bin/sed s%^.*/%% /bin/sh ./libtool --no-reexec /bin/sh ./libtool --no-reexec /bin/sed s%^.*/%% /bin/sh ./libtool --no-reexec /bin/sh ./libtool --no-reexec /bin/sed s%^.*/%% /bin/sh ./libtool --no-reexec /bin/sh ./libtool --no-reexec ps aux /bin/sed s%^.*/%% /bin/sh ./libtool --no-reexec /bin/sh ./libtool --no-reexec /bin/sed s%^.*/%% /bin/sh ./libtool --no-reexec /bin/sh ./libtool /bin/sed s%^.*/%% /bin/sh ./libtool[/pre2] Процессы плодятся с очень большой скоростью, и система просто уходит в ступор. Сам пакет: [more]pkgname=libid3tag pkgver=0.15.1b pkgrel=2 pkgdesc="library for id3 tagging" url="http://www.underbit.com/products/mad/" arch=('i686' 'x86_64') depends=('zlib' 'librcc') source=(ftp://ftp.mars.org/pub/mpeg/$pkgname-$pkgver.tar.gz http://kent.dl.sourceforge.net/sourceforge/rusxmms/libid3tag-csa1.tar.bz2 id3tag.pc) url="http://www.underbit.com/products/mad/" md5sums=('e5808ad997ba32c498803822078748c3' '1d4492bb508a7b560c8b39d4c27b89fd' 'cd5ea001dc24505040b781ad1de9ddf2') build() { cd $startdir/src/$pkgname-$pkgver # Patching patch -Np1 -i ../$pkgname/$pkgname-$pkgver-ds-rcc.patch automake aclocal autoconf ./configure --prefix=/usr make || return 1 make DESTDIR=$startdir/pkg install install -D -m644 $startdir/src/id3tag.pc $startdir/pkg/usr/lib/pkgconfig/id3tag.pc find $startdir/pkg -name '*.la' -exec rm {} \; }[/more] Полный вывод консоли при сборке: [more]makepkg -c -f ==> Сборка пакета: libid3tag 0.15.1b-2 x86_64 (Пнд Дек 8 23:46:15 EET 2008) ==> Проверяю необходимые для запуска зависимости... ==> Проверяю необходимые для сборки зависимости... ==> Получение исходных файлов... -> Обнаружен libid3tag-0.15.1b.tar.gz в директории сборки -> Обнаружен libid3tag-csa1.tar.bz2 в директории сборки -> Обнаружен id3tag.pc в директории сборки ==> Проверка исходных файлов с помощью md5sums... libid3tag-0.15.1b.tar.gz ... Завершено libid3tag-csa1.tar.bz2 ... Завершено id3tag.pc ... Завершено ==> Распаковка исходных файлов... -> bsdtar -x -f libid3tag-0.15.1b.tar.gz -> bsdtar -x -f libid3tag-csa1.tar.bz2 ==> Вхожу в fakeroot окружение... ==> Запускается build()... patching file configure.ac patching file latin1.c patching file Makefile.am patching file rccpatch.c patching file rccpatch.h patching file tag.c patching file ucs4.c configure.ac:64: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... aclocal.m4:601: AC_LIBTOOL_LINKER_OPTION is expanded from... aclocal.m4:2452: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:2451: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:87: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:67: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:32: AC_PROG_LIBTOOL is expanded from... configure.ac:64: the top level configure.ac:64: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:558: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:4494: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... configure.ac:64: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:2593: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:2592: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:1622: _LT_AC_TAGCONFIG is expanded from... configure.ac:64: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3619: _LT_AC_LANG_F77_CONFIG is expanded from... aclocal.m4:3618: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.ac:64: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3719: _LT_AC_LANG_GCJ_CONFIG is expanded from... aclocal.m4:3718: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.ac:29: version mismatch. This is Automake 1.10.2, configure.ac:29: but the definition used by this AM_INIT_AUTOMAKE configure.ac:29: comes from Automake 1.8.2. You should recreate configure.ac:29: aclocal.m4 with aclocal and run automake again. Makefile.am: required file `./NEWS' not found Makefile.am: required file `./AUTHORS' not found Makefile.am: required file `./ChangeLog' not found checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /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 gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... 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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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 checking for ANSI C header files... (cached) yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking for unistd.h... (cached) yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for ftruncate... yes checking for compress2 in -lz... yes checking for rccInit in -lrcc... yes checking librcc.h usability... yes checking librcc.h presence... yes checking for librcc.h... yes checking whether to enable profiling... no checking whether to enable debugging... default configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating msvc++/Makefile config.status: WARNING: 'msvc++/Makefile.in' seems to ignore the --datarootdir setting config.status: creating libid3tag.list config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands cd . && /bin/sh /var/abs/local/libid3tag/src/libid3tag-0.15.1b/missing --run automake-1.10 --foreign cd . && /bin/sh ./config.status Makefile depfiles config.status: creating Makefile config.status: executing depfiles commands cd . && \ gperf -tCcTonD -K id -N id3_frametype_lookup -s -3 -k '*' \ frametype.gperf | \ sed -e 's/\(struct id3_frametype\);/\1/' | \ sed -e '/\$''Id: /s/\$//g' >frametype.c cd . && \ gperf -tCcTonD -K id -N id3_compat_lookup -s -3 -k '*' \ compat.gperf | \ sed -e 's/\(struct id3_compat\);/\1/' | \ sed -e '/\$''Id: /s/\$//g' >compat.c cd . && \ sed -n -f genre.dat.sed genre.dat.in | \ sed -e '/\$''Id: /s/\$//g' >genre.dat cd . && /bin/sh /var/abs/local/libid3tag/src/libid3tag-0.15.1b/missing --run autoheader rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory `/var/abs/local/libid3tag/src/libid3tag-0.15.1b' make[2]: Entering directory `/var/abs/local/libid3tag/src/libid3tag-0.15.1b' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DHAVE_LIBRCC -Wall -pipe -march=x86-64 -mtune=generic -O2 -MT version.lo -MD -MP -MF .deps/version.Tpo -c -o version.lo version.c ^Cmake[2]: *** [version.lo] Прерывание make[1]: *** [all-recursive] Прерывание make: *** [all] Прерывание ==> ОШИбКА: Aborted by user! Exiting...[/more] Насколько я понимаю проблема с libtools, но всеже надеюсь, что вы сможете помочь :) [pre2] host-triplet: x86_64-unknown-linux-gnu shell: /bin/sh compiler: gcc compiler flags: -march=x86-64 -mtune=generic -O2 -pipe linker: /usr/bin/ld -m elf_x86_64 (gnu? yes) libtool: (GNU libtool) 2.2.6 automake: automake (GNU automake) 1.10.2 autoconf: autoconf (GNU Autoconf) 2.63[/pre2]

Ответов - 5

darksoft: Спасибо за информацию. Я попытаюсь на выходных разобратся.

kam1kaze: Когда постил, не заметеьтл ошибок вязаных с automake. Поставил automake после aclocal && autoconf, предупреждения связные с ним исчезли, но главная проблема не решилась. И самое главное, проблема никак не связана с вашим патчем, так как без него, при принудительном aclocal && autoconf && automake пакет не соберется з.ы. нашел подобную проблему тута - http://bugs.kde.org/show_bug.cgi?id=173239

darksoft: да похоже проблемы где-то в autoconf/libtool. Если хотите, могу выложить уже отконфигурированную версию libid3tag?


kam1kaze: Хочу Заранее спасибо :)

darksoft: http://dside.dyndns.org/files/rusxmms/configured/libid3tag-0.15.1b_rusxmms-csa1.tar.bz2



полная версия страницы