Date: Sat, 1 Jul 2006 13:04:03 +0900 (JST) From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/99668: sysutils/lsof cannot build on FreeBSD/pc98 7.0-current Message-ID: <200607010404.k61442C4042152@ra333.heimat.gr.jp> Resent-Message-ID: <200607010410.k614AJ79011104@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 99668 >Category: ports >Synopsis: sysutils/lsof cannot build on FreeBSD/pc98 7.0-current >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 01 04:10:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: NAKAJI Hiroyuki >Release: FreeBSD 7.0-CURRENT pc98 >Organization: >Environment: System: FreeBSD ra333.heimat.gr.jp 7.0-CURRENT FreeBSD 7.0-CURRENT #30: Sat Jun 24 17:32:12 JST 2006 root@ra333.heimat.gr.jp:/usr/obj/usr/src/sys/RA333 pc98 >Description: Recent change on FreeBSD/pc98 caused the build error of sysutils/lsof. The Configure script in lsof just runs "grep" to check if sys/types.h or machine/_types.h has the definition of cpumask_t. The machine/_types.h on FreeBSD/pc98 now has only one line: #include <i386/_types.h> which does not pass the check of Configure, though FreeBSD/pc98 has cpumask_t. >How-To-Repeat: Prepare FreeBSD/pc98 7.0-CURRENT and execute following commands. cd /usr/ports/sysutils/lsof make >Fix: To make files/patch-Configure was successful. --- Configure.orig Sat Jul 1 12:46:31 2006 +++ Configure Sat Jul 1 12:49:06 2006 @@ -1577,7 +1577,7 @@ grep -q cpumask_t ${LSOF_INCLUDE}/sys/types.h if test $? -eq 0 # { then - grep -q __cpumask_t ${LSOF_INCLUDE}/machine/_types.h + $LSOF_CC -E ${LSOF_INCLUDE}/machine/_types.h 2>/dev/null | grep -q __cpumask_t if test $? -eq 0 # { then LSOF_CFGF="$LSOF_CFGF -DHASCPUMASK_T" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607010404.k61442C4042152>