<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi,<br>
      <br>
          IMHO, it's not a bug of </font><span
      style="text-wrap:nowrap;"><span style="text-wrap:nowrap;">opencolorio,
        even is not a bug of Loongarch.<br>
        <br>
        In </span></span><span style="text-wrap:nowrap;"><span
        style="text-wrap:nowrap;">opencolorio debian/control, </span></span><code
      id="sourcecode" class="no-highlight"><span id="line6"
        class="codeline ">Build-Depends</span></code><span
      style="text-wrap:nowrap;"><span style="text-wrap:nowrap;">[1] </span></span><span
      style="text-wrap:nowrap;"><span style="text-wrap:nowrap;">already
        used:<br>
        <br>
      </span></span>
    <pre><code id="sourcecode" class="no-highlight"><span id="line16"
    class="codeline  highlight ">libopenimageio-dev (>= 2.3.9.0) <!pkg.opencolorio.noopenimageio>,</span></code></pre>
    <br>
    <pre><code id="sourcecode" class="no-highlight"><span id="line16"
    class="codeline  highlight "><!pkg.opencolorio.noopenimageio> is a </span></code>BuildProfileSpec "Registered profile names" <tt
    class="backtick">pkg.$sourcepackage.$anything</tt>[2]</pre>
    After I installed other <span style="text-wrap:nowrap;"><span
        style="text-wrap:nowrap;"> </span></span><code id="sourcecode"
      class="no-highlight"><span id="line6" class="codeline ">Build-Depends
        packages of </span></code><span style="text-wrap:nowrap;"><span
        style="text-wrap:nowrap;">opencolorio, then run:<br>
        <br>
      </span></span>dpkg-checkbuilddeps <br>
    dpkg-checkbuilddeps: error: Unmet build dependencies:
    libopenimageio-dev (>= 2.3.9.0)<br>
    <br>
    But after I export DEB_BUILD_PROFILES, dpkg-checkbuilddeps run
    success:<br>
    <br>
    export
    DEB_BUILD_PROFILES="pkg.opencolorio.noopenimageio";dpkg-checkbuilddeps
    <br>
    atzlinux@nlx:~/opencolorio$ echo $?<br>
    0<br>
    <br>
    So, my question is: <br>
    <br>
    Can dpkg-checkbuilddeps  read <br>
    <pre><code id="sourcecode" class="no-highlight"><span id="line16"
    class="codeline  highlight "></span></code>BuildProfileSpec "Registered profile names" <tt
    class="backtick">pkg.$sourcepackage.$anything

in debian/control </tt><code id="sourcecode" class="no-highlight"><span
    id="line6" class="codeline ">Build-Depends section?</span></code></pre>
    Perhaps, it's a bug of dpkg-checkbuilddeps.<br>
    <br>
    <br>
    [1]
<a class="moz-txt-link-freetext" href="https://sources.debian.org/src/opencolorio/2.1.3%2Bdfsg-1/debian/control/#L16">https://sources.debian.org/src/opencolorio/2.1.3%2Bdfsg-1/debian/control/#L16</a><br>
    [2]
    <a class="moz-txt-link-freetext" href="https://wiki.debian.org/BuildProfileSpec#Registered_profile_names">https://wiki.debian.org/BuildProfileSpec#Registered_profile_names</a><br>
    <br>
    <div class="moz-cite-prefix">在 2024/1/2 17:58, yalingfang 写道:<br>
    </div>
    <blockquote type="cite"
      cite="mid:917d3a15-673d-7041-2c4c-75bdec0d3743@loongson.cn">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <span style="text-wrap:nowrap;">Source:   <span
          style="text-wrap:nowrap;">opencolorio</span>       </span><br>
      <span style="text-wrap:nowrap;">Version:  <span
          style="text-wrap:nowrap;">2.1.3+dfsg-1</span>       </span><br>
      <span style="text-wrap:nowrap;">Severity: wishlist  </span><br>
      <span style="text-wrap:nowrap;">Tags: patch </span><br>
      <span style="text-wrap:nowrap;">User: <a
          class="moz-txt-link-abbreviated moz-txt-link-freetext"
          href="mailto:debian-loongarch@lists.debian.org"
          moz-do-not-send="true">debian-loongarch@lists.debian.org</a></span><br>
      <span style="text-wrap:nowrap;">Usertags: loong64</span><br>
      <span style="text-wrap:nowrap;"><br>
      </span><br>
      <span style="text-wrap:nowrap;">Dear Maintainer,</span><span
        style="text-wrap:nowrap;"><br>
      </span><br>
      <span style="text-wrap:nowrap;">     Currently when I built
        opencolorio in Loongarch env, I  found there is circle
        dependence between <span style="text-wrap:nowrap;">openimageio
          and opencolorio</span></span><br>
      <span style="text-wrap:nowrap;">The buildd link is following:</span><br>
      <p> <span style="text-wrap:nowrap;"><span
            style="text-wrap:nowrap;"><a class="moz-txt-link-freetext"
href="https://buildd.debian.org/status/package.php?p=opencolorio&suite=sid"
              moz-do-not-send="true">https://buildd.debian.org/status/package.php?p=opencolorio&suite=sid</a></span></span>
      </p>
      <p> <span style="text-wrap:nowrap;"><span
            style="text-wrap:nowrap;"><a class="moz-txt-link-freetext"
href="https://buildd.debian.org/status/package.php?p=openimageio&suite=sid"
              moz-do-not-send="true">https://buildd.debian.org/status/package.php?p=openimageio&suite=sid</a></span></span>
      </p>
      <p> <span style="text-wrap:nowrap;"><br>
        </span> </p>
      <p> <span style="text-wrap:nowrap;">But the initial version
          of opencolorio can build pass by using DEB_BUILD_PROFILE="<span
            style="text-wrap:nowrap;">pkg.opencolorio.noopenimageio</span>"
          when dpkg-buildpackage running.</span> </p>
      <p> <span style="text-wrap:nowrap;">and then we  can  use
          this first binary output to compile the openimageio to fix the
          circle dependence.</span> </p>
      <p> <span style="text-wrap:nowrap;">I have verified and passed
           in my local env. </span> </p>
      <p> Please help fix the issue for some other application waiting
        the opencolorio and openimageio binary. </p>
      <p> <span style="text-wrap:nowrap;">Any question, contact me!</span>
      </p>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
肖盛文 xiao sheng wen
<a class="moz-txt-link-freetext" href="https://www.atzlinux.com">https://www.atzlinux.com</a> 《铜豌豆 Linux》基于 Debian 的 Linux 中文 桌面 操作系统
Debian QA page: <a class="moz-txt-link-freetext" href="https://qa.debian.org/developer.php?login=atzlinux%40sina.com">https://qa.debian.org/developer.php?login=atzlinux%40sina.com</a>
Debian salsa: <a class="moz-txt-link-freetext" href="https://salsa.debian.org/atzlinux-guest">https://salsa.debian.org/atzlinux-guest</a>
GnuPG Public Key: 0x00186602339240CB</pre>
  </body>
</html>