From owner-svn-src-all@FreeBSD.ORG Mon Jun 15 00:28:23 2015 Return-Path: Delivered-To: svn-src-all@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C56CB5BE; Mon, 15 Jun 2015 00:28:23 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0136.outbound.protection.outlook.com [65.55.169.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ABF1AF6B; Mon, 15 Jun 2015 00:28:21 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from CO2PR05CA046.namprd05.prod.outlook.com (10.141.241.174) by BY2PR05MB776.namprd05.prod.outlook.com (10.141.224.154) with Microsoft SMTP Server (TLS) id 15.1.184.17; Sun, 14 Jun 2015 21:54:10 +0000 Received: from BN1AFFO11FD040.protection.gbl (2a01:111:f400:7c10::105) by CO2PR05CA046.outlook.office365.com (2a01:111:e400:1429::46) with Microsoft SMTP Server (TLS) id 15.1.190.14 via Frontend Transport; Sun, 14 Jun 2015 21:54:10 +0000 Authentication-Results: spf=softfail (sender IP is 66.129.239.19) smtp.mailfrom=juniper.net; FreeBSD.org; dkim=none (message not signed) header.d=none; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.19 as permitted sender) Received: from P-EMF02-SAC.jnpr.net (66.129.239.19) by BN1AFFO11FD040.mail.protection.outlook.com (10.58.52.251) with Microsoft SMTP Server (TLS) id 15.1.190.9 via Frontend Transport; Sun, 14 Jun 2015 21:54:10 +0000 Received: from magenta.juniper.net (172.17.27.123) by P-EMF02-SAC.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.146.0; Sun, 14 Jun 2015 14:54:08 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.21.16.28]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id t5ELs8D02482; Sun, 14 Jun 2015 14:54:08 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 06CAB580A3; Sun, 14 Jun 2015 14:54:08 -0700 (PDT) To: Dimitry Andric CC: , , Subject: Re: svn commit: r284370 - head/usr.bin/kdump In-Reply-To: <038E4912-D9DD-4306-8429-15054B15AFCE@FreeBSD.org> References: <201506140330.t5E3Udm8097264@svn.freebsd.org> <038E4912-D9DD-4306-8429-15054B15AFCE@FreeBSD.org> Comments: In-reply-to: Dimitry Andric message dated "Sun, 14 Jun 2015 18:16:35 +0200." From: "Simon J. Gerraty" X-Mailer: MH-E 8.0.3; nmh 1.3; GNU Emacs 22.3.1 Date: Sun, 14 Jun 2015 14:54:08 -0700 Message-ID: <20557.1434318848@chaos> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD040; 1:/npOptvgvNZT2ZGZzhCW21a2POKO2hatKxZlJVkkbiIELtZa4/8yEEn0FidEf+UbMbsRXTyH1a+vBiYj57tpP1/xE2qNnjFNfTC9cEIR9xuOh9q2HcY9FDsnhjhLJ5sNfucQhIJWNNZo7zzB4riUw7VVTrKrGRjIJQ+rN9Tk1fDBr28V9yhdMKd8hV5zA8AuA0nEwsDYTAKvFsqjll9ybhfdiI6iBCCQUM8Tid1PB0Qhal3QcuBdEU/5bQVWNDRf/ZiSHDZGCQpXuxjnO3619MkvosTnecic6O9n5muIB48= X-Forefront-Antispam-Report: CIP:66.129.239.19; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(24454002)(51704005)(199003)(189002)(19580405001)(2950100001)(47776003)(50466002)(48376002)(6806004)(33716001)(117636001)(106466001)(77156002)(450100001)(62966003)(77096005)(92566002)(5001960100002)(110136002)(5001920100001)(189998001)(87936001)(19580395003)(86362001)(50226001)(76176999)(50986999)(105596002)(46102003)(76506005)(57986006)(42262002)(62816006); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR05MB776; H:P-EMF02-SAC.jnpr.net; FPR:; SPF:SoftFail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR05MB776; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:BY2PR05MB776; BCL:0; PCL:0; RULEID:; SRVR:BY2PR05MB776; X-Forefront-PRVS: 06070568C5 X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2015 21:54:10.0711 (UTC) X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4; Ip=[66.129.239.19]; Helo=[P-EMF02-SAC.jnpr.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR05MB776 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 00:28:23 -0000 Dimitry Andric wrote: > > head/usr.bin/kdump/Makefile > > Is this supposed to fix things? Even at r284381, I get: I did for me ... > > ===> usr.bin/kdump (depend) > sh /usr/src/usr.bin/kdump/mksubr /usr/obj/usr/src/tmp/usr/include >kdump_subr.c > env MACHINE=i386 CPP="cpp " sh /usr/src/usr.bin/kdump/mkioctls print /usr/obj/usr/src/tmp/usr/include > ioctl.c > :1:10: fatal error: 'cam/cam_compat.h' file not found > #include > ^ > 1 error generated. Yes I saw that too (before these changes IIRC) it appeared to be ignored. > rm -f .depend > CC='cc ' mkdep -f .depend -a -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump -I/usr/src/usr.bin/kdump/../.. -I. -DHAVE_LIBCAPSICUM -DPF -std=gnu99 kdump_subr.c /usr/src/usr.bin/kdump/kdump.c ioctl.c /usr/src/usr.bin/kdump/../ktrace/subr.c > /usr/src/usr.bin/kdump/kdump.c:153:10: fatal error: 'linux_syscalls.c' file not found That's why I added the explicit target. > #include > ^ > 1 error generated. > mkdep: compile failed Ah, they likely need to be hooked to beforedepend. My flight is boarding, will look when I get back on line. Sorry for the hiccup > Any idea? I obviously do not see any linux_syscalls.c in the objdir. > > -Dimitry >