From owner-freebsd-ports@freebsd.org Mon Feb 13 09:39:00 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD63CCDDAA0 for ; Mon, 13 Feb 2017 09:39:00 +0000 (UTC) (envelope-from chris@chrullrich.net) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10088.outbound.protection.outlook.com [40.107.1.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A8241BD7 for ; Mon, 13 Feb 2017 09:38:58 +0000 (UTC) (envelope-from chris@chrullrich.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gloomberg.onmicrosoft.com; s=selector1-chrullrich-net; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=eR4wg/dHyP7GTO6FoKvV2UHz7bmnW5wq0Fcae3YnINQ=; b=Yp1RdRchk6L1gBQ8D7KkFJ9RG/zU32FqVP+anuZ8NNmqQYFxQGQMOtnkwiBcAXk8ds4r8VWdh0w/sN3oAwgtK86C2+k02NkHYBG3jy2nNsp15vEvkzEYh1F6vWNx6BqPzzIhlAI01Dtv0I88GgpgLgtqLWG71yNzEvyV96fvcxc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=chris@chrullrich.net; Received: from [192.168.92.135] (217.31.70.82) by AM3PR06MB0647.eurprd06.prod.outlook.com (2a01:111:e400:8844::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Mon, 13 Feb 2017 09:38:55 +0000 From: Christian Ullrich Subject: poudriere and ports looking for specific files X-Mozilla-News-Host: news://news://news.gmane.org:119 To: Message-ID: <649c74ae-baf4-3bc1-c7d1-e71acea4061f@chrullrich.net> Date: Mon, 13 Feb 2017 10:38:52 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [217.31.70.82] X-ClientProxiedBy: DB5PR0401CA0017.eurprd04.prod.outlook.com (2a01:111:e400:5a81::27) To AM3PR06MB0647.eurprd06.prod.outlook.com (2a01:111:e400:8844::21) X-MS-Office365-Filtering-Correlation-Id: 9f631109-6efb-4bcd-06d5-08d453f4211f X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:AM3PR06MB0647; X-Microsoft-Exchange-Diagnostics: 1; AM3PR06MB0647; 3:ANq1WPw8GupqMIyj5QBIJNj5R4tsZ+6Tsfqcg7hzStKj75UofAuKQ9b8OztJRUu6xFJaV6aHQ6J5EkySkxLbJ4phZ0UH/sYD4h7ujF9dTe/XTXNmngHP8JCDYntMuR0DOnlMIWZc/u/fGuf7dLMZyZkZQ89jHP32LCE0WCUsdeWLZionyW6ZN2XUPTuWzHfygowjevijmjjVqSx+ltTvKkYCX67PnDsEqKK3hPkEM49bfewfOvPz61Khn/nQkoTQznloml4iIQIqUu/i9V7Dqw==; 25:u7/It5hzRvdomn8xuYsNFw+60owQRHrPErSmlGu2x/FJ8rr4sghFNSoVZ5QHSlGR+JO51m8L5DSGsd+Z8ax9s90XwjVW06ChiRQlKuPZFKE3gT+ZAoKBVam0MN+QF+gWubT451OtUx2LWw70O60a13/sXQFNUTz5wv4bj7qykOGfwofilbkXbnKv0V47DgCLMZNQ3S8/8JABD8mrt3FL3RJ8EmoD+W2Qoeu3oYMVbd2vVh1033ohutJ3PisduJ6VUoWKdwby05VOreTLAfqWOGh4bK7ak8eYHcSbRfdp/QZ2zw4F4lMaG3Sw04mkVlWfKglE4wKr3eKMureO3EjSDtO4foaopUpxH/yfoMIk7YPcRc4ghBriySPziWUpXSANJEfQt/uwGFqYGt6NKKKwtpJkTy/EkalrE5Dytj72+MRXoJfeJbmfYDaA/OJzIoQtyJNr3CdnesktsdBRyNQuWg== X-Microsoft-Exchange-Diagnostics: 1; AM3PR06MB0647; 31:dJL8wJXb1HCzY/V58aW0mifTNRE1S3/N78yjnUFHvGJwYgricL3Hoa2RPmPFF37PXSX0BY4Kn9Ex/iDUSQShZFD4JgqxfxhfGRjSm6TM+MbUeupKE6JN3JEaoHnNVdnQruCRh03zxpr+TXXND06zGRwQE90czFbUedEB62s+W//1twr2Kyiie2c5ppKhwYeToHSnA5a/496QQ0rXLQwNVMBJ8d0aelFqUsu70aoz12SuAAL1S4HtkM+N8pdp5t6+9/jtOEtTW6Y2mPALgW+X7pO0gR7mlTSYhI6tr4skhQw=; 20:v/RNuLB1dDgMuXVZkLMaEujw2M4+yJjtW8itMfzd0KIPT3k4VMQRAZFjya45l11V9zTkJUzXDrPRUG71/Dxb1s44P9hzHgzRfomghkqTXxvGYwB3bJwMcoT5jzHJao9MQy1ozSJI9PAmN58LubjCETtERdIQPmH3XDRY2buoPkuldLxnlxBd/Tq6E0zKtkUV6oLkHsTHjMAaA7rcGLR3AQOoLIoWDfx/PEvWtUFiKygpryKHYVrZ7M+AxVI1jvszXU12cMfPO6B55EmpfBc9s7SCtvtgAZRdyaelVB5kKKLZk1tooJXr0R5BqzhhGcmEPm+KmXwxAPEut+sXSToVptMEMnbWUlIUbaUS/RqXRVMvHBJ3WAQL8X2UCIHJTyMcTaOXA41wBH16S+rLLXrDXuE8IUdmEQAuLg3nHL+XSZyFTeGONsEVovWlYFEIz325asih+qkNY7EtTj5bCssrphxQaKqWMvM/pufFwn/tvde0DZIY7QXEB/j5XYWlvWTW X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123564025)(20161123555025)(20161123558025)(20161123560025)(2016111802025)(20161123562025)(6072148)(6043046); SRVR:AM3PR06MB0647; BCL:0; PCL:0; RULEID:; SRVR:AM3PR06MB0647; X-Microsoft-Exchange-Diagnostics: 1; AM3PR06MB0647; 4:s+pSpNrBkHs7ebukRYAk0HQ4SnjXnuWIztrAzM6K9be8FZ4xz8BmkidJO7Ej1Ztwp6GCjCwsNINmeI8RNSUftIy79Uz1LwTAAnbx9+a3vhPhiO+yiVmyxUwLLgciIlcQj4eDJS2ykd1y42+ixqEyil8grj4YG7jpnxJmCWmRhwCnCyBGhFeyadrBFIQCOZrhCJQMZ6dL1rSd0QFQrFYpotlgu+QxyXAF1NTSQRgwDLvlRIptYZYxw967RKFq8g8ltVOC6mgXbxG1D0082wL5xjv3VadFDQOVxnmwKPdAutuyg8wU1anodntrsJek9EPRr2ZGYClqUonkHdit6iLsIC1EXejsSUYGBS7Aixi9T2HCKZTHFYedSLOB8hxMKkMxcd18Wz+jW8KAEUU1KR0SOjSK6Ww9qTi1r1MQm9rZmGITO9J5d52Tcsheo5kXOoFma14KtEf6btDt2lnaECjuT0WrV2bTp73DwHiHRA7YTf7WcnpjdmDacUMwHvQlNV3+19FqsPcQAHtg9Xft1ttwyfF/Yk5e1IcpMmR2jm26iUm+Iz5n+tTZohymeqSx/WrnqG4lXr0a+I0x8TKtvjpZE9zLkH9jFNtOGKhfsVf4no2hWyTp/n3i15U84hmiGm4uuHczNxh2P1l5qwdJEa6tHRv7pVmYnhtufBtaZaMB/oA= X-Forefront-PRVS: 02176E2458 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6049001)(6009001)(7916002)(39450400003)(39830400002)(39410400002)(189002)(199003)(5660300001)(42186005)(7736002)(189998001)(305945005)(54356999)(92566002)(50986999)(68736007)(77096006)(6486002)(6916009)(6666003)(97736004)(23676002)(83506001)(36756003)(65826007)(4001350100001)(53936002)(106356001)(31696002)(105586002)(47776003)(50466002)(117156001)(101416001)(2351001)(450100001)(81166006)(8676002)(81156014)(64126003)(33646002)(31686004)(38730400002)(86362001)(66066001)(65806001)(65956001)(230700001)(2906002)(110136004)(3846002)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR06MB0647; H:[192.168.92.135]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:0; LANG:en; Received-SPF: None (protection.outlook.com: chrullrich.net does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTNQUjA2TUIwNjQ3OzIzOm4wSUdscU80TERGUGZ1M1FKL2Yzckw5OXJT?= =?utf-8?B?MGtQSEdvUVBnNnd5MHVGbDl1LzZFNkJrYmhvUE1MdmlUYkR6cEFQVit4TGtl?= =?utf-8?B?Y2NCRDRLYkpqY1NzZS80b0lreWo1UHdTM08wSWlTNS9MVjlnZHovbHFLcEh4?= =?utf-8?B?eHJJVkxodVBQMzJxdlFBRlhiRlNFcWdaanB5SmJzdkJRcHRyQzlBbFpRNGo2?= =?utf-8?B?TktWZlYxb2pvM2NmZEJ5S2RueXFsMHV4RitzZ2Zsa2ZYeUs3LzNmMG80WHZ0?= =?utf-8?B?VTFnRndmSHBwY0p6dE9ubzMyWDMxaFB4YUVzWmx1bGJDeTRNSm54OEdzS3lR?= =?utf-8?B?cnVPLzIxVWp6N3ZCcHh1RzMyMTEyNEI4MTV3b1hIMzhxRlhGZHVId2tGT1Mx?= =?utf-8?B?V3gxM3lXajhsTU5UeW1YditOcGNRbVhrbGQ2TzQ4T3htYkxROC9Hd1haaVVP?= =?utf-8?B?R2k5OUJRM0VKTzI5MzhGOVRlUmR1Myt1MTFsS2hxeCthM1FVdDdrVjU1dVZT?= =?utf-8?B?SFFtMkUrVnJDZHIxdFV0WWdzZDU2UDdnRkVpYzBiaGEySXdDeGNlR1NKYTZK?= =?utf-8?B?RXlLcEwyYzNBU2YvQUZhSHoxUU5zUkFtSWl6WkZBK0g1Z3pCdXlsM2ZWT25T?= =?utf-8?B?MEdMe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soft-Exchange-Diagnostics: 1; AM3PR06MB0647; 7:fSQxlWEZvD8FNYRG6fYCy2tW+VE6StpCtujhyQq9CBKO3G3EBO+VRXyOBiM+nwLT/FB54/3MXjFuyyURTym1EtmS0Dep+K4AQQ2w4VgjBGaLiAEXiJBoiwgCEzG5g1wJbibPVo+qQFXQZzeIIf4TDa23Xm5GlRquwE2y8R9IOXM55zEoIgvTsZ1e1q+qnAFAO9VaHv2isSmr/vBgwxNhNTT97ehXqKbe+qeLMr/SZ2VYsbxNorSagQFy4RMX1fQLl8BdfDZAd2Vjmwx6MXx/MMnl2e2Bge9X91S5Q4iidrm156VSpS4aquj6uR6xjdd58j/s02O4af3wZPEbudGyaz3ohqQ70CCEqTaW8/JTvNYv3bUVegbbSz12u3zYNp95As/eIq8aSZ4QKEizUZKh6U3L7PnHdi8hagqesggn/Fmju7rfZ702+H42pYgPlFwZQzs19RllBpJjgmbdPaMBO6UOigyZAyG63VgESKzJNRwaMvh0XWNRYVV8DTKQidBJwFPBN/+d37Z80jxXZfvwZA== X-OriginatorOrg: chrullrich.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Feb 2017 09:38:55.7098 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR06MB0647 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2017 09:39:00 -0000 Hello, I have a problem getting some ports to build correctly in a poudriere environment, when their Makefile determines dependencies by looking for specific files. The following example is from dns/samba-nsupdate: # Try to find appropriate GSSAPI libs .if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so) CONFIGURE_ARGS+= --with-gssapi="${KRB5_HOME}" .elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.so) CONFIGURE_ARGS+= --with-gssapi="${HEIMDAL_HOME}" .elif exists(/usr/lib/libkrb5.so) && exists(/usr/bin/krb5-config) CONFIGURE_ARGS+= --with-gssapi="/usr" .else LIB_DEPENDS+= libkrb5.so:security/heimdal CONFIGURE_ARGS+= --with-gssapi="${LOCALBASE}" .endif I want to build with MIT Kerberos from ports, which is what the first .if block is looking for. Since poudriere always presents a pristine file system to ports, this check does not find the library, and eventually the port falls back to depending on Heimdal instead. There are quite a few ports that contain logic like this, enabling a dependency based on whether it is installed already. They should probably be changed to use OPTIONS instead to declare the dependency rather than passively guess at it, but for right now, they don't. Does poudriere not support this at all? Thanks! -- Christian