Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2017 03:18:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224156] www/hiawatha: Build fails with XSLT support disabled
Message-ID:  <bug-224156-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224156

            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@FreeBSD.org
          Reporter: ross@exitzero.uk
                CC: portmaster@bsdforge.com
                CC: portmaster@bsdforge.com
             Flags: maintainer-feedback?(portmaster@bsdforge.com)

Created attachment 188605
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D188605&action=
=3Dedit
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 X=
SLT
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 b=
uild
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.=20
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 c=
all
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 libra=
ry
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?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224156-13>