From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 4 07:50:03 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 BDB681065678 for ; Thu, 4 Sep 2008 07:50:03 +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 97DB98FC12 for ; Thu, 4 Sep 2008 07:50:03 +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 m847o36A077681 for ; Thu, 4 Sep 2008 07:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m847o3QD077680; Thu, 4 Sep 2008 07:50:03 GMT (envelope-from gnats) Resent-Date: Thu, 4 Sep 2008 07:50:03 GMT Resent-Message-Id: <200809040750.m847o3QD077680@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, Edward.Sanford.Sutton@FreeBSD.org, III Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44590106566C for ; Thu, 4 Sep 2008 07:44:03 +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 3110B8FC21 for ; Thu, 4 Sep 2008 07:44:03 +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 m847i22J073585 for ; Thu, 4 Sep 2008 07:44:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m847i2QK073444; Thu, 4 Sep 2008 07:44:02 GMT (envelope-from nobody) Message-Id: <200809040744.m847i2QK073444@www.freebsd.org> Date: Thu, 4 Sep 2008 07:44:02 GMT From: Edward.Sanford.Sutton@FreeBSD.org, III To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/127082: [patch] port emulators/bochs does not build correctly with SDL=on 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: Thu, 04 Sep 2008 07:50:03 -0000 >Number: 127082 >Category: ports >Synopsis: [patch] port emulators/bochs does not build correctly with SDL=on >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Sep 04 07:50:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Edward Sanford Sutton, III >Release: 7.0-RELEASE-p1 >Organization: >Environment: FreeBSD darkstar.l.net 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Fri Jun 13 14:39:40 MST 2008 root@darkstar.l.net:/usr/obj/usr/src/sys/MYKERNEL7 i386 >Description: When building emulators/bochs with SDL=on, the command `sdl-config --cflags --libs` returns -lSDL among the list and results in the error "libtool: link: cannot find the library `'" on my system. Replacing -lSDL with -lSDL-1.2 does compile successfully. I do not know why one works while the other fails as both libraries exist with the same size and md5 output. I have the following packages installed with SDL referenced in the package name: ecore-sdl-0.9.9.042 evas-engine-sdl-0.9.9.042 linux-sdl-1.2.10,1 sdl-1.2.13_1,2 sdl_image-1.2.6_1 sdl_mixer-1.2.8_1 sdl_net-1.2.7 sdl_ttf-2.0.9 The following are ll and md5 outputs for the SDL libraries lrwxr-xr-x 1 root wheel 16 Apr 1 20:51 /usr/local/lib/libSDL-1.2.so -> libSDL-1.2.so.11 -rwxr-xr-x 1 root wheel 474726 Apr 1 20:51 /usr/local/lib/libSDL-1.2.so.11 -rw-r--r-- 1 root wheel 573622 Apr 1 20:51 /usr/local/lib/libSDL.a -rwxr-xr-x 1 root wheel 1074 Apr 1 20:51 /usr/local/lib/libSDL.la lrwxr-xr-x 1 root wheel 16 Apr 1 20:51 /usr/local/lib/libSDL.so -> libSDL-1.2.so.11 -rwxr-xr-x 1 root wheel 474726 Mar 29 09:48 /usr/local/lib/libSDL.so.11 MD5 (/usr/local/lib/libSDL-1.2.so) = afc4aa0649438be1cec61d5034265a43 MD5 (/usr/local/lib/libSDL-1.2.so.11) = afc4aa0649438be1cec61d5034265a43 MD5 (/usr/local/lib/libSDL.a) = b3bf46b992b8864b27783353a0f68b67 MD5 (/usr/local/lib/libSDL.la) = 9c65466b9fa31335e7f0c02ea7bc240f MD5 (/usr/local/lib/libSDL.so) = afc4aa0649438be1cec61d5034265a43 MD5 (/usr/local/lib/libSDL.so.11) = afc4aa0649438be1cec61d5034265a43 >How-To-Repeat: Attempt to build emulators/bochs with SDL=on defined should do the trick, but my current settings are: ===> The following configuration options are available for bochs-2.3.7,2: AES=off "Enable support of AES CPU extensions" CDROM=on "Enable CDROM support" CLGD54XX=off "Enable Cirrus Logic GD54xx video card" DEBUGGER=off "Enable debugger and disassembler support" DEBUGGER_X86=off "Enable x86 hardware debugger" FPU=on "Enable FPU emulator" IDLE_HACK=on "Keep Bochs from using all CPU time" IGNORE_BAD_MSR=off "Ignore unknown MSR references (don't panic)" MTRR=off "Enable MTRR emulation (CPU level >= 6)" MWAIT=off "Enable experimental MONITOR/MWAIT support" NE2000=on "Enable limited ne2000 support" NEW_PIT=on "Enable use of the new PIT model" OPTIMIZATIONS=on "Enable all safe speeed optimizations" PCI=on "Enable limited i440FX PCI support" PLUGINS=off "Enable building dynamic loadable plugins" PNIC=off "Enable PCI pseudo NIC (network card) support" PORT_E9_HACK=on "Writes to port e9 go to console" READLINE=off "Enable readline support in debugger" RFB=off "Enable VNC server support in display" SB16=on "Enable Sound Blaster 16 emulation" SDL=on "Enable SDL display interface" SHOW_IPS=off "Enable logging of measured IPS" SMP=on "Enable SMP simulation support (CPU level 6)" SSE4=off "Enable emulation of SSE4.2 instruction set" SVGA=on "Enable SVGAlib support" TCACHE=on "Enable trace cache" TERM=off "Use text only, console based interface" USB=off "Enable limited i440FX PCI USB support" VBE=on "Enable VGA BIOS Extensions" WX=off "Use WxWidgets display interface" X11=on "Use X11 display interface" X86_64=off "Enable AMD x86-64 support" XPM=on "Enable XPM library support" XSAVE=off "Enable support of XSAVE/XRSTOR CPU extensions" >Fix: I placed this patch as emulators/bochs/files/patch-Makefile.in --- Makefile.in.orig 2008-09-01 11:59:47.000000000 -0700 +++ Makefile.in 2008-09-01 12:06:44.000000000 -0700 @@ -103,7 +103,7 @@ X_PRE_LIBS = @X_PRE_LIBS@ XPM_LIB = @XPM_LIB@ GUI_LINK_OPTS_X = $(X_LIBS) $(X_PRE_LIBS) -lX11 $(XPM_LIB) -GUI_LINK_OPTS_SDL = `sdl-config --cflags --libs` +GUI_LINK_OPTS_SDL = `sdl-config --cflags --libs | sed -e "s/-lSDL/-lSDL-1.2/"` GUI_LINK_OPTS_SVGA = -lvga -lvgagl GUI_LINK_OPTS_BEOS = -lbe GUI_LINK_OPTS_RFB = @RFB_LIBS@ >Release-Note: >Audit-Trail: >Unformatted: