From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 4 08:40:02 2010 Return-Path: Delivered-To: freebsd-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 8495B106566C for ; Fri, 4 Jun 2010 08:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 489398FC1E for ; Fri, 4 Jun 2010 08:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o548e2vW071031 for ; Fri, 4 Jun 2010 08:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o548e2ud071030; Fri, 4 Jun 2010 08:40:02 GMT (envelope-from gnats) Resent-Date: Fri, 4 Jun 2010 08:40:02 GMT Resent-Message-Id: <201006040840.o548e2ud071030@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Erik Cederstrand Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24E48106566C for ; Fri, 4 Jun 2010 08:37:14 +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 1472B8FC16 for ; Fri, 4 Jun 2010 08:37:14 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o548bDku037608 for ; Fri, 4 Jun 2010 08:37:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o548bD4B037607; Fri, 4 Jun 2010 08:37:13 GMT (envelope-from nobody) Message-Id: <201006040837.o548bD4B037607@www.freebsd.org> Date: Fri, 4 Jun 2010 08:37:13 GMT From: Erik Cederstrand To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/147463: Patch for tools/regression/lib/libc/string/Makefile X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 08:40:02 -0000 >Number: 147463 >Category: misc >Synopsis: Patch for tools/regression/lib/libc/string/Makefile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 04 08:40:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Erik Cederstrand >Release: FreeBSD CURRENT >Organization: >Environment: FreeBSD clangbsd.local 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r208730: Wed Jun 2 19:10:36 CEST 2010 erik@clangbsd.local:/usr/obj/usr/home/erik/freebsd/clang/src/sys/GENERIC amd64 >Description: tools/regression/lib/libc/string/Makefile is, in contrast to most other tests, dependent on devel/libtap. Not having ltap library gives an error when running 'make'. Warn the user what's wrong. >How-To-Repeat: cd tools/regression/lib/libc/string/ make >Fix: Apply the patch to get better error message. cd /usr/ports/devel/libtap && make install to install libtap and be able to build the test Patch attached with submission follows: Index: tools/regression/lib/libc/string/Makefile =================================================================== --- tools/regression/lib/libc/string/Makefile (revision 208730) +++ tools/regression/lib/libc/string/Makefile (working copy) @@ -6,6 +6,11 @@ TESTS= test-stpncpy test-strerror test-wcscasecmp test-wcsnlen +LTAP_INSTALLED!= pkg_version | grep libtap +.if ${LTAP_INSTALLED} == "" +.error "devel/libtap not installed" +.endif + .PHONY: tests tests: ${TESTS} for p in ${TESTS}; do ${.OBJDIR}/$$p; done >Release-Note: >Audit-Trail: >Unformatted: