Bug#1059837: opencolorio: Please help fix circle dependence in Loongarch between openimageio and opencolorio

xiao sheng wen (=?UTF-8?Q?=E8=82=96=E7=9B=9B=E6=96=87?=) atzlinux at sina.com
Fri Jan 5 01:27:29 GMT 2024


Hi,

     IMHO, it's not a bug of opencolorio, even is not a bug of Loongarch.

In opencolorio debian/control, |Build-Depends|[1] already used:

|libopenimageio-dev (>= 2.3.9.0) <!pkg.opencolorio.noopenimageio>,|


|<!pkg.opencolorio.noopenimageio> is a |BuildProfileSpec "Registered profile names"pkg.$sourcepackage.$anything[2]

After I installed other |Build-Depends packages of |opencolorio, then run:

dpkg-checkbuilddeps
dpkg-checkbuilddeps: error: Unmet build dependencies: libopenimageio-dev 
(>= 2.3.9.0)

But after I export DEB_BUILD_PROFILES, dpkg-checkbuilddeps run success:

export 
DEB_BUILD_PROFILES="pkg.opencolorio.noopenimageio";dpkg-checkbuilddeps
atzlinux at nlx:~/opencolorio$ echo $?
0

So, my question is:

Can dpkg-checkbuilddeps  read

||BuildProfileSpec "Registered profile names"pkg.$sourcepackage.$anything in debian/control |Build-Depends section?|

Perhaps, it's a bug of dpkg-checkbuilddeps.


[1] 
https://sources.debian.org/src/opencolorio/2.1.3%2Bdfsg-1/debian/control/#L16
[2] https://wiki.debian.org/BuildProfileSpec#Registered_profile_names

在 2024/1/2 17:58, yalingfang 写道:
> Source: opencolorio
> Version: 2.1.3+dfsg-1
> Severity: wishlist
> Tags: patch
> User: debian-loongarch at lists.debian.org
> Usertags: loong64
>
>
> Dear Maintainer,
>
>      Currently when I built opencolorio in Loongarch env, I  
> found there is circle dependence between openimageio and opencolorio
> The buildd link is following:
>
> https://buildd.debian.org/status/package.php?p=opencolorio&suite=sid
>
> https://buildd.debian.org/status/package.php?p=openimageio&suite=sid
>
>
> But the initial version of opencolorio can build pass by using 
> DEB_BUILD_PROFILE="pkg.opencolorio.noopenimageio" when 
> dpkg-buildpackage running.
>
> and then we  can  use this first binary output to compile 
> the openimageio to fix the circle dependence.
>
> I have verified and passed  in my local env.
>
> Please help fix the issue for some other application waiting the 
> opencolorio and openimageio binary.
>
> Any question, contact me!
>

-- 
肖盛文 xiao sheng wen
https://www.atzlinux.com  《铜豌豆 Linux》基于 Debian 的 Linux 中文 桌面 操作系统
Debian QA page:https://qa.debian.org/developer.php?login=atzlinux%40sina.com
Debian salsa:https://salsa.debian.org/atzlinux-guest
GnuPG Public Key: 0x00186602339240CB

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-phototools-devel/attachments/20240105/62e38ba4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-phototools-devel/attachments/20240105/62e38ba4/attachment.sig>


More information about the Pkg-phototools-devel mailing list