<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:04:48 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-204] building e2fsprogs on rhel6 : $BUILDROOT/e2fsprogs-1.41.90.wc1-0redhat.x86_64/usr/lib64/libcom_err.a&apos;; reason: Permission denied</title>
                <link>https://jira.whamcloud.com/browse/LU-204</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When trying to build e2fsprogs on rhel6/x86_64 the rpm build fails with:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;+ /usr/lib/rpm/redhat/brp-strip-&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt;-archive /usr/bin/strip
/usr/bin/strip: unable to copy file &lt;span class=&quot;code-quote&quot;&gt;&apos;/&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/e2fsprogs-master/arch/x86_64/distro/el6/_topdir/BUILDROOT/e2fsprogs-1.41.90.wc1-0redhat.x86_64/usr/lib64/libcom_err.a&apos;&lt;/span&gt;; reason: Permission denied
/usr/bin/strip: unable to copy file &lt;span class=&quot;code-quote&quot;&gt;&apos;/&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/e2fsprogs-master/arch/x86_64/distro/el6/_topdir/BUILDROOT/e2fsprogs-1.41.90.wc1-0redhat.x86_64/usr/lib64/libext2fs.a&apos;&lt;/span&gt;; reason: Permission denied
/usr/bin/strip: unable to copy file &lt;span class=&quot;code-quote&quot;&gt;&apos;/&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/e2fsprogs-master/arch/x86_64/distro/el6/_topdir/BUILDROOT/e2fsprogs-1.41.90.wc1-0redhat.x86_64/usr/lib64/libss.a&apos;&lt;/span&gt;; reason: Permission denied
/usr/bin/strip: unable to copy file &lt;span class=&quot;code-quote&quot;&gt;&apos;/&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/e2fsprogs-master/arch/x86_64/distro/el6/_topdir/BUILDROOT/e2fsprogs-1.41.90.wc1-0redhat.x86_64/usr/lib64/libuuid.a&apos;&lt;/span&gt;; reason: Permission denied
/usr/bin/strip: unable to copy file &lt;span class=&quot;code-quote&quot;&gt;&apos;/&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/e2fsprogs-master/arch/x86_64/distro/el6/_topdir/BUILDROOT/e2fsprogs-1.41.90.wc1-0redhat.x86_64/usr/lib64/libe2p.a&apos;&lt;/span&gt;; reason: Permission denied
/usr/bin/strip: unable to copy file &lt;span class=&quot;code-quote&quot;&gt;&apos;/&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt;/lib/jenkins/workspace/e2fsprogs-master/arch/x86_64/distro/el6/_topdir/BUILDROOT/e2fsprogs-1.41.90.wc1-0redhat.x86_64/usr/lib64/libblkid.a&apos;&lt;/span&gt;; reason: Permission denied
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;in %install.  Looking at the files in that directory:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;total 3080
-rwxr-xr-x 1 jenkins jenkins   10008 Apr  8 13:32 e2initrd_helper
-r--r--r-- 1 jenkins jenkins  315942 Apr  8 13:32 libblkid.a
lrwxrwxrwx 1 jenkins jenkins      20 Apr  8 13:32 libblkid.so -&amp;gt; /lib64/libblkid.so.1
-r--r--r-- 1 jenkins jenkins   48488 Apr  8 13:32 libcom_err.a
lrwxrwxrwx 1 jenkins jenkins      22 Apr  8 13:32 libcom_err.so -&amp;gt; /lib64/libcom_err.so.2
-r--r--r-- 1 jenkins jenkins  258568 Apr  8 13:32 libe2p.a
lrwxrwxrwx 1 jenkins jenkins      18 Apr  8 13:32 libe2p.so -&amp;gt; /lib64/libe2p.so.2
-r--r--r-- 1 jenkins jenkins 2205314 Apr  8 13:32 libext2fs.a
lrwxrwxrwx 1 jenkins jenkins      21 Apr  8 13:32 libext2fs.so -&amp;gt; /lib64/libext2fs.so.2
-r--r--r-- 1 jenkins jenkins  185240 Apr  8 13:32 libss.a
lrwxrwxrwx 1 jenkins jenkins      17 Apr  8 13:32 libss.so -&amp;gt; /lib64/libss.so.2
-r--r--r-- 1 jenkins jenkins  106908 Apr  8 13:32 libuuid.a
lrwxrwxrwx 1 jenkins jenkins      19 Apr  8 13:32 libuuid.so -&amp;gt; /lib64/libuuid.so.1
drwxr-xr-x 2 jenkins jenkins    4096 Apr  8 13:32 pkgconfig
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We can see that this is likely due to the lack of write permissions on the file.  IMHO, /usr/lib/rpm/redhat/brp-strip-static-archive should deal with that, temporarily adding write permission or using a temporary file.  I suppose seeing how e2fsprogs is packaged natively on rhel6 might be educational in resolving this issue in our own packaging.&lt;/p&gt;</description>
                <environment>rhel6</environment>
        <key id="10574">LU-204</key>
            <summary>building e2fsprogs on rhel6 : $BUILDROOT/e2fsprogs-1.41.90.wc1-0redhat.x86_64/usr/lib64/libcom_err.a&apos;; reason: Permission denied</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="3">Duplicate</resolution>
                                        <assignee username="brian">Brian Murrell</assignee>
                                    <reporter username="brian">Brian Murrell</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Apr 2011 14:14:54 +0000</created>
                <updated>Thu, 9 Feb 2012 08:39:07 +0000</updated>
                            <resolved>Thu, 28 Apr 2011 18:24:55 +0000</resolved>
                                    <version>Lustre 2.1.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                            <comments>
                            <comment id="12751" author="mjmac" created="Fri, 8 Apr 2011 15:44:16 +0000"  >&lt;p&gt;We really should be using the vendor packaging methodology for such a critical piece of the system.  Our packages should be drop-in replacements for the vendor packages.  If we need to maintain separate .spec files for each platform, then that is probably the lesser evil compared to trying to write some wickedly complex common specfile that sort-of works across the various rhel/sles flavors.&lt;/p&gt;</comment>
                            <comment id="12754" author="brian" created="Sat, 9 Apr 2011 04:47:46 +0000"  >&lt;p&gt;Mike, I completely agree, which is why I laid the groundwork for this to happen and even provided an example of how that groundwork can be used by doing the work for one of the SLESes (10 or 11, I don&apos;t recall).  Unfortunately since then, nobody who has been maintaining e2fsprogs has taken the ball and did the same for our other supported distros.&lt;/p&gt;

&lt;p&gt;It&apos;s too bad at the time I did that work that our itch was SLES and not RHEL or we&apos;d have at least RHEL using vendor building.&lt;/p&gt;

&lt;p&gt;All of this &quot;not using the vendor spec&quot; is what is leading to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-113&quot; title=&quot;Dependency issues with RHEL installation - lustre-ldiskfs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-113&quot;&gt;&lt;del&gt;LU-113&lt;/del&gt;&lt;/a&gt; also.&lt;/p&gt;</comment>
                            <comment id="13455" author="adilger" created="Thu, 28 Apr 2011 18:24:55 +0000"  >&lt;p&gt;I believe this is a duplicate of LU-133.  Once we no longer try to build/install the &quot;split&quot; libraries of e2fsprogs (now packaged as part of util-linuxNG) this problem should disappear.&lt;/p&gt;</comment>
                            <comment id="28275" author="brian" created="Thu, 9 Feb 2012 08:39:07 +0000"  >&lt;blockquote&gt;
&lt;p&gt;I believe this is a duplicate of LU-133&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I can&apos;t seem to find an LU-133.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzw1fz:</customfieldvalue>

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