FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

LinkBack Thread Tools
Old 07-18-2008, 10:12 PM
"David A. Wheeler"
Default Koji reports wrong version when building for dist-f8

Heads-up, if you're trying to build for Fedora 8 and your spec
file detects WHICH version of Fedora you're compiling for.

Fedora's Koji installation currently has a serious configuration bug for dist-f8,
at least for scratch builds. When it compiles for dist-f8,
it incorrectly thinks it's compiling for dist-f9,
instead of correctly compiling for dist-f8.
That is, when compiling for Fedora 8, %fedora == 9!!!

Proof: If your .spec file has:
%if %fedora == 9
ExcludeArch: ppc64

then "rpmbuild -bs X.spec" followed by:
koji build --scratch dist-f8 ../SRPMS/...src.rpm
will NOT build for ppc64 (wrong!).
But change "== 9" to "== 8", and it WILL build for ppc64
(wrong!). Ooooops.

Maybe it IS building for 9 instead of 8, but the result
is the same: No joy when building for Fedora 8.

I have already submitted a bug report:

But since this is just before a weekend, I don't know how long it'll
be before it's fixed. I thought I'd save
some grief for the people working over the weekend.


--- David A. Wheeler

fedora-devel-list mailing list

Thread Tools

All times are GMT. The time now is 07:05 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org