Bug 193117

Summary: x11-toolkits/vtkfox: doesn't build with FOX17
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Pietro Cerutti <gahr>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: amdmi3, miwi
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Dmitry Marakasov 2014-08-29 09:29:30 UTC
Doesn't build with FOX17:

---
In file included from /wrkdirs/usr/ports/x11-toolkits/vtkfox/work/gahr-vtkfox-378836c/src/FXVTKCanvas.cpp:9:
In file included from /wrkdirs/usr/ports/x11-toolkits/vtkfox/work/gahr-vtkfox-378836c/src/vtkFXRenderWindowInteractor.h:16:
In file included from /usr/local/include/vtk-5.10/vtkRenderWindowInteractor.h:45:
In file included from /usr/local/include/vtk-5.10/vtkObject.h:41:
In file included from /usr/local/include/vtk-5.10/vtkObjectBase.h:43:
In file included from /usr/local/include/vtk-5.10/vtkIndent.h:24:
In file included from /usr/local/include/vtk-5.10/vtkSystemIncludes.h:40:
In file included from /usr/local/include/vtk-5.10/vtkIOStream.h:35:
In file included from /usr/include/c++/v1/iostream:38:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
/usr/include/c++/v1/string:1619:47: error: use of undeclared identifier '__alignment'
                 __align<sizeof(value_type) < __alignment ?
                                              ^
/usr/include/c++/v1/string:1620:29: error: use of undeclared identifier '__alignment'
                            __alignment/sizeof(value_type) : 1 > (__s+1)) - 1;}
                            ^
/usr/include/c++/v1/string:2107:46: error: use of undeclared identifier '__alignment'
    size_type __cap = __old_cap < __ms / 2 - __alignment ?
                                             ^
/usr/include/c++/v1/string:2139:46: error: use of undeclared identifier '__alignment'
    size_type __cap = __old_cap < __ms / 2 - __alignment ?
                                             ^
---

Port maintainer (gahr@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.02 (mode: change, diff: SVN)
Comment 1 Pietro Cerutti freebsd_committer freebsd_triage 2014-09-02 07:21:20 UTC
I'm not sure it's related to FOX17. Please provide more info about your system and compiler.
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2014-09-04 00:27:50 UTC
This happens in poudriere on 10.0-RELEASE builds. 8, 9 and head are not affected.

http://people.freebsd.org/~amdmi3/vtkfox-10-amd64.log
http://people.freebsd.org/~amdmi3/vtkfox-10-i386.log

http://people.freebsd.org/~amdmi3/vtkfox-head-amd64.log

Probably clang/libc++ issue.
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2014-09-04 00:58:29 UTC
PS. This only happens with FOX17; with FOX16 all builds are fine.
Comment 4 Pietro Cerutti freebsd_committer freebsd_triage 2014-11-06 13:30:55 UTC
That's weird. I do have a 10.0 machine, I'll investigate.