[Bug 224156] www/hiawatha: Build fails with XSLT support disabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 7 03:18:04 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224156

            Bug ID: 224156
           Summary: www/hiawatha: Build fails with XSLT support disabled
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: ross at exitzero.uk
                CC: portmaster at bsdforge.com
                CC: portmaster at bsdforge.com
             Flags: maintainer-feedback?(portmaster at bsdforge.com)

Created attachment 188605
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=188605&action=edit
Poudriere testport logs for working and failing builds of www/hiawatha

www/hiawatha builds with default options but fails to build if XSLT support is
disabled whilst TLS support is enabled.

The build error relates to a missing header for the mbed TLS library
(previously known as PolarSSL).  I believe that this is because disabling XSLT
support means that the include "-I/usr/local/include", where the mbed TLS
headers reside, is not present in the compiler arguments.

I've attached poudriere testport logs for both builds.  In the successful build
the compiler includes are "-I. -I/usr/local/include/libxml2
-I/usr/local/include".  In the failed build they are "-I .".

I'm not especially familiar with cmake or Ninja, used in the port build. 
However, looking at CMakeLists.txt, I see on line 120 that there is a call to
"include_directories()" for the XML and XSLT libraries.  There is no such call
for the mbed TLS library when USE_SYSTEM_MBEDTLS is set, though as per line
117, there is a call to include_directories() if the bundled mbed TLS library
is being used.  I suspect that the build may only be successful since the
mbedtls directory happens to be in the same place as the libxslt library.
Perhaps someone more familiar with cmake may be able to comment?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list