Page MenuHomeFreeBSD

CONFLICTS_INSTALL: check later for conflicts
ClosedPublic

Authored by bapt on Aug 26 2022, 8:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 15 2024, 6:29 PM
Unknown Object (File)
Dec 21 2023, 10:32 PM
Unknown Object (File)
Dec 20 2023, 7:58 AM
Unknown Object (File)
Dec 4 2023, 4:10 PM
Unknown Object (File)
Dec 4 2023, 3:54 PM
Unknown Object (File)
Dec 2 2023, 2:29 AM
Unknown Object (File)
Nov 9 2023, 8:48 PM
Unknown Object (File)
Nov 8 2023, 12:18 AM
Subscribers

Details

Summary

Until now, the check of the CONFLICTS_INSTALL was done during the sanity
check, meaning very early in the package building process.

this makes it painful in 2 cases:

  1. a port depend at build time on the extraction of this port, it will print its warning message along with the default timer, while we will never reach the said conflict at all.
  2. since the ports tree has been staged, one can even go up to create a valid package even if a locally conflicting package is locally installed.

This change make the check and print of the conflicts only happen during the
install phase, the same way the ports tree checks if a previous version is
already installed.

PR: 213890

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable