<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:27:42 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-16517] &apos;make debs&apos; ignores extra build options</title>
                <link>https://jira.whamcloud.com/browse/LU-16517</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;run &apos;make debs&apos; to build debs for Ubuntu&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;root@u0:~/lustre-release# sh ./autogen.sh;  ./configure --disable-lru-resize --with-o2ib=/usr/src/ofa_kernel/default ; make debs &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;But, configure restarts and pick some options, but ignores user defined build options. e.g. &apos;--disable-lru-resize &apos; above&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;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
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;In the end, packages were built with missing build options.&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;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
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; </description>
                <environment></environment>
        <key id="74248">LU-16517</key>
            <summary>&apos;make debs&apos; ignores extra build options</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="yujian">Jian Yu</assignee>
                                    <reporter username="sihara">Shuichi Ihara</reporter>
                        <labels>
                    </labels>
                <created>Mon, 30 Jan 2023 23:08:47 +0000</created>
                <updated>Thu, 19 Oct 2023 15:14:29 +0000</updated>
                            <resolved>Fri, 9 Jun 2023 12:27:27 +0000</resolved>
                                    <version>Lustre 2.15.2</version>
                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="364329" author="yujian" created="Tue, 28 Feb 2023 06:43:28 +0000"  >&lt;p&gt;In debian/rules, the configure command is defined as follows:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;debian/rules&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
                $(SRCDIR)/configure --disable-dependency-tracking \
                        --with-linux=$${KERNEL_SRC} \
                        --with-linux-obj=$${KERNEL_OBJ} \
                        --disable-snmp \
                        --enable-quota \
                        $${EXTRAFLAGS} \
                        $(EXTRA_OPTIONS) \
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The EXTRA_OPTIONS is defined with IB_OPTIONS, which is &quot;--with-o2ib=xx&quot;.&lt;br/&gt;
Other configure options are specified by EXTRAFLAGS, which is detected in debian/rules by checking DEB_BUILD_PROFILES as follows:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;debian/rules&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
        echo &lt;span class=&quot;code-quote&quot;&gt;&quot;Enabled Build Profiles: $${DEB_BUILD_PROFILES}&quot;&lt;/span&gt;
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; echo &lt;span class=&quot;code-quote&quot;&gt;&quot;$${DEB_BUILD_PROFILES}&quot;&lt;/span&gt; | grep -q &lt;span class=&quot;code-quote&quot;&gt;&quot;server&quot;&lt;/span&gt;; then \
                export EXTRAFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;--enable-server&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
        &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; \
                export EXTRAFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;--disable-server&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
        fi; \
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; echo &lt;span class=&quot;code-quote&quot;&gt;&quot;$${DEB_BUILD_PROFILES}&quot;&lt;/span&gt; | grep -q &lt;span class=&quot;code-quote&quot;&gt;&quot;zfs&quot;&lt;/span&gt;; then \
                export EXTRAFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${EXTRAFLAGS} --with-zfs=$${ZFS_SRC} --with-spl=$${SPL_SRC}&quot;&lt;/span&gt;; \
        &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; \
                export EXTRAFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${EXTRAFLAGS} --without-zfs&quot;&lt;/span&gt; ; \
        fi; \
                &amp;lt;~snip~&amp;gt;
                export EXTRAFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${EXTRAFLAGS} --enable-ldiskfs --enable-quilt&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
		export EXTRAFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${EXTRAFLAGS} --disable-ldiskfs&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
		export EXTRAFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${EXTRAFLAGS} --with-o2ib=$${O2IB_SRC}&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
		export EXTRAFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${EXTRAFLAGS} --enable-gss&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
		export EXTRAFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${EXTRAFLAGS} --disable-gss&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
		export EXTRAFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${EXTRAFLAGS} --enable-crypto&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
		export EXTRAFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${EXTRAFLAGS} --disable-crypto&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
		export EXTRAFLAGS=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${EXTRAFLAGS} --cache-file=$${TMP_CACHE_FILE}&quot;&lt;/span&gt;; \
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;DEB_BUILD_PROFILES is defined and exported in autoMakefile.am under debs target as follows:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;autoMakefile.am&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; test &lt;span class=&quot;code-quote&quot;&gt;&quot;x@ENABLE_SERVER@&quot;&lt;/span&gt; = &lt;span class=&quot;code-quote&quot;&gt;&quot;xyes&quot;&lt;/span&gt;; then \
                DEB_BUILD_PROFILES=&lt;span class=&quot;code-quote&quot;&gt;&quot;server&quot;&lt;/span&gt;; \
        &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; \
                DEB_BUILD_PROFILES=&lt;span class=&quot;code-quote&quot;&gt;&quot;client&quot;&lt;/span&gt;; \
        fi; \
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; test &lt;span class=&quot;code-quote&quot;&gt;&quot;x@ENABLE_LDISKFS@&quot;&lt;/span&gt; = &lt;span class=&quot;code-quote&quot;&gt;&quot;xyes&quot;&lt;/span&gt;; then \
                export DEB_BUILD_PROFILES=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${DEB_BUILD_PROFILES} ldiskfs&quot;&lt;/span&gt;; \
        fi; \
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; test &lt;span class=&quot;code-quote&quot;&gt;&quot;x@ENABLE_ZFS@&quot;&lt;/span&gt; = &lt;span class=&quot;code-quote&quot;&gt;&quot;xyes&quot;&lt;/span&gt;; then \
                export DEB_BUILD_PROFILES=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${DEB_BUILD_PROFILES} zfs&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
        fi; \
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; test &lt;span class=&quot;code-quote&quot;&gt;&quot;x@ENABLEO2IB@&quot;&lt;/span&gt; != &lt;span class=&quot;code-quote&quot;&gt;&quot;xno&quot;&lt;/span&gt;; then \
                export DEB_BUILD_PROFILES=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${DEB_BUILD_PROFILES} o2ib&quot;&lt;/span&gt;; \
                export O2IB_SRC=&lt;span class=&quot;code-quote&quot;&gt;&quot;@O2IBPATH@&quot;&lt;/span&gt;; \
        fi; \
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; test &lt;span class=&quot;code-quote&quot;&gt;&quot;x@CONFIG_CACHE_FILE@&quot;&lt;/span&gt; != &lt;span class=&quot;code-quote&quot;&gt;&quot;x&quot;&lt;/span&gt;; then \
                export CONFIG_CACHE_FILE=&lt;span class=&quot;code-quote&quot;&gt;&quot;@CONFIG_CACHE_FILE@&quot;&lt;/span&gt;; \
        fi; \
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; test &lt;span class=&quot;code-quote&quot;&gt;&quot;x@ENABLE_GSS@&quot;&lt;/span&gt; = &lt;span class=&quot;code-quote&quot;&gt;&quot;xyes&quot;&lt;/span&gt;; then \
                export DEB_BUILD_PROFILES=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${DEB_BUILD_PROFILES} gss&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
                export DEB_BUILD_PROFILES=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${DEB_BUILD_PROFILES} nogss&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
		export DEB_BUILD_PROFILES=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${DEB_BUILD_PROFILES} crypto&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
		export DEB_BUILD_PROFILES=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${DEB_BUILD_PROFILES} nocrypto&quot;&lt;/span&gt;; \
                &amp;lt;~snip~&amp;gt;
		export DEB_BUILD_PROFILES=&lt;span class=&quot;code-quote&quot;&gt;&quot;$${DEB_BUILD_PROFILES} systemd&quot;&lt;/span&gt;; \
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The ENABLE_xxx variables are defined in config/&amp;#42;.m4 files by checking enable_xxx variables, which are defined while running user specified configure command before running &quot;make debs&quot;.&lt;/p&gt;</comment>
                            <comment id="364331" author="yujian" created="Tue, 28 Feb 2023 07:00:01 +0000"  >&lt;p&gt;As we can see, not all of the configure options are detected and passed to the configure command in debian/rules while running &quot;make debs&quot;.&lt;br/&gt;
I&apos;m trying to figure out which ones are needed to be added into lustre/autoconf/&amp;#42;.m4, config/&amp;#42;.m4, autoMakefile.am and debian/rules. &lt;/p&gt;</comment>
                            <comment id="367693" author="gerrit" created="Wed, 29 Mar 2023 08:28:19 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50464&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50464&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16517&quot; title=&quot;&amp;#39;make debs&amp;#39; ignores extra build options&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16517&quot;&gt;&lt;del&gt;LU-16517&lt;/del&gt;&lt;/a&gt; build: pass extra configure options to &quot;make debs&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: ea176510f349bebdcf754bb645e7be12617465e9&lt;/p&gt;</comment>
                            <comment id="373929" author="gerrit" created="Wed, 31 May 2023 06:43:18 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51178&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51178&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16517&quot; title=&quot;&amp;#39;make debs&amp;#39; ignores extra build options&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16517&quot;&gt;&lt;del&gt;LU-16517&lt;/del&gt;&lt;/a&gt; build: pass extra configure options to &quot;make debs&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 20f24f6238c4b2a0b4160ad6674ac8c61332f6e7&lt;/p&gt;</comment>
                            <comment id="374923" author="gerrit" created="Fri, 9 Jun 2023 05:25:29 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50464/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50464/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16517&quot; title=&quot;&amp;#39;make debs&amp;#39; ignores extra build options&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16517&quot;&gt;&lt;del&gt;LU-16517&lt;/del&gt;&lt;/a&gt; build: pass extra configure options to &quot;make debs&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3989529f22f5c54a98e445674b4b3cc443a3af5f&lt;/p&gt;</comment>
                            <comment id="374970" author="pjones" created="Fri, 9 Jun 2023 12:27:27 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="389927" author="gerrit" created="Thu, 19 Oct 2023 13:48:45 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51178/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51178/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16517&quot; title=&quot;&amp;#39;make debs&amp;#39; ignores extra build options&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16517&quot;&gt;&lt;del&gt;LU-16517&lt;/del&gt;&lt;/a&gt; build: pass extra configure options to &quot;make debs&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5abc979eb64d8a78888aea63c0cf7e285fa0a4dd&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i03bgf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>