waf checks for wrong versions

Bug #873121 reported by Aljosha Papsch
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
valide
New
Undecided
Unassigned

Bug Description

waf checks and fails for vala-1.0, which is non-existent as we are far from that version and gdl-1.0 but gdl-3.0 (2.91.92) is current version. See attachment for ./waf configure output. Symlinking the .pc files only helps at configure stage. building will fail then with error:
error: Package `vala-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories

Possible solution: adjust mandatory versions in waf's configuration

Tags: waf
Revision history for this message
Aljosha Papsch (joschi-papsch-deactivatedaccount) wrote :
Revision history for this message
Aljosha Papsch (joschi-papsch-deactivatedaccount) wrote :

I tried to configure with the current gtk+-3.0 branch. waf still fails, this time only at gdl-1.0 check. When symlinking gdl-3.0.pc to gdl-1.0.pc and trying to ./waf, the build will still fail with error message:
error: Package `libvala-0.12' not found in specified Vala API directories or GObject-Introspection GIR directories
./waf configure found libvala-0.12 though and it is installed beside version 0.14.

I added blank lines in attachment for better view.

Revision history for this message
Araz (araz-alipour) wrote :

same as Aljosha here

Revision history for this message
Игорь Голубев (ooptimum) wrote :

This bug affects me too on Ubuntu 12.04.1 64-bit.

Revision history for this message
Guus Bonnema (gbonnema) wrote :

This bug affects me too. I run Fedora 20. In order to be able to configure, I changed the wscript to include the right libraries.

The lines I changed were:

 53 conf.check_cfg (package='libvala-0.22', uselib_store='VALA', atleast_version='0.22.0', args='--cflags --libs', mandatory=True)
 54 conf.check_cfg (package='gdl-3.0', uselib_store='GDL', atleast_version='3.00', args='--cflags --libs', mandatory=True)

This worked correctly.

Revision history for this message
Guus Bonnema (gbonnema) wrote :

I should have done the build: it crashes because the wscript_build of libvalide specifies libvala-012. Changing that to libvala-022
and gdk-1 to gdk-3 solved the waf problems, but caused a lot of compiling problems involving gdk and gtk.

In short, this problem needs some more investigation.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.