Hi,

unfortunately, it seems to be a little more complicated than just adding apt as 
build dependency. See the IRC log from #debian-reproducible

13:26 <jochensp> rinni: huh, adding apt does not seem to be enough, 
investigating
13:28 <rinni> jochensp: Oh, OK, I'll wait ... one probably also needs something 
apt-cache can look at ;-)
13:28 <jochensp> heh, that's probably it
13:28 <jochensp> but that is not really reproducible
13:29 <jochensp> as in, we would need to reproduce the apt repo stated from the 
time the package was compiled, I guess dh-r needs to find a different way there
13:33 <jochensp> well, we could add a snapshot.d.o URL based on the date in the 
build info but not sure that's a nice way
13:36 <rinni> Yeah, seems difficult (and my Perl skills a close to zero) ... 
dh-r needs to map CRAN package names to Debian package names somehow and drops 
suggested packages not in Debian. Not sure how to do that without knowing what's in 
the apt repo at the given time :-/
13:36 <jochensp> dh-python carries a list for that
13:37 <rinni> huh, how often is dh-python updated, with every new python 
package?
13:38 <jochensp> you can add overrides in a package in case it is outdated
13:38 <jochensp> not saying it is the best way just one example I know
13:39 <rinni> ah, yes, I remember now
13:39 <jochensp> 
https://salsa.debian.org/python-team/tools/dh-python/-/blob/master/pydist/cpython3_fallback?ref_type=heads
13:40 <jochensp> there is no need for the suggested packages to be in Debian, 
btw
13:40 <jochensp> so maybe just add all of them and done
13:43 <rinni> true, but not nice and not so easy as there is not only CRAN but 
also BIOC and 'other' as possible package sources which results in different Debian 
package names r-cran- vs. r-bioc-
13:45 <jochensp> huh, how is the list used in the R world? Simply check all 
providers?
13:45 <rinni> see 
https://salsa.debian.org/rinni/dh-r/-/blob/master/dh/R.pm?ref_type=heads#L79-L113
13:45 <rinni> a package is either CRAN, BIOC or other
13:46 <jochensp> .oO(maybe that part should be dropped from the package name)

Best,
Philip

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to