[devel] Не собираются пакеты использующие intltool и gettext

Alexey Rusakov rusakov на altlinux.ru
Ср Мар 25 01:38:21 MSK 2009


В Втр, 24/03/2009 в 23:45 +0300, Денис Корявов пишет:
> Добрый день, 
> 
> В процессе переборки murrine gtk engine столкнулся с проблемой того,
> что пакет перестал собираться. 
> В зависимостях добавились "intltool, gettext". В результате получаю
> подобный вывод:
> 
> ....
> Merging translations into murrine.xml.
> CREATED murrine.xml
> make[1]: Leaving directory `/usr/src/RPM/BUILD/murrine-0.90.2/schema'
> make[1]: Entering directory `/usr/src/RPM/BUILD/murrine-0.90.2'
> /bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I./src -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/freetype2      -pipe -Wall -O2 -march=athlon
> -mtune=athlon-xp -c -o animation.lo `test -f './src/animation.c' ||
> echo './'`./src/animation.c
> ./libtool: line 832: X--tag=CC: command not found
> ./libtool: line 865: libtool: ignoring unknown tag : command not found
> ./libtool: line 832: X--mode=compile: command not found
> ./libtool: line 999: *** Warning: inferring the mode of operation is
> deprecated.: command not found
> ./libtool: line 1000: *** Future versions of Libtool will require
> --mode=MODE be specified.: command not found
> ./libtool: line 1143: Xgcc: command not found
> ./libtool: line 1143: X-DHAVE_CONFIG_H: command not found
> ./libtool: line 1143: X-I.: command not found
> ./libtool: line 1143: X-I./src: No such file or directory
> ./libtool: line 1143: X-I/usr/include/gtk-2.0: No such file or
> directory
> ./libtool: line 1143: X-I/usr/lib/gtk-2.0/include: No such file or
> directory
> ./libtool: line 1143: X-I/usr/include/atk-1.0: No such file or
> directory
> ./libtool: line 1143: X-I/usr/include/cairo: No such file or directory
> ./libtool: line 1143: X-I/usr/include/pango-1.0: No such file or
> directory
> ./libtool: line 1143: X-I/usr/include/glib-2.0: No such file or
> directory
> ./libtool: line 1143: X-I/usr/lib/glib-2.0/include: No such file or
> directory
> ./libtool: line 1143: X-I/usr/include/freetype2: No such file or
> directory
> ./libtool: line 1143: X-pipe: command not found
> ./libtool: line 1143: X-Wall: command not found
> ./libtool: line 1143: X-O2: command not found
> ./libtool: line 1143: X-march=athlon: command not found
> make[1]: Leaving directory `/usr/src/RPM/BUILD/murrine-0.90.2'
> make: Leaving directory `/usr/src/RPM/BUILD/murrine-0.90.2'
> 
> 
> RPM build errors:
> ./libtool: line 1143: X-mtune=athlon-xp: command not found
> ./libtool: line 1143: X-c: command not found
> ./libtool: line 1196: Xanimation.lo: command not found
> ./libtool: line 1201: libtool: compile: cannot determine name of
> library object from `': command not found
> make[1]: *** [animation.lo] Error 1
> make: *** [all-recursive] Error 1
> error: Bad exit status from /usr/src/tmp/rpm-tmp.96591 (%build)
>     Bad exit status from /usr/src/tmp/rpm-tmp.96591 (%build)
> Command exited with non-zero status 1
> 2.44user 1.66system 0:05.54elapsed 74%CPU (0avgtext+0avgdata
> 0maxresident)k
> 0inputs+7936outputs (0major+536510minor)pagefaults 0swaps
> hsh-rebuild: rebuild of `libgtk-engine-murrine-0.90.2-alt1.src.rpm'
> failed.
> 
> 
> Проверил на других пакетах (в зависимости которых добавились intltool
> и gettext) - ошибки те же. Что я делаю не так?
> 
> P.S Собираю на branch 5.0.
Сначала попробуйте добавить перед %configure вызов %autoreconf.
Если это не поможет, сделайте %undefine __libtoolize (хотя лично мне это
ни разу не понадобилось).
Говорят, что ещё помогает поубивать всякие libtool.m4 и прочие lt*.m4
(см. спекфайл empathy).
Ну и если хочется реально погрузиться в autotools hell :) то можно пойти
смотреть, чего же на самом деле не хватает, и прийти к результату как в
пакете autogen (увы, пока в git не затащил).

-- 
  Alexey "Ktirf" Rusakov
  Project Manager
  ALT Linux
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : отсутствует
Тип     : application/pgp-signature
Размер  : 197 байтов
Описание: Эта часть сообщения подписана цифровой подписью
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20090325/863354fc/attachment.bin>


Подробная информация о списке рассылки Devel