Daily Ports+ #5: Yet Another One Fails2008年01月21日 16時21分22秒

# ports+ test
# upgrade openoffice.org-2.2.0 to openoffice.org-2.3.1_1
# upgrade qemu-0.9.0_4 to qemu-0.9.1

Qemu is yet another one had failed before and failed again. Qemu fails in the build stage.

# ports+ /var/db/pkg/qemu-0.9.0_4
qemu-0.9.0_4 to qemu-0.9.1
===>  Building for qemu-0.9.1
gmake[1]: Entering directory `/ports/tmp/usr/ports/emulators/qemu/work/qemu-0.9.1'
( cd bsd ; make CC=gcc34 )
make: don't know how to make w. Stop
gmake[1]: *** [bsd/libmath.a] Error 2
gmake[1]: Leaving directory `/ports/tmp/usr/ports/emulators/qemu/work/qemu-0.9.1'
*** Error code 2

Stop in /usr/ports/emulators/qemu.
*** Error code 1

Stop in /usr/ports/emulators/qemu.
gmake: *** [/var/db/pkg/qemu-0.9.1] Error 1

I haven't really investigated this problem again. However, it still appears that some environment variables or "make" arguments are leaking unexpectedly.

# cd /usr/ports/emulators/qemu
# make build
rm -f libqemu.a
ar rcs libqemu.a exec.o kqemu.o translate-op.o translate-all.o cpu-exec.o transl
ate.o op.o host-utils.o fpu/softfloat.o op_helper.o helper.o cris-dis.o mmu.o di
sas.o i386-dis.o 
gcc34  -g -o qemu-system-cris vl.o osdep.o monitor.o pci.o loader.o isa_mmio.o b
lock-raw-posix.o lsi53c895a.o usb-ohci.o eeprom93xx.o eepro100.o ne2000.o pcnet.
o rtl8139.o etraxfs.o ptimer.o etraxfs_timer.o etraxfs_ser.o gdbstub.o ../libqem
u_common.a libqemu.a ../bsd/libmath.a  -lm -lz -L/usr/local/lib -lgnutls   -L/us
r/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread   -lutil ../bsd/libmath.a
/usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libvga.so.1, may confl
ict with libm.so.5
gmake[1]: Leaving directory `/ports/tmp/usr/ports/emulators/qemu/work/qemu-0.9.1

Building from /usr/lports/emulators/qemu is a workaround. Installation works fine with ports+.

# ports+ /var/db/pkg/qemu-0.9.0_4
qemu-0.9.0_4 to qemu-0.9.1
===>  Deinstalling for emulators/qemu
===>   Deinstalling qemu-0.9.0_4
===>  Installing for qemu-0.9.1

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:

Previous. Next.