pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44325: emulators/qemu doesn't build on netbsd-4



>Number:         44325
>Category:       pkg
>Synopsis:       emulators/qemu doesn't build on netbsd-4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 04 01:20:00 +0000 2011
>Originator:     Michael van Elst
>Release:        NetBSD 4.0_STABLE
>Organization:
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."
>Environment:
        
        
System: NetBSD henery 4.0_STABLE NetBSD 4.0_STABLE (HENERY) #33: Sat Sep 4 
13:49:00 CEST 2010 
mlelstv@henery:/home/netbsd4/obj.i386/home/netbsd4/src/sys/arch/i386/compile/HENERY
 i386
Architecture: i386
Machine: i386
>Description:
Building emulators/qemu aborts because the bios sign script runs
the 'od' command with the option '-A n' which isn't supported
in netbsd-4.

[...]
  Building optionrom/multiboot.img
  Building optionrom/multiboot.raw
  Signing optionrom/multiboot.bin
od: unknown option -- A
od: od(1) has been deprecated for hexdump(1).
hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]
/pkg_comp/obj/pkgsrc/emulators/qemu/build_pkgs/qemu-0.13.0/pc-bios/optionrom/signrom.sh:
 arithmetic expression: syntax error: "  * 512 - 1 "
gmake[1]: *** [multiboot.bin] Error 2
rm multiboot.o multiboot.raw multiboot.img
gmake: *** [romsubdir-optionrom] Error 2
*** Error code 2

>How-To-Repeat:
Try to build emulators/qemu on netbsd-4.

>Fix:
-A n tells od to not print the address column, use standard text
tools instead.

In pc-bios/optionrom/signrom.sh line 34:
nums=`od -t u1 -v "$1" | sed -e 's/^[^ ]* //'`

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index