Bug#719376: osgearth: FTBFS: Patch.cpp:202:53: error: 'const struct seamless::Patch::Data' has no member named 'vertexData'

David Suárez david.sephirot at gmail.com
Sun Aug 11 09:54:12 UTC 2013


Source: osgearth
Version: 2.0+dfsg-4
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130811 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[3]: Entering directory `/«BUILDDIR»/osgearth-2.0+dfsg/tmp'
> [ 88%] Building CXX object src/osgEarthDrivers/engine_seamless/CMakeFiles/osgdb_osgearth_engine_seamless.dir/QSC.cpp.o
> [ 88%] Building CXX object src/osgEarthDrivers/engine_seamless/CMakeFiles/osgdb_osgearth_engine_seamless.dir/Euler.cpp.o
> [ 89%] Building CXX object src/osgEarthDrivers/engine_seamless/CMakeFiles/osgdb_osgearth_engine_seamless.dir/Patch.cpp.o
> In file included from /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:19:0:
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch:60:9: error: 'ArrayData' in 'class osg::Geometry' does not name a type
>          osg::Geometry::ArrayData vertexData;
>          ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch:61:9: error: 'ArrayData' in 'class osg::Geometry' does not name a type
>          osg::Geometry::ArrayData normalData;
>          ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch:62:9: error: 'ArrayData' in 'class osg::Geometry' does not name a type
>          osg::Geometry::ArrayData colorData;
>          ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch:63:9: error: 'ArrayData' in 'class osg::Geometry' does not name a type
>          osg::Geometry::ArrayData secondaryColorData;
>          ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch:64:9: error: 'ArrayData' in 'class osg::Geometry' does not name a type
>          osg::Geometry::ArrayData fogCoordData;
>          ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch:65:9: error: 'ArrayDataList' in 'class osg::Geometry' does not name a type
>          osg::Geometry::ArrayDataList texCoordList;
>          ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch:66:9: error: 'ArrayDataList' in 'class osg::Geometry' does not name a type
>          osg::Geometry::ArrayDataList vertexAttribList;
>          ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp: In copy constructor 'seamless::Patch::Data::Data(const seamless::Patch::Data&, const osg::CopyOp&)':
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:72:7: error: class 'seamless::Patch::Data' does not have any field named 'vertexData'
>      : vertexData(rhs.vertexData, copyop), normalData(rhs.normalData, copyop),
>        ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:72:22: error: 'const struct seamless::Patch::Data' has no member named 'vertexData'
>      : vertexData(rhs.vertexData, copyop), normalData(rhs.normalData, copyop),
>                       ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:72:43: error: class 'seamless::Patch::Data' does not have any field named 'normalData'
>      : vertexData(rhs.vertexData, copyop), normalData(rhs.normalData, copyop),
>                                            ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:72:58: error: 'const struct seamless::Patch::Data' has no member named 'normalData'
>      : vertexData(rhs.vertexData, copyop), normalData(rhs.normalData, copyop),
>                                                           ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:73:7: error: class 'seamless::Patch::Data' does not have any field named 'colorData'
>        colorData(rhs.colorData, copyop),
>        ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:73:21: error: 'const struct seamless::Patch::Data' has no member named 'colorData'
>        colorData(rhs.colorData, copyop),
>                      ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:74:7: error: class 'seamless::Patch::Data' does not have any field named 'secondaryColorData'
>        secondaryColorData(rhs.secondaryColorData, copyop),
>        ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:74:30: error: 'const struct seamless::Patch::Data' has no member named 'secondaryColorData'
>        secondaryColorData(rhs.secondaryColorData, copyop),
>                               ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:75:7: error: class 'seamless::Patch::Data' does not have any field named 'fogCoordData'
>        fogCoordData(rhs.fogCoordData, copyop)
>        ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:75:24: error: 'const struct seamless::Patch::Data' has no member named 'fogCoordData'
>        fogCoordData(rhs.fogCoordData, copyop)
>                         ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:77:20: error: 'osg::Geometry::ArrayDataList' has not been declared
>      for (Geometry::ArrayDataList::const_iterator
>                     ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:78:14: error: expected ';' before 'itr'
>               itr = rhs.texCoordList.begin(), end = rhs.texCoordList.end();
>               ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:79:10: error: 'itr' was not declared in this scope
>           itr !=end;
>           ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:79:16: error: 'end' was not declared in this scope
>           itr !=end;
>                 ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:81:9: error: 'texCoordList' was not declared in this scope
>          texCoordList.push_back(Geometry::ArrayData(*itr, copyop));
>          ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:81:32: error: 'ArrayData' is not a member of 'osg::Geometry'
>          texCoordList.push_back(Geometry::ArrayData(*itr, copyop));
>                                 ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:82:20: error: 'osg::Geometry::ArrayDataList' has not been declared
>      for (Geometry::ArrayDataList::const_iterator
>                     ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:83:14: error: expected ';' before 'itr'
>               itr = rhs.vertexAttribList.begin(),
>               ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:85:10: error: 'itr' was not declared in this scope
>           itr !=end;
>           ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:85:16: error: 'end' was not declared in this scope
>           itr !=end;
>                 ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:87:9: error: 'vertexAttribList' was not declared in this scope
>          vertexAttribList.push_back(Geometry::ArrayData(*itr, copyop));
>          ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:87:36: error: 'ArrayData' is not a member of 'osg::Geometry'
>          vertexAttribList.push_back(Geometry::ArrayData(*itr, copyop));
>                                     ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp: In member function 'void seamless::Patch::dirtyVertexData()':
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:92:5: error: 'ArrayData' is not a member of 'osg::Geometry'
>      Geometry::ArrayData& vdata = _data->vertexData;
>      ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:92:26: error: 'vdata' was not declared in this scope
>      Geometry::ArrayData& vdata = _data->vertexData;
>                           ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:92:41: error: 'struct seamless::Patch::Data' has no member named 'vertexData'
>      Geometry::ArrayData& vdata = _data->vertexData;
>                                          ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp: In member function 'void seamless::Patch::Data::getGeometryAttributes(const osg::Geometry*)':
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:99:5: error: 'vertexData' was not declared in this scope
>      vertexData = geom->getVertexData();
>      ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:99:24: error: 'const class osg::Geometry' has no member named 'getVertexData'
>      vertexData = geom->getVertexData();
>                         ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:100:5: error: 'normalData' was not declared in this scope
>      normalData = geom->getNormalData();
>      ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:100:24: error: 'const class osg::Geometry' has no member named 'getNormalData'
>      normalData = geom->getNormalData();
>                         ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:101:5: error: 'colorData' was not declared in this scope
>      colorData = geom->getColorData();
>      ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:101:23: error: 'const class osg::Geometry' has no member named 'getColorData'
>      colorData = geom->getColorData();
>                        ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:102:5: error: 'secondaryColorData' was not declared in this scope
>      secondaryColorData = geom->getSecondaryColorData();
>      ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:102:32: error: 'const class osg::Geometry' has no member named 'getSecondaryColorData'
>      secondaryColorData = geom->getSecondaryColorData();
>                                 ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:103:5: error: 'fogCoordData' was not declared in this scope
>      fogCoordData = geom->getFogCoordData();
>      ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:103:26: error: 'const class osg::Geometry' has no member named 'getFogCoordData'
>      fogCoordData = geom->getFogCoordData();
>                           ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:104:5: error: 'texCoordList' was not declared in this scope
>      texCoordList.clear();
>      ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:105:11: error: 'ArrayDataList' in 'class osg::Geometry' does not name a type
>      const Geometry::ArrayDataList& texList = geom->getTexCoordArrayList();
>            ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:106:15: error: 'texList' was not declared in this scope
>      std::copy(texList.begin(), texList.end(), std::back_inserter(texCoordList));
>                ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:107:5: error: 'vertexAttribList' was not declared in this scope
>      vertexAttribList.clear();
>      ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:108:11: error: 'ArrayDataList' in 'class osg::Geometry' does not name a type
>      const Geometry::ArrayDataList& vaList = geom->getVertexAttribArrayList();
>            ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:109:15: error: 'vaList' was not declared in this scope
>      std::copy(vaList.begin(), vaList.end(),
>                ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp: In member function 'void seamless::Patch::Data::setGeometryAttributes(osg::Geometry*)':
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:115:11: error: 'class osg::Geometry' has no member named 'setVertexData'
>      geom->setVertexData(vertexData);
>            ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:115:25: error: 'vertexData' was not declared in this scope
>      geom->setVertexData(vertexData);
>                          ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:116:11: error: 'class osg::Geometry' has no member named 'setNormalData'
>      geom->setNormalData(normalData);
>            ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:116:25: error: 'normalData' was not declared in this scope
>      geom->setNormalData(normalData);
>                          ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:117:11: error: 'class osg::Geometry' has no member named 'setColorData'
>      geom->setColorData(colorData);
>            ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:117:24: error: 'colorData' was not declared in this scope
>      geom->setColorData(colorData);
>                         ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:118:11: error: 'class osg::Geometry' has no member named 'setSecondaryColorData'
>      geom->setSecondaryColorData(secondaryColorData);
>            ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:118:33: error: 'secondaryColorData' was not declared in this scope
>      geom->setSecondaryColorData(secondaryColorData);
>                                  ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:119:11: error: 'class osg::Geometry' has no member named 'setFogCoordData'
>      geom->setFogCoordData(fogCoordData);
>            ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:119:27: error: 'fogCoordData' was not declared in this scope
>      geom->setFogCoordData(fogCoordData);
>                            ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:120:11: error: 'ArrayData' in 'class osg::Geometry' does not name a type
>      const Geometry::ArrayData emptyData;
>            ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:122:30: error: 'texCoordList' was not declared in this scope
>      for (unsigned i = 0; i < texCoordList.size(); ++i)
>                               ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:123:15: error: 'class osg::Geometry' has no member named 'setTexCoordData'
>          geom->setTexCoordData(i, texCoordList[i]);
>                ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:124:23: error: 'texCoordList' was not declared in this scope
>      for (unsigned i = texCoordList.size(); i < numTexCoords; ++i)
>                        ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:125:15: error: 'class osg::Geometry' has no member named 'setTexCoordData'
>          geom->setTexCoordData(i, emptyData);
>                ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:125:34: error: 'emptyData' was not declared in this scope
>          geom->setTexCoordData(i, emptyData);
>                                   ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:127:23: error: 'vertexAttribList' was not declared in this scope
>      for (unsigned i = vertexAttribList.size(); i < vertexAttribList.size(); ++i)
>                        ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:128:15: error: 'class osg::Geometry' has no member named 'setVertexAttribData'
>          geom->setVertexAttribData(i, vertexAttribList[i]);
>                ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:130:15: error: 'class osg::Geometry' has no member named 'setVertexAttribData'
>          geom->setVertexAttribData(i, emptyData);
>                ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:130:38: error: 'emptyData' was not declared in this scope
>          geom->setVertexAttribData(i, emptyData);
>                                       ^
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp: In function 'void seamless::{anonymous}::getEdge(const seamless::Patch*, osg::Vec3&, osg::Vec3&, int)':
> /«BUILDDIR»/osgearth-2.0+dfsg/src/osgEarthDrivers/engine_seamless/Patch.cpp:202:53: error: 'const struct seamless::Patch::Data' has no member named 'vertexData'
>          = static_cast<Vec3Array*>(patch->getData()->vertexData.array.get());
>                                                      ^
> make[3]: *** [src/osgEarthDrivers/engine_seamless/CMakeFiles/osgdb_osgearth_engine_seamless.dir/Patch.cpp.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/08/11/osgearth_2.0+dfsg-4_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-grass-devel mailing list