pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Unable to build polkit

Em sex, 2018-05-11 às 11:33 +0800, escreveu:
Hello pkgsrc-users, I'm currently unable to build polkit (0.113 in 2018Q1 and 0.114 in current) on NetBSD 7.1.2 without adding the following to the Makefile: CONFIGURE_ARGS+= --disable-man-pages The build fails with: /opt/pkg/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /opt/pkg/share/gtk-doc/html/polkit-1/ --xinclude pages/docbook.xsl polkit.xml I/O error : Attempt to load network entity warning: failed to load external entity "" cannot parse Makefile:647: recipe for target 'polkit.8' failed At first, I thought it was due to a network timeout, however, I have no issues manually fetching the XSL file (e.g., with curl or firefox). I've attempted many times to build the package, and it always fails at this point. Does someone know of another solution to work around this issue? Is anyone else having the same problem? My mk.conf is rather uninteresting, I do have PKG_DEVELOPER=yes set. Thanks in advance, Travis
For me, I resolved it by fixing the xmlcatmgr/ with this patch.. in /usr/pkgsrc/textproc/xmlcatmgr ================================================================== --- /usr/pkgsrc/textproc/xmlcatmgr/ 2015-11-25 10:53:42.000000000 -0200 +++ ./ 2018-01-31 20:42:13.000000000 -0200 @@ -32,14 +32,14 @@ # Convert SGML_CATALOGS files into arguments for SGML_ENTRIES. .if !empty(SGML_CATALOGS) . for c in ${SGML_CATALOGS} -SGML_ENTRIES+= CATALOG ${PREFIX:=${c}} -- +SGML_ENTRIES+= CATALOG ${c} -- . endfor .endif # Convert XML_CATALOGS files into arguments for XML_ENTRIES. .if !empty(XML_CATALOGS) . for c in ${XML_CATALOGS} -XML_ENTRIES+= nextCatalog ${PREFIX:=${c}} -- +XML_ENTRIES+= nextCatalog ${c} -- . endfor .endif ============================================================= this is because the original builds the SGML_ENTRIES to /usr/pkg/pkg/.... instead of /usr/pkg... I have send this patch several times, but for some reason never got answer. Of course once this is fixed, the xslproc and friends must be reinstalled, once done, all the system could build the doc without going to the internet

Home | Main Index | Thread Index | Old Index