From owner-freebsd-ports@FreeBSD.ORG Mon May 28 20:25:55 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7226916A476; Mon, 28 May 2007 20:25:55 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id CE50313C4BE; Mon, 28 May 2007 20:25:54 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 2C0EE1B044D; Mon, 28 May 2007 22:25:53 +0200 (CEST) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id l4SKOAeg071393; Mon, 28 May 2007 22:24:10 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id l4SKO9VT071392; Mon, 28 May 2007 22:24:09 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 28 May 2007 22:24:09 +0200 To: Eric Anderson , freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org Message-ID: <20070528202409.GA71207@saturn.kn-bremen.de> Mail-Followup-To: Eric Anderson , freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org References: <20070526181709.GA10188@saturn.kn-bremen.de> <4658BC6E.5080208@freebsd.org> <20070527125824.GA1982@saturn.kn-bremen.de> <4659C0A2.6030808@freebsd.org> <20070527185235.GA21463@saturn.kn-bremen.de> <4659D601.3060707@freebsd.org> <20070527205415.GA26330@saturn.kn-bremen.de> <20070528114826.GA51871@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070528114826.GA51871@saturn.kn-bremen.de> User-Agent: Mutt/1.5.14 (2007-02-12) Cc: Subject: Re: another qemu-devel port update ready for testing X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 20:25:55 -0000 On Mon, May 28, 2007 at 01:48:26PM +0200, Juergen Lock wrote: > On Sun, May 27, 2007 at 10:54:15PM +0200, I wrote: > > On Sun, May 27, 2007 at 02:03:29PM -0500, Eric Anderson wrote: > > > On 05/27/07 13:52, Juergen Lock wrote: > > > >On Sun, May 27, 2007 at 12:32:18PM -0500, Eric Anderson wrote: > > > >>On 05/27/07 07:58, Juergen Lock wrote: > > > >>>On Sat, May 26, 2007 at 06:02:06PM -0500, Eric Anderson wrote: > > > >>>>On a recent -CURRENT (with the new GCC): > > > >>>> > > > >>>># make > > > >>>>... > > > >>>>===> Configuring for qemu-devel-0.9.0s.20070526 > > > >>>>WARNING: "cc" looks like gcc 4.x > > > >>>>QEMU is known to have problems when compiled with gcc 4.x > > > >>>>It is recommended that you use gcc 3.x to build QEMU > > > >>>>To use this compiler anyway, configure with --disable-gcc-check > > > >>>>===> Script "configure" failed unexpectedly. > > > >>>>Please report the problem to nox@FreeBSD.org [maintainer] and attach the > > > >>>>"/usr/ports/emulators/qemu-devel/work/qemu-snapshot-2007-05-26_05/config.log" > > > >>>>including the output of the failure of your make command. Also, it > > > >>>>might be > > > >>>>a good idea to provide an overview of all packages installed on your > > > >>>>system > > > >>>>(e.g. an `ls /var/db/pkg`). > > > >>>>*** Error code 1 > > > >>>> > > > >>>>Stop in /usr/ports/emulators/qemu-devel. > > > >>>>*** Error code 1 > > > >>>> > > > >>>>Stop in /usr/ports/emulators/qemu-devel. > > > >>>Hmm that should not happen... Do you have an old version of > > > >>>bsd.gcc.mk maybe? > > > >>> > > > >>> Juergen > > > >> > > > >># $FreeBSD: ports/Mk/bsd.gcc.mk,v 1.12 2007/05/19 22:06:14 pav Exp $ > > > >> > > > >> > > > >>That the right one? > > > > > > > >Yeah. Ok probably CONFIGURE_ARGS needs to come after the > > > >bsd.port.pre.mk include for it to pick up the right ${CC}... try this: > > > > > > > > > Same thing.. > > > > Ok we'll have to find out what configure is doing there, use this and > > send me the output: > >... > > s/use/please use/ o_O > > This is getting stranger and stranger... I just diff'd this snapshot's > configure script with the one thats in ports and saw nothing relevant, > and the one in ports does build on pointyhat with configure picking up > the right compiler: > http://pointyhat.freebsd.org/errorlogs/i386-7-latest-logs/qemu-devel-0.9.0s.20070405_4.log Ok it built on miwi's tb correctly picking up gcc34: http://miwi.homeunix.com/tb/logs/7.0-HEAD/qemu-devel-0.9.0s.20070526.log I forgot bin/qemu-system-ppcemb in plist, so below is the update again, could you try this on your box and look for differences in the configure log against miwi's? That may tell us whats happening there... Thx, Juergen Index: Makefile =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/Makefile,v retrieving revision 1.77 diff -u -r1.77 Makefile --- Makefile 19 May 2007 20:04:37 -0000 1.77 +++ Makefile 27 May 2007 20:49:10 -0000 @@ -6,8 +6,7 @@ # PORTNAME= qemu -PORTVERSION= 0.9.0s.20070405 -PORTREVISION= 4 +PORTVERSION= 0.9.0s.20070526 CATEGORIES= emulators MASTER_SITES= http://qemu.org/:release \ http://qemu-forum.ipi.fi/qemu-snapshots/:snapshot \ @@ -15,11 +14,11 @@ http://www.volny.cz/xnavara/qemu/:snapshot \ http://people.brandeis.edu/~jcoiner/qemu_idedma/:idedma \ http://people.freebsd.org/~maho/qemu/:misc -DISTNAME= ${PORTNAME}-snapshot-2007-04-05_05 +PKGNAMESUFFIX= -devel +DISTNAME= ${PORTNAME}-snapshot-2007-05-26_05 DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot DIST_SUBDIR= qemu EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -PKGNAMESUFFIX= -devel MAINTAINER= nox@FreeBSD.org COMMENT= QEMU CPU Emulator - development snapshot @@ -31,7 +30,6 @@ USE_PERL5= yes USE_GCC= 3.4 PATCH_STRIP= -p1 -CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} MAKE_ENV+= BSD_MAKE="${MAKE}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" MAN1= qemu.1 qemu-img.1 ONLY_FOR_ARCHS= amd64 i386 @@ -47,6 +45,7 @@ .include WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation +CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} .if defined(WITHOUT_SDL) CONFIGURE_ARGS+= --disable-sdl --disable-gfx-check @@ -111,4 +110,19 @@ post-install: @${CAT} ${PKGMESSAGE} +# debug: +do-configure: + @(cd ${CONFIGURE_WRKSRC} && \ + if ! ${SETENV} CC="${CC}" CXX="${CXX}" \ + CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ + INSTALL="/usr/bin/install -c ${_BINOWNGRP}" \ + INSTALL_DATA="${INSTALL_DATA}" \ + INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ + INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ + ${CONFIGURE_ENV} ${SH} -x ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; then \ + ${ECHO_MSG} "===> Script \"${CONFIGURE_SCRIPT}\" failed unexpectedly."; \ + (${ECHO_CMD} ${CONFIGURE_FAIL_MESSAGE}) | ${FMT} 75 79 ; \ + ${FALSE}; \ + fi) + .include Index: distinfo =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/distinfo,v retrieving revision 1.45 diff -u -r1.45 distinfo --- distinfo 7 Apr 2007 19:14:42 -0000 1.45 +++ distinfo 26 May 2007 14:06:06 -0000 @@ -1,6 +1,6 @@ -MD5 (qemu/qemu-snapshot-2007-04-05_05.tar.bz2) = 48321d0997db88f09f01d38500c52807 -SHA256 (qemu/qemu-snapshot-2007-04-05_05.tar.bz2) = 48835ca90ced5cba2230fc95502b648167b5ca7247f885ee398ba891dbbf4c1b -SIZE (qemu/qemu-snapshot-2007-04-05_05.tar.bz2) = 1721640 +MD5 (qemu/qemu-snapshot-2007-05-26_05.tar.bz2) = 3fe2cf8c5cb26431499056bd08bb5be8 +SHA256 (qemu/qemu-snapshot-2007-05-26_05.tar.bz2) = 55e73f0593c5d31ba3483e8034542c5ab33217cc3048995dd94edf9640e8411e +SIZE (qemu/qemu-snapshot-2007-05-26_05.tar.bz2) = 1964534 MD5 (qemu/patch3_cirrus) = ebe7ed9fce804c49e024bc93bfdfc810 SHA256 (qemu/patch3_cirrus) = e862371834b7d895a896fbdb84fd9f70d17b5729a6f6789a48a61504fc941e11 SIZE (qemu/patch3_cirrus) = 8817 Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/emulators/qemu-devel/pkg-plist,v retrieving revision 1.21 diff -u -r1.21 pkg-plist --- pkg-plist 9 Apr 2007 22:11:23 -0000 1.21 +++ pkg-plist 28 May 2007 20:05:17 -0000 @@ -1,19 +1,20 @@ bin/qemu bin/qemu-img bin/qemu-system-arm +bin/qemu-system-m68k bin/qemu-system-mips bin/qemu-system-mips64 bin/qemu-system-mips64el bin/qemu-system-mipsel bin/qemu-system-ppc bin/qemu-system-ppc64 +bin/qemu-system-ppcemb bin/qemu-system-sparc bin/qemu-system-x86_64 %%PORTDOCS%%%%DOCSDIR%%/qemu-doc.html %%PORTDOCS%%%%DOCSDIR%%/qemu-tech.html %%PORTDOCS%%@dirrm %%DOCSDIR%% %%DATADIR%%/bios.bin -%%DATADIR%%/linux_boot.bin %%DATADIR%%/vgabios.bin %%DATADIR%%/vgabios-cirrus.bin %%DATADIR%%/ppc_rom.bin