After upgrading to media-gfx/graphviz-2.22.0, anjuta fails to build. Ebuild stops with: class-inherit.c: In function ‘cls_inherit_draw_graph’: class-inherit.c:760: warning: implicit declaration of function ‘ND_coord_i’ class-inherit.c:760: warning: nested extern declaration of ‘ND_coord_i’ class-inherit.c:760: error: incompatible types in assignment make[3]: *** [class-inherit.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/plugin.Tpo .deps/plugin.Plo make[3]: Leaving directory `/var/tmp/portage/dev-util/anjuta-2.24.2/work/anjuta-2.24.2/plugins/class-inheritance' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-util/anjuta-2.24.2/work/anjuta-2.24.2/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-util/anjuta-2.24.2/work/anjuta-2.24.2' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge =media-gfx/graphviz-2.22.0 2. emerge =dev-util/anjuta-2.24.2 It is a known issue. Patch is available at https://mailman.research.att.com/pipermail/graphviz-devel/2009/000936.html, but it is based on later anjuta.
Created attachment 184326 [details, diff] https://mailman.research.att.com/pipermail/graphviz-devel/2009/000936.html adapted for dev-util/anjuta-2.24.2
Reassigning to maintainer.
Created attachment 184451 [details, diff] fixed tab problem
patch worked for me.
The patch did not work for me. 'emerge -vD anjut' fails with: ... F: unlinkat S: deny P: /usr/lib64/anjuta/profiler.plugin A: /usr/lib64/anjuta/profiler.plugin R: /usr/lib64/anjuta/profiler.plugin C: rm -fr /usr/lib64/anjuta/libanjuta-build-basic-autotools.so /usr/lib64/anjuta/libanjuta-class-gen.so /usr/lib64/anjuta/libanjuta-class-inheritance.so /usr/lib64/anjuta/libanjuta-cvs-plugin.so /usr/lib64/anjuta/libanjuta-debug-manager.so /usr/lib64/anjuta/libanjuta-devhelp.so /usr/lib64/anjuta/libanjuta-document-manager.so /usr/lib64/anjuta/libanjuta-editor.so /usr/lib64/anjuta/libanjuta-file-wizard.so /usr/lib64/anjuta/libanjuta-gdb.so /usr/lib64/anjuta/libanjuta-git.so /usr/lib64/anjuta/libanjuta-glade.so /usr/lib64/anjuta/libanjuta-gtodo.so /usr/lib64/anjuta/libanjuta-language-cpp-java.so /usr/lib64/anjuta/libanjuta-loader.so /usr/lib64/anjuta/libanjuta-macro.so /usr/lib64/anjuta/libanjuta-message-view.so /usr/lib64/anjuta/libanjuta-patch.so /usr/lib64/anjuta/libanjuta-profiler.so /usr/lib64/anjuta/libanjuta-project-import.so /usr/lib64/anjuta/libanjuta-project-manager.so /usr/lib64/anjuta/libanjuta-project-wizard.so /usr/lib64/anjuta/libanjuta-run-program.so /usr/lib64/anjuta/libanjuta-sample.so /usr/lib64/anjuta/libanjuta-scratchbox.so /usr/lib64/anjuta/libanjuta-search.so /usr/lib64/anjuta/libanjuta-subversion.so /usr/lib64/anjuta/libanjuta-symbol-browser.so /usr/lib64/anjuta/libanjuta-terminal.so /usr/lib64/anjuta/libanjuta-tools.so /usr/lib64/anjuta/libfile-manager.so /usr/lib64/anjuta/liblanguage-manager.so /usr/lib64/anjuta/*.a /usr/lib64/anjuta/anjuta-build-basic-autotools.plugin /usr/lib64/anjuta/anjuta-class-gen.plugin /usr/lib64/anjuta/anjuta-class-inheritance.plugin /usr/lib64/anjuta/anjuta-cvs.plugin /usr/lib64/anjuta/anjuta-debug-manager.plugin /usr/lib64/anjuta/anjuta-devhelp.plugin /usr/lib64/anjuta/anjuta-document-manager.plugin /usr/lib64/anjuta/anjuta-editor.plugin /usr/lib64/anjuta/anjuta-file-wizard.plugin /usr/lib64/anjuta/anjuta-gdb.plugin /usr/lib64/anjuta/anjuta-glade.plugin /usr/lib64/anjuta/anjuta-gtodo.plugin /usr/lib64/anjuta/anjuta-language-cpp-java.plugin /usr/lib64/anjuta/anjuta-loader.plugin /usr/lib64/anjuta/anjuta-macro.plugin /usr/lib64/anjuta/anjuta-message-manager.plugin /usr/lib64/anjuta/anjuta-patch.plugin /usr/lib64/anjuta/anjuta-project-import.plugin /usr/lib64/anjuta/anjuta-project-manager.plugin /usr/lib64/anjuta/anjuta-project-wizard.plugin /usr/lib64/anjuta/anjuta-run-program.plugin /usr/lib64/anjuta/anjuta-sample.plugin /usr/lib64/anjuta/anjuta-scratchbox.plugin /usr/lib64/anjuta/anjuta-search.plugin /usr/lib64/anjuta/anjuta-subversion.plugin /usr/lib64/anjuta/anjuta-symbol-browser.plugin /usr/lib64/anjuta/anjuta-terminal.plugin /usr/lib64/anjuta/anjuta-tools.plugin /usr/lib64/anjuta/file-manager.plugin /usr/lib64/anjuta/git.plugin /usr/lib64/anjuta/language-manager.plugin /usr/lib64/anjuta/profiler.plugin -------------------------------------------------------------------------------- >>> Failed to emerge dev-util/anjuta-2.24.2, Log file: >>> '/var/tmp/portage/dev-util/anjuta-2.24.2/temp/build.log' I am using the following USE flags: root@lynx:/usr/local/portage/dev-util/anjuta(39)# emerge -pvD anjuta These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-util/anjuta-2.24.2 USE="doc glade subversion -debug -devhelp -inherit-graph -sourceview -valgrind" 0 kB [0=>1] Total: 1 package (1 reinstall), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage
I ran into the exact same problem as Juergen.
*** Bug 266522 has been marked as a duplicate of this bug. ***
Any news?
Fixed by upstream in latest 2.26 in overlay, will be added to tree with the rest of 2.26
Jurgen, Sven: I had the same error as you, but... Right after the error I ran the "ebuild merge" command again and it identified anjuta as "already compiled" and proceeded to install it successfully. I give no guarantees, but... it works. hehe Good luck, ale ~~
I've fixed it with a backport of http://git.gnome.org/cgit/anjuta/patch/?id=badf2dbc86ea694d64d593b31cb4e5d4ccb5bc2d to not break building with earlier graphviz. Thanks for the patience.
(In reply to comment #11) > I've fixed it with a backport of > http://git.gnome.org/cgit/anjuta/patch/?id=badf2dbc86ea694d64d593b31cb4e5d4ccb5bc2d > to not break building with earlier graphviz. Thanks for the patience. > Since graphviz 2.24 hit the stable on x86 and amd64 and on these platform last stable anjuta is 2.2.0-r1 I had the same problem as reported in #285054 , that at this point should be marked as dup of this.
I backported to anjuta 2.2.0 the patch provided by Mart on comment #11 . I will attach here anjuta-2.2.0-r2.ebuild and the backported patch.
Created attachment 204171 [details] anjuta-2.2.0-r2.ebuild ebuild with gv2.22.0 patch application
Created attachment 204173 [details] anjuta-2.2.0-graphviz-2.22.0.patch backported Mart's patch for anjuta 2.2.0
Re-opening. =media-gfx/graphviz-2.24* has been markeds stable. Now stable =dev-util/anjuta-2.2.0-r1 fails to build with this same error. The same patch already in ${FILESDIR} for 2.24.2 epatches cleanly and allows the build to complete.
the patch is applied in 2.24, just wait for arches to complete bug #268359.
(In reply to comment #17) > the patch is applied in 2.24, just wait for arches to complete bug #268359. > No, REOPENING. This is idiotic. Bug #268359 proposes to stabilize a version which doesn't compile due to bug #248796 which you just closed because a latter version (2.26.something) is fixed. From bug #248796: ------- Comment #18 From Gordon Malm 2009-10-28 07:08:43 0000 [reply] ------- Re-opening as =dev-util/anjuta-2.24.2 is listed for stable in bug #268359. However, it still has this problem. Please fix, remove from the tree or something. ------- Comment #19 From Gilles Dartiguelongue 2009-10-28 22:36:40 0000 [reply] ------- See comment #13. We consider a problem fixed in a version in tree has the fixed, no matter if it's not yet stable.