Bug 245586

Summary: graphics/openorienteering-mapper: configure error due to missing optional packages for clang in poudriere
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed Overcome By Events    
Severity: Affects Many People CC: brooks, koobs, sikmir
Priority: --- Keywords: needs-qa
Version: LatestFlags: sikmir: maintainer-feedback+
koobs: maintainer-feedback? (brooks)
Hardware: Any   
OS: Any   

Description O. Hartmann 2020-04-13 05:02:29 UTC
Environment:

Host is a recent CURRENT, JAIL is recent 12-STABLE, ports tree is up to date. Port graphics/openorienteering-mapper fails configuring due to seemingly missing packages, see below. 


[...]
-- The following OPTIONAL packages have not been found:

 * ClangTidy (required version >= 8)
 * IWYU (required version >= 0.12)

-- CMAKE_CXX_FLAGS: -O2 -pipe -fstack-protector-strong -fno-strict-aliasing
-- CMAKE_CXX_FLAGS_RELEASE: -O2 -pipe -fstack-protector-strong -fno-strict-aliasing
-- CMAKE_C_FLAGS: -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing
-- CMAKE_C_FLAGS_RELEASE: -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing
-- Configuring incomplete, errors occurred!
See also "/wrkdirs/usr/ports/graphics/openorienteering-mapper/work/.build/CMakeFiles/CMakeOutput.log".
*** Error code 1


[... ENVIRONMENT ...]

=>> Building graphics/openorienteering-mapper
build started at Mon Apr 13 01:34:50 UTC 2020
port directory: /usr/ports/graphics/openorienteering-mapper
package name: openorienteering-mapper-0.9.2
building for: FreeBSD hostname.grdr 12.1-STABLE FreeBSD 12.1-STABLE 1201512 amd64
maintained by: sikmir@gmail.com
Makefile ident:      $FreeBSD: head/graphics/openorienteering-mapper/Makefile 530687 2020-04-04 16:01:57Z tcberner $
Poudriere version: 3.3.4
Host OSVERSION: 1300088
Jail OSVERSION: 1201512
Job Id: 04

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1201512
UNAME_v=FreeBSD 12.1-STABLE 1201512
UNAME_r=12.1-STABLE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.4
MAKEOBJDIRPREFIX=/pool/sources/12-STABLE/obj/
MASTERMNT=/pool/poudriere/data/.m/12-amd64-head-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/pool/poudriere/data/.m/12-amd64-head-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=12-amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/pool/poudriere/data/.m/12-amd64-head-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for openorienteering-mapper-0.9.2:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     GDAL=on: Use the GDAL library
     NLS=on: Native Language Support
     POSITIONING=on: GPS positioning
     TEST=off: Build and/or run tests
     TIFF=on: Support for TIFF
===> Use 'make config' to modify these settings
---End OPTIONS List---
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2020-04-13 07:44:03 UTC
IWYU (include what you use) is available in the devel/include-what-you-use port. What is the CMake check to find IWYU?

Can you attach the full CMakeOutput.log file, compressed if necessary please
Comment 2 Nikolay Korotkiy 2020-09-24 18:38:35 UTC
Can't reproduce on 12.1. IWYU is not needed for build.
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2021-03-17 20:24:04 UTC
Confirmed that it build fine. I've also fixed it on 13+.