[Bug 287772] New: build failed against boost-1.48

classic Classic list List threaded Threaded
63 messages Options
1234
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] New: build failed against boost-1.48

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

           Summary: build failed against boost-1.48
           Product: digikam
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Database
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           unspecified
OS:                Linux

Digikam 2.3.0 build failed against boost-1.48

Reproducible: Didn't try



Expected Results:

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

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





--- Comment #1 from nucleo <nucleo fedoraproject org>  2011-11-28 17:28:15 ---
Created an attachment (id=66158)
 --> (http://bugs.kde.org/attachment.cgi?id=66158)
Digikam 2.3.0 build log

See more details in build log.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Gilles Caulier-4
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|Database                    |Portability
            Version|unspecified                 |2.3.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Marcel Wiesweg
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-11-28 20:54:21 ---
Boost templates produce the worst to read error messages gcc can offer.
With a closer look, most noise is centered around a single line:
1394: return vertexLessThan(
      boost::target(a.toEdge(), g), boost::target(b.toEdge(), g));
in the context of a reverse_graph.

Another error in property_map gives, thankfully, this explanation: no known
conversion for argument 1 from 'const
boost::detail::reverse_graph_edge_descriptor<boost::detail::edge_desc_impl<boost::bidirectional_tag,
long unsigned int> >' to 'const key_type& {aka const
boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>&}'

In the changelog for boost Graph 1.48, I see
"Changed edge_descriptor type for reverse_graph to a new data type to avoid
ambiguities with the edge_descriptor of the underlying graph. "
So I assume this is the cause: source incompatible changes in the new release.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Bugzilla from blagozlatev@gmail.com
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772


Blagovest Zlatev <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email],
                   |                            |[hidden email]




--- Comment #3 from Blagovest Zlatev <blagozlatev gmail com>  2011-11-29 14:30:01 ---
I wasn't able to reproduce the bug and I didn't find any duplicates of the bug.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

nucleo
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #4 from nucleo <nucleo fedoraproject org>  2011-11-29 17:37:48 ---
Full build log is here:
http://koji.fedoraproject.org/koji/getfile?taskID=3531978&name=build.log

Versions of libs used for this build are here:
http://koji.fedoraproject.org/koji/getfile?taskID=3531978&name=root.log

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Rex Dieter
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #5 from Rex Dieter <rdieter math unl edu>  2011-11-30 13:29:52 ---
between this and
https://bugreports.qt.nokia.com/browse/QTBUG-22829
boost-1.48 is surely "fun". :(

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

nucleo
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #6 from nucleo <nucleo fedoraproject org>  2011-12-06 00:23:59 ---
The same problem with 2.4.1.

Seel build log
http://koji.fedoraproject.org/koji/getfile?taskID=3566086&name=build.log

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

nucleo
In reply to this post by nucleo
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.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Gilles Caulier-4
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #8 from Gilles Caulier <caulier gilles gmail com>  2011-12-14 08:12:19 ---
Marcel,

Do you see the comment #7 from Nicolas about VTK patched for a similar problem
?Perhaps we can do something like this in digiKam implementation ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Veaceslav Munteanu
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772


Veaceslav Munteanu <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #9 from Veaceslav Munteanu <slavuttici gmail com>  2011-12-15 11:05:07 ---
Any idea how to compile the code? Or only to downgrade liboost?

(On my arch packge mangaer don't have downgrade option)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Gilles Caulier-4
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #10 from Gilles Caulier <caulier gilles gmail com>  2011-12-15 11:17:16 ---
Nicolas,

I would to hack this problem but under Mageia, i still using an old Boost
version. How to deal with it without to break system ?

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Bugzilla from jewillco@osl.iu.edu
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772


Jeremiah Willcock <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #11 from Jeremiah Willcock <jewillco osl iu edu>  2011-12-18 19:42:35 ---
If you would like to have a version that works for both forward and reverse
graphs, look at remove_reverse_edge_descriptor in <boost/graph/copy.hpp> in the
Boost trunk.  Please don't refer to that code since it's internal, but you can
copy it as a start for your fix; the code there should work for both old and
new versions of Boost if you put an #ifdef around the partial specialization
for reverse_graph_edge_descriptor.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Bugzilla from jewillco@osl.iu.edu
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #12 from Jeremiah Willcock <jewillco osl iu edu>  2011-12-19 01:03:58 ---
Looking at the first Boost-related error in the build log, it appears that you
are taking the reverse_graph's edge descriptor and converting it to the
original graph's edge descriptor, then using that to access a property in the
reverse_graph.  The easiest solution might just be to define a reverse_edge_t
(graph_traits<reverse_graph<...> >::edge_descriptor) and be careful not to
assign those to edge_ts, or, alternatively, to use edge_ts to access properties
only in the original graph.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Bugzilla from jewillco@osl.iu.edu
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #13 from Jeremiah Willcock <jewillco osl iu edu>  2011-12-19 01:25:49 ---
I looked through the file that is triggering the error, and in particular the
depth_first_search_sorted function; would it be possible to change the outEdges
variable there to be a QList<graph_traits<IncidenceGraph>::edge_descriptor>
rather than using a wrapper class?  You will need to change the code to call
toList rather than toEdgeList.  I think that would fix the problem relatively
easily for all Boost versions.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Gilles Caulier-4
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #14 from Gilles Caulier <caulier gilles gmail com>  2011-12-19 07:08:45 ---
Jeremiah,

If you can provide a patch, we can test in local computers with different
versions of Boost.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Bugzilla from jewillco@osl.iu.edu
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #15 from Jeremiah Willcock <jewillco osl iu edu>  2011-12-19 15:56:06 ---
I probably don't know enough of the QT APIs to write a patch, but it should be
possible to follow what is in comment 13 to make the necessary modifications.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Gilles Caulier-4
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #16 from Gilles Caulier <caulier gilles gmail com>  2011-12-19 17:45:00 ---
I think the goal to patch current implementation is more relevant of boost API
than Qt4...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Bugzilla from jewillco@osl.iu.edu
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772





--- Comment #17 from Jeremiah Willcock <jewillco osl iu edu>  2011-12-19 18:33:24 ---
I don't have the tools to build Digikam, so I could write a patch but not
easily test it.  The calls being removed and changed are those inside your
Digikam code, not anything in Boost (or that calls Boost directly).

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 287772] build failed against boost-1.48

Bugzilla from afiestas@kde.org
In reply to this post by nucleo
https://bugs.kde.org/show_bug.cgi?id=287772


Alex Fiestas <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #18 from Alex Fiestas <afiestas kde org>  2011-12-27 14:12:35 ---
(In reply to comment #17)
> I don't have the tools to build Digikam, so I could write a patch but not
> easily test it.  The calls being removed and changed are those inside your
> Digikam code, not anything in Boost (or that calls Boost directly).

I can test any patch you can provide, I'm having this build fail right now and
I have all the environment ready.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
1234