Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jan 2021 10:06:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        xfce@FreeBSD.org
Subject:   [Bug 252355] sysutils/garcon: fail to build
Message-ID:  <bug-252355-28711-SQRSxfMf87@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252355-28711@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252355-28711@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252355

Guido Falsi <madpilot@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |In Progress

--- Comment #7 from Guido Falsi <madpilot@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 compi=
led
with a specific option, that is enabled by default.

ports don't have any method to enforce options of dependencies, and there a=
re a
few instances of ports which are going to break if it's dependencies have n=
on
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 accepta=
ble
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 y=
our
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252355-28711-SQRSxfMf87>