* [devel] broken autoreconf & Fortran 90/95 @ 2010-01-12 3:38 REAL 2010-01-12 4:44 ` REAL 2010-01-12 11:16 ` Dmitry V. Levin 0 siblings, 2 replies; 19+ messages in thread From: REAL @ 2010-01-12 3:38 UTC (permalink / raw) To: ALT Linux Team development discussions Привет! Я уже видел в рассылке жалобы такого типа. Вот и меня зацепило (да и не один пакет далеко): autoreconf-default: configure.in: tracing configure.in:653: error: AC_LANG_CONFTEST: unknown language: Fortran 90 ../../lib/autoconf/lang.m4:195: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2563: _AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... ../../lib/autoconf/general.m4:2004: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2025: AC_CACHE_CHECK is expanded from... aclocal.m4:1583: AC_PROG_F90 is expanded from... aclocal.m4:3213: CONFIRM_CHASM_F90_SUPPORT is expanded from... Надеюсь, ничего лично мне не придётся "Please investigate", и можно спокойно дождаться восстановления работы сборочницы? PS. Кстати, фраза раз от разу типа "unknown language: Fortran 90" из смешной превращается в издевательскую. Особенно в SciPy, там это ещё более издевательски выглядит: "gnu: no Fortran 90 compiler found". Причём, крайне неоднократно и по всему логу. Это апстримный юмор такой или у нас следствие переименования /usr/bin/f90 в /usr/bin/f95? -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 3:38 [devel] broken autoreconf & Fortran 90/95 REAL @ 2010-01-12 4:44 ` REAL 2010-01-12 11:20 ` Dmitry V. Levin 2010-01-12 11:16 ` Dmitry V. Levin 1 sibling, 1 reply; 19+ messages in thread From: REAL @ 2010-01-12 4:44 UTC (permalink / raw) To: ALT Linux Team development discussions Ещё лохмаче фишку увидел: Кусочки из config.log: [...] configure:4645: checking for C/C++ preprocessor flags [...] configure:4823: x86_64-alt-linux-gcc -c -pipe -Wall -O2 -fPIC -DPIC conftest.c >&5 Ой, а чего у нас такой C/C++ странный? Ну и ближе к концу вполне уже логично: configure:5849: checking if x86_64-alt-linux-gcc is a C++ compiler configure:5874: x86_64-alt-linux-gcc -o conftest -pipe -Wall -O2 -fPIC -DPIC conftest.c -lm >&5 configure:5874: $? = 0 configure:5874: ./conftest configure:5874: $? = 1 configure: program exited with status 1 Это где что сломалось или какого доктора звать? Словил при сборке CVODE (пакет sundials). Там, конечно, почти у всех модулей (кроме старого PVODE) есть файлы CMakeLists.txt, но если так дело пойдёт, чую, вообще придётся уходить с autotools на cmake. Оно, конечно, несколько удобней в использовании, но это ж сколько зряшной работы... -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 4:44 ` REAL @ 2010-01-12 11:20 ` Dmitry V. Levin 2010-01-12 11:49 ` REAL 0 siblings, 1 reply; 19+ messages in thread From: Dmitry V. Levin @ 2010-01-12 11:20 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1207 bytes --] On Tue, Jan 12, 2010 at 11:44:54AM +0700, REAL wrote: > Ещё лохмаче фишку увидел: > > Кусочки из config.log: > > [...] > configure:4645: checking for C/C++ preprocessor flags > [...] > configure:4823: x86_64-alt-linux-gcc -c -pipe -Wall -O2 -fPIC -DPIC > conftest.c >&5 > > Ой, а чего у нас такой C/C++ странный? Это должно было быть написано выше в том же файле. > Ну и ближе к концу вполне уже логично: > > configure:5849: checking if x86_64-alt-linux-gcc is a C++ compiler > configure:5874: x86_64-alt-linux-gcc -o conftest -pipe -Wall -O2 -fPIC > -DPIC conftest.c -lm >&5 > configure:5874: $? = 0 > configure:5874: ./conftest > configure:5874: $? = 1 > configure: program exited with status 1 > > > Это где что сломалось или какого доктора > звать? autoconf ни на что не жаловался? > Словил при сборке CVODE (пакет sundials). Там, > конечно, почти у всех модулей (кроме > старого PVODE) есть файлы CMakeLists.txt, но если > так дело пойдёт, чую, вообще придётся > уходить с autotools на cmake. Оно, конечно, > несколько удобней в использовании, но > это ж сколько зряшной работы... По cmake я вам точно ничем помочь не смогу. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 11:20 ` Dmitry V. Levin @ 2010-01-12 11:49 ` REAL 2010-01-12 11:36 ` Dmitry V. Levin 2010-01-12 12:37 ` Afanasov Dmitry 0 siblings, 2 replies; 19+ messages in thread From: REAL @ 2010-01-12 11:49 UTC (permalink / raw) To: ALT Linux Team development discussions Dmitry V. Levin пишет: >> Кусочки из config.log: >> >> [...] >> configure:4645: checking for C/C++ preprocessor flags >> [...] >> configure:4823: x86_64-alt-linux-gcc -c -pipe -Wall -O2 -fPIC -DPIC >> conftest.c >&5 >> >> Ой, а чего у нас такой C/C++ странный? > > Это должно было быть написано выше в том же файле. Гляну на досуге. >> Ну и ближе к концу вполне уже логично: >> >> configure:5849: checking if x86_64-alt-linux-gcc is a C++ compiler >> configure:5874: x86_64-alt-linux-gcc -o conftest -pipe -Wall -O2 -fPIC >> -DPIC conftest.c -lm >&5 >> configure:5874: $? = 0 >> configure:5874: ./conftest >> configure:5874: $? = 1 >> configure: program exited with status 1 >> >> >> Это где что сломалось или какого доктора >> звать? > > autoconf ни на что не жаловался? configure.ac:47: warning: AC_REQUIRE: `AC_PROG_F77' was expanded before it was required ../../lib/autoconf/fortran.m4:255: AC_LANG_COMPILER(Fortran 77) is expanded from... ../../lib/autoconf/lang.m4:324: AC_LANG_COMPILER_REQUIRE is expanded from... ../../lib/autoconf/general.m4:2579: AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/fortran.m4:558: _AC_PROG_FC_V is expanded from... ../../lib/autoconf/fortran.m4:611: _AC_FC_LIBRARY_LDFLAGS is expanded from... ../../lib/autoconf/fortran.m4:699: AC_F77_LIBRARY_LDFLAGS is expanded from... acinclude.m4:829: SUNDIALS_F77_CHECK is expanded from... acinclude.m4:669: SUNDIALS_F77_SUPPORT is expanded from... configure.ac:47: the top level autoreconf-default: running: /usr/bin/autoheader-2.60 --force configure.ac:39: warning: AC_REQUIRE: `AC_PROG_CPP' was expanded before it was required ../../lib/autoconf/c.m4:358: AC_LANG_PREPROC(C) is expanded from... ../../lib/autoconf/lang.m4:367: AC_LANG_PREPROC_REQUIRE is expanded from... ../../lib/autoconf/general.m4:2511: AC_EGREP_CPP is expanded from... ../../lib/autoconf/general.m4:2529: AC_EGREP_HEADER is expanded from... ../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... ../../lib/autoconf/general.m4:2004: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2025: AC_CACHE_CHECK is expanded from... ../../lib/autoconf/headers.m4:686: AC_HEADER_STDC is expanded from... acinclude.m4:383: SUNDIALS_CC_CHECK is expanded from... acinclude.m4:360: SUNDIALS_SET_CC is expanded from... configure.ac:39: the top level configure.ac:39: warning: AC_REQUIRE: `AC_HEADER_STDC' was expanded before it was required ../../lib/autoconf/headers.m4:297: _AC_INCLUDES_DEFAULT_REQUIREMENTS is expanded from... ../../lib/autoconf/headers.m4:353: AC_INCLUDES_DEFAULT is expanded from... ../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from... ../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from... ../../lib/m4sugar/m4sh.m4:566: AS_FOR is expanded from... ../../lib/autoconf/headers.m4:249: AC_CHECK_HEADERS is expanded from... configure.ac:47: warning: AC_REQUIRE: `AC_PROG_F77' was expanded before it was required ../../lib/autoconf/fortran.m4:255: AC_LANG_COMPILER(Fortran 77) is expanded from... ../../lib/autoconf/lang.m4:324: AC_LANG_COMPILER_REQUIRE is expanded from... ../../lib/autoconf/general.m4:2579: AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/fortran.m4:558: _AC_PROG_FC_V is expanded from... ../../lib/autoconf/fortran.m4:611: _AC_FC_LIBRARY_LDFLAGS is expanded from... ../../lib/autoconf/fortran.m4:699: AC_F77_LIBRARY_LDFLAGS is expanded from... acinclude.m4:829: SUNDIALS_F77_CHECK is expanded from... acinclude.m4:669: SUNDIALS_F77_SUPPORT is expanded from... configure.ac:47: the top level autoreconf-default: configure.ac: not using Automake autoreconf-default: Leaving directory `.' Тут я уже где-то встречал способ лечения... На вики бы его, для тех, кто тоже споткнулся о больной %autoreconf... > По cmake я вам точно ничем помочь не смогу. А тут я и сам справлюсь ;) Но ведь чинить надо. Опять ломается несломанное? -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 11:49 ` REAL @ 2010-01-12 11:36 ` Dmitry V. Levin 2010-01-12 11:58 ` REAL 2010-01-12 12:37 ` Afanasov Dmitry 1 sibling, 1 reply; 19+ messages in thread From: Dmitry V. Levin @ 2010-01-12 11:36 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 418 bytes --] On Tue, Jan 12, 2010 at 06:49:43PM +0700, REAL wrote: > Dmitry V. Levin пишет: [...] > >autoconf ни на что не жаловался? > > configure.ac:47: warning: AC_REQUIRE: `AC_PROG_F77' was expanded > before it was required Всё, фразы "was expanded before it was required" вполне достаточно. Попробуйте прочитать http://www.gnu.org/software/autoconf/manual/html_node/Expanded-Before-Required.html -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 11:36 ` Dmitry V. Levin @ 2010-01-12 11:58 ` REAL 2010-01-12 11:43 ` Dmitry V. Levin 0 siblings, 1 reply; 19+ messages in thread From: REAL @ 2010-01-12 11:58 UTC (permalink / raw) To: ALT Linux Team development discussions Dmitry V. Levin пишет: > Всё, фразы "was expanded before it was required" вполне достаточно. > > Попробуйте прочитать > http://www.gnu.org/software/autoconf/manual/html_node/Expanded-Before-Required.html Гляну, но я тут ещё увидел: http://lists.altlinux.org/pipermail/devel/2010-January/179118.html А что для случая фортрана подойдёт? Или в самих файлах апстрима можно найти, чего оно просит? -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 11:58 ` REAL @ 2010-01-12 11:43 ` Dmitry V. Levin 2010-01-12 12:38 ` Afanasov Dmitry 0 siblings, 1 reply; 19+ messages in thread From: Dmitry V. Levin @ 2010-01-12 11:43 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 743 bytes --] On Tue, Jan 12, 2010 at 06:58:44PM +0700, REAL wrote: > Dmitry V. Levin пишет: > >Всё, фразы "was expanded before it was required" вполне > >достаточно. > > > >Попробуйте прочитать > >http://www.gnu.org/software/autoconf/manual/html_node/Expanded-Before-Required.html > > Гляну, но я тут ещё увидел: > http://lists.altlinux.org/pipermail/devel/2010-January/179118.html > > А что для случая фортрана подойдёт? Аналогичный приём; если что-то was expanded before it was required, то скорее всего автор хотел написать соответствующий AC_REQUIRE до первого expansion. > Или в > самих файлах апстрима можно найти, чего > оно просит? Только там это и можно найти, ведь в каждом конкретном случае оно своё. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 11:43 ` Dmitry V. Levin @ 2010-01-12 12:38 ` Afanasov Dmitry 0 siblings, 0 replies; 19+ messages in thread From: Afanasov Dmitry @ 2010-01-12 12:38 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 1028 bytes --] On Tue, Jan 12, 2010 at 02:43:17PM +0300, Dmitry V. Levin wrote: > On Tue, Jan 12, 2010 at 06:58:44PM +0700, REAL wrote: > > Dmitry V. Levin пишет: > > >Всё, фразы "was expanded before it was required" вполне > > >достаточно. > > > > > >Попробуйте прочитать > > >http://www.gnu.org/software/autoconf/manual/html_node/Expanded-Before-Required.html > > > > Гляну, но я тут ещё увидел: > > http://lists.altlinux.org/pipermail/devel/2010-January/179118.html > > > > А что для случая фортрана подойдёт? > > Аналогичный приём; если что-то was expanded before it was required, то > скорее всего автор хотел написать соответствующий AC_REQUIRE до первого > expansion. я там с AC_REQUIRE ошибся: его можно использовать только в AC_DEFUN AC_REQUIRE must be used inside a macro defined by AC_DEFUN; it must not be called from the top level. http://www.gnu.org/software/autoconf/manual/html_node/Prerequisite-Macros.html#Prerequisite-Macros потому вызвал макрос напрямую. -- С уважением Афанасов Дмитрий [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 11:49 ` REAL 2010-01-12 11:36 ` Dmitry V. Levin @ 2010-01-12 12:37 ` Afanasov Dmitry 1 sibling, 0 replies; 19+ messages in thread From: Afanasov Dmitry @ 2010-01-12 12:37 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 1130 bytes --] On Tue, Jan 12, 2010 at 06:49:43PM +0700, REAL wrote: > Dmitry V. Levin пишет: > >> Это где что сломалось или какого доктора > >> звать? > > > > autoconf ни на что не жаловался? > > configure.ac:47: warning: AC_REQUIRE: `AC_PROG_F77' was expanded before it was required [skip] > configure.ac:39: warning: AC_REQUIRE: `AC_PROG_CPP' was expanded before it was required [skip] > configure.ac:39: warning: AC_REQUIRE: `AC_HEADER_STDC' was expanded before it was required [skip] > configure.ac:47: warning: AC_REQUIRE: `AC_PROG_F77' was expanded before it was required > > Тут я уже где-то встречал способ лечения... На вики бы его, для тех, > кто тоже споткнулся о больной %autoreconf... ldv@ давал ссылку, где описана сама ситуация: http://www.gnu.org/software/autoconf/manual/html_node/Expanded-Before-Required.html всё что я оттуда понял, так это что перед AC_REQUIRE макрос нужно раскрыть. может и неверно, но в твоём случае должен помочь прямой вызов данных макросов перед руганью (47й строкой например) то есть в лом: AC_PROG_F77 AC_PROG_CPP AC_HEADER_STDC -- С уважением Афанасов Дмитрий [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 3:38 [devel] broken autoreconf & Fortran 90/95 REAL 2010-01-12 4:44 ` REAL @ 2010-01-12 11:16 ` Dmitry V. Levin 2010-01-12 11:46 ` REAL 2010-01-12 16:12 ` [devel] broken autoreconf " Michael Shigorin 1 sibling, 2 replies; 19+ messages in thread From: Dmitry V. Levin @ 2010-01-12 11:16 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 953 bytes --] On Tue, Jan 12, 2010 at 10:38:41AM +0700, REAL wrote: > Привет! > > Я уже видел в рассылке жалобы такого > типа. Вот и меня зацепило (да и не один > пакет далеко): > > autoreconf-default: configure.in: tracing > configure.in:653: error: AC_LANG_CONFTEST: unknown language: Fortran 90 > ../../lib/autoconf/lang.m4:195: AC_LANG_CONFTEST is expanded from... > ../../lib/autoconf/general.m4:2563: _AC_COMPILE_IFELSE is expanded from... > ../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... > ../../lib/autoconf/general.m4:2004: AC_CACHE_VAL is expanded from... > ../../lib/autoconf/general.m4:2025: AC_CACHE_CHECK is expanded from... > aclocal.m4:1583: AC_PROG_F90 is expanded from... > aclocal.m4:3213: CONFIRM_CHASM_F90_SUPPORT is expanded from... > > > Надеюсь, ничего лично мне не придётся > "Please investigate", и можно спокойно дождаться > восстановления работы сборочницы? Боюсь что больше некому. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 11:16 ` Dmitry V. Levin @ 2010-01-12 11:46 ` REAL 2010-01-12 11:34 ` Dmitry V. Levin 2010-01-12 16:12 ` [devel] broken autoreconf " Michael Shigorin 1 sibling, 1 reply; 19+ messages in thread From: REAL @ 2010-01-12 11:46 UTC (permalink / raw) To: ALT Linux Team development discussions Dmitry V. Levin пишет: >> autoreconf-default: configure.in: tracing >> configure.in:653: error: AC_LANG_CONFTEST: unknown language: Fortran 90 >> ../../lib/autoconf/lang.m4:195: AC_LANG_CONFTEST is expanded from... >> ../../lib/autoconf/general.m4:2563: _AC_COMPILE_IFELSE is expanded from... >> ../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... >> ../../lib/autoconf/general.m4:2004: AC_CACHE_VAL is expanded from... >> ../../lib/autoconf/general.m4:2025: AC_CACHE_CHECK is expanded from... >> aclocal.m4:1583: AC_PROG_F90 is expanded from... >> aclocal.m4:3213: CONFIRM_CHASM_F90_SUPPORT is expanded from... >> >> >> Надеюсь, ничего лично мне не придётся >> "Please investigate", и можно спокойно дождаться >> восстановления работы сборочницы? > > Боюсь что больше некому. И чем лечить? Кроме отключения %autoreconf? -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 11:46 ` REAL @ 2010-01-12 11:34 ` Dmitry V. Levin 2010-01-13 7:50 ` REAL 0 siblings, 1 reply; 19+ messages in thread From: Dmitry V. Levin @ 2010-01-12 11:34 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1415 bytes --] On Tue, Jan 12, 2010 at 06:46:10PM +0700, REAL wrote: > Dmitry V. Levin пишет: > >>autoreconf-default: configure.in: tracing > >>configure.in:653: error: AC_LANG_CONFTEST: unknown language: Fortran 90 > >>../../lib/autoconf/lang.m4:195: AC_LANG_CONFTEST is expanded from... > >>../../lib/autoconf/general.m4:2563: _AC_COMPILE_IFELSE is expanded from... > >>../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... > >>../../lib/autoconf/general.m4:2004: AC_CACHE_VAL is expanded from... > >>../../lib/autoconf/general.m4:2025: AC_CACHE_CHECK is expanded from... > >>aclocal.m4:1583: AC_PROG_F90 is expanded from... > >>aclocal.m4:3213: CONFIRM_CHASM_F90_SUPPORT is expanded from... > >> > >> > >>Надеюсь, ничего лично мне не придётся > >>"Please investigate", и можно спокойно дождаться > >>восстановления работы сборочницы? > > > >Боюсь что больше некому. > > И чем лечить? Кроме отключения %autoreconf? Для того, чтобы выписать рецепт, надо сперва поставить диагноз. Мало ли почему autoreconf жалуется на unknown language. Это может быть и regression в новой версии autoconf, а может быть и ошибка в ./aclocal.m4 Посмотрите на aclocal.m4 внимательнее, может быть, сразу всё прояснится. Меня, например, настораживает использование некоего макроса AC_PROG_F90, который, судя по префиксу AC_, должен был бы быть стандартным, однако он таковым, очевидно, не является. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 11:34 ` Dmitry V. Levin @ 2010-01-13 7:50 ` REAL 2010-01-13 7:47 ` Afanasov Dmitry 2010-01-13 12:49 ` [devel] new autoconf " Dmitry V. Levin 0 siblings, 2 replies; 19+ messages in thread From: REAL @ 2010-01-13 7:50 UTC (permalink / raw) To: ALT Linux Team development discussions Dmitry V. Levin пишет: > Посмотрите на aclocal.m4 внимательнее, может быть, сразу всё прояснится. > Меня, например, настораживает использование некоего макроса AC_PROG_F90, > который, судя по префиксу AC_, должен был бы быть стандартным, однако он > таковым, очевидно, не является. AC_PROG_F90 объявлен в aclocal.m4. http://git.altlinux.org/people/real/packages/chasm.git?p=chasm.git;a=blob;f=cca-tools/chasm-1.4/aclocal.m4;h=9647940a5df0d1bb97b9153c5565ea18d91aae89;hb=HEAD Строка 1583. Пока что ни один из рецептов не помог. Непонятно даже, с какой стороны подходить к проблеме. Ещё раз кусок лога. configure.in:653: error: AC_LANG_CONFTEST: unknown language: Fortran 90 ../../lib/autoconf/lang.m4:195: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2563: _AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... ../../lib/autoconf/general.m4:2004: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2025: AC_CACHE_CHECK is expanded from... aclocal.m4:1583: AC_PROG_F90 is expanded from... aclocal.m4:3213: CONFIRM_CHASM_F90_SUPPORT is expanded from... configure.in:653: the top level autom4te-2.60: /usr/bin/m4 failed with exit status: 1 autoreconf-default: configure.in: not using Libtool autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force configure.in:653: error: AC_LANG_CONFTEST: unknown language: Fortran 90 ../../lib/autoconf/lang.m4:195: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2563: _AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... ../../lib/autoconf/general.m4:2004: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2025: AC_CACHE_CHECK is expanded from... aclocal.m4:1583: AC_PROG_F90 is expanded from... aclocal.m4:3213: CONFIRM_CHASM_F90_SUPPORT is expanded from... configure.in:653: the top level autom4te-2.60: /usr/bin/m4 failed with exit status: 1 autoreconf-default: /usr/bin/autoconf-2.60 failed with exit status: 1 Этот макрос вызывается из CONFIRM_CHASM_F90_SUPPORT (строка 3220). Никакие манипуляции там с AC_REQUIRE не помогают. Ну и вопрос сразу: ключевая фраза, указывающая на проблему - она какая? aclocal.m4:1583: AC_PROG_F90 is expanded from... или aclocal.m4:3213: CONFIRM_CHASM_F90_SUPPORT is expanded from... В общем, эксперименты. Погрепал я: egrep -R AC_LANG_PUSH /usr/share Нигде AC_LANG_PUSH(Fortran 90) не встречается. Вообще. С 95 - то же самое. Есть только AC_LANG_PUSH(Fortran 77) и AC_LANG_PUSH(Fortran), остальные языки другие все. Заменил в AC_PROG_F90 на AC_LANG_PUSH(Fortran) и, соответственно AC_LANG_POP(Fortran 90) AC_LANG_POP(Fortran) Кое-что изменилось в логе: configure.in:653: error: AC_LANG_CONFTEST: unknown language: Fortran 90 ../../lib/autoconf/lang.m4:195: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2563: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2579: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from... ../../lib/autoconf/general.m4:2004: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2025: AC_CACHE_CHECK is expanded from... aclocal.m4:1746: _AC_PROG_F90_V is expanded from... aclocal.m4:1796: AC_F90_LIBRARY_LDFLAGS is expanded from... aclocal.m4:3216: CONFIRM_CHASM_F90_SUPPORT is expanded from... configure.in:653: the top level autom4te-2.60: /usr/bin/m4 failed with exit status: 1 Есть подозрение, что новые автотулзы теперь не знают, что такое Fortran90 и Fortran95. Не знаю, в этом ли проблемы, но у меня кончились идеи, куда копать. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-13 7:50 ` REAL @ 2010-01-13 7:47 ` Afanasov Dmitry 2010-01-13 8:42 ` REAL 2010-01-13 12:49 ` [devel] new autoconf " Dmitry V. Levin 1 sibling, 1 reply; 19+ messages in thread From: Afanasov Dmitry @ 2010-01-13 7:47 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 1718 bytes --] On Wed, Jan 13, 2010 at 02:50:12PM +0700, REAL wrote: > Dmitry V. Levin пишет: > > Посмотрите на aclocal.m4 внимательнее, может быть, сразу всё прояснится. > > Меня, например, настораживает использование некоего макроса AC_PROG_F90, > > который, судя по префиксу AC_, должен был бы быть стандартным, однако он > > таковым, очевидно, не является. > > AC_PROG_F90 объявлен в aclocal.m4. > > http://git.altlinux.org/people/real/packages/chasm.git?p=chasm.git;a=blob;f=cca-tools/chasm-1.4/aclocal.m4;h=9647940a5df0d1bb97b9153c5565ea18d91aae89;hb=HEAD > > Строка 1583. > > Пока что ни один из рецептов не помог. Непонятно даже, с какой стороны > подходить к проблеме. Ещё раз кусок лога. у тебя похоже всё много хуже, тут не просто макросы раскрыть. > configure.in:653: error: AC_LANG_CONFTEST: unknown language: Fortran 90 как я понимаю, это основная строка. google на эту строку выдал: http://trac.mcs.anl.gov/projects/mpich2/ticket/791 соль этой ссылки: It appears 2.64 has a formal lang defining mechanism, AC_LANG_DEFINE, which isn't available before 2.63. дополнительное гугление навело на http://www.opensubscriber.com/message/autoconf-patches@gnu.org/10633127.html соль: This patch reorganizes the definition of languages so that for similar languages it's not necessary to manually do a lot of macro copies. потому и мыслю, что всё хуже - проблема в механизме определения языков. автокрап такой автокрап :( > > Есть подозрение, что новые автотулзы теперь не знают, что такое > Fortran90 и Fortran95. Не знаю, в этом ли проблемы, но у меня > кончились идеи, куда копать. знают, только работа с ними теперь по иному происходит. -- С уважением Афанасов Дмитрий [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-13 7:47 ` Afanasov Dmitry @ 2010-01-13 8:42 ` REAL 2010-01-13 9:26 ` REAL 2010-01-13 11:06 ` REAL 0 siblings, 2 replies; 19+ messages in thread From: REAL @ 2010-01-13 8:42 UTC (permalink / raw) To: ALT Linux Team development discussions Afanasov Dmitry пишет: > дополнительное гугление навело на > http://www.opensubscriber.com/message/autoconf-patches@gnu.org/10633127.html > соль: This patch reorganizes the definition of languages so that for > similar languages it's not necessary to manually do a lot of > macro copies. Может быть, попросим ldv@ этот патчик приложить? Хотя бы сначала просто у себя на git.alt, чтобы, например, я проверил как раз на Chasm? > потому и мыслю, что всё хуже - проблема в механизме определения языков. Понятно, пока отключаю нафиг %autoreconf для этого пакета. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-13 8:42 ` REAL @ 2010-01-13 9:26 ` REAL 2010-01-13 11:06 ` REAL 1 sibling, 0 replies; 19+ messages in thread From: REAL @ 2010-01-13 9:26 UTC (permalink / raw) To: ALT Linux Team development discussions REAL пишет: > Может быть, попросим ldv@ этот патчик приложить? Хотя бы сначала просто > у себя на git.alt, чтобы, например, я проверил как раз на Chasm? Не, уже сам попробовал - сам патч ещё починки требудет ;) -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-13 8:42 ` REAL 2010-01-13 9:26 ` REAL @ 2010-01-13 11:06 ` REAL 1 sibling, 0 replies; 19+ messages in thread From: REAL @ 2010-01-13 11:06 UTC (permalink / raw) To: ALT Linux Team development discussions REAL пишет: >> потому и мыслю, что всё хуже - проблема в механизме определения языков. > > Понятно, пока отключаю нафиг %autoreconf для этого пакета. Жалко стало, воспользовался более старым autoconf ;) %set_autoconf_version 2.5 -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] new autoconf & Fortran 90/95 2010-01-13 7:50 ` REAL 2010-01-13 7:47 ` Afanasov Dmitry @ 2010-01-13 12:49 ` Dmitry V. Levin 1 sibling, 0 replies; 19+ messages in thread From: Dmitry V. Levin @ 2010-01-13 12:49 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 854 bytes --] On Wed, Jan 13, 2010 at 02:50:12PM +0700, REAL wrote: > Dmitry V. Levin пишет: > >Посмотрите на aclocal.m4 внимательнее, может > >быть, сразу всё прояснится. > >Меня, например, настораживает > >использование некоего макроса AC_PROG_F90, > >который, судя по префиксу AC_, должен был > >бы быть стандартным, однако он > >таковым, очевидно, не является. > > AC_PROG_F90 объявлен в aclocal.m4. Префикс AC_ заразервирован за официальными макросами от autotools, когда локальный aclocal.m4 лезет в пространство имён AC_, это может плохо кончиться. Насколько я понял из вашей дискуссии, этот локальный AC_PROG_F90 был написан для autoconf <= 2.63, и для autoconf >= 2.64 его придётся переписать вместе с остальными макросами, в качестве примера см. семейство макросов *F77* в /usr/share/autoconf-2.60/autoconf/fortran.m4 -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [devel] broken autoreconf & Fortran 90/95 2010-01-12 11:16 ` Dmitry V. Levin 2010-01-12 11:46 ` REAL @ 2010-01-12 16:12 ` Michael Shigorin 1 sibling, 0 replies; 19+ messages in thread From: Michael Shigorin @ 2010-01-12 16:12 UTC (permalink / raw) To: ALT Linux Team development discussions On Tue, Jan 12, 2010 at 02:16:55PM +0300, Dmitry V. Levin wrote: > > Надеюсь, ничего лично мне не придётся "Please investigate", и > > можно спокойно дождаться восстановления работы сборочницы? Это исправили старую ошибку в новом autoconf-2.64, в итоге сломалось то, что на неё закладывалось -- как упоминалось, http://www.gnu.org/software/autoconf/manual/html_node/Expanded-Before-Required.html > Боюсь что больше некому. Мне помог уже разобравшийся ender@, за что ему большое спасибо: http://git.altlinux.org/people/mike/packages/?p=filelight.git;a=commitdiff;h=d2f28efdd1778407aa6be16512b59e00796ce0e1 http://git.altlinux.org/people/mike/packages/?p=filelight.git;a=blob;f=filelight-1.0-fix-autoconf-2.64.patch;h=e4056f242fa78be43c642b1d4624c06cb7b04ef6;hb=HEAD -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2010-01-13 12:49 UTC | newest] Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-01-12 3:38 [devel] broken autoreconf & Fortran 90/95 REAL 2010-01-12 4:44 ` REAL 2010-01-12 11:20 ` Dmitry V. Levin 2010-01-12 11:49 ` REAL 2010-01-12 11:36 ` Dmitry V. Levin 2010-01-12 11:58 ` REAL 2010-01-12 11:43 ` Dmitry V. Levin 2010-01-12 12:38 ` Afanasov Dmitry 2010-01-12 12:37 ` Afanasov Dmitry 2010-01-12 11:16 ` Dmitry V. Levin 2010-01-12 11:46 ` REAL 2010-01-12 11:34 ` Dmitry V. Levin 2010-01-13 7:50 ` REAL 2010-01-13 7:47 ` Afanasov Dmitry 2010-01-13 8:42 ` REAL 2010-01-13 9:26 ` REAL 2010-01-13 11:06 ` REAL 2010-01-13 12:49 ` [devel] new autoconf " Dmitry V. Levin 2010-01-12 16:12 ` [devel] broken autoreconf " Michael Shigorin
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git