Bug 1268189 - valac isn't found when I compile programs in vala
valac isn't found when I compile programs in vala
Product: Fedora
Classification: Fedora
Component: vala (Show other bugs)
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Michel Alexandre Salim
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-10-02 01:05 EDT by David Vásquez
Modified: 2016-02-10 09:21 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-02-10 08:59:19 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Vásquez 2015-10-02 01:05:48 EDT
Description of problem:
valac isn't found when I compile programs in vala

Version-Release number of selected component (if applicable):


How reproducible:
when I make my rpm of libunity

Steps to Reproduce:
1.mock -r fedora-23-x86_64 libunity-6.12.0-3.fc22.src.rpm

Actual results:
make[2]: Leaving directory '/builddir/build/BUILD/libunity-6.12.0/data'
Making all in protocol
make[2]: Entering directory '/builddir/build/BUILD/libunity-6.12.0/protocol'
  GEN      libunity_protocol_private_la_vala.stamp
/bin/sh: valac: command not found
Makefile:887: recipe for target 'libunity_protocol_private_la_vala.stamp' failed
make[2]: Leaving directory '/builddir/build/BUILD/libunity-6.12.0/protocol'
make[2]: *** [libunity_protocol_private_la_vala.stamp] Error 127
Makefile:559: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/builddir/build/BUILD/libunity-6.12.0'
Makefile:465: recipe for target 'all' failed
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Expected results:

Writed: /builddir/build/RPMS/libunity-6.12.0-3.fc23.x86_64.rpm
Writed: /builddir/build/RPMS/libunity-debuginfo-6.12.0-3.fc23.x86_64.rpm
Finish: rpmbuild libunity-6.12.0-3.fc22.src.rpm
Finish: build phase for libunity-6.12.0-3.fc22.src.rpm
INFO: Done(/home/makerpm/fc22/srpm/libunity-6.12.0-3.fc22.src.rpm) Config(fedora-23-x86_64) 7 minutes 5 seconds
INFO: Results and/or logs in: /var/lib/mock/fedora-23-x86_64/result
Finish: run

Additional info:
I checked the vala "src.rpm" and the packer deleted the symlinks; and He added a directive %ghost in files... (.spec). I made a symlink and build the rpm, also I modified the src.rpm of vala; I deleted the lines who erased the symlinks and also works
Comment 1 David Vásquez 2015-10-02 01:09:55 EDT
Sorry my english is bad, I have orthographic errors. ;)
Comment 2 Rex Dieter 2016-02-10 08:59:19 EST
Hi, are you still interested in packaging libunity for fedora?  I started working on it (7.1.4, latest version shipped in ubuntu), then noticed your comment here.

As for *this* bug,

/bin/sh: valac: command not found

Implies you're simply missing 
BuildRequires: vala
(the package that provides valac)

Note You need to log in before you can comment on or make changes to this bug.