[MacPorts] #42744: gtkspell2 fails to build "failed to load network entity"
#42744: gtkspell2 fails to build "failed to load network entity" --------------------------------+-------------------------------- Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: network entity xml | Port: gtkspell2 --------------------------------+-------------------------------- This is very similar to https://trac.macports.org/ticket/27412 however that ticket was closed as invalid, so I thought I'd open a new one. I know nothing about gtkspell2 or docbook or xml, but I just want to install inkscape. The install fails at gtkspell2, even after uninstalling & cleaning gtkspell2. I have attached the main.log. -- Ticket URL: <https://trac.macports.org/ticket/42744> MacPorts <http://www.macports.org/> Ports system for OS X
#42744: gtkspell2 fails to build "failed to load network entity" ------------------------+-------------------------------- Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gtkspell2 | ------------------------+-------------------------------- Changes (by macsforever2000@…): * keywords: network entity xml => -- Ticket URL: <https://trac.macports.org/ticket/42744#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42744: gtkspell2 fails to build "failed to load network entity" ------------------------+-------------------------------- Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gtkspell2 | ------------------------+-------------------------------- Description changed by ryandesign@…: Old description:
This is very similar to https://trac.macports.org/ticket/27412 however that ticket was closed as invalid, so I thought I'd open a new one.
I know nothing about gtkspell2 or docbook or xml, but I just want to install inkscape. The install fails at gtkspell2, even after uninstalling & cleaning gtkspell2. I have attached the main.log.
New description: This is very similar to #27412 however that ticket was closed as invalid, so I thought I'd open a new one. I know nothing about gtkspell2 or docbook or xml, but I just want to install inkscape. The install fails at gtkspell2, even after uninstalling & cleaning gtkspell2. I have attached the main.log. -- -- Ticket URL: <https://trac.macports.org/ticket/42744#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42744: gtkspell2 fails to build "failed to load network entity" ------------------------+-------------------------------- Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gtkspell2 | ------------------------+-------------------------------- Comment (by ryandesign@…): The log says "`I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl`". Maybe there is or was a network problem. Are you able to access that URL now, e.g. in a web browser? If so, try installing the port again. -- Ticket URL: <https://trac.macports.org/ticket/42744#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42744: gtkspell2 fails to build "failed to load network entity" ------------------------+-------------------------------- Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gtkspell2 | ------------------------+-------------------------------- Comment (by jfcaron@…): Replying to [comment:3 ryandesign@…]:
The log says "`I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl`". Maybe there is or was a network problem. Are you able to access that URL now, e.g. in a web browser? If so, try installing the port again.
Yes, I can access that file in a browser (it's a pretty short xml-looking file if you ignore the comments), but the build still fails with that error message. The other very-similar bug report claims that build phases should never try to access the network, so it's weird that it's even trying to look for files on the internet after the archives/distfiles phases. -- Ticket URL: <https://trac.macports.org/ticket/42744#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42744: gtkspell2 fails to build "failed to load network entity" ------------------------+-------------------------------- Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gtkspell2 | ------------------------+-------------------------------- Comment (by devans@…): I think the problem is a missing dependency on libxslt (for xsltproc). This is usually a symptom that it is using /usr/bin/xsltproc rather than ${prefix)/bin/xsltproc. The former doesn't know where to find the desired entity. Dependency added in r117649. -- Ticket URL: <https://trac.macports.org/ticket/42744#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42744: gtkspell2 fails to build "failed to load network entity" ------------------------+-------------------------------- Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gtkspell2 | ------------------------+-------------------------------- Comment (by jfcaron@…): I already had the libxslt port installed as a dependency of p11-kit (for wine) and wine itself. I now see it added as a dependency of gtkspell2, but of course the error remains since nothing changed except the portfile. I think maybe gtkspell2 is not /seeing/ the port-installed version? Maybe it's hard-coded to use /usr/bin/xsltproc? Either that or it's not related to xstlproc at all. -- Ticket URL: <https://trac.macports.org/ticket/42744#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42744: gtkspell2 fails to build "failed to load network entity" ------------------------+-------------------------------- Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gtkspell2 | ------------------------+-------------------------------- Comment (by axc27@…): Replying to [comment:7 jfcaron@…]:
I already had the libxslt port installed as a dependency of p11-kit (for wine) and wine itself. I now see it added as a dependency of gtkspell2, but of course the error remains since nothing changed except the portfile.
I think maybe gtkspell2 is not /seeing/ the port-installed version? Maybe it's hard-coded to use /usr/bin/xsltproc? Either that or it's not related to xstlproc at all.
I have (had) the same problem and can confirm it is due to the version of xsltproc being used. First, I wasn't able to build/install gtkspell2. After checking and changing: {{{ Daniels-MacBook-4:~ $ which xsltproc /opt/local/bin/xsltproc Daniels-MacBook-4:~ $ cd /usr/bin/ Daniels-MacBook-4:bin danielkasemann$ ll xsltproc -rwxr-xr-x 1 root wheel 66960 28 Okt 22:05 xsltproc* Daniels-MacBook-4:bin $ sudo mv xsltproc xsltproc_ Daniels-MacBook-4:bin $ sudo ln -s /opt/local/bin/xsltproc /usr/bin/xsltproc }}} gtkspell2 installed just fine (I switched back to the original version of xsltproc after building gtkspell2). Even though the right one is in the path, ports uses the one from /usr/bin/xsltproc. Hence it seems to be hardcoded somewhere... -- Ticket URL: <https://trac.macports.org/ticket/42744#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#42744: gtkspell2 fails to build "failed to load network entity" ------------------------+-------------------------------- Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gtkspell2 | ------------------------+-------------------------------- Comment (by codie.codemonkey@…): Replying to [comment:8 axc27@…]: I've also had this problem and can confirm axc27's work around. -- Ticket URL: <https://trac.macports.org/ticket/42744#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#42744: gtkspell2 fails to build "failed to load network entity" ------------------------+-------------------------------- Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gtkspell2 | ------------------------+-------------------------------- Comment (by stephen@…): Replying to [comment:8 axc27@…]:
{{{ Daniels-MacBook-4:~ $ which xsltproc /opt/local/bin/xsltproc Daniels-MacBook-4:~ $ cd /usr/bin/ Daniels-MacBook-4:bin $ ll xsltproc -rwxr-xr-x 1 root wheel 66960 28 Okt 22:05 xsltproc* Daniels-MacBook-4:bin $ sudo mv xsltproc xsltproc_ Daniels-MacBook-4:bin $ sudo ln -s /opt/local/bin/xsltproc /usr/bin/xsltproc }}}
gtkspell2 installed just fine (I switched back to the original version of xsltproc after building gtkspell2). Even though the right one is in the path, ports uses the one from /usr/bin/xsltproc. Hence it seems to be hardcoded somewhere...
Works for me, thank you! grep -r xsltproc in the patched build directory comes up with nothing for me. I suspect the hardcoding is earlier, perhaps in docbook or in an Apple-supplied utility. -- Ticket URL: <https://trac.macports.org/ticket/42744#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#42744: gtkspell2 fails to build "failed to load network entity" ------------------------+---------------------- Reporter: jfcaron@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gtkspell2 | ------------------------+---------------------- Changes (by devans@…): * status: new => assigned * owner: macports-tickets@… => devans@… Comment: Looks like the root problem is a hard coded reference to /usr/bin/xsltproc in utility gtkdoc-mkhtml provided by gtk-doc. {{{ if $is_xml; then #echo /usr/bin/xsltproc $path_arg --nonet --xinclude \ # --stringparam gtkdoc.bookname $module \ # --stringparam gtkdoc.version "1.20" \ # "$@" $gtkdocdir/gtk-doc.xsl $document /usr/bin/xsltproc $path_arg --nonet --xinclude \ --stringparam gtkdoc.bookname $module \ --stringparam gtkdoc.version "1.20" \ --stringparam chunk.quietly $quiet \ --stringparam chunker.output.quiet $quiet \ "$@" $gtkdocdir/gtk-doc.xsl $document || exit $? else /opt/local/bin/openjade $path_arg -t sgml-raw -w no-idref -d $gtkdocdir/gtk-doc.dsl \ -V "gtkdoc-bookname=$module" -V "gtkdoc-version=1.20" \ "$@" $gtkdocdir/gtk-doc.dcl $document || exit $? fi }}} -- Ticket URL: <https://trac.macports.org/ticket/42744#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#42744: gtkspell2 fails to build "failed to load network entity" ------------------------+---------------------- Reporter: jfcaron@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: gtkspell2 | ------------------------+---------------------- Changes (by devans@…): * status: assigned => closed * resolution: => fixed Comment: Fixed (in gtkdoc) in r119776. -- Ticket URL: <https://trac.macports.org/ticket/42744#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts