[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-portland-bugs
Subject:    [Portland-bugs] [Bug 101616] New: Please add check for xmlto in xdg utils
From:       bugzilla-daemon () freedesktop ! org
Date:       2017-06-28 3:15:17
Message-ID: bug-101616-6947 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

--14986197180.00bd1bB1.26044
Date: Wed, 28 Jun 2017 03:15:18 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated

https://bugs.freedesktop.org/show_bug.cgi?id=101616

            Bug ID: 101616
           Summary: Please add check for xmlto in xdg utils
           Product: Portland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
          Assignee: portland-bugs@lists.freedesktop.org
          Reporter: cynthia.m.rempel@gmail.com

Ran

./configure --prefix=/home/rfirstaid/xdg-utils/install
make

Got
make[1]: Entering directory '/home/rfirstaid/xdg-utils/scripts'
(cd html;/usr/bin/xmlto html-nochunks ../desc/xdg-desktop-menu.xml)
/bin/sh: 1: /usr/bin/xmlto: not found
Makefile:111: recipe for target 'html/xdg-desktop-menu.html' failed
make[1]: *** [html/xdg-desktop-menu.html] Error 127
make[1]: Leaving directory '/home/rfirstaid/xdg-utils/scripts'
Makefile:25: recipe for target 'scripts' failed
make: *** [scripts] Error 2

Please add check to configure.ac like:

# Check for xmlto (for html documentation, needed only for development)
AC_CHECK_PROGS([XMLTO], [$XMLTO xmlto], [:])
if test "$XMLTO" = ":"; then
  AC_MSG_WARN([xmlto not found, html documentation will not be rebuilt.])
fi

Then only build html target if there is xmlto...

Thanks!
Cindy

-- 
You are receiving this mail because:
You are the assignee for the bug.
--14986197180.00bd1bB1.26044
Date: Wed, 28 Jun 2017 03:15:18 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated

<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Please add check for xmlto in xdg utils"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101616">101616</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Please add check for xmlto in xdg utils
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Portland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>xdg-utils
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>portland-bugs&#64;lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>cynthia.m.rempel&#64;gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Ran

./configure --prefix=/home/rfirstaid/xdg-utils/install
make

Got
make[1]: Entering directory '/home/rfirstaid/xdg-utils/scripts'
(cd html;/usr/bin/xmlto html-nochunks ../desc/xdg-desktop-menu.xml)
/bin/sh: 1: /usr/bin/xmlto: not found
Makefile:111: recipe for target 'html/xdg-desktop-menu.html' failed
make[1]: *** [html/xdg-desktop-menu.html] Error 127
make[1]: Leaving directory '/home/rfirstaid/xdg-utils/scripts'
Makefile:25: recipe for target 'scripts' failed
make: *** [scripts] Error 2

Please add check to configure.ac like:

# Check for xmlto (for html documentation, needed only for development)
AC_CHECK_PROGS([XMLTO], [$XMLTO xmlto], [:])
if test &quot;$XMLTO&quot; = &quot;:&quot;; then
  AC_MSG_WARN([xmlto not found, html documentation will not be rebuilt.])
fi

Then only build html target if there is xmlto...

Thanks!
Cindy</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>
--14986197180.00bd1bB1.26044--

[Attachment #3 (text/plain)]

_______________________________________________
Portland-bugs mailing list
Portland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/portland-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic