On Mon, Sep 10, 2007 at 02:54:32AM +0700, Slava Semushin wrote: > 2007/9/10, Alexey Tourbin : > > On Sun, Sep 09, 2007 at 10:19:38PM +0400, Alexey Tourbin wrote: > > > Вот список не собравшихся пакетов (по сравнению с плановой пересборкой). > [...] > > geany-0.11-alt1 > > find-requires: running scripts > > (files,lib,pam,perl,pkgconfig,python,shebang,shell,static,symlinks,tcl) > > /usr/lib/rpm/tcl.req: line 3: /usr/bin/tclsh: No such file or directory > > /usr/lib/rpm/tcl.req: line 3: exec: /usr/bin/tclsh: cannot execute: No such file or > > directory > > RPM build errors: > > error: /bin/sh failed > > error: Failed to find Requires > > /bin/sh failed > [...] > > Я так понимаю, что это ложное срабатывание: > > [c0der@rock ~/git/geany/geany.git]$ grep -r tclsh . > ./geany/data/filetypes.tcl:compiler=tclsh8.4 "%f" > ./geany/data/filetypes.tcl:run_cmd=tclsh8.4 "%f" > [c0der@rock ~/git/geany/geany.git]$ file geany/data/filetypes.tcl > geany/data/filetypes.tcl: ASCII C++ program text, with very long lines > > На самом же деле это файл для подсветки синтаксиса языка tcl. И из-за > его расширения подумали, что это скрипт на tcl, что явно не так: > > [c0der@rock ~/git/geany/geany.git]$ head -5 geany/data/filetypes.tcl > # For complete documentation of this file; please see Geany's main documentation > [styling] > # foreground;background;bold;italic > default=0x000000;0xffffff;false;false > comment=0xd00000;0xffffff;false;false > > Мне нужно делать что-то по этому поводу? Осталось понять, почему этот пакет раньше собирался. Файлы с расширением *.tcl всегда обрабатывались. Просто раньше в find-requires была проверка на [ -x /usr/bin/tcl ]. Теперь ее там нет. Однако кажется, что tcl.req охотно кушает твой filetypes.tcl [builder@mash .in]$ RPM_BUILD_ROOT=/usr/src/tmp/geany-buildroot /usr/lib/rpm/tcl.req <<< /usr/src/tmp/geany-buildroot/usr/share/geany/filetypes.tcl [builder@mash .in]$ Будем разбираться.