[Digikam-devel] [Bug 287772] build failed against boost-1.48

nucleo nucleo at fedoraproject.org
Tue Dec 6 02:13:16 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #7 from nucleo <nucleo fedoraproject org>  2011-12-06 02:13:15 ---
Created an attachment (id=66425)
 --> (http://bugs.kde.org/attachment.cgi?id=66425)
Patch for reverse_graph_edge_descriptor related build error

Maybe this thread will be useful:
this thread
http://lists.fedoraproject.org/pipermail/devel/2011-December/160145.html
http://lists.fedoraproject.org/pipermail/devel/2011-December/160266.html

From: Petr Machata 
Reply-To: Development discussions related to Fedora 

Orion Poplawski writes:

> I'm seeing the following boost related build error building paraview
> in rawhide.  Do any boost gurus know what the issue might be the
> issue?

Hi there, please do not hesitate to file bugs for such regressions.  I
only noticed this message today.

The problem here is in a tree_edge(e,g) event point of boost's
breadth_first_search.  In reverse graph, this used to be called so that
"e" was directly the edge type of the edge in graph (vtkEdgeType in this
case).  Now it's called with a value of wrapper type
boost::detail::reverse_graph_edge_descriptor<vtkEdgeType>.  This wrapper
type has a public member underlying_desc which is the original edge.

Of course, with forward graph, this wrapping doesn't take place, so we
can't just plainly access e.underlying_desc.Id, we must wrap the access
itself.  The hack that I'm attaching should take care of it.  The build
is progressing now, I'm not sure if I'll hit something more.

I'll open an upstream bug for this.

Thanks,
PM

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list