From owner-freebsd-current@FreeBSD.ORG Sat Jun 16 17:07:52 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89836106564A for ; Sat, 16 Jun 2012 17:07:52 +0000 (UTC) (envelope-from rsb@berentweb.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 039748FC0C for ; Sat, 16 Jun 2012 17:07:51 +0000 (UTC) Received: by lbon10 with SMTP id n10so4287877lbo.13 for ; Sat, 16 Jun 2012 10:07:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berentweb.com; s=google; h=mime-version:sender:x-originating-ip:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=TPYutoER4/g1qscqmQranPh6lLhsuS9t3DUwvf8DOqI=; b=fDWu/W1p08o0H6Qlsm37PoIOAKYTrahOB4vJxG/MxAeB4qKRXhOcn30ct+tFg4uTFY jaiRUZYkkwbAlDlHFmmjsrLHlV7Q6/wBWuskdcJ2d7DtamMDywpA3oM8y/tXAVN3vMYx iSQfnMD8i49JGSU3SUbDtk0A/iyZaNVkPTlCQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:date:x-google-sender-auth :message-id:subject:from:to:content-type:x-gm-message-state; bh=TPYutoER4/g1qscqmQranPh6lLhsuS9t3DUwvf8DOqI=; b=VRsDianTwgCf4Vkb2f4XaRfX8n03ompe60pTVSJlsDIfxc3UAddVjNxz9QUb50FGzl OPsd3e+nghpll/dzJ3zXv7YymdZwmqYhzP0ELJWXa+u6LPDVCtFZG2DowBoxuv5FkDqI q3YpdeZ31AJREXV8aac1cMZGGmYW8oGcBkGhScU+8kp5q3PfakZN2b+SGNz4i1OZG8wy Jms0JuCD4jCEM0eSN7AXu0b6xS8scuiU3Nx3T2K8gy2PvjnaXMQ7cYQBGqMuKc0jupkQ EgxhhQ6eo/R4Xwp2aEvu3c+UyD/+Rv4U0ALNsaob4778ilGzHDd3bnQDwVJahvj0hkzw EiBA== MIME-Version: 1.0 Received: by 10.112.48.169 with SMTP id m9mr3987053lbn.93.1339866470664; Sat, 16 Jun 2012 10:07:50 -0700 (PDT) Sender: rsb@berentweb.com Received: by 10.112.20.69 with HTTP; Sat, 16 Jun 2012 10:07:50 -0700 (PDT) X-Originating-IP: [83.66.206.212] Date: Sat, 16 Jun 2012 20:07:50 +0300 X-Google-Sender-Auth: P0tlkcc5oStVYR0m0ofIHE8rCIY Message-ID: From: Beeblebrox To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlHX4o0H9OUaiKbfbbX6ZcnJS+0PjCHR/rCtE3JcGNx1BnRTiqoIW/1lwbuICt+u9kXStit X-Mailman-Approved-At: Sat, 16 Jun 2012 17:14:44 +0000 Subject: Buildworld breaks at libpcap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2012 17:07:52 -0000 uname -a: FreeBSD 9.0-STABLE #0 r235991: Sat May 26 14:20:06 EEST 2012 amd64 - Custom Kernel buildworld breaks very eloquently at libpcap. Error message depends on whether ccache is enabled or clang is disabled in /etc/src.conf, as given below: WITHOUT_ACCT= yes WITHOUT_APM= yes WITHOUT_AUTHPF= yes WITHOUT_ASSERT_DEBUG= yes WITHOUT_AUDIT= yes WITHOUT_BIND= yes WITH_BSD_GREP= yes WITHOUT_BLUETOOTH= yes WITHOUT_CLANG= yes WITHOUT_CTM= yes WITHOUT_FLOPPY= yes WITHOUT_GDB= yes WITHOUT_HTML= yes WITHOUT_INET6= yes WITHOUT_INET6_SUPPORT= yes WITHOUT_IPFW= yes WITHOUT_IPFILTER= yes WITHOUT_MAIL= yes WITHOUT_NLS= yes WITHOUT_NLS_CATALOGS= yes WITHOUT_PORTSNAP= yes WITHOUT_SENDMAIL= yes WITHOUT_WIRELESS= yes WITHOUT_WPA_SUPPLICANT_EAPOL= yes Error message looks like: ===> lib/libpcap (all) /usr/local/bin/ccache cc -O2 -pipe -march=k8 -DHAVE_CONFIG_H -Dyylval=pcapyylval -I/asp/src/lib/libpcap -I. -D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DHAVE_NET_PFVAR_H -I/asp/src/lib/libpcap/../../contrib/libpcap -DNDEBUG -std=gnu99 -fstack-protector -Wno-pointer-sign -c /asp/src/lib/libpcap/../../contrib/libpcap/pcap-bpf.c -o pcap-bpf.o ......... /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c: In function 'dlt_to_linktype': /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: 'DLT_MATCHING_MIN' undeclared (first use in this function) /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: (Each undeclared identifier is reported only once /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: for each function it appears in.) /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: 'DLT_MATCHING_MAX' undeclared (first use in this function) *** Error code 1 /usr/local/bin/ccache cc -O2 -pipe -march=k8 -DHAVE_CONFIG_H -Dyylval=pcapyylval -I/asp/src/lib/libpcap -I. -D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DHAVE_NET_PFVAR_H -I/asp/src/lib/libpcap/../../contrib/libpcap -DNDEBUG -std=gnu99 -fstack-protector -Wno-pointer-sign -c /asp/src/lib/libpcap/../../contrib/libpcap/fad-getad.c -o fad-getad.o /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c: In function 'dlt_to_linktype': /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: 'DLT_MATCHING_MIN' undeclared (first use in this function) /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: (Each undeclared identifier is reported only once /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: for each function it appears in.) /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: 'DLT_MATCHING_MAX' undeclared (first use in this function) *** Error code 1 Can Also Look Like, if buildworld is done non-threaded (no -j): /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c: In function 'dlt_to_linktype': /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: 'DLT_MATCHING_MIN' undeclared (first use in this function) /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: (Each undeclared identifier is reported only once /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: for each function it appears in.) /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: 'DLT_MATCHING_MAX' undeclared (first use in this function) *** Error code 1 /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c: In function 'dlt_to_linktype': /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: 'DLT_MATCHING_MIN' undeclared (first use in this function) /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: (Each undeclared identifier is reported only once /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: for each function it appears in.) /asp/src/lib/libpcap/../../contrib/libpcap/pcap-common.c:928: error: 'DLT_MATCHING_MAX' undeclared (first use in this function) *** Error code 1