Bug 256146 - math/pspp does not build without GUI / X11
Summary: math/pspp does not build without GUI / X11
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-25 12:05 UTC by Miroslav Lachman
Modified: 2022-04-24 08:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Lachman 2021-05-25 12:05:38 UTC
We are using pspp on headless servers as CLI only but the newer version cannot be built in our poudriere where we have OPTIONS_UNSET= X11 GUI in make.conf

I tried to build PSPP with the following options (UNSET GUI)
_OPTIONS_READ=pspp-1.4.1
_FILE_COMPLETE_OPTIONS_LIST=DOCS EXAMPLES GUI NLS PGSQL
OPTIONS_FILE_UNSET+=DOCS
OPTIONS_FILE_SET+=EXAMPLES
OPTIONS_FILE_UNSET+=GUI
OPTIONS_FILE_SET+=NLS
OPTIONS_FILE_UNSET+=PGSQL

But it still pulls GTK / cairo as dependencies. And GTK cannot be built without X11 too as reported in PR 251855. It all make PSPP unbuildable / unusable in CLI. Previous versions were building fine for years.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2022-01-21 17:45:08 UTC
Did you need NLS?

Cairo and GTK are brought by devel/appstream-glib, which is a dependency for NLS.
Comment 2 Miroslav Lachman 2022-04-21 18:11:27 UTC
(In reply to Thierry Thomas from comment #1)
We don't need NLS. I disabled NLS, rebuild and can confirm PSPP no longer pulls GTK / cairo / X11 dependencies.

Thank you for your help!
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2022-04-24 08:20:08 UTC
(In reply to Miroslav Lachman from comment #2)
Thanks for your feedback!
Then I guess that we can close this PR.