Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-7700

autoreconf does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Lets say you have a clean checkout of Lustre's master branch, and you do the following:

      $ sh autogen.sh
      $ ./configure
      $ <edit lustre/autoconf/lustre-version.ac and increment the LUSTRE_PATCH number>
      $ make
       cd . && /bin/sh /home/morrone/src/lustre/config/missing automake-1.13 --foreign
      autoMakefile.am:122: error: SERVER does not appear in AM_CONDITIONAL
      make: *** [autoMakefile.in] Error 1
      

      One way or another, the autotools are smart enough to recognize that the configure script needs to be regenerated. However, we are currently hitting the above bug.

      AM_CONDITIONAL calls all must be made unconditionally. My guess, without looking at the code, is that SERVER is defined from an AM_CONDITIONAL that is burried under conditional calls, and that is triggeing the about error.

      NOTE: My first guess was wrong, read the comments below for more details.

      Attachments

        Issue Links

          Activity

            People

              morrone Christopher Morrone (Inactive)
              morrone Christopher Morrone (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: