From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 29 08:20:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7D02106564A for ; Sat, 29 Mar 2008 08:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B6AAB8FC1B for ; Sat, 29 Mar 2008 08:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2T8K1SH017243 for ; Sat, 29 Mar 2008 08:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2T8K1Xl017242; Sat, 29 Mar 2008 08:20:01 GMT (envelope-from gnats) Resent-Date: Sat, 29 Mar 2008 08:20:01 GMT Resent-Message-Id: <200803290820.m2T8K1Xl017242@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Yeske Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9299106566B for ; Sat, 29 Mar 2008 08:11:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C9F308FC13 for ; Sat, 29 Mar 2008 08:11:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2T8BBa5073830 for ; Sat, 29 Mar 2008 08:11:11 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m2T8BApd073829; Sat, 29 Mar 2008 08:11:10 GMT (envelope-from nobody) Message-Id: <200803290811.m2T8BApd073829@www.freebsd.org> Date: Sat, 29 Mar 2008 08:11:10 GMT From: David Yeske To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/122225: devel/sdl12 need to check arch for svgalib X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2008 08:20:01 -0000 >Number: 122225 >Category: ports >Synopsis: devel/sdl12 need to check arch for svgalib >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 29 08:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: David Yeske >Release: HEAD >Organization: >Environment: FreeBSD speed 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Sat Mar 8 02:23:12 EST 2008 root@speed:/home/obj/usr/src/sys/SPEED amd64 >Description: If you try and install sdl on an amd64 machine it will fail if you have svgalib enabled. ===> Cleaning for sdl-1.2.13_1,2 ===> Vulnerability check disabled, database not found ===> Found saved configuration for sdl-1.2.13_1,2 ===> Extracting for sdl-1.2.13_1,2 => MD5 Checksum OK for SDL-1.2.13.tar.gz. => SHA256 Checksum OK for SDL-1.2.13.tar.gz. ===> Patching for sdl-1.2.13_1,2 ===> Applying FreeBSD patches for sdl-1.2.13_1,2 ===> sdl-1.2.13_1,2 depends on executable: nasm - found ===> sdl-1.2.13_1,2 depends on file: /usr/local/libdata/pkgconfig/xextproto.pc - found ===> sdl-1.2.13_1,2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> sdl-1.2.13_1,2 depends on file: /usr/local/libdata/pkgconfig/xrender.pc - found ===> sdl-1.2.13_1,2 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found ===> sdl-1.2.13_1,2 depends on file: /usr/local/bin/libtool - found ===> sdl-1.2.13_1,2 depends on executable: pkg-config - found ===> sdl-1.2.13_1,2 depends on shared library: aa.1 - found ===> sdl-1.2.13_1,2 depends on shared library: vga.1 - not found ===> Verifying install for vga.1 in /usr/ports/graphics/svgalib ===> svgalib-1.4.3_5 is only for i386, while you are running amd64. *** Error code 1 Stop in /usr/ports/graphics/svgalib. *** Error code 1 Stop in /usr/ports/devel/sdl12. *** Error code 1 Stop in /usr/ports/devel/sdl12. >How-To-Repeat: Try and compile devel/sdl12 on an amd64 machine. >Fix: see attachment Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/sdl12/Makefile,v retrieving revision 1.111 diff -u -r1.111 Makefile --- Makefile 25 Mar 2008 22:44:48 -0000 1.111 +++ Makefile 29 Mar 2008 07:42:30 -0000 @@ -120,7 +120,7 @@ CONFIGURE_ARGS+=--disable-pulseaudio .endif -.if defined(WITHOUT_SVGALIB) +.if (defined(WITHOUT_SVGALIB) || ${ARCH} != "i386") CONFIGURE_ARGS+=--disable-video-svga .else LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib >Release-Note: >Audit-Trail: >Unformatted: