Quoting Brad Smith <b...@comstyle.com>:

On 19/08/13 1:45 AM, Brad Smith wrote:
Here is an update to QEMU 1.6.0.

Looking for any testing.

Anyone?

Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/qemu/Makefile,v
retrieving revision 1.109
diff -u -p -r1.109 Makefile
--- Makefile    19 Aug 2013 05:28:20 -0000      1.109
+++ Makefile    19 Aug 2013 05:29:44 -0000
@@ -4,8 +4,7 @@ ONLY_FOR_ARCHS= amd64 i386 powerpc sparc

COMMENT=        multi system emulator

-DISTNAME=      qemu-1.5.1
-REVISION=      0
+DISTNAME=      qemu-1.6.0
CATEGORIES=     emulators
MASTER_SITES=   http://wiki.qemu.org/download/
EXTRACT_SUFX=   .tar.bz2
@@ -84,9 +83,6 @@ CONFIGURE_ARGS+=--disable-debug-info
.endif

TEST_TARGET=    check
-
-post-extract:
-       @rm ${WRKSRC}/include/libfdt_env.h

post-install:
        ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup \
Index: distinfo
===================================================================
RCS file: /cvs/ports/emulators/qemu/distinfo,v
retrieving revision 1.30
diff -u -p -r1.30 distinfo
--- distinfo    18 Jul 2013 20:20:18 -0000      1.30
+++ distinfo    19 Aug 2013 05:29:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (qemu-1.5.1.tar.bz2) = TBWh7i84eYPrXBSX9mv1Z8NNFLpIUXFI9ur++K4J4+g=
-SIZE (qemu-1.5.1.tar.bz2) = 11931754
+SHA256 (qemu-1.6.0.tar.bz2) = MTLlitom1DtpJOjC8H24CqHlAi89zwPe59i7kZSyy0g=
+SIZE (qemu-1.6.0.tar.bz2) = 12040196
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/emulators/qemu/patches/patch-configure,v
retrieving revision 1.35
diff -u -p -r1.35 patch-configure
--- patches/patch-configure     18 Jul 2013 20:20:18 -0000      1.35
+++ patches/patch-configure     19 Aug 2013 05:29:44 -0000
@@ -1,39 +1,7 @@
$OpenBSD: patch-configure,v 1.35 2013/07/18 20:20:18 brad Exp $
---- configure.orig     Wed Jun 26 17:47:29 2013
-+++ configure  Fri Jun 28 00:47:20 2013
-@@ -2517,9 +2517,31 @@ fi
-
- ##########################################
- # fdt probe
-+# fdt support is mandatory for at least some target architectures,
-+# so insist on it if we're building those system emulators.
-+fdt_required=no
-+for target in $target_list; do
-+  case $target in
-+    arm*-softmmu|ppc*-softmmu|microblaze*-softmmu)
-+      fdt_required=yes
-+    ;;
-+  esac
-+done
-+
-+if test "$fdt_required" = "yes"; then
-+  if test "$fdt" = "no"; then
-+    error_exit "fdt disabled but some requested targets require it." \
-+ "You can turn off fdt only if you also disable all the system emulation" \
-+      "targets which need it (by specifying a cut down --target-list)."
-+  fi
-+  fdt=yes
-+fi
-+
- if test "$fdt" != "no" ; then
-   fdt_libs="-lfdt"
-+ # explicitly check for libfdt_env.h as it is missing in some stable installs
-   cat > $TMPC << EOF
-+#include <libfdt_env.h>
- int main(void) { return 0; }
- EOF
-   if compile_prog "" "$fdt_libs" ; then
-@@ -3389,8 +3411,6 @@ fi
+--- configure.orig     Thu Aug  1 18:01:00 2013
++++ configure  Thu Aug  1 23:49:10 2013
+@@ -3379,8 +3379,6 @@ fi
if test "$gcov" = "yes" ; then
  CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS"
  LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS"
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/emulators/qemu/pkg/PLIST,v
retrieving revision 1.26
diff -u -p -r1.26 PLIST
--- pkg/PLIST   3 Jun 2013 22:34:24 -0000       1.26
+++ pkg/PLIST   19 Aug 2013 05:29:44 -0000
@@ -60,6 +60,7 @@ share/locale/de_DE/LC_MESSAGES/qemu.mo
share/locale/fr_FR/
share/locale/fr_FR/LC_MESSAGES/
share/locale/fr_FR/LC_MESSAGES/qemu.mo
+share/locale/hu/LC_MESSAGES/qemu.mo
share/locale/it/LC_MESSAGES/qemu.mo
share/locale/tr/LC_MESSAGES/qemu.mo
share/qemu/
@@ -127,6 +128,7 @@ share/qemu/pxe-rtl8139.rom
share/qemu/pxe-virtio.rom
share/qemu/q35-acpi-dsdt.aml
share/qemu/qemu-icon.bmp
+share/qemu/qemu_logo_no_text.svg
share/qemu/s390-ccw.img
share/qemu/s390-zipl.rom
share/qemu/sgabios.bin



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Thank you very much for this port.

The package built without too many problems after doing a

ulimit -d 5242880
ulimit -s 16384
ulimit -n 1024
ulimit -p 512

and I am able to run (acurrent.img is an older version of OpenBSD that has OpenLDAP, Samba, Horde, Plone and other packages), but if you want me to do any tests with the real current please let me know)

sudo env ETHER=em0 qemu-system-x86_64 \
        -net nic,vlan=0,macaddr=AA:BB:CC:23:23:00 -net tap,vlan=0 \
        -net nic,vlan=1,macaddr=AA:BB:CC:23:23:10 -net tap,vlan=1 \
        -net nic,vlan=2,macaddr=AA:BB:CC:23:23:20 -net tap,vlan=2 \
        -net nic,vlan=3,macaddr=AA:BB:CC:23:23:30 -net tap,vlan=3 \
        -m 1200 -no-fd-bootchk -hda acurrent.img -nographic

Details follow, in case it has any relevance:

I got many warnings such as

/home/ports/pobj/g77-3.3.6/g77/gcc/recog.h:227: warning: type of bit-field 'mode' is a GCC extension

Last weekend, when I tried, everything built till

===>  Checking files for lapack-3.1.1p4
Fetch ftp://ftp.netlib.org/lapack/lapack-3.1.1.tgz
ftp: connect: Connection timed out
ftp: Can't connect or login to host `ftp.netlib.org'
Fetch ftp://netlib.bell-labs.com/netlib/lapack/lapack-3.1.1.tgz
Cwd failed: '/netlib/lapack' does not exist

Today, I retried and this time lapack downloaded from a site in .no and the following package were built.

-rw-r--r--  3 vsankar  vsankar       94971 Sep  6 15:18 dtc-1.3.0.tgz
-rw-r--r--  3 vsankar  vsankar       41907 Sep  6 15:19 py-cairo-1.10.0p1.tgz
-rw-r--r-- 3 vsankar vsankar 652567 Sep 6 15:20 py-gobject-2.28.6p5v0.tgz
-rw-r--r--  3 vsankar  vsankar     2150316 Sep  6 15:23 g77-3.3.6p2v1.tgz
-rw-r--r--  3 vsankar  vsankar      247834 Sep  6 15:24 libf2c-3.3.6p2.tgz
-rw-r--r--  3 vsankar  vsankar      488180 Sep  6 15:28 blas-1.0p6.tgz
-rw-r--r--  3 vsankar  vsankar     7462217 Sep  6 15:39 lapack-3.1.1p4.tgz
-rw-r--r--  3 vsankar  vsankar     2947232 Sep  6 15:41 py-numpy-1.6.0p3.tgz
-rw-r--r--  3 vsankar  vsankar     2747872 Sep  6 15:44 py-gtk2-2.24.0p1.tgz
-rw-r--r--  3 vsankar  vsankar      903589 Sep  6 15:45 vte-0.28.2p10.tgz
-rw-r--r--  3 vsankar  vsankar       25572 Sep  6 15:45 py-vte-0.28.2p7.tgz
-rw-r--r--  3 vsankar  vsankar      223753 Sep  6 15:46 libssh2-1.4.3.tgz
-rw-r--r--  3 vsankar  vsankar    41138407 Sep  6 16:25 qemu-1.6.0.tgz


Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca



---------------------------------------------
This message was sent using ForeTell-POST 4.9


Reply via email to