Bug 1224785

Summary: rebuild for vala 0.28 (currently only vala 0.26 is supported)
Product: [Fedora] Fedora Reporter: Raphael Groner <projects.rg>
Component: xfce4-valaAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: high    
Version: 22CC: kevin, michel
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: xfce4-vala-4.10.3-5.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-05 23:42:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1224800    
Attachments:
Description Flags
xfce4-vala-0.28.patch
none
xfce4-vala-0.28.patch
none
xfce4-vala-0.28.patch
none
xfce4-vala-0.28.patch none

Description Raphael Groner 2015-05-25 17:30:49 UTC
Description of problem:
$ /usr/bin/valac --pkg gtk+-2.0 --pkg gmodule-2.0 --pkg gio-2.0 --pkg libxfce4ui-1  -C foo.vala
error: Package `libxfce4ui-1' not found in specified Vala API directories or GObject-Introspection GIR directories

Version-Release number of selected component (if applicable):
xfce4-vala-4.10.3-4.fc22.noarch
vala-0.28.0-1.fc22.x86_64

How reproducible:
yes

Steps to Reproduce:
1. see command above
2.
3.

Actual results:
$ find /usr/share/vala* -name libxfce4ui-1\*
/usr/share/vala-0.26/vapi/libxfce4ui-1.deps
/usr/share/vala-0.26/vapi/libxfce4ui-1.vapi

Expected results:
$ find /usr/share/vala* -name libxfce4ui-1\*
/usr/share/vala-0.28/vapi/libxfce4ui-1.deps
/usr/share/vala-0.28/vapi/libxfce4ui-1.vapi


Additional info:
Vala seems to expect vapi settings in the individual vala-%{version} folder. That means xfce4-vala needs a rebuild once a new vala update arrives.
Why is there /usr/share/vala/vapi/ besides /usr/share/vala-%{version}/vapi/ ?
CC'ing to vala maintainer.

Raising severity cause package is unusable at the moment in stable Fedora22, but easy fix possible with just rebuild.

Comment 1 Raphael Groner 2015-05-25 17:57:50 UTC
FEDORA-2015-4700 breaks it.

Comment 2 Raphael Groner 2015-05-25 18:13:56 UTC
Created attachment 1029564 [details]
xfce4-vala-0.28.patch

Comment 3 Raphael Groner 2015-05-25 18:16:10 UTC
Created attachment 1029567 [details]
xfce4-vala-0.28.patch

Comment 4 Raphael Groner 2015-05-25 18:26:40 UTC
Created attachment 1029571 [details]
xfce4-vala-0.28.patch

Comment 5 Raphael Groner 2015-05-25 18:47:40 UTC
Created attachment 1029596 [details]
xfce4-vala-0.28.patch

Comment 6 Fedora Update System 2015-05-25 20:52:52 UTC
xfce4-vala-4.10.3-5.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/xfce4-vala-4.10.3-5.fc22

Comment 7 Fedora Update System 2015-05-27 16:10:32 UTC
Package xfce4-vala-4.10.3-5.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xfce4-vala-4.10.3-5.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-8874/xfce4-vala-4.10.3-5.fc22
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-06-05 23:42:33 UTC
xfce4-vala-4.10.3-5.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.