Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2013 09:29:10 GMT
From:      Daniel Nebdal <dnebdal@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182852: science/step fails to build (c++ syntax complaints)
Message-ID:  <201310090929.r999TAtp043463@oldred.freebsd.org>
Resent-Message-ID: <201310090930.r999U1qX084533@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182852
>Category:       ports
>Synopsis:       science/step fails to build (c++ syntax complaints)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 09 09:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Nebdal
>Release:        10.0-ALPHA4
>Organization:
University of Oslo
>Environment:
FreeBSD 10-amd64-default 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #5 r256043: Fri Oct  4 12:38:13 CEST 2013     root@mr16613.ad.medicalresearch.no:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
In a poudriere jail (updated on october 4th), with ports updated october 8th, building science/step fails with an assortment of C++ syntax errors, including but not limited to the following:



In file included from /wrkdirs/usr/ports/science/step/work/step-4.10.5/stepcore/world.cc:19:
/wrkdirs/usr/ports/science/step/work/step-4.10.5/stepcore/world.h:298:14: error: too few template arguments for class template 'vector'
typedef std::vector<Item*>  ItemList;
             ^
/usr/include/c++/v1/iterator:1205:53: note: template is declared here
    template <class _Tp, class _Alloc> friend class vector;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ^


(...)

In file included from /wrkdirs/usr/ports/science/step/work/step-4.10.5/stepcore/world.cc:21:
/wrkdirs/usr/ports/science/step/work/step-4.10.5/stepcore/collisionsolver.h:153:7: warning: 'StepCore::GJKCollisionSolver' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class GJKCollisionSolver : public CollisionSolver
      ^
/wrkdirs/usr/ports/science/step/work/step-4.10.5/stepcore/collisionsolver.h:162:11: error: no matching constructor for initialization of 'StepCore::CollisionSolver'
        : CollisionSolver(solver), _contactsIsValid(false) {}
          ^               ~~~~~~
/wrkdirs/usr/ports/science/step/work/step-4.10.5/stepcore/collisionsolver.h:84:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const StepCore::GJKCollisionSolver' to 'const StepCore::CollisionSolver' for 1st argument
class CollisionSolver : public Object
      ^
/wrkdirs/usr/ports/science/step/work/step-4.10.5/stepcore/collisionsolver.h:89:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    CollisionSolver(): _toleranceAbs(0.001), _localError(0) {}
    ^
/wrkdirs/usr/ports/science/step/work/step-4.10.5/stepcore/world.cc:81:5: error: expected a class or namespace
    ItemList::const_iterator end = _items.end();
    ^
/wrkdirs/usr/ports/science/step/work/step-4.10.5/stepcore/world.cc:81:30: error: use of undeclared identifier 'end'; did you mean 'std::end'?
    ItemList::const_iterator end = _items.end();



>How-To-Repeat:
With a (10-) current system and updated ports, build science/test . 
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310090929.r999TAtp043463>