[R-pkg-team] Bug#1089197: Bug#961138: Bug#1089197: dh-r fails without an apt cache
Jochen Sprickerhof
jspricke at debian.org
Sat Aug 9 21:10:44 BST 2025
Control: severity -1 serious
Control: tags -1 ftbfs
Hi,
trixie is released so marking this RC. Please upload the fix from git.
Cheers Jochen
* Jochen Sprickerhof <jspricke at debian.org> [2025-06-01 18:08]:
>Hi,
>
>I plan to clean the apt cache by default for forky and implement that
>already in the trixie sbuild. This would make a number of R packages
>(via dh-r) and autodep8 FTBFS. For autodep8 there is an open MR linked
>already and for dh-r a fix has been committed in git:
>
>https://salsa.debian.org/r-pkg-team/dh-r/-/commit/144893ae70c2be8ce403b048b095aabaf6865fd8
>
>Please speak up if there is any problem with this plan. You can test
>the new behaviour with:
>
>sbuild --starting-build-commands='apt-get distclean' -d unstable <pkg>
>
>Note that you may still want to apply more fixes as outlined in my
>mail below.
>
>Cheers Jochen
>
>* Jochen Sprickerhof <jspricke at debian.org> [2025-03-02 08:36]:
>>Hi Andreas,
>>
>>* Andreas Tille <tille at debian.org> [2025-03-01 22:39]:
>>>if you can provide a patch / MR I'm fine to apply it but currently
>>>I have no more free spoons to work on this.
>>
>>The real question here is how to solve #1089197, i.e. how to encode
>>the package relationships without depending on the apt cache
>>(grep-aptavail or rmadison or anything else that is network
>>related). I have no experience with R packages so I would need some
>>input here. Possible ways I see are:
>>
>>1. Don't add relations automatically and let the maintainer do it.
>>
>>2. Always add all package names from the DISCRIPTION file to Suggest:
>> From my understanding this would need some mapping from the R
>>package name to the Debian package name and maybe a rename of the
>>Debian packages to simplify the mapping.
>>
>>3. Add the list of R package in Debian to dh-r and use it to convert
>>the package name. Note that this needs to be updated whenever a R
>>packages is added or removed in Debian. (This is what dh-python has,
>>afair).
>>
>>Cheers Jochen
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20250809/09254b08/attachment.sig>
More information about the R-pkg-team
mailing list