yaboot doesn't compile on FC16 (ppc64)

Tony Breeds tony at bakeyournoodle.com
Tue Apr 10 16:43:36 EST 2012


On Thu, Apr 05, 2012 at 10:48:45AM -0700, Nishanth Aravamudan wrote:
> So I'm going to update the yaboot binary that ships with cobbler, as
> it's rather out of date (yaboot-1.3.14), but was hoping to build from
> source.
> 
> I get the following initially:
> 
> second/yaboot.c: In function 'setup_display':
> second/yaboot.c:1510:13: error: variable 'result' set but not used [-Werror=unused-but-set-variable]
> cc1: all warnings being treated as errors
> 
> If I fix this, I get more errors, etc. etc.
> 
> If I revert b1bdfaf8b8da39e0aa888643b1998a948f83e7dd ('make: Update
> CFLAGS to for -Werror.'), I get the following:

Yeah that was a bad idea.  I''ll turn it off again in the next release.
 
> ld -Ttext 0x100000 -Bstatic -melf32ppclinux second/crt0.o second/yaboot.o second/cache.o second/prom.o second/file.o second/partition.o second/fs.o second/cfg.o second/setjmp.o second/cmdline.o second/fs_of.o second/fs_ext2.o second/fs_iso.o second/fs_swap.o second/iso_util.o lib/nonstd.o lib/nosys.o lib/string.o lib/strtol.o lib/vsprintf.o lib/ctype.o lib/malloc.o lib/strstr.o second/md5.o second/fs_xfs.o second/fs_reiserfs.o -lext2fs `gcc -m32 -print-libgcc-file-name` -o second/yaboot
> ld: skipping incompatible /usr/lib64/libext2fs.a when searching for -lext2fs
> ld: cannot find -lext2fs
> 
> This is because, I think, there is no e2fsprogs-static.ppc in the FC16
> repositories. Should there be?

Yes there should be.  Doing a mock build of
e2fsprogs-1.41.14-2.fc15.src.rpm shows no problems.  I've build the ppc
RPMs I just need to poke someone to tag them into F16 (if that's
possible)

FWIW, you can get them at: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=485960

Yours Tony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/yaboot-devel/attachments/20120410/64a87871/attachment.sig>


More information about the Yaboot-devel mailing list