[Bug 252355] sysutils/garcon: fail to build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 3 10:06:09 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252355
Guido Falsi <madpilot at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Open |In Progress
--- Comment #7 from Guido Falsi <madpilot at FreeBSD.org> ---
(In reply to rozhuk.im from comment #6)
Ok, I see the issue.
So garcon depends on a file that is installed only if another port is compiled
with a specific option, that is enabled by default.
ports don't have any method to enforce options of dependencies, and there are a
few instances of ports which are going to break if it's dependencies have non
standard options. Sometimes it's unavoidable.
If a software requires a specific feature from a dependency and you disable it
that software simply cannot work. Unluckily we don't have a feature to mark it
BROKEN conditionally on dependencies options either, so the outcome you see is
expected behaviour.
--- pedantic mode on
In general asking a user to just keep the default option enabled is acceptable
in the ports tree, and the expectation to be able to disable any option in any
port and not cause some other port to break is not supported
-- pedantic mode off
However it looks like garcon also grew an introspection option that can be
disabled, so adding a "GIR" option there is possible.
I garcon did not have such an option there would have been no solution to your
problem and the only way to prevent such an error would have been to simply
remove the GIR option and make it mandatory for all it's dependencies.
I'm going to test a patch making GIR optional for garcon too.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-xfce
mailing list