cp anjuta-1.1.97.ebuild anjuta-1.1.98.ebuild doesn't quite work as portage compiles the directories in a different order than just a plain "make". i have to execute make -C scintilla in the build dir and then a "ebuild blah install" will complete successfully Reproducible: Always Steps to Reproduce: 1.cp anjuta-1.1.97.ebuild anjuta-1.1.98.ebuild 2.emerge anjuta 3. Actual Results: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -march=pentium3 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -g -g -c LexPerl.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -march=pentium3 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -g -g -c LexPOV.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -march=pentium3 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -g -g -c LexPS.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -march=pentium3 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -g -g -c LexPython.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -march=pentium3 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -g -g -c LexRuby.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -march=pentium3 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -g -g -c LexScriptol.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -march=pentium3 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -g -g -c LexSQL.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -march=pentium3 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -g -g -c LexTeX.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -march=pentium3 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -g -g -c LexVB.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -march=pentium3 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -g -g -c LexYAML.cxx g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK -DSCI_LEXER -DUSE_XIM -march=pentium3 -O3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -g -g -c test-scintilla.cxx make[3]: *** No rule to make target ../scintilla/libscintilla.a', needed by est-scintilla'. Stop. make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory /var/tmp/portage/anjuta-1.1.98/work/anjuta-1.1.98/scintilla' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory /var/tmp/portage/anjuta-1.1.98/work/anjuta-1.1.98/scintilla' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /var/tmp/portage/anjuta-1.1.98/work/anjuta-1.1.98' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-util/anjuta-1.1.98 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure Expected Results: successfull merge Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test9-mm2) ================================================================= System uname: 2.6.0-test9-mm2 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.4.3.10 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox strict" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline tetex aalib X sdl gpm pam libwww ssl perl python imlib oggvorbis gnome gtk qt kde motif opengl mozilla cdr acpi apache2 doc evo faad fbcon foreign-package foreign-sysvinit gphoto2 gstreamer gtk2 gtkhtml java mmx moznocompose moznoirc moznomail mysql nptl offensive pic pnp samba sdk sse tiff trusted xml -oss -apm -svga -arts -tcpd -esd -ldap"
I'll see about getting an ebuild in. Foser you still want to review them?
Created attachment 20469 [details] Ebuild for anjuta 1.1.98 This ebuild seems to work for me. I just added the src_compile() function to call 'make' and it builds fine.
this is in cvs
Created attachment 20533 [details] Removed libzvt dependancy for anjuta 1.1.98
libzvt dependancy no longer required for anjuta 1.1.98 as per release notes (http://sourceforge.net/forum/forum.php?forum_id=326544) new ebuild attached
lisa when you remove the zvt dep : the src_compile part can probably be removed if 'MAKEOPTS="${MAKEOPTS} -j1"' gets added (i didn't test this). It's not good to just bypass the eclass. sorry i didn't have a look at this earlier on, i am very busy atm.
I put the cd scintilla stuff in because on my local tests it kept failing unless that was built first. Even moving scintilla up in the SUBDIRS in the Makefile didn't quite work, presumably due to parallel issues. I thought that the src_compile was necessary to ensure that scintilla was built first as well as to keep parallel builds possible.
yeah well it works both ways, thats not my point. I don't care much about parallel builds, those problems should get fixed upstream (and this p.mask stuff anyway). The clean way is not to bypass the eclass and just limit the amount of jobs (as the suggested replacement will do). I noticed *mm deps got added again, they are not needed to build. I don't see why we should add them, please remove them as well (along with zvt). Please put changes to the ebuild in the changelog. Yes it is just a version bump, but things did get altered : give a reason for changes and/or a bugno if needed.
Tried the ebuild from the tree and removed the deps for *mm*, compiled fine, but on importing projects via the wizard I get: "Unable to find import script /var/tmp/portage/anjuta-1.1.98/image//usr/bin/anjuta_import.sh system: directory or file not found" so somewhere the install prefix should be removed. I also noticed that it gets build with "-g -g -g", but I don't have debug in USE. If you point me to some docs about the gnome-eclass, i could look into it.
see anjuta-1.2.1