Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360169 - [gnome-overlay] media-video/cheese-2.91.92 and -9999 fail to configure due to vala versioning
Summary: [gnome-overlay] media-video/cheese-2.91.92 and -9999 fail to configure due to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome3
  Show dependency tree
 
Reported: 2011-03-23 16:30 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2012-02-12 14:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
corrected cheese-2.91.92 ebuild (cheese-2.91.92.ebuild,2.16 KB, text/plain)
2011-03-23 16:30 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-03-23 16:30:29 UTC
Created attachment 267007 [details]
corrected cheese-2.91.92 ebuild

cheese-2.91.92 and -9999 (in gnome overlay) have a required (not optional, as the ebuild implies) dependency on >=vala-0.11.6 (see http://git.gnome.org/browse/cheese/tree/configure.ac). However, automake's AM_PROG_VALAC is rather broken: it only looks for valac that is literally called "valac", while Gentoo's vala:0.12 installs its valac as /usr/bin/valac-0.12

As a result, cheese fails to configure:

checking for valac... /usr/bin/valac
checking /usr/bin/valac is at least version 0.11.6... no
configure: error: Vala 0.11.6 not found.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-video/cheese-2.91.92/work/cheese-2.91.92/config.log
 * ERROR: media-video/cheese-2.91.92 failed (configure phase):
 *   econf failed

To fix this problem, we need to add "VALAC=$(type -p valac-0.12)" to G2CONF.

The 2.91.92 ebuild with the corrected dependencies and G2CONF is attached below.
Note: this will also need to be fixed in cheese-9999.
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-03-23 21:58:07 UTC
Fixed, thanks for reporting!
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-03-23 22:10:53 UTC
(In reply to comment #1)
> Fixed, thanks for reporting!

G2CONF has been fixed, but DEPEND and IUSE are still wrong. Cheese-2.91.92 has a required build-time dependency on vala (basically, the entire program is now written in vala). The vala use flag needs to go away, and the >=dev-lang/vala-0.11.6:0.12 dependency is always required.
Comment 3 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-03-23 22:55:24 UTC
Hum. Upstream's autotools is broken, they're generating the .c files from the .vala files, but their build system seems intent on regenerating them when you try to compile the application.

Oh well, I've added the dependency for now.