Re: git: ddacf99b4fc0 - main - shared-mime-info: use triggers
- In reply to: Baptiste Daroussin : "git: ddacf99b4fc0 - main - shared-mime-info: use triggers"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Nov 2021 13:42:37 UTC
Baptiste Daroussin wrote:
> The branch main has been updated by bapt:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=ddacf99b4fc010511a09e1af376d0fca7399e208
>
> commit ddacf99b4fc010511a09e1af376d0fca7399e208
> Author: Baptiste Daroussin <bapt@FreeBSD.org>
> AuthorDate: 2021-10-11 09:31:35 +0000
> Commit: Baptiste Daroussin <bapt@FreeBSD.org>
> CommitDate: 2021-10-20 09:11:08 +0000
>
> shared-mime-info: use triggers
>
> the rebuild of the database is now handled by a trigger and happen only
> once at the end of the transaction instead of after each package
> installation.
>
> While make shared-mime-info a runtime only dependency
>
> Reviewed by: manu, mat
> Differential Revision: https://reviews.freebsd.org/D32452
I've started noticing build failures that look like possibly related to
this change. Specifically, poudriere fails with:
=>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}):
./usr/local/share/mime/subclasses.new missing
./usr/local/share/mime/application/mxf.xml.new missing
./usr/local/share/mime/application/vnd.chess-pgn.xml.new missing
....
I also see in the log a bunch of messages like this:
Failed to rename /usr/local/share/mime/application/x-glade.xml.new as /usr/local/share/mime/application/x-glade.xml: No such file or directory
Failed to rename /usr/local/share/mime/audio/x-it.xml.new as /usr/local/share/mime/audio/x-it.xml: No such file or directory
This list of "failed to rename" files doesn't seem to intersect with
"files touched during stage".
Things get back to normal if I revert
ddacf99b4fc010511a09e1af376d0fca7399e208 (this commit).
Roman Bogorodskiy