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

Ubuntu build broken

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      As reported by Ake Sandgren from HPC2N:

      In master debian/rules there is a comment that breaks a commands -line continuation causing exported env vars to be dropped.

      Simple fix is (configure-stamp rule):

      ===
      diff --git a/debian/rules b/debian/rules
      index df80c077ba..14b1892fbf 100755
      --- a/debian/rules
      +++ b/debian/rules
      @@ -199,8 +203,6 @@ configure-stamp: autogen-stamp debian/control.main debian/control.modules.in
      elif echo "$${DEB_BUILD_PROFILES}" | grep -qw "nocrypto"; then \
      export EXTRAFLAGS="$${EXTRAFLAGS} --disable-crypto"; \
      fi; \
      - # remove env variables from config cache built by initial configure,
      - # and create dedicated cache in temporary build directory
      if [ -f "$${CONFIG_CACHE_FILE}" ]; then \
      export TMP_CACHE_FILE=$$(mktemp); \
      sed "/ac_cv_env/d" "$${CONFIG_CACHE_FILE}" > $${TMP_CACHE_FILE}; \
      ===
      

      Same bug exists in the kdist_config rule.

      Attachments

        Activity

          People

            sebastien Sebastien Buisson
            sebastien Sebastien Buisson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: