Bug 229906 - mail/thunderbird-i18n: Insane sanity check
Summary: mail/thunderbird-i18n: Insane sanity check
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-20 16:46 UTC by Stefan Eßer
Modified: 2019-03-29 20:43 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (gecko)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Eßer freebsd_committer freebsd_triage 2018-07-20 16:46:46 UTC
The sanity check in the thunderbird-i18n port breaks upgrades with portmaster, since distfiles are fetched before the port build starts. 

Specifically, if both thunderbird and thunderbird-i18n are to be upgraded, then make checksum will be performed in the background, while the old thunderbird version is still installed.

This results to an error, which can easily be reproduced with "make check-sanity" in mail/thunderbird-i18n, while an outdated thunderbird package is installed:

# make check-sanity
===>  thunderbird-i18n-60.0 cannot install: thunderbird versions mismatch:
thunderbird-52 is installed and wanted version is thunderbird-.
*** Error code 1

This sanity check is valid when the i18n port is going to be built, but it prevents fetching of the distfiles for version 60 while version 52 is still in use.

I did not find a way to perform "make fetch checksum" (which implies "make check-sanity") in this case. (Is there some parameter, e.g. NO_SANITY, which prevents these checks, if I know they'll be later performed before the port is extracted?)

Since I did not check whether other ports are affected in similar ways, I do not know whether this should rather be a defect against the ports framework ...

A secondary defect is the incomplete error message: "wanted version is thunderbird-.", but I'd rather get rid of the error abort and do not care too much about that particular message.
Comment 1 Jan Beich freebsd_committer freebsd_triage 2019-03-29 20:43:22 UTC
thunderbird-i18n is gone after ports r497194 and USES=gecko is gone after ports r497195.