LINUX.ORG.RU

Ошибка при autoreconf

 , ,


0

1

Имеется проект на основе bitbake и yocto project. Написал рецепт для некоего пакета. С применением моего патча. Запустил сборку. Вылетела ошибка на autoreconf. Стоит отметить, что в ручную запускал aclocal, autoconf, automake. И все отрабатывало отлично. Но в системе сборки работать не хочет. Стоит отметить, что наличие или отсутствеие патча не влияет ни на что. Даже без патча не собирается. Собирал для x86. Собираемый пакет hdf5. http://www.hdfgroup.uiuc.edu/ftp/pub/outgoing/hdf5/snapshots/v19/hdf5-1.9.134... ссылка на его скачивание. Ниже привожу лог ошибки и мой рецепт.

| AUTOV is 1.12
| NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I                                                                                                                                                              ..../2012-12-12-c2836a8/tmp/work/i586-linux/hdf5-1.9.134-r1/hdf                                                                                                                                                             5-1.9.134/ -I..../2012-12-12-c2836a8/tmp/sysroots/x86_64-linux/                                                                                                                                                             usr/share/aclocal-1.12 -I ....../2012-12-12-c2836a8/tmp/work/i586                                                                                                                                                             -linux/hdf5-1.9.134-r1/hdf5-1.9.134/aclocal-copy/
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal -I ...../2012-12-12-c2836a8/tmp/w                                                                                                                                                             ork/i586-linux/hdf5-1.9.134-r1/hdf5-1.9.134/ -I ...../2012-12-12                                                                                                                                                             -c2836a8/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I ...../2012-12-12-c2836a8/tmp/work/i586-linux/hdf5-1.9.134-r1/hdf5-1.9.134/aclocal-c                                                                                                                                                          opy/ -I ...../2012-12-12-c2836a8/tmp/work/i586-linux/hdf5-1.9.13                                                                                                                                                             4-r1/hdf5-1.9.134/ -I ..../2012-12-12-c2836a8/tmp/sysroots/x86_                                                                                                                                                             64-linux/usr/share/aclocal-1.12 -I ...../2012-12-12-c2836a8/tmp/                                                                                                                                                             work/i586-linux/hdf5-1.9.134-r1/hdf5-1.9.134/aclocal-copy/ --force
| ....../2012-12-12-c2836a8/tmp/work/i586-linux/hdf5-1.9.134-r1/h                                                                                                                                                             df5-1.9.134/acsite.m4:62: warning: underquoted definition of AC_F9X_MODS
| ...../2012-12-12-c2836a8/tmp/work/i586-linux/hdf5-1.9.134-r1/h                                                                                                                                                             df5-1.9.134/acsite.m4:62:   run info Automake 'Extending aclocal'
| ....../2012-12-12-c2836a8/tmp/work/i586-linux/hdf5-1.9.134-r1/h                                                                                                                                                             df5-1.9.134/acsite.m4:62:   or see http://www.gnu.org/software/automake/manual/a                                                                                                                                                             utomake.html#Extending-aclocal
| ....../2012-12-12-c2836a8/tmp/work/i586-linux/hdf5-1.9.134-r1/h                                                                                                                                                             df5-1.9.134/acsite.m4:62: error: m4_defn: undefined macro: _AC_LANG
| ../../lib/autoconf/lang.m4:107: AC_LANG_POP is expanded from...
| acsite.m4:62: AC_F9X_MODS is expanded from...
| ...../2012-12-12-c2836a8/tmp/work/i586-linux/hdf5-1.9.134-r1/h                                                                                                                                                             df5-1.9.134/acsite.m4:62: the top level
| autom4te: m4 failed with exit status: 1
| aclocal: error: ....../2012-12-12-c2836a8/tmp/sysroots/x86_64-l                                                                                                                                                             inux/usr/bin/autom4te failed with exit status: 1
| autoreconf: aclocal failed with exit status: 1
| ERROR: autoreconf execution failed.
| ERROR: Function failed: do_configure (see ...../2012-12-12-c28                                                                                                                                                             36a8/tmp/work/i586-linux/hdf5-1.9.134-r1/temp/log.do_configure.27853 for further                                                                                                                                                              information)
ERROR: Task 5 (...../recipes-extended/hdf5/hdf5_1.9                                                                                                                                                             .134.bb, do_configure) failed with exit code '1'

Много-много точек - это так не было. Это я вырезал часть пути, чтоб не палиться=)

Вот рецепт.

SUMMARY = "......"
DESCRIPTION = "......."
HOMEPAGE = "....."
#BUGTRACKER = "....."
LICENSE = "HDF5"
LIC_FILES_CHKSUM = "file://COPYING;md5=a06df3f633622526b02785e5442b4835"
PR = "r1"
inherit autotools

SRC_URI = "http://www.hdfgroup.uiuc.edu/ftp/pub/outgoing/hdf5/snapshots/v19/hdf5-1.9.134.tar.gz \
           file://hdf5.patch \
          "


#SRC_URI = "http://www.hdfgroup.uiuc.edu/ftp/pub/outgoing/hdf5/snapshots/v19/hdf5-1.9.134.tar.gz"


SRC_URI[md5sum] = "96c741a4612280f5d134e173a5f05875"
SRC_URI[sha256sum] = "4d7abc70d6a4e4eb26fe5d94fd9dc2a17512b6fcbd5cf41336f1257f3427bd4c"

С чем может быть связана ошибка? Версии софта

Рабочая машина (где все работало без bitbake) autoconf 2.68 automake 1.11.3

Те которыми собирает bitbake autoconf 2.69 automake 1.12.3

★★★★★

Последнее исправление: Dudraug (всего исправлений: 1)

Решено, надо было в acsite.m4 AC_F9X_MODS заключить в квадратные скобочки, раньше там не было их.

Dudraug ★★★★★
() автор топика

df5-1.9.134/acsite.m4:62: warning: underquoted definition of AC_F9X_MODS

«Как хорошо уметь читать, не надо к маме приставать...» (с) Агния Барто

anonymous
()
Ответ на: комментарий от anonymous

Так фишка в том, что в другой версии autotools оно работает=) Но да, дело в этом. УЖе давно понял.

Dudraug ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.