[Bug 760765] build-tools/vala-m4 recipe prevents from using any libraries that ship .vapi files

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 18 06:46:14 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=760765

Marcin Lewandowski <marcin at saepia.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #2 from Marcin Lewandowski <marcin at saepia.net> ---
This solution breaks the build, because the PREFIX/share/vala dir does not
necessarily exist.

The attached patch fixes the issue.

[(49/78) vala-m4 -> fetch ]
-----> Fetching tarball
http://ftp.gnome.org/pub/GNOME/sources/vala/0.29/vala-0.29.3.tar.xz to
/home/azureuser/cerbero/sources/local/vala-m4-0.29.3/vala-0.29.3.tar.xz
[(49/78) vala-m4 -> extract ]
-----> Extracting tarball to
/home/azureuser/cerbero/sources/windows_x86/vala-0.29.3
Unpacking
/home/azureuser/cerbero/sources/local/vala-m4-0.29.3/vala-0.29.3.tar.xz in
/home/azureuser/cerbero/sources/windows_x86
[(49/78) vala-m4 -> configure ]
[(49/78) vala-m4 -> compile ]
[(49/78) vala-m4 -> install ]
Recipe 'vala-m4' failed at the build step 'install'
Traceback (most recent call last):
  File "./cerbero/build/oven.py", line 143, in _cook_recipe
    stepfunc()
  File "/home/azureuser/cerbero/recipes/build-tools/vala-m4.recipe", line 32,
in install
    os.path.join(self.config.install_dir, 'share', 'vala', 'Makefile.vapigen'))
  File "/usr/lib/python2.7/shutil.py", line 119, in copy
    copyfile(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 2] No such file or directory:
'/home/azureuser/cerbero/dist/windows_x86/share/vala/Makefile.vapigen'

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list