ports/144457: system-config-printer does not compile due to invalid dtd

Ryan Reynolds reynolds.ryan.a at gmail.com
Thu Mar 4 05:00:11 UTC 2010


>Number:         144457
>Category:       ports
>Synopsis:       system-config-printer does not compile due to invalid dtd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 04 05:00:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Reynolds
>Release:        8.0-REL amd64
>Organization:
>Environment:
8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0  Wed Mar  3 04:40:49 UTC 2010
/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Installation issues while installing x11/kde4 from ports.

Missing dependency. xmlto-0.0.23 will not compile until docbook-xml is installed.

DTD docbookx.dtd no longer validates since docbook-xml was upgraded to 4.2 from 4.1. It needs to be changed to reflect current version.

Hopefully this is all, compiling.
>How-To-Repeat:
Install kde4.

cd /usr/ports/x11/kde4 && make install clean
>Fix:
Depend issue:
cd /usr/ports/textproc/docbook-xml && make install clean

DTD issue:
In patch, change dtd to reflect current version. It's my first patch so I'm sorry if there's some complication with it. Just trying to help community.

Ultimately DTD statement needs to be changed in /work/system-config-printer-1.0.16/man/system-config-printer.xml

! <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
!  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">

to current version

! <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
!  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">


Patch attached with submission follows:

*** ../system-config-printer.xml	Thu Mar  4 04:04:21 2010
--- system-config-printer.xml	Thu Mar  4 04:05:04 2010
***************
*** 1,8 ****
  <?xml version='1.0'?> <!-- -*- xml -*- -->
! <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
!  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
  <book>
    <bookinfo>
      <title>system-config-printer</title>
      <author>
        <firstname>Tim</firstname>
--- 1,8 ----
  <?xml version='1.0'?> <!-- -*- xml -*- -->
! <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
!  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
  <book>
    <bookinfo>
      <title>system-config-printer</title>
      <author>
        <firstname>Tim</firstname>


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list