Maybe we should sidestep the problem for now and only use the toolchain
autotools for the packages that need it?

I'm guessing somehow the autotools build isn't set up right but it's hard
to know where to look ot fix it.

On Fri, Dec 16, 2016 at 1:46 PM, Henry Robinson <[email protected]> wrote:

> The problem is that it's the toolchain Kudu's snappy that doesn't build,
> and they claim that the autoreconf step is needed for their build. It would
> be good not to rebuild the components that we both depend on, but right now
> I'd like to avoid shaving that particular yak.
>
> On 16 December 2016 at 13:16, Tim Armstrong <[email protected]>
> wrote:
>
> > I had a bit of a look. It doesn't make a lot of sense to me. It seems
> like
> > we can build snappy fine if we don't run autoreconf.
> >
> > On Fri, Dec 16, 2016 at 10:56 AM, Henry Robinson <[email protected]>
> wrote:
> >
> > > I'm trying to add auto[make|conf] and libtool to our toolchain.
> > Everything
> > > almost works, except for when the Kudu build calls autoreconf -fvi for
> > > snappy. The error occurs when calling autoreconf calls autoconf
> --force.
> > > I've discovered that removing the toolchain auto*make* from the path
> > fixes
> > > the issue, which is kind of weird.
> > >
> > > What is strange is that the toolchain version is exactly the same as
> the
> > > system one. The error suggests that the AC_DEFINE macro (which is in
> > > general.m4) can't be found. What I don't know is how to change where
> it's
> > > looked for. (I've edited ACLOCAL_PATH to no effect).
> > >
> > > Any ideas?
> > >
> > > 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 `.'.
> > > libtoolize: copying file `./ltmain.sh'
> > > libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `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'
> > > autoreconf: running:
> > > /data/henry/src/cloudera/native-toolchain/build/
> > autoconf-2.69/bin/autoconf
> > > --force
> > > configure.ac:42: error: possibly undefined macro: AC_DEFINE
> > >       If this token and others are legitimate, please use
> > m4_pattern_allow.
> > >             See the Autoconf documentation.
> > >             configure.ac:44: error: possibly undefined macro:
> > > AC_MSG_FAILURE
> > >             autoreconf:
> > > /data/henry/src/cloudera/native-toolchain/build/
> > autoconf-2.69/bin/autoconf
> > > failed with exit status: 1
> > >
> >
>
>
>
> --
> Henry Robinson
> Software Engineer
> Cloudera
> 415-994-6679
>

Reply via email to