epel 6 fedpkg build or koji scratch builds failing — I'm stumped

Kaleb S. KEITHLEY kkeithle at redhat.com
Wed Nov 23 14:57:21 UTC 2011


I can build glusterfs fine on real RHEL6.1 using rpmbuild, both x86_64 
and i686 with `rpmbuild -bb ...` and `rpmbuild -bb --target=i686 ...` 
respectively.

I can also build using mock, both x86_64 and i386, with `mock -r 
epel-6-x86_64 --rebuild ...` and mock -r epel-6-i386 --rebuild ...` 
respectively.

In all the above cases I get all the expected RPMs and the build.log 
shows no errors.

But when I do a `fedpkg build` or a `koji --scratch ...`  in the el6 
branch of my fedora-scm tree the builds fall down with an error 
compiling a y.tab.c file. Suffice it to say it builds for f16 and 
rawhide just fine using the exact same sources and spec file.

Build logs aren't particularly helpful and since they succeed in mock 
and rpmbuild I can't debug the build issue locally. Obviously there's a 
compile error of the y.tab.c file, but I can't see why it doesn't work 
in koji when it does work everywhere else.

Perhaps there's some extra fedpkg flag I should be using for epel builds?

--

K





More information about the devel mailing list