Build #3 for yoga-0.0.0.4

[all reports]

Package yoga-0.0.0.4
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-10-10 07:24:00.613049128 UTC
Compiler ghc-8.4.3
OS linux
Arch x86_64
Dependencies base-4.11.1.0, bindings-DSL-1.0.25, ieee754-0.8.0
Flags -examples

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring bindings-DSL-1.0.25...
Configuring ieee754-0.8.0...
Building ieee754-0.8.0...
Building bindings-DSL-1.0.25...
Installed bindings-DSL-1.0.25
Installed ieee754-0.8.0
Configuring yoga-0.0.0.4...
Building yoga-0.0.0.4...
Failed to install yoga-0.0.0.4
Build log ( /home/builder/.cabal/logs/ghc-8.4.3/yoga-0.0.0.4-hoPfRpMFoxFfAXos0VpjL.log ):
cabal: Entering directory '/tmp/cabal-tmp-20764/yoga-0.0.0.4'
Configuring yoga-0.0.0.4...
Preprocessing library for yoga-0.0.0.4..
Building library for yoga-0.0.0.4..
[1 of 3] Compiling Bindings.Yoga    ( dist/build/Bindings/Yoga.hs, dist/build/Bindings/Yoga.o )
[2 of 3] Compiling Bindings.Yoga.Enums ( dist/build/Bindings/Yoga/Enums.hs, dist/build/Bindings/Yoga/Enums.o )
[3 of 3] Compiling Yoga             ( lib/Yoga.hs, dist/build/Yoga.o )
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ [enabled by default]

In file included from /usr/include/c++/4.8/array:35:0: error:
    0,
                     from yoga/Yoga-internal.h:10,
                     from yoga/YGConfig.h:9,
                     from yoga/YGNode.h:10,
                     from yoga/Utils.h:9,
                     from yoga/Utils.cpp:8:

/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error:
     error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
     #error This file requires compiler and library support for the \
      ^
   |
32 | #error This file requires compiler and library support for the \
   |  ^

In file included from yoga/Yoga-internal.h:13:0: error:
    0,
                     from yoga/YGConfig.h:9,
                     from yoga/YGNode.h:10,
                     from yoga/Utils.h:9,
                     from yoga/Utils.cpp:8:

yoga/Yoga.h:456:10: error:
     error: ‘std::function’ has not been declared
         std::function<void(YGNodeRef node)>&& f);
              ^
    |
456 |     std::function<void(YGNodeRef node)>&& f);
    |          ^

yoga/Yoga.h:456:18: error:
     error: expected ‘,’ or ‘...’ before ‘<’ token
         std::function<void(YGNodeRef node)>&& f);
                      ^
    |
456 |     std::function<void(YGNodeRef node)>&& f);
    |                  ^

In file included from yoga/YGConfig.h:9:0: error:
    0,
                     from yoga/YGNode.h:10,
                     from yoga/Utils.h:9,
                     from yoga/Utils.cpp:8:

yoga/Yoga-internal.h:15:7: error:
     error: expected nested-name-specifier before ‘YGVector’
     using YGVector = std::vector<YGNodeRef>;
           ^
   |
15 | using YGVector = std::vector<YGNodeRef>;
   |       ^

yoga/Yoga-internal.h:15:7: error:
     error: ‘YGVector’ has not been declared
   |
15 | using YGVector = std::vector<YGNodeRef>;
   |       ^

yoga/Yoga-internal.h:15:16: error:
     error: expected ‘;’ before ‘=’ token
     using YGVector = std::vector<YGNodeRef>;
                    ^
   |
15 | using YGVector = std::vector<YGNodeRef>;
   |                ^

yoga/Yoga-internal.h:15:16: error:
     error: expected unqualified-id before ‘=’ token
   |
15 | using YGVector = std::vector<YGNodeRef>;
   |                ^

yoga/Yoga-internal.h:47:14: error:
     error: ‘array’ in namespace ‘std’ does not name a type
     extern const std::array<YGEdge, 4> trailing;
                  ^
   |
47 | extern const std::array<YGEdge, 4> trailing;
   |              ^

yoga/Yoga-internal.h:48:14: error:
     error: ‘array’ in namespace ‘std’ does not name a type
     extern const std::array<YGEdge, 4> leading;
                  ^
   |
48 | extern const std::array<YGEdge, 4> leading;
   |              ^

yoga/Yoga-internal.h:56:11: error:
     error: ‘array’ in namespace ‘std’ does not name a type
         const std::array<YGValue, size> val1,
               ^
   |
56 |     const std::array<YGValue, size> val1,
   |           ^

yoga/Yoga-internal.h:56:16: error:
     error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
         const std::array<YGValue, size> val1,
                    ^
   |
56 |     const std::array<YGValue, size> val1,
   |                ^

yoga/Yoga-internal.h:56:21: error:
     error: expected ‘,’ or ‘...’ before ‘<’ token
         const std::array<YGValue, size> val1,
                         ^
   |
56 |     const std::array<YGValue, size> val1,
   |                     ^
yoga/Yoga-internal.h: In function ‘bool YGValueArrayEqual(int)’:

yoga/Yoga-internal.h:60:29: error:
     error: ‘val1’ was not declared in this scope
         areEqual = YGValueEqual(val1[i], val2[i]);
                                 ^
   |
60 |     areEqual = YGValueEqual(val1[i], val2[i]);
   |                             ^

yoga/Yoga-internal.h:60:38: error:
     error: ‘val2’ was not declared in this scope
         areEqual = YGValueEqual(val1[i], val2[i]);
                                          ^
   |
60 |     areEqual = YGValueEqual(val1[i], val2[i]);
   |                                      ^
yoga/Yoga-internal.h: At global scope:

yoga/Yoga-internal.h:118:11: error:
     error: ‘array’ in namespace ‘std’ does not name a type
         const std::array<YGValue, YGEdgeCount>& edges,
               ^
    |
118 |     const std::array<YGValue, YGEdgeCount>& edges,
    |           ^

yoga/Yoga-internal.h:118:16: error:
     error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
         const std::array<YGValue, YGEdgeCount>& edges,
                    ^
    |
118 |     const std::array<YGValue, YGEdgeCount>& edges,
    |                ^

yoga/Yoga-internal.h:118:21: error:
     error: expected ‘,’ or ‘...’ before ‘<’ token
         const std::array<YGValue, YGEdgeCount>& edges,
                         ^
    |
118 |     const std::array<YGValue, YGEdgeCount>& edges,
    |                     ^

In file included from yoga/YGNode.h:10:0: error:
    0,
                     from yoga/Utils.h:9,
                     from yoga/Utils.cpp:8:

yoga/YGConfig.h:13:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<bool, YGExperimentalFeatureCount> experimentalFeatures;
       ^
   |
13 |   std::array<bool, YGExperimentalFeatureCount> experimentalFeatures;
   |   ^

In file included from yoga/YGNode.h:11:0: error:
    0,
                     from yoga/Utils.h:9,
                     from yoga/Utils.cpp:8:

yoga/YGLayout.h:13:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<float, 4> position;
       ^
   |
13 |   std::array<float, 4> position;
   |   ^

yoga/YGLayout.h:14:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<float, 2> dimensions;
       ^
   |
14 |   std::array<float, 2> dimensions;
   |   ^

yoga/YGLayout.h:15:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<float, 6> margin;
       ^
   |
15 |   std::array<float, 6> margin;
   |   ^

yoga/YGLayout.h:16:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<float, 6> border;
       ^
   |
16 |   std::array<float, 6> border;
   |   ^

yoga/YGLayout.h:17:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<float, 6> padding;
       ^
   |
17 |   std::array<float, 6> padding;
   |   ^

yoga/YGLayout.h:30:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<YGCachedMeasurement, YG_MAX_CACHED_RESULT_COUNT>
       ^
   |
30 |   std::array<YGCachedMeasurement, YG_MAX_CACHED_RESULT_COUNT>
   |   ^

yoga/YGLayout.h:32:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<float, 2> measuredDimensions;
       ^
   |
32 |   std::array<float, 2> measuredDimensions;
   |   ^

In file included from yoga/YGNode.h:12:0: error:
    0,
                     from yoga/Utils.h:9,
                     from yoga/Utils.cpp:8:

yoga/YGStyle.h:14:9: error:
     error: expected nested-name-specifier before ‘Dimensions’
       using Dimensions = std::array<YGValue, 2>;
             ^
   |
14 |   using Dimensions = std::array<YGValue, 2>;
   |         ^

yoga/YGStyle.h:14:9: error:
     error: using-declaration for non-member at class scope
   |
14 |   using Dimensions = std::array<YGValue, 2>;
   |         ^

yoga/YGStyle.h:14:20: error:
     error: expected ‘;’ before ‘=’ token
       using Dimensions = std::array<YGValue, 2>;
                        ^
   |
14 |   using Dimensions = std::array<YGValue, 2>;
   |                    ^

yoga/YGStyle.h:14:20: error:
     error: expected unqualified-id before ‘=’ token
   |
14 |   using Dimensions = std::array<YGValue, 2>;
   |                    ^

yoga/YGStyle.h:30:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<YGValue, YGEdgeCount> margin;
       ^
   |
30 |   std::array<YGValue, YGEdgeCount> margin;
   |   ^

yoga/YGStyle.h:31:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<YGValue, YGEdgeCount> position;
       ^
   |
31 |   std::array<YGValue, YGEdgeCount> position;
   |   ^

yoga/YGStyle.h:32:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<YGValue, YGEdgeCount> padding;
       ^
   |
32 |   std::array<YGValue, YGEdgeCount> padding;
   |   ^

yoga/YGStyle.h:33:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<YGValue, YGEdgeCount> border;
       ^
   |
33 |   std::array<YGValue, YGEdgeCount> border;
   |   ^

yoga/YGStyle.h:34:3: error:
     error: ‘Dimensions’ does not name a type
       Dimensions dimensions;
       ^
   |
34 |   Dimensions dimensions;
   |   ^

yoga/YGStyle.h:35:3: error:
     error: ‘Dimensions’ does not name a type
       Dimensions minDimensions;
       ^
   |
35 |   Dimensions minDimensions;
   |   ^

yoga/YGStyle.h:36:3: error:
     error: ‘Dimensions’ does not name a type
       Dimensions maxDimensions;
       ^
   |
36 |   Dimensions maxDimensions;
   |   ^

yoga/YGStyle.h:46:16: error:
     warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
       ~YGStyle() = default;
                    ^
   |
46 |   ~YGStyle() = default;
   |                ^

<command-line>:0:9: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]

yoga/YGNode.h:17:20: error:
     note: in expansion of macro ‘nullptr’
       void* context_ = nullptr;
                        ^
   |
17 |   void* context_ = nullptr;
   |                    ^

<command-line>:0:9: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]

yoga/YGNode.h:18:24: error:
     note: in expansion of macro ‘nullptr’
       YGPrintFunc print_ = nullptr;
                            ^
   |
18 |   YGPrintFunc print_ = nullptr;
   |                        ^

In file included from yoga/Utils.h:9:0: error:
    0,
                     from yoga/Utils.cpp:8:

yoga/YGNode.h:19:24: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
       bool hasNewLayout_ = true;
                            ^
   |
19 |   bool hasNewLayout_ = true;
   |                        ^

yoga/YGNode.h:20:26: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
       YGNodeType nodeType_ = YGNodeTypeDefault;
                              ^
   |
20 |   YGNodeType nodeType_ = YGNodeTypeDefault;
   |                          ^

<command-line>:0:9: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]

yoga/YGNode.h:21:28: error:
     note: in expansion of macro ‘nullptr’
       YGMeasureFunc measure_ = nullptr;
                                ^
   |
21 |   YGMeasureFunc measure_ = nullptr;
   |                            ^

<command-line>:0:9: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]

yoga/YGNode.h:22:30: error:
     note: in expansion of macro ‘nullptr’
       YGBaselineFunc baseline_ = nullptr;
                                  ^
   |
22 |   YGBaselineFunc baseline_ = nullptr;
   |                              ^

<command-line>:0:9: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]

yoga/YGNode.h:23:28: error:
     note: in expansion of macro ‘nullptr’
       YGDirtiedFunc dirtied_ = nullptr;
                                ^
   |
23 |   YGDirtiedFunc dirtied_ = nullptr;
   |                            ^

In file included from yoga/Utils.h:9:0: error:
    0,
                     from yoga/Utils.cpp:8:

yoga/YGNode.h:24:21: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
       YGStyle style_ = {};
                         ^
   |
24 |   YGStyle style_ = {};
   |                     ^

yoga/YGNode.h:25:23: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
       YGLayout layout_ = {};
                           ^
   |
25 |   YGLayout layout_ = {};
   |                       ^

yoga/YGNode.h:26:25: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
       uint32_t lineIndex_ = 0;
                             ^
   |
26 |   uint32_t lineIndex_ = 0;
   |                         ^

<command-line>:0:9: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]

yoga/YGNode.h:27:22: error:
     note: in expansion of macro ‘nullptr’
       YGNodeRef owner_ = nullptr;
                          ^
   |
27 |   YGNodeRef owner_ = nullptr;
   |                      ^

In file included from yoga/Utils.h:9:0: error:
    0,
                     from yoga/Utils.cpp:8:

yoga/YGNode.h:28:3: error:
     error: ‘YGVector’ does not name a type
       YGVector children_ = {};
       ^
   |
28 |   YGVector children_ = {};
   |   ^

<command-line>:0:9: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]

yoga/YGNode.h:29:25: error:
     note: in expansion of macro ‘nullptr’
       YGConfigRef config_ = nullptr;
                             ^
   |
29 |   YGConfigRef config_ = nullptr;
   |                         ^

In file included from yoga/Utils.h:9:0: error:
    0,
                     from yoga/Utils.cpp:8:

yoga/YGNode.h:30:19: error:
     warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]
       bool isDirty_ = false;
                       ^
   |
30 |   bool isDirty_ = false;
   |                   ^

yoga/YGNode.h:31:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<YGValue, 2> resolvedDimensions_ = {
       ^
   |
31 |   std::array<YGValue, 2> resolvedDimensions_ = {
   |   ^

yoga/YGNode.h:39:14: error:
     warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
       YGNode() = default;
                  ^
   |
39 |   YGNode() = default;
   |              ^

yoga/YGNode.h:40:15: error:
     warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
       ~YGNode() = default; // cleanup of owner/children relationships in YGNodeFree
                   ^
   |
40 |   ~YGNode() = default; // cleanup of owner/children relationships in YGNodeFree
   |               ^

yoga/YGNode.h:42:32: error:
     warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 [enabled by default]
       YGNode(const YGNode& node) = default;
                                    ^
   |
42 |   YGNode(const YGNode& node) = default;
   |                                ^

yoga/YGNode.h:110:9: error:
     error: ‘YGVector’ does not name a type
       const YGVector& getChildren() const {
             ^
    |
110 |   const YGVector& getChildren() const {
    |         ^

yoga/YGNode.h:126:3: error:
     error: ‘array’ in namespace ‘std’ does not name a type
       std::array<YGValue, 2> getResolvedDimensions() const {
       ^
    |
126 |   std::array<YGValue, 2> getResolvedDimensions() const {
    |   ^

yoga/YGNode.h:218:26: error:
     error: ‘YGVector’ does not name a type
       void setChildren(const YGVector& children) {
                              ^
    |
218 |   void setChildren(const YGVector& children) {
    |                          ^

yoga/YGNode.h:218:36: error:
     error: ISO C++ forbids declaration of ‘children’ with no type [-fpermissive]
       void setChildren(const YGVector& children) {
                                        ^
    |
218 |   void setChildren(const YGVector& children) {
    |                                    ^

yoga/YGNode.h:24:21: error:
     warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
       YGStyle style_ = {};
                         ^
   |
24 |   YGStyle style_ = {};
   |                     ^

yoga/YGNode.h:25:23: error:
     warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
       YGLayout layout_ = {};
                           ^
   |
25 |   YGLayout layout_ = {};
   |                       ^
yoga/YGNode.h: In member function ‘YGNode* YGNode::getChild(uint32_t) const’:

yoga/YGNode.h:115:12: error:
     error: ‘children_’ was not declared in this scope
         return children_.at(index);
                ^
    |
115 |     return children_.at(index);
    |            ^
yoga/YGNode.h: In member function ‘YGValue YGNode::getResolvedDimension(int) const’:

yoga/YGNode.h:131:12: error:
     error: ‘resolvedDimensions_’ was not declared in this scope
         return resolvedDimensions_[index];
                ^
    |
131 |     return resolvedDimensions_[index];
    |            ^
yoga/YGNode.h: In member function ‘void YGNode::setChildren(const int&)’:

yoga/YGNode.h:219:5: error:
     error: ‘children_’ was not declared in this scope
         children_ = children;
         ^
    |
219 |     children_ = children;
    |     ^

In file included from yoga/Utils.cpp:8:0: error: 
yoga/Utils.h: At global scope:

yoga/Utils.h:84:11: error:
     error: ‘array’ in namespace ‘std’ does not name a type
         const std::array<float, size>& val1,
               ^
   |
84 |     const std::array<float, size>& val1,
   |           ^

yoga/Utils.h:84:16: error:
     error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
         const std::array<float, size>& val1,
                    ^
   |
84 |     const std::array<float, size>& val1,
   |                ^

yoga/Utils.h:84:21: error:
     error: expected ‘,’ or ‘...’ before ‘<’ token
         const std::array<float, size>& val1,
                         ^
   |
84 |     const std::array<float, size>& val1,
   |                     ^
yoga/Utils.h: In function ‘bool YGFloatArrayEqual(int)’:

yoga/Utils.h:88:30: error:
     error: ‘val1’ was not declared in this scope
         areEqual = YGFloatsEqual(val1[i], val2[i]);
                                  ^
   |
88 |     areEqual = YGFloatsEqual(val1[i], val2[i]);
   |                              ^

yoga/Utils.h:88:39: error:
     error: ‘val2’ was not declared in this scope
         areEqual = YGFloatsEqual(val1[i], val2[i]);
                                           ^
   |
88 |     areEqual = YGFloatsEqual(val1[i], val2[i]);
   |                                       ^
`gcc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Leaving directory '/tmp/cabal-tmp-20764/yoga-0.0.0.4'
cabal: Error: some packages failed to install:
yoga-0.0.0.4-hoPfRpMFoxFfAXos0VpjL failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.