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

parsing --with-o2ib fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • Lustre 2.17.0
    • Lustre 2.16.0
    • None
    • 3
    • 9223372036854775807

    Description

      commit "3c66185c84 LU-17398 build: detect mlnx-ofa_kernel-devel contents" still has a regression below.

      # git clean -d -x -f ; sh ./autogen.sh; ./configure --with-o2ib=/usr/src/ofa_kernel/default; make rpms
      
      - snip - 
      Executing(%build): /bin/sh -e /tmp/rpmbuild-lustre-root-5bVhWL5I/TMP/rpm-tmp.dGQGBH
      + umask 022
      + cd /tmp/rpmbuild-lustre-root-5bVhWL5I/BUILD
      + cd lustre-2.15.60_12_g3c66185
      + cd /tmp/rpmbuild-lustre-root-5bVhWL5I/BUILD/lustre-2.15.60_12_g3c66185
      + export 'UTILS_CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
      + UTILS_CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
      + export 'UTILS_LDFLAGS=-Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
      + UTILS_LDFLAGS='-Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
      + CONFIGURE_ARGS=''\''--with-o2ib=/usr/src/ofa_kernel/default'\'''
      + '[' -n ''\''--with-o2ib=/usr/src/ofa_kernel/default'\''' ']'
      ++ echo ''\''--with-o2ib=/usr/src/ofa_kernel/default'\'''
      ++ sed -e 's/"\?--with-linux=[^ ][^ ]* \?//'
      + CONFIGURE_ARGS=''\''--with-o2ib=/usr/src/ofa_kernel/default'\'''
      ++ echo ''\''--with-o2ib=/usr/src/ofa_kernel/default'\'''
      ++ sed -e 's/"\?--with-linux-obj=[^ ][^ ]* \?//'
      + CONFIGURE_ARGS=''\''--with-o2ib=/usr/src/ofa_kernel/default'\'''
      ++ echo ''\''--with-o2ib=/usr/src/ofa_kernel/default'\'''
      ++ sed -e 's/"\?--with-kmp-moddir=[^ ][^ ]* \?//'
      + CONFIGURE_ARGS=''\''--with-o2ib=/usr/src/ofa_kernel/default'\'''
      + '[' -f '' ']'
      + WITH_O2IB=
      ++ xargs dirname
      +++ echo --with-o2ib=/usr/src/ofa_kernel/default
      +++ tr ' ' '\n'
      +++ grep -- --with-o2ib=
      +++ cut -c 13-
      ++ find /usr/src/ofa_kernel/default -type d -name ofed_scripts
      dirname: missing operand
      Try 'dirname --help' for more information.
      + o2ib_path=
      error: Bad exit status from /tmp/rpmbuild-lustre-root-5bVhWL5I/TMP/rpm-tmp.dGQGBH (%build)
      
      
      RPM build errors:
          Bad exit status from /tmp/rpmbuild-lustre-root-5bVhWL5I/TMP/rpm-tmp.dGQGBH (%build)
      make: *** [autoMakefile:1318: rpms] Error 1
      

      one before patch landed (e.g. commit "fdab3f6455 LU-17398 build: quash rpmbuild false warning") worked fine

      Attachments

        Issue Links

          Activity

            People

              stancheff Shaun Tancheff
              sihara Shuichi Ihara
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: