Bug 243680 - net/liferea: Re-enable headless build
Summary: net/liferea: Re-enable headless build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Christoph Moench-Tegeder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-28 20:38 UTC by v1ne2go
Modified: 2020-01-29 22:11 UTC (History)
2 users (show)

See Also:
tobik: maintainer-feedback? (kwm)


Attachments
Patch to make it build again (697 bytes, patch)
2020-01-28 20:38 UTC, v1ne2go
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description v1ne2go 2020-01-28 20:38:46 UTC
Created attachment 211141 [details]
Patch to make it build again

At the moment, net/liferea hangs during the build because WebKit tries to connect to an X server/Wayland/Broadway. During the build, there is no graphical environment. Instead of failing, WebKit just waits. Setting the environment variable WEBKIT_DISABLE_COMPOSITING_MODE=1 makes WebKit initialize without any graphics environment. The port build successfully with this setting.

Quick fix found here: https://github.com/lwindolf/liferea/issues/767
Comment 1 Tobias Kortkamp freebsd_committer 2020-01-28 20:43:33 UTC
Seems like a potentially better solution than bug #243677 ;-)
Comment 2 commit-hook freebsd_committer 2020-01-29 21:53:30 UTC
A commit references this bug:

Author: cmt
Date: Wed Jan 29 21:53:16 UTC 2020
New revision: 524609
URL: https://svnweb.freebsd.org/changeset/ports/524609

Log:
  net/liferea: unbreak build

  liferea tries to initialize it's graphics backend even when being run
  for gobject introspection only - and that causes webkit to crash or
  hang when there is no X server or similar available (e.g. during package
  build in poudriere). This environment variable makes webkit survive
  the package build.

  PR:		243680
  Submitted by:	v1ne2go
  Approved by:	portmgr blanket (trivial and tested build fix)

Changes:
  head/net/liferea/Makefile
Comment 3 Christoph Moench-Tegeder freebsd_committer 2020-01-29 21:57:13 UTC
If only I had known that there was such an simple solution...

committed as ports r524609 - thank you very much.
Comment 4 Jan Beich freebsd_committer 2020-01-29 22:11:29 UTC
Do you plan to MFH to 2020Q1?