Bug 26740

Summary: libtool files are eleven years old
Product: Sisyphus Reporter: Michael Shigorin <mike>
Component: recodeAssignee: Michael Shigorin <mike>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: minor    
Priority: P3 CC: ldv, mike
Version: unstable   
Hardware: all   
OS: Linux   

Description Michael Shigorin 2011-12-21 22:47:19 MSK
While building recode-3.6-alt10:

checking if libtool supports shared libraries... yes

*** Warning: the command libtool uses to detect shared libraries,
*** /usr/bin/file, produces output that libtool cannot recognize.
*** The result is that libtool may fail to recognize shared libraries
*** as such.  This will affect the creation of libtool libraries that
*** depend on shared libraries, but programs linked with such libtool
*** libraries will work regardless of this problem.  Nevertheless, you
*** may want to report the problem to your system manager and/or to
*** bug-libtool@gnu.org

$ rpm -q file
file-4.26-alt8

---
PROGRAM=ltconfig
PACKAGE=libtool
VERSION=1.3.4
--- ltconfig snippet
Comment 1 Dmitry V. Levin 2011-12-21 23:11:35 MSK
Это, скорее всего, наведенная ошибка, надо смотреть в контексте.
Comment 2 Michael Shigorin 2011-12-22 00:01:47 MSK
Попытался, но сходу не разглядел в config.log ничего особенного.  Пакет в сизиф отправил -- если есть основания подозревать проблему, посмотри, ну или скажи, куда мне глянуть.
Comment 3 Dmitry V. Levin 2011-12-22 00:08:54 MSK
recode-3.6/ltconfig 11-летней давности просто не знает про x86-64.
Остальные файлы там такие же свежие.  Как это еще работает, просто удивительно.

 %build
+rm acinclude.m4 m4/libtool.m4 m4/flex.m4
 sed -i 's/ad_AC_PROG_FLEX/AC_PROG_LEX/' configure.in
 %autoreconf
 sed -i 's/--no-verify//' configure
-%configure
+%configure %{subst_enable static}
 %make_build
Comment 4 Michael Shigorin 2011-12-22 17:24:47 MSK
О, спасибо.  Что %autoreconf не обновил libtool -- заметил, а снести не (вспомнил|догадался|прочитал).

Апстрим там вроде бы пилит 4.0 и промежуточный 3.7 -- который нынче в бетах, но собирать их как-то неохота...
Comment 5 Repository Robot 2011-12-22 17:35:12 MSK
recode-3.6-alt11 -> sisyphus:

* Thu Dec 22 2011 Michael Shigorin <mike@altlinux> 3.6-alt11
- drop vintage libtool (closes: #26740); thx ldv@