<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:03:20 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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[INTPAK-10] Fix &quot;nothing provides mono 2.0.0.0&quot; error for ODL-infra built RPMs</title>
                <link>https://jira.opendaylight.org/browse/INTPAK-10</link>
                <project id="10190" key="INTPAK">integration-packaging</project>
                    <description>&lt;p&gt;Some RPM installs fails with:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Error: nothing provides mono(System) = 2.0.0.0 needed by opendaylight-8.0.0-0.1.20170901snap214.el7.noarch&lt;br/&gt;
(try to add &apos;--allowerasing&apos; to command line to replace conflicting packages)&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This only seems to happen for RPMs built on ODL infra, not RPMs built on the CentOS Community Build System. There is suspicious looking RPM repo-add configuration in the Packer build logic for the VM we use when building RPMs.&lt;/p&gt;

&lt;p&gt;RelEng/Builder&apos;s Packer config for the java-builder VM (`packer/provision/java-builder.sh`):&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;
# Needed &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; vsemprovider build in vtn project to enable C# compilation.
rpm --&lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&quot;http:&lt;span class=&quot;code-comment&quot;&gt;//keyserver.ubuntu.com/pks/lookup?op=get&amp;amp;search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF&quot;&lt;/span&gt;
&lt;/span&gt;# Add the mono tools repository
yum-config-manager -y --add-repo http:&lt;span class=&quot;code-comment&quot;&gt;//download.mono-project.com/repo/centos/
&lt;/span&gt;# Install the mono toolchain and nuget
yum -y install mono-complete nuget
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Need to create a test to verify if a package has this dep issue or not. Then likely need to build in a mock env to isolate RPM build from underlying system better.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://trello.com/c/ftWr5IKw/602-do-rpm-builds-in-mock-to-avoid-unwanted-deps-nothing-provides-mono-2000-error&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Imported from Trello&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="28654">INTPAK-10</key>
            <summary>Fix &quot;nothing provides mono 2.0.0.0&quot; error for ODL-infra built RPMs</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <status id="6" iconUrl="https://jira.opendaylight.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="dfarrell07">Daniel Farrell</assignee>
                                    <reporter username="dfarrell07">Daniel Farrell</reporter>
                        <labels>
                    </labels>
                <created>Tue, 31 Oct 2017 18:54:28 +0000</created>
                <updated>Mon, 15 Jan 2018 20:33:37 +0000</updated>
                            <resolved>Tue, 5 Dec 2017 17:42:25 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="60311" author="dfarrell07" created="Fri, 1 Dec 2017 20:50:22 +0000"  >&lt;p&gt;PoC fix, but not really good long-term as it&apos;s a blacklist that needs to be maintained. Still need to test but the various issues marked as blocking this make it difficult.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/66165/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/66165/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Related docs:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60331" author="dfarrell07" created="Tue, 5 Dec 2017 05:54:58 +0000"  >&lt;p&gt;This sandbox run shows the proposed test pass with the proposed fix, whereas it fails before the proposed fix.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/sandbox/jenkins091/packaging-build-rpm-oxygen/16/console.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/sandbox/jenkins091/packaging-build-rpm-oxygen/16/console.log.gz&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="28744">INTPAK-46</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28934">INTPAK-107</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03707:</customfieldvalue>

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