Hi Ole,

systemconfigurator doesn't support currently labels, and it looks like
you're using labels. During the testing phase of the RPM build the grub
test fails because it is using the partitioning info from the host.

Could you please post the content of your /etc/fstab and /proc/partitions?
And the output of blkid?

By the way, do you have selinux enabled on your system? Not sure, but that
could have some impact on running under chroot.

I just realize that the test doesn't copy /sbin/lbkid to the mini-chroot
used for testing. Maybe you want to try adding

copy("/sbin/blkid","$root/usr/sbin/blkid") or ($skip = 1);

to t/boot_grub.t in the systemconfigurator tarball. I'd be curious about the
result.

Best regards,
Erich


On Thursday 12 July 2007 16:05, Ole Holm Nielsen wrote:
> We're trying to build the systemconfigurator-2.2.9 RPM on CentOS 4 and 5
> machines, but the "rpmbuild -ba sc.spec" bombs out with an error message
> about not being able to identify the boot disk on the build system.
> The error apparently comes from the module
> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Label.pm
> 
[...]
> t/boot_grub................ok 1/10WARNING: Label /1 not found anywhere on the 
> system! at 
> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm 
> line 373
> WARNING: Label /boot1 not found anywhere on the system! at 
> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 373
> WARNING: Label /scratch not found anywhere on the system! at 
> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 373
> WARNING: Label SWAP-sda3 not found anywhere on the system! at 
> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 373
> Use of uninitialized value in concatenation (.) or string at 
> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 421.
> WARNING: Label /1 not found anywhere on the system! at 
> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 297
> WARNING: Label /boot1 not found anywhere on the system! at 
> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 297
> WARNING: Label /scratch not found anywhere on the system! at 
> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 297
> WARNING: Label SWAP-sda3 not found anywhere on the system! at 
> /usr/src/redhat/BUILD/systemconfigurator-2.2.9/blib/lib/Boot/Grub.pm line 297
> BOOTDEV option under [BOOT] section ignored.
> Error: None of the following bootloaders were successfully setup on your 
> system:
> YaBoot,Iseries,EFI,Elilo,Lilo,Grub,Palo,Aboot,ZIPL
> 
> t/boot_grub................dubious
>          Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED tests 3-10
>          Failed 8/10 tests, 20.00% okay
> (lines deleted)

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to