From nobody Fri Nov 03 03:35:16 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SM5x73dB2z4yf0n for ; Fri, 3 Nov 2023 03:35:39 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01olkn20800.outbound.protection.outlook.com [IPv6:2a01:111:f403:280c::800]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SM5x62P76z4P2M for ; Fri, 3 Nov 2023 03:35:38 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=FPvpH0vP; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (mx1.freebsd.org: domain of tatsuki_makino@hotmail.com designates 2a01:111:f403:280c::800 as permitted sender) smtp.mailfrom=tatsuki_makino@hotmail.com; dmarc=pass (policy=none) header.from=hotmail.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S9YUp89QF6KHLeVWiXXEgR4zArYA7pG/fcpNKT5NSwwMjRj3wZcpMirUnqecV7vivy5xJjcw1eCLsZuDNkGEufMtgzcaS2s6BL7H2sH/smZqi9kzXJwckp9g48MW8jiHk6C7z/VqBfHmTWTImHpL3PkNfIA/gSfx7qDJ5qmxmZtCKNj0ITzh3mdZq0HKozMLW7KUl5mBFPudr8jDhVywd9WOEwcH7Jd+kdM7exNdGC7sj7QhPPMQ/YxxctAQ5Lc4+9F2dm5l5ski6bQbXKMkSJDkNh38OaseY7+kDQlu0iE0gQlRcNN5VYU4OZZ5KY4bTVv2NmM0OneyVuOhl4oI2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wy6CUZBRs1uT2z58PwImmMDGaCnceDrzywjYpdc3gYQ=; b=E2c9OIueajE7iFTdMj0dajOg5VX5I5d+SIJI8mfsqv/ZHRUtGtGt+v9WR5gJ60luIYvFeqTa51/hCVPOmWLB3D6V8KvOCRx7ifz8J02IgOJwTv28UuKeozgKrG9ml2DPQtlUwhP/PkzcE7OoMPSclrRXYRp17UXkYK2+EnsAFRr3bsvSjyh1e/48EVZf4A6buqqhtzlYhJNeH8lBfzW6VNVgyew7+FAqGcto9Y6FvSOx+MN2RUJK5oUi4RDAE6oe+BxtbK9b64Gnhl0B3fP+WmYYJyQtIwOuEpINHvWvawgffECC5HvukG9kO3z7n0clI8Pb69DK4TyoHN4MLy1i3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wy6CUZBRs1uT2z58PwImmMDGaCnceDrzywjYpdc3gYQ=; b=FPvpH0vP+4r4eQPc4BK1Y1/LhGKn6P6gy844spEIDeCSEgsRk3zJ6nXxbSSPlloOxbmjGXqPx6UxSwrZQmG6oRLj2cjp4tVpb5BZlrRMEPZpgx6XMJP+ltmcS8DAPwhlY7JOO2/dEYRGCWIe/D6hdokopittBMoHTJ92ADq02dsuvfNW/N7Szz2gar3wXZ4GwHJfeRcNjbyRh1ssRUASZ7UxOzzqo1dmIkES4lqOwRm7etshJFX4q4TZmvp7lv0waY1Pg8jCr1N0bhflsBHbdX73HdUdK2/yiZg1e4CA8+BB3L2/YzhEuptLXr5F8O+q+YxAtTlfU1kIshoUt47zNA== Received: from SI2PR01MB5036.apcprd01.prod.exchangelabs.com (2603:1096:4:1f8::9) by SI2PR01MB3850.apcprd01.prod.exchangelabs.com (2603:1096:4:ec::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.21; Fri, 3 Nov 2023 03:35:31 +0000 Received: from SI2PR01MB5036.apcprd01.prod.exchangelabs.com ([fe80::fb1a:653f:16a:b4d2]) by SI2PR01MB5036.apcprd01.prod.exchangelabs.com ([fe80::fb1a:653f:16a:b4d2%5]) with mapi id 15.20.6954.021; Fri, 3 Nov 2023 03:35:31 +0000 Subject: Re: 'USES=shebangfix' doesn't work with samba ports From: Tatsuki Makino To: freebsd-ports@freebsd.org References: <20231101.194831.884534926634764408.yasu@FreeBSD.org> Message-ID: Date: Fri, 3 Nov 2023 12:35:16 +0900 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TMN: [KZonHqaA3n8Lym8iqTdJFfZ6Wret4msO] X-ClientProxiedBy: JN3P275CA0007.ZAFP275.PROD.OUTLOOK.COM (2603:1086:0:70::19) To SI2PR01MB5036.apcprd01.prod.exchangelabs.com (2603:1096:4:1f8::9) X-Microsoft-Original-Message-ID: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SI2PR01MB5036:EE_|SI2PR01MB3850:EE_ X-MS-Office365-Filtering-Correlation-Id: db81d933-1b93-421b-0d6d-08dbdc1dedfa X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /Y/HYZwX6WDFLn3At4jys+N/cEr2V0in4d2oLYxdT3+6DGUJ9BcWhzzks0VEb1eN95DIz/dMbIGTh3Ho/g4/KQAuY7cMKEOcIE+hlkxpeL+VM3totauPzc2TH6a5xPk5efY05Izk8dSml/gNc5b1HxMEhFyCAwYdobS/HRGw1ItTWkNOEBvxuuwLmkswSVAxOuLEb10jlz4N3OnWf3BcExv6UOeHkc2zLu9OHwIZ29sUKyXfp0Sf+losJJQOE75G+cvcyP1cgZ9+GfbznWcjzRV092V0f74oY5ZGSnDsFTeW2hk2QsyW2o/7UmalKSKMJkfZ9QCOcNAZOT6HCQXv17RnqcMxy0pb5XwxW6m8TVkAJfXiq3j7BQtL9qnb0un7SHZVNd0XPepIqlBJib4L/JpLTxo6RljX6w9auIGZ9lWX+fuAaoCbRAtRpJbKIVEfuw95mHOpEwMbIhQBJaObKs1Kwyo4RZiCx1OD8NVRimiWhgY3H2XX6RFbvv5CiUcgiS4Gzw2sB4r4SuT0k7Xjf60+zm3TfbtgSb8pHBmKUkGyzG7CxGaDicPD89GjXUgSYdnxeyj8iKVyvVlm5w/SCUchowazkHOoNnKkAHxg2QUszlPc/ihAaWI5EERx+dJaePBagky0uXrE9SOYPTZDIqZJWZzjMIn+LsuZ+o7TsDE= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RG1odWVhV2VRVUt0UXFTb2cwaFk4YWNZT29PVWNBSXJkNkEzcnJRMkt1cksz?= =?utf-8?B?RWFndmpVMWpCTFVqU2hLbkc1NEVCVXlLTFdFMW9QN1ZSM1VnSTVPRWlBaDRC?= =?utf-8?B?TkRFUEhsMGhlU0R6OUJXNktYcExnTjFVOHRhblg4UE9KVzBmY1JacGhUWXlk?= =?utf-8?B?d3dyWlFtKzAxT1dmSmhXc0xSZ2F0OWlWdXNXVTVRb3ZkU05Va3dwam5FMkVp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0VVp2Ti9CdElyWkVoVEhadjBySUJaWWJJ?= =?utf-8?B?UHJuVUY4SENibFFNTXNiQmM2N1pjWmV6bVFHcXhaR0NISWZQRVpoQjZuYkJF?= =?utf-8?B?bi9lZ0x2SnZsbE1rVnBEVUJrQ041aVQ0QjFzcjlKRGZ0ZGxzWWhOMk1pMHUx?= =?utf-8?B?SjRBVmNLYnMwUXE3WFR4Y05vbG5KVmJuOHByWmtZNk5SRUlUZmtxL0RqbHAx?= =?utf-8?B?bXIxZXF5QTdKMFJiQVJQMlArZmpjY21pcGZ2a0x6cU5uMkZsYWFMUUVDM2hR?= =?utf-8?B?cStQWGk1NnJsL1o2eDI1ZThwcjZsRnhFMWdlemxwSmxBazVWakhZdkFOR0ZI?= =?utf-8?B?cXlQR0lVR3FvSTNZRjZBbHBRbjhRWEVUM2xkVGhsRDA5alBjMm5kWmw4SmhH?= =?utf-8?B?ZFN4bUtIZ0ovZ0UraDJEY09qYjJ4TzZJbHl6VW9hTCszOEVQQ1JxdTNrQ2hM?= =?utf-8?B?MGVDVVEvc3VTSXBLc1Zpa0krdnRPZzVVUXl3bmExK1NFSENjOTQ4eHZESTND?= =?utf-8?Q?TdnYhS6t3/+ZX9jtCGT8vz9xT5agbK1QiNXZ37I2AT1Y=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-d8e84.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: db81d933-1b93-421b-0d6d-08dbdc1dedfa X-MS-Exchange-CrossTenant-AuthSource: SI2PR01MB5036.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2023 03:35:31.5037 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR01MB3850 X-Spamd-Result: default: False [-2.38 / 15.00]; FORGED_MUA_SEAMONKEY_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.88)[-0.878]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f403::/49]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a01:111:f403:280c::800:from]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; FREEMAIL_FROM(0.00)[hotmail.com]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4SM5x62P76z4P2M X-Spamd-Bar: -- Tatsuki Makino wrote on 2023/11/02 18:18: > .include or .include exist before this line. > I have a feeling that is the cause :) Assuming we knew the reason, we needed to investigate the reason in more depth. samba4* started shebangfix with the following commit https://cgit.freebsd.org/ports/commit/net/samba41/Makefile?id=e58cdfad2027226c15de6ad3508575f0dc3095c4 It is written in a way that creates problems at this point. However, there would have been no problem with this, as there is no reason to leave something that does not work for almost 10 years. So, that being the case, I checked out Mk/Uses/shebangfix.mk and here is what I found. https://cgit.freebsd.org/ports/commit/Mk/Uses/shebangfix.mk?id=c8de8164cad00f45461b3ca801dcad4bd56b993e It is possible that side effects have occurred since this time. There may have been some other change to Mk/bsd.port.mk being read in two passes, but I have not looked into that. Regards.