Skip to content

Build fails on OpenMandriva, autotools macro #164

@ZeroAbility

Description

@ZeroAbility

Greetings. I am attempting to update the package for yaz on our build farm and the recent release has difficulty building from your tarball on both the FTP and here. Since there isn't a configure script, I do the following and get this error:

autoreconf -fiv                                                                <
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
configure.ac:329: warning: The macro 'ACX_PTHREAD' is obsolete.
configure.ac:329: You should run autoupdate.
aclocal.m4:232: ACX_PTHREAD is expanded from...
configure.ac:329: the top level
configure.ac:381: warning: The macro 'AC_CHECK_ICU' is obsolete.
configure.ac:381: You should run autoupdate.
aclocal.m4:46: AC_CHECK_ICU is expanded from...
configure.ac:381: the top level
configure.ac:11: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: error: /usr/bin/autoconf failed with exit status: 1

The build dependencies are as follows:

BuildRequires:	pkgconfig 
BuildRequires:	pkgconfig(icu-i18n)
BuildRequires:	libtool
BuildRequires:	pkgconfig(libxml-2.0)
BuildRequires:	pkgconfig(libxslt)
BuildRequires:	pkgconfig(openssl)
BuildRequires:	readline-devel
BuildRequires:	tcp_wrappers-devel
BuildRequires:  pkgconfig(gnutls)
BuildRequires:  pkgconfig(hiredis)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions