<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:11:10 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-7700] autoreconf does not work</title>
                <link>https://jira.whamcloud.com/browse/LU-7700</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Lets say you have a clean checkout of Lustre&apos;s master branch, and you do the following:&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;$ sh autogen.sh
$ ./configure
$ &amp;lt;edit lustre/autoconf/lustre-version.ac and increment the LUSTRE_PATCH number&amp;gt;
$ make
 cd . &amp;amp;&amp;amp; /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
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;NOTE: My first guess was wrong, read the comments below for more details.&lt;/p&gt;</description>
                <environment></environment>
        <key id="34262">LU-7700</key>
            <summary>autoreconf does not work</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="morrone">Christopher Morrone</assignee>
                                    <reporter username="morrone">Christopher Morrone</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Fri, 22 Jan 2016 21:32:33 +0000</created>
                <updated>Wed, 21 Mar 2018 16:39:08 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="139791" author="morrone" created="Fri, 22 Jan 2016 22:17:01 +0000"  >&lt;p&gt;I think my guess was incorrect.&lt;/p&gt;

&lt;p&gt;It looks like autotools are trying to refresh the files using autoreconf.  If I run autoreconf with verbosity enabled I see:&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;$ autoreconf --verbose
autoreconf: Entering directory `.&apos;
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not running libtoolize: --install not given
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --no-force
autoMakefile.am:122: error: SERVER does not appear in AM_CONDITIONAL
autoreconf: automake failed with exit status: 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So now I suspect this is an issue left over from the days when we had multiple CVS repositories kludged together into one Frankenstein build.  The problem is that we are hiding some linkage in the autogen.sh, and not expressing it in a way that the autotools will remember.&lt;/p&gt;

&lt;p&gt;In particular, in autogen.sh we add multiple include paths on aclocal&apos;s command line in autogen.sh (&quot;aclocal -I $pw/config $ACLOCAL_FLAGS&quot;) but those don&apos;t seem to be known by autoconf later on.  I can get exactly the same error if I run the autogen.sh commands leaving out only the includes:&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;$ libtoolize -q
$ aclocal
$ autoheader
$ automake -a -c
configure.ac:12: installing &apos;config/config.guess&apos;
configure.ac:12: installing &apos;config/config.sub&apos;
configure.ac:14: installing &apos;config/install-sh&apos;
configure.ac:14: installing &apos;config/missing&apos;
autoMakefile.am:122: error: SERVER does not appear in AM_CONDITIONAL
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So I think the we need to figure out if/how we can express those includes to the autotools more correctly.&lt;/p&gt;</comment>
                            <comment id="139792" author="morrone" created="Fri, 22 Jan 2016 22:17:02 +0000"  >&lt;p&gt;I think my guess was incorrect.&lt;/p&gt;

&lt;p&gt;It looks like autotools are trying to refresh the files using autoreconf.  If I run autoreconf with verbosity enabled I see:&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;$ autoreconf --verbose
autoreconf: Entering directory `.&apos;
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not running libtoolize: --install not given
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --no-force
autoMakefile.am:122: error: SERVER does not appear in AM_CONDITIONAL
autoreconf: automake failed with exit status: 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So now I suspect this is an issue left over from the days when we had multiple CVS repositories kludged together into one Frankenstein build.  The problem is that we are hiding some linkage in the autogen.sh, and not expressing it in a way that the autotools will remember.&lt;/p&gt;

&lt;p&gt;In particular, in autogen.sh we add multiple include paths on aclocal&apos;s command line in autogen.sh (&quot;aclocal -I $pw/config $ACLOCAL_FLAGS&quot;) but those don&apos;t seem to be known by autoconf later on.  I can get exactly the same error if I run the autogen.sh commands leaving out only the includes:&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;$ libtoolize -q
$ aclocal
$ autoheader
$ automake -a -c
configure.ac:12: installing &apos;config/config.guess&apos;
configure.ac:12: installing &apos;config/config.sub&apos;
configure.ac:14: installing &apos;config/install-sh&apos;
configure.ac:14: installing &apos;config/missing&apos;
autoMakefile.am:122: error: SERVER does not appear in AM_CONDITIONAL
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So I think the we need to figure out if/how we can express those includes to the autotools more correctly.&lt;/p&gt;</comment>
                            <comment id="139797" author="gerrit" created="Fri, 22 Jan 2016 22:48:00 +0000"  >&lt;p&gt;Christopher J. Morrone (morrone2@llnl.gov) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/18099&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/18099&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7700&quot; title=&quot;autoreconf does not work&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7700&quot;&gt;LU-7700&lt;/a&gt; build: Fix autoreconf by using AC_CONFIG_MACRO_DIRS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 22edb82ebf71099cc73764a91f967d2f997e23db&lt;/p&gt;</comment>
                            <comment id="139798" author="morrone" created="Fri, 22 Jan 2016 22:48:16 +0000"  >&lt;p&gt;I think I figured out the solution, but it might only work with automake 1.13 and newer.  We should be using AC_CONFIG_MACRO_DIRS.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="20969">LU-3953</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 11 Apr 2016 21:32:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxz6n:</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>
                                                                                                                        <customfield id="customfield_10493" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 22 Jan 2016 21:32:33 +0000</customfieldvalue>

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