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

'make debs' ignores extra build options

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0, Lustre 2.15.4
    • Lustre 2.15.2
    • None
    • 3
    • 9223372036854775807

    Description

      run 'make debs' to build debs for Ubuntu

      root@u0:~/lustre-release# sh ./autogen.sh;  ./configure --disable-lru-resize --with-o2ib=/usr/src/ofa_kernel/default ; make debs 

      But, configure restarts and pick some options, but ignores user defined build options. e.g. '--disable-lru-resize ' above

      touch configure-stamp
      Final value of EXTRAFLAGS: --disable-server --without-zfs --disable-ldiskfs --with-o2ib=/usr/src/ofa_kernel/5.4.0-137-generic --disable-gss
      checking build system type... x86_64-pc-linux-gnu
      checking host system type... x86_64-pc-linux-gnu
      checking target system type... x86_64-pc-linux-gnu
      checking for a BSD-compatible install... /usr/bin/install -c
      

      In the end, packages were built with missing build options.

      root@u0:~/lustre-release# cat config.log 
      This file contains any messages produced by compilers while
      running configure, to aid debugging if configure makes a mistake.
      
      It was created by Lustre configure 2.14.0_ddn74, which was
      generated by GNU Autoconf 2.69.  Invocation command line was
      
        $ ./configure --disable-dependency-tracking --with-linux=/lib/modules/5.4.0-137-generic/build --with-linux-obj=/usr/src/linux-headers-5.4.0-1
      37-generic --disable-snmp --enable-quota --disable-server --without-zfs --disable-ldiskfs --with-o2ib=/usr/src/ofa_kernel/5.4.0-137-generic --d
      isable-gss --with-o2ib=/usr/src/ofa_kernel/5.4.0-137-generic
      

      Attachments

        Activity

          [LU-16517] 'make debs' ignores extra build options

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51178/
          Subject: LU-16517 build: pass extra configure options to "make debs"
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set:
          Commit: 5abc979eb64d8a78888aea63c0cf7e285fa0a4dd

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51178/ Subject: LU-16517 build: pass extra configure options to "make debs" Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: 5abc979eb64d8a78888aea63c0cf7e285fa0a4dd
          pjones Peter Jones added a comment -

          Landed for 2.16

          pjones Peter Jones added a comment - Landed for 2.16

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50464/
          Subject: LU-16517 build: pass extra configure options to "make debs"
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 3989529f22f5c54a98e445674b4b3cc443a3af5f

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50464/ Subject: LU-16517 build: pass extra configure options to "make debs" Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3989529f22f5c54a98e445674b4b3cc443a3af5f

          "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51178
          Subject: LU-16517 build: pass extra configure options to "make debs"
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set: 1
          Commit: 20f24f6238c4b2a0b4160ad6674ac8c61332f6e7

          gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51178 Subject: LU-16517 build: pass extra configure options to "make debs" Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: 20f24f6238c4b2a0b4160ad6674ac8c61332f6e7

          "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50464
          Subject: LU-16517 build: pass extra configure options to "make debs"
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: ea176510f349bebdcf754bb645e7be12617465e9

          gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50464 Subject: LU-16517 build: pass extra configure options to "make debs" Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ea176510f349bebdcf754bb645e7be12617465e9
          yujian Jian Yu added a comment -

          As we can see, not all of the configure options are detected and passed to the configure command in debian/rules while running "make debs".
          I'm trying to figure out which ones are needed to be added into lustre/autoconf/*.m4, config/*.m4, autoMakefile.am and debian/rules.

          yujian Jian Yu added a comment - As we can see, not all of the configure options are detected and passed to the configure command in debian/rules while running "make debs". I'm trying to figure out which ones are needed to be added into lustre/autoconf/*.m4, config/*.m4, autoMakefile.am and debian/rules.

          People

            yujian Jian Yu
            sihara Shuichi Ihara
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: