Summary: | devel/libcutl: fails to build with boost 1.65 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
Component: | Individual Port(s) | Assignee: | Raphael Kubo da Costa <rakuco> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | Keywords: | needs-patch | ||||
Priority: | --- | Flags: | rakuco:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://github.com/boostorg/admin/issues/123 | ||||||
See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220718 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220719 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220723 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220724 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220725 |
||||||
Bug Depends on: | |||||||
Bug Blocks: | 220714 | ||||||
Attachments: |
|
Description
Jan Beich
2017-07-13 20:58:07 UTC
Sorry for See Also spam but the fixes for tr1/ headers disappearing are probably going to be same/similar. I'll take a look at this later today. Created attachment 184356 [details]
Proposed patch
Does this patch work for you? I tested it with the regular ports tree on HEAD-amd64 and 10.3-i386 by rm -fr'ing /usr/local/include/boost/tr1 and running make clean build.
Comment on attachment 184356 [details] Proposed patch > Does this patch work for you? Yes, it builds fine now: http://sprunge.us/QQEY A commit references this bug: Author: rakuco Date: Fri Jul 14 15:15:31 UTC 2017 New revision: 445764 URL: https://svnweb.freebsd.org/changeset/ports/445764 Log: Stop using boost's tr1 regex implementation. tr1 is gone in the upcoming Boost 1.65. Adjust the code by switching to C++11's <regex> header instead. There is similar code in upstream's git repository, but it is mixed with a lot of other changes that make it infeasible to backport them directly. PR: 220715 Reported by: jbeich Changes: head/devel/libcutl/Makefile head/devel/libcutl/files/ head/devel/libcutl/files/patch-configure head/devel/libcutl/files/patch-cutl_re_re.cxx Thanks for testing! Don't you need to add USES=compiler:c++11-lib when using C++11 headers? powerpc*, sparc64 and mips* are still using old GCC/libstdc++ in base. Ugh, I always forget these tier-2 architectures with ancient compilers :( A commit references this bug: Author: rakuco Date: Sat Jul 15 13:08:42 UTC 2017 New revision: 445873 URL: https://svnweb.freebsd.org/changeset/ports/445873 Log: Add USES=compiler:c++11-lib after r445764. While this doesn't change anything for tier-1 architectures, it makes the dependency on a modern compiler and standard library explicit for those platforms where GCC 4.2.1 is still the default. PR: 220715 Reported by: jbeich Changes: head/devel/libcutl/Makefile |