Bug 167613 - graphics/vigra: rf_split.hxx:155:26: error: variable has incomplete type 'vigra::CompileTimeError' CompileTimeError SplitFunctor__findBestSplit_member_was_not_defined;
Summary: graphics/vigra: rf_split.hxx:155:26: error: variable has incomplete type ...
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-05 14:10 UTC by O. Hartmann
Modified: 2014-09-12 04:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2012-05-05 14:10:07 UTC
Updating or compilig (either legacy gcc 4.2.1, clang or gcc 4.6) port graphics/vigra fails with the following error.

The port hdf5 has been successfully installed prior to this error.




[...]

===>  Building for vigra-1.7.1_3
Scanning dependencies of target vigraimpex
[  5%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/bmp.cxx.o
[ 11%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/byteorder.cxx.o
[ 16%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/codecmanager.cxx.o
[ 22%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/gif.cxx.o
[ 27%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/hdr.cxx.o
[ 33%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/hdf5impex.cxx.o
[ 38%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/hdf5_rf_impex.cxx.o
In file included from /usr/ports/graphics/vigra/work/vigra-1.7.1/src/impex/hdf5_rf_impex.cxx:38:
In file included from /usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/random_forest_hdf5_impex.hxx:41:
In file included from /usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/random_forest.hxx:54:
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/random_forest/rf_split.hxx:155:26: error: variable has incomplete type
      'vigra::CompileTimeError'
        CompileTimeError SplitFunctor__findBestSplit_member_was_not_defined;
                         ^
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/random_forest/rf_split.hxx:58:7: note: forward declaration of 'vigra::CompileTimeError'
class CompileTimeError;
      ^
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/random_forest/rf_split.hxx:266:13: error: reference to type 'const Node<i_HyperplaneNode>'
      requires an initializer
            node_()
            ^
In file included from /usr/ports/graphics/vigra/work/vigra-1.7.1/src/impex/hdf5_rf_impex.cxx:38:
In file included from /usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/random_forest_hdf5_impex.hxx:41:
In file included from /usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/random_forest.hxx:55:
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/random_forest/rf_decisionTree.hxx:453:9: warning: expression result unused [-Wunused-value]
        NodeBase(split.createNode(), topology_, parameters_ );
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
*** Error code 1

Stop in /usr/ports/graphics/vigra/work/vigra-1.7.1.
*** Error code 1

Stop in /usr/ports/graphics/vigra/work/vigra-1.7.1.
*** Error code 1

Stop in /usr/ports/graphics/vigra/work/vigra-1.7.1.
*** Error code 1

Stop in /usr/ports/graphics/vigra.

===>>> make failed for graphics/vigra
===>>> Aborting update

Terminated

How-To-Repeat: Install or update graphics/vigra on a FreeBSD system as described above.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-28 02:57:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vd

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2012-06-11 08:05:36 UTC
Responsible Changed
From-To: vd->fluffy

Over to new maintainer.
Comment 3 Dima Panov 2012-06-11 10:48:48 UTC
11.06.2012 18:05, linimon@FreeBSD.org напиÑал:
> Synopsis: graphics/vigra: rf_split.hxx:155:26: error: variable has incomplete type       'vigra::CompileTimeError'  CompileTimeError SplitFunctor__findBestSplit_member_was_not_defined;
>
> Responsible-Changed-From-To: vd->fluffy
> Responsible-Changed-By: linimon
> Responsible-Changed-When: Mon Jun 11 07:05:36 UTC 2012
> Responsible-Changed-Why:
> Over to new maintainer.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=167613
Please update your portstree and try again.
vigra was updated to 1.8.0

>  The port hdf5 has been successfully installed prior to this error.

vigra depends on hdf5-18, not hdf5 port

-- 
Dima Panov (fluffy@FreeBSD.org)
(KDE, Office)@FreeBSD team

Facebook: http://www.facebook.com/fluffy.khv
IRC: fluffy@EFNet, fluffykhv@FreeNode
twitter: fluffy_khv | skype: dima.panov
Comment 4 Carlo Strub freebsd_committer freebsd_triage 2014-09-11 19:58:50 UTC
Is this PR still relevant?
Comment 5 O. Hartmann 2014-09-11 20:03:04 UTC
Not relevant anymore. It is 2014 now.