Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=960201 --- Comment #11 from Björn Esser <bjoern.esser@xxxxxxxxx> --- if I explicitly include /usr/include/graphviz, this happens and build fails on rawhide (again): In file included from /usr/include/graphviz/types.h:49:0, from /usr/include/graphviz/gvc.h:17, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/QY2Graph.h:31, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.h:33, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPlugin.h:32, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPlugin.cc:28: /usr/include/graphviz/cgraph.h:43:25: error: conflicting declaration 'typedef struct Agraph_s Agraph_t' typedef struct Agraph_s Agraph_t; /* graph, subgraph (or hyperedge) */ ^ In file included from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.h:31:0, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPlugin.h:32, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPlugin.cc:28: /usr/include/yui/YGraph.h:32:12: error: 'struct Agraph_t' has a previous declaration as 'struct Agraph_t' struct Agraph_t; ^ In file included from /usr/include/graphviz/gvc.h:17:0, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/QY2Graph.h:31, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.h:33, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPlugin.h:32, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPlugin.cc:28: /usr/include/graphviz/types.h:50:29: error: conflicting declaration 'typedef struct Agraph_s graph_t' typedef struct Agraph_s graph_t; ^ In file included from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.h:31:0, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPlugin.h:32, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPlugin.cc:28: /usr/include/yui/YGraph.h:33:29: error: 'graph_t' has a previous declaration as 'typedef struct Agraph_t graph_t' typedef struct Agraph_t graph_t; ^ make[2]: *** [src/CMakeFiles/yui-qt-graph.dir/YQGraphPlugin.cc.o] Error 1 In file included from /usr/include/graphviz/types.h:49:0, from /usr/include/graphviz/gvc.h:17, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/QY2Graph.h:31, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.h:33, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPluginImpl.cc:29: /usr/include/graphviz/cgraph.h:43:25: error: conflicting declaration 'typedef struct Agraph_s Agraph_t' typedef struct Agraph_s Agraph_t; /* graph, subgraph (or hyperedge) */ ^ In file included from /usr/include/yui/qt/YQGraphPluginIf.h:28:0, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPluginImpl.h:31, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPluginImpl.cc:28: /usr/include/yui/YGraph.h:32:12: error: 'struct Agraph_t' has a previous declaration as 'struct Agraph_t' struct Agraph_t; ^ In file included from /usr/include/graphviz/gvc.h:17:0, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/QY2Graph.h:31, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.h:33, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPluginImpl.cc:29: /usr/include/graphviz/types.h:50:29: error: conflicting declaration 'typedef struct Agraph_s graph_t' typedef struct Agraph_s graph_t; ^ In file included from /usr/include/yui/qt/YQGraphPluginIf.h:28:0, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPluginImpl.h:31, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraphPluginImpl.cc:28: /usr/include/yui/YGraph.h:33:29: error: 'graph_t' has a previous declaration as 'typedef struct Agraph_t graph_t' typedef struct Agraph_t graph_t; ^ make[2]: *** [src/CMakeFiles/yui-qt-graph.dir/YQGraphPluginImpl.cc.o] Error 1 In file included from /usr/include/graphviz/types.h:49:0, from /usr/include/graphviz/gvc.h:17, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/QY2Graph.h:31, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.h:33, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.cc:31: /usr/include/graphviz/cgraph.h:43:25: error: conflicting declaration 'typedef struct Agraph_s Agraph_t' typedef struct Agraph_s Agraph_t; /* graph, subgraph (or hyperedge) */ ^ In file included from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.h:31:0, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.cc:31: /usr/include/yui/YGraph.h:32:12: error: 'struct Agraph_t' has a previous declaration as 'struct Agraph_t' struct Agraph_t; ^ In file included from /usr/include/graphviz/gvc.h:17:0, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/QY2Graph.h:31, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.h:33, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.cc:31: /usr/include/graphviz/types.h:50:29: error: conflicting declaration 'typedef struct Agraph_s graph_t' typedef struct Agraph_s graph_t; ^ In file included from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.h:31:0, from /builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/src/YQGraph.cc:31: /usr/include/yui/YGraph.h:33:29: error: 'graph_t' has a previous declaration as 'typedef struct Agraph_t graph_t' typedef struct Agraph_t graph_t; ^ make[2]: Leaving directory `/builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/build' make[1]: Leaving directory `/builddir/build/BUILD/libyui-qt-graph-44b67c791be951daeec046240e6b74106f3573f1/build' make[2]: *** [src/CMakeFiles/yui-qt-graph.dir/YQGraph.cc.o] Error 1 make[1]: *** [src/CMakeFiles/yui-qt-graph.dir/all] Error 2 make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.AP2i1G (%build) -- You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=lEAtJh67rE&a=cc_unsubscribe _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review