Bug 250216

Summary: deskutils/gnome-contacts: Does not build, requires network access?
Product: Ports & Packages Reporter: Eirik Oeverby <ltning-freebsd>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: New ---    
Severity: Affects Some People CC: duchateau.olivier, tcberner
Priority: --- Flags: tcberner: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix Meson options none

Description Eirik Oeverby 2020-10-09 08:18:37 UTC
When building recent gnome-contacts on 13-CURRENT using poudriere, the build fails thus:

===>  Building for gnome-contacts-3.38
[1/50] /usr/local/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppr
ess 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 -o man/gnome-contacts.1 http://docbook.sourceforg
e.net/release/xsl/current/manpages/docbook.xsl ../man/gnome-contacts.xml
FAILED: man/gnome-contacts.1 
/usr/local/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 -
-stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 -o man/gnome-contacts.1 http://docbook.sourceforge.net/r
elease/xsl/current/manpages/docbook.xsl ../man/gnome-contacts.xml
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
Comment 1 Olivier Duchateau 2020-10-10 10:48:46 UTC
textproc/docbook-xsl-ns is missing in MANPAGES_BUILD_DEPENDS block.
Comment 2 Eirik Oeverby 2020-10-30 22:10:20 UTC
(In reply to Olivier Duchateau from comment #1)

Sorry, I don't understand what this means..?
Comment 3 Eirik Oeverby 2020-10-30 22:41:28 UTC
(In reply to Eirik Oeverby from comment #2)

Right. I suppose that might work.
However, build succeeds with manpages _ON_. If I tell it to build without manpages, it fails. So that option is somehow broken..?
Comment 4 commit-hook freebsd_committer 2020-10-31 07:18:16 UTC
A commit references this bug:

Author: tcberner
Date: Sat Oct 31 07:17:46 UTC 2020
New revision: 553736
URL: https://svnweb.freebsd.org/changeset/ports/553736

Log:
  deskutils/gnome-contacts: add missing dependency

  PR:		250216
  Submitted by:	Olivier Duchateau <duchateau.olivier@gmail.com>
  Reported by:	Eirik Oeverby <ltning-freebsd@anduin.net>

Changes:
  head/deskutils/gnome-contacts/Makefile
Comment 5 Tobias C. Berner freebsd_committer 2020-10-31 07:20:23 UTC
Moin moin 

The fix suggested by Oliver has been committed. Erik, could you check if it is now working for you?

mfg Tobias
Comment 6 Olivier Duchateau 2020-10-31 10:38:52 UTC
Created attachment 219233 [details]
Fix Meson options

Trivial patch, which fixes Meson options (manpages and Cheese).