<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:58:30 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-6240] make install not honouring --prefix</title>
                <link>https://jira.whamcloud.com/browse/LU-6240</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Using git master, I&apos;m trying to configure/compile/install with different options in order to compare the end result, as a way to learn more about Lustre.&lt;/p&gt;

&lt;p&gt;I ran:&lt;br/&gt;
1) sh ./autogen.sh&lt;br/&gt;
2) ./configure --disable-modules --prefix=/home/tureba/lustre-bin&lt;br/&gt;
3) make&lt;br/&gt;
4) make install&lt;/p&gt;

&lt;p&gt;The last step showed install errors as make tried files to install to places outside the prefix I informed. The output of &quot;make -ks&quot; is attached.&lt;/p&gt;

&lt;p&gt;According to ./configure --help, those files should be installed somewhere under the provided prefix.&lt;/p&gt;</description>
                <environment>automake 1.15, autoconf 2.69, make 4.1, gcc 4.9.2, linux 3.19.0</environment>
        <key id="28688">LU-6240</key>
            <summary>make install not honouring --prefix</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="4">Incomplete</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="tureba">Arthur Filipe Martins Nascimento</reporter>
                        <labels>
                            <label>configure</label>
                            <label>install</label>
                            <label>make</label>
                            <label>prefix</label>
                    </labels>
                <created>Thu, 12 Feb 2015 20:00:25 +0000</created>
                <updated>Wed, 13 Oct 2021 01:44:08 +0000</updated>
                            <resolved>Wed, 13 Oct 2021 01:44:08 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="106852" author="simmonsja" created="Thu, 12 Feb 2015 20:06:46 +0000"  >&lt;p&gt;mkfs.lustre is hardcoded to /sbin and you will have problems with the /etc files as they are hard coded too. I recommend you look at &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3958&quot; title=&quot;Reevaluate method for installing rpms in different root&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3958&quot;&gt;&lt;del&gt;LU-3958&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="106865" author="tureba" created="Thu, 12 Feb 2015 20:50:34 +0000"  >&lt;p&gt;I see. The not-yet-relocatable is enough justification for the files to be in exactly these places at run time, but not necessarily for them to be put there on build time. Specially in systems in which package managers are responsible for the actual run time installations, having install scripts messing with the build machine&apos;s root is really not ideal.&lt;/p&gt;

&lt;p&gt;So if I provide a small patch so that &quot;make install&quot; will honour the prefix, it won&apos;t solve the other issue&apos;s main problem, but it will make the build more self-contained, which is an advantage so I don&apos;t have to build it inside a nspawn anymore and other people won&apos;t need a dedicated build machine either.&lt;/p&gt;

&lt;p&gt;Would that be acceptable? It would solve all my problems and would be a step forward for the build system. The hardcodes never prevented anyone from shooting their own foot by trying to use rpm --root anyway, so I don&apos;t see why keep the behaviour.&lt;/p&gt;</comment>
                            <comment id="123874" author="adilger" created="Tue, 11 Aug 2015 18:07:02 +0000"  >&lt;p&gt;Arthur, we&apos;d be happy for you to submit a patch to improve the build system. Please see &lt;a href=&quot;https://wiki.hpdd.intel.com/display/PUB/Submitting+Changes&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.hpdd.intel.com/display/PUB/Submitting+Changes&lt;/a&gt; for more details. &lt;/p&gt;</comment>
                            <comment id="315363" author="adilger" created="Wed, 13 Oct 2021 01:44:08 +0000"  >&lt;p&gt;Can be reopened when patch is available.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="20969">LU-3953</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="16989" name="lustre-make-install-no-honor-prefix.log" size="16563" author="tureba" created="Thu, 12 Feb 2015 20:00:25 +0000"/>
                    </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|hzx69z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>17480</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>