The live ebuild from the desktop-effects overlay shouldn't force you to install a package of dev-lang/vala:0 since it won't build with it anymore. Reproducible: Always Since this is in an Overlay I'm not quite sure if this is the correct place for the bug report. Please correct me if I'm wrong.
Created attachment 273521 [details] avant-window-navigator-9999.ebuild ebuild with loosened dependency on dev-lang/vala
I think the vala use flag should be dropped, and just make dev-lang/vala a dependency. --with-vala is no longer a configure option, but valac is needed to compile the package. From build log: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-gtk-doc --enable-schemas-install --with-vala --disable-static --disable-pymod-checks --enable-extra-version=-gentoo-desktop-effects configure: WARNING: unrecognized options: --with-vala ... ... checking for valac... no configure: WARNING: No Vala compiler found. You will not be able to compile .vala source files. ... ... It will not build with vala:0. With higher version, ./configure still looks for /usr/bin/valac, a symbolic link which the higher versions (0.10 and 0.12) do not install. Manually creating the symlink allows the pkg to compile.
Ah jeah. I also manually linked one of the higher versions of valac to /usr/bin/valac I just checked and there really is no --with-vala anymore so I also think the flag should be dropped.
Created attachment 273887 [details] avant-window-navigator-9999.ebuild removed vala useflag. Made dependency on vala versions equal or higher than 0.10
The problem of setting /usr/bin/valac could be solved by using the eselect-vala package from the vala overlay.
Created attachment 273897 [details, diff] awn-ebuild-vala.patch Configure scripts look for >=vala-0.9.1: checking for valac... /usr/bin/valac checking /usr/bin/valac is at least version 0.9.1... yes Attached patch to ebuild file that reflects this and also correct a minor issue that the current ebuild throw an error during postinst: * AWN will be of no use if you do not have a compositing manager. * ERROR: gnome-extra/avant-window-navigator-9999 failed (postinst phase): * python_mod_optimize(): Paths of directories / files in site-packages directories must be relative to site-packages directories * * Call stack: * ebuild.sh, line 56: Called pkg_postinst * environment, line 3883: Called python_mod_optimize '/usr/lib64/python2.7/site-packages/awn' * environment, line 5340: Called die * The specific snippet of code: * die "${FUNCNAME}(): Paths of directories / files in site-packages directories must be relative to site-packages directories"; * * If you need support, post the output of 'emerge --info =gnome-extra/avant-window-navigator-9999', * the complete build log and the output of 'emerge -pqv =gnome-extra/avant-window-navigator-9999'. * This ebuild is from an overlay named 'desktop-effects': '/var/lib/layman/desktop-effects/' * The complete build log is located at '/var/log/portage/gnome-extra:avant-window-navigator-9999:20110518-230259.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/avant-window-navigator-9999/temp/environment'. * S: '/var/tmp/portage/gnome-extra/avant-window-navigator-9999/work/avant-window-navigator-9999' !!! FAILED postinst: 1 The package now build without error for me.
closing as per: http://git.overlays.gentoo.org/gitweb/?p=proj/desktop-effects.git;a=commit;h=7f521b5470a7e7773f0a0933f443e91a73eaf52d