[syslinux] Rpm build problem syslinux (SUSE)

Geert Stappers stappers at stappers.nl
Wed Nov 1 10:59:04 PST 2006


Op 31-10-2006 om 09:58 schreef Kees Bakker:
> Hi,
> 
> This is not a big thing, but I still want to mention it.
> 
> The rpm build (in the spec file) it fails to remove a few .d files. After a "make clean"
> the following files are still present:
>   syslinux-3.31/com32/lib/sys/vesa/.background.o.d
>   syslinux-3.31/com32/lib/sys/vesa/.drawtxt.o.d
>   syslinux-3.31/com32/lib/sys/vesa/.alphatbl.o.d
>   syslinux-3.31/com32/lib/sys/vesa/.initvesa.o.d
> I guess in syslinux-3.31/com32/lib/Makefile we need to change
> 
> tidy:
>         rm -f *.o .*.d */*.o */.*.d sys/vesa/alphatbl.c
> 
> into
> 
> tidy:
>         rm -f *.o .*.d */*.o */.*.d */*/.*.d sys/vesa/alphatbl.c

The upstream version in "git" has

tidy:
        rm -f sys/vesa/alphatbl.c
        find . -name \*.o -print | xargs -r rm -f
        find . -name .\*.d -print | xargs -r rm -f


So it is allready fixed, thanks for reporting anyway.


> 
> And also, on OPENSUSE it wants to build the rpm for i586, not for i386. You get
> the error:
>   error: Architecture is not included: i586
> 
> This can be solved by adding i586 (and perhaps i686) to the following lines in syslinux.spec
>   ExclusiveArch: i386 i586 x86_64
> ...
>   %ifarch i386 i586
> 

I have no idea if that breaks things outside OPENSUSE.

( in other words: The proposed fix will build on i586 system,
                  but the question is if the executable will work on
                  non-i586 computers  )


Cheers
Geert Stappers




More information about the Syslinux mailing list