Summary: | editors/libreoffice: Fails to package with GTK3 enabled | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | dal36 |
Component: | Individual Port(s) | Assignee: | FreeBSD Office Team <office> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | lwhsu, w.schwarzenfeld |
Priority: | --- | Keywords: | needs-qa |
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(office) |
Hardware: | Any | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240064 |
Description
dal36
2019-08-24 12:19:02 UTC
Should have noted: $ freebsd-version 12.0-RELEASE-p10 I can build libreoffice-6.3.0 in a poudriere 12.0 amd64 jail with following options: ===> The following configuration options are available for libreoffice-6.3.0: CUPS=on: CUPS printing system support DOCS=on: Build and/or install documentation GNOME=off: GNOME desktop environment support GTK2=off: GTK+ 2 GUI toolkit support GTK3=on: GTK+ 3 GUI toolkit support (experimental) JAVA=on: Add Java support (XML filters, macros, DB connections) KDE5=off: KF5/Qt5 GUI toolkit support (require QT5) MMEDIA=on: Enable multimedia backend for Impress PGSQL=off: Build with PostgreSQL-SDBC driver QT5=off: Qt5 GUI toolkit support SDK=off: Build with SDK SYSTRAY=off: Enable systemtray quickstarter TEST=off: Run all regression tests WEBDAV=off: Enable WebDAV protocol ===> Use 'make config' to modify these settings ports tree revision: r509768 Can you update the tree and check all the dependency refreshed? I've tried this again with a make.conf which is empty apart from assigning the GTK2/GTK3/JAVA options listed below for editors/libreoffice (using _SET/_UNSET). When building editors/libreoffice and dependencies from scratch with this make.conf, the port build works as expected. The make.conf that produced the error also assigns DEFAULT_VERSIONS for various languages/tools and assigns various options with _SET/_UNSET, including dependencies of editors/libreoffice. Only ports-related options are set in the make.conf (no complier flags, etc.). Using this longer make.conf and an updated ports tree, I still get the same error when building editors/libreoffice. I'm currently investigating this further to try to determine something closer to a minimal make.conf that reproduces the issue. Given the observations above, it seems that the issue might be due to using a particular combination of ports options when building the ports that editors/libreoffice depends upon. Thanks, and did you test with 6.3.1? I also tried enabling GTK3 before updating it, but note that there are some UI issues with GTK3. The investigations that I've performed so far were just with 6.3.0. I'm rebuilding the rest of the repo at the moment, so will try libreoffice again with the full make.conf once that's done. If I'm seeing the same issue as before, I'll carry on trying to get some more specific info on which options (on other ports) are causing the problem. Using a ports tree downloaded at 20:26 on 11-Sep, the following make.conf was sufficient to replicate the error that I was seeing originally: OPTIONS_UNSET += AVAHI editors_libreoffice_SET += GTK3 JAVA editors_libreoffice_UNSET += GTK2 As a comparison point, I also tried (recursively) rebuilding editors/libreoffice with GTK3 off and GTK2 on (using the same ports tree version) - this completed successfully. This should be fixed with updating to 6.4.4, although GTK3 UI still has issues. |