From owner-freebsd-ports-bugs@freebsd.org Thu Dec 7 03:18:04 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCC98E99EB7 for ; Thu, 7 Dec 2017 03:18:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 99C9672A81 for ; Thu, 7 Dec 2017 03:18:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB73I4lv073275 for ; Thu, 7 Dec 2017 03:18:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 224156] www/hiawatha: Build fails with XSLT support disabled Date: Thu, 07 Dec 2017 03:18:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ross@exitzero.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2017 03:18:04 -0000 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.=