[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Make ocaml-best-compilers non-virtual



Johannes Schauer:
> Hi,
> 
> Quoting Ximin Luo (2016-10-31 08:35:00)
>> I think we might have to make ocaml-best-compilers a real package, so that we
>> can have versioned Build-Depends: rules on it. 
>>
>> Currently the ocamlbuild in experimental is using ocaml 4.02.3 from sid. I
>> need to force it to compile against ocaml 4.03.0 instead so that it generates
>> 4.03.0-versioned .cmi files, otherwise the camlp4 build fails (and others
>>   will too).
>>
>> However, if I simply add "ocaml-best-compilers (>= 4.03.0)" into
>> Build-Depends I still get an error like:
>>
>> dpkg-checkbuilddeps: error: Unmet build dependencies: ocaml-best-compilers (>= 4.03.0)
>>
>> so it looks like we can't do this for virtual packages. (Yes, I do have
>> 4.03.0 installed For Sure Totally).
> 
> yes, see policy §7.5:
> 
> "If a relationship field has a version number attached, only real packages will
> be considered to see whether the relationship is satisfied"
> 

OK cool, thanks for the pointer.

So, no objections if I go and upload 4.03.0 again with a new "ocaml-best-compilers" real package?

Depends: ocaml-native-compilers [amd64 arm64 armel armhf hurd-i386 i386 kfreebsd-i386 kfreebsd-amd64 lpia powerpc ppc64 ppc64el sparc s390x] | ocaml-interp [!all of the previous]

Something like this, I think.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git


Reply to: