Summary: | devel/jsoncpp now needs c++11 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Justin Hibbits <jhibbits> | ||||
Component: | Individual Port(s) | Assignee: | Yuri Victorovich <yuri> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | adridg, bug, chip.cuccio, linimon, tcberner, yuri | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Justin Hibbits
2017-12-30 04:24:41 UTC
Maintainer informed via mail devel/jsoncpp is a dependency of CMake. CMake uses compiler:c++11-lang -- which isn't relevant on Tier-1 architectures, but is on Tier-2 which don't have a base compiler that is C++11 compatible. Now it looks like that causes a cascade of sorts -- devel/jsoncpp is presumably compiled with base system's C++ compiler, and the C++11 compiler / linker doesn't like that. (In reply to Adriaan de Groot from comment #2) Your assessment is correct, and that's the case for quite a few ports that have some dependencies building with base g++ and others building with c++11 (ports) g++. Created attachment 189629 [details] devel/jsoncpp Makefile patch to use c++11 (In reply to Justin Hibbits from comment #0) Good catch! I patched my devel/jsoncpp/Makefile to use c++11, (re)built jsoncpp, and was able to successfully build devel/cmake 3.10.1 as a result. Thanks! Anyone? Presumably if this is only visible on tier2 ports, the patch shouldn't affect tier1 ports. Does it need an exprun? Added yuri@, maintainer, and tcberner@, mentor. I didn't get the e-mail from "Maintainer informed via mail". A commit references this bug: Author: yuri Date: Mon Feb 19 22:25:14 UTC 2018 New revision: 462353 URL: https://svnweb.freebsd.org/changeset/ports/462353 Log: devel/jsoncpp: USES=compiler:c++11-lang (for cmake-3.10.1, etc) Additional port changes: * Bumped PORTREVISION (binaries changed) * Updated MAINTAINER PR: 224720 Submitted by: jhibbits Approved by: tcberner (mentor, implicit) Changes: head/devel/jsoncpp/Makefile Committed, thanks! *** Bug 226123 has been marked as a duplicate of this bug. *** |