From nobody Mon Oct 02 21:54:36 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 4RzvrG0YlMz4wXB0 for ; Mon, 2 Oct 2023 21:54:54 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01olkn2077.outbound.protection.outlook.com [40.92.53.77]) (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 4RzvrF41T3z3SN9; Mon, 2 Oct 2023 21:54:53 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ra6vn2zmFgEhz433zYyC3HzOxkvOBDm+IjDmdlHqeyr+XrpDqtIEejFOrApK2vM3DHso9HcRGrLPceQj0AR1JPN5qTpL+0fxeRQB0Rs62Ultv2CMeq68XMpTMwr8KGyzB/8QS+JL4Jnw/cnj2AR49eYgyHQ0w3KgxVwKQYOrALGlL1zA0ckEmtKlovxb9q9t0attAhR6v/NHvcYTqU9zFJxaul63t/lmzoklcf2/jI9HRyTAC/quVkSJe2cyOIi05djDJJ9dxwycqGd8A5z83KSFpqbxKL0ULydSnzj/v5wIiBo1Ay5+EQgmpCy7wppJ/zl+1J7SbF4HPxjyI5L6lA== 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=5zXu1C18EgoguRON4NCDjVXp7+anriqI7QA7Rz/XVf4=; b=iz7OkfYrOtPuc9djI1MFd2BzQKYG/5dqSK5+eOr2UbRnsAM2+g8hDktmPSM0sjEfK1w+Y5ocAJA46fDkHGCubdjoNpd6i/tZSXaX6Z6MC2WEvFYVzc1ebAlZ1jRzKG2CEpaSN1HSpqqF1P3emvR0ofu552f3YgV+o1UUovivoNxM1yt/6nh+sMF5nGqWClSoW9SQEXZl82tF4CcMf4tt6dNulpHSjmn05d4mKY8QMRdQVSSLenqY+fYioQfq1NkER/KuYFBQ4VV1QLEFZpQQopeQ7EB5RI7rp+2qrzDAgKe6bnJMayCFStALfotkB92lWnnTaNveglNI+hyFT7hjYQ== 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=5zXu1C18EgoguRON4NCDjVXp7+anriqI7QA7Rz/XVf4=; b=rzUeP1qnmeE4TZg2eRicOHhCQSX5fRQGhQ7E7mVaFYuvM0Bo4wi4lru4VuzLRf+wOuCYjcwNQu14NUaL/jTH8xloeFQhmAsp0rdhfm8DHJdpdI9qIxI+JMWpJ4SgxPPdbSKGSiuWPW1cNTctPjaIKJmDXSzslRvRAsMWgJQWdqGVTUC1wsVcNGloEDxQhffVvwoZfznkcFegHLfV6j3GXluL6etI5I1ZSr741zLICmSt6+Tzzlp5Xn9U4VLCGOzJfSUge+S7rxluCCWByKZ4VdhIeaKdAAM4TMKlgAVTjJK5Wj4PoLUGIt+QqnJRbSl14C/NSRLlYzg5lYl7dq7elQ== Received: from SI2PR01MB5036.apcprd01.prod.exchangelabs.com (2603:1096:4:1f8::9) by SI2PR01MB4498.apcprd01.prod.exchangelabs.com (2603:1096:4:1e1::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.30; Mon, 2 Oct 2023 21:54:49 +0000 Received: from SI2PR01MB5036.apcprd01.prod.exchangelabs.com ([fe80::6dd9:4ab1:e67e:c5b3]) by SI2PR01MB5036.apcprd01.prod.exchangelabs.com ([fe80::6dd9:4ab1:e67e:c5b3%4]) with mapi id 15.20.6838.030; Mon, 2 Oct 2023 21:54:49 +0000 Subject: Re: www/chromium build failing To: Gleb Popov , freebsd-ports@freebsd.org Cc: Jonathan Chen References: <129925fd-e07c-45dc-9153-b0998f6f5507@chen.org.nz> From: Tatsuki Makino Message-ID: Date: Tue, 3 Oct 2023 06:54:36 +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: 8bit X-TMN: [LUwWiMzqh0rakqDUuXUkGDlPCr3Y7Zo1] X-ClientProxiedBy: SI2PR04CA0014.apcprd04.prod.outlook.com (2603:1096:4:197::18) 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_|SI2PR01MB4498:EE_ X-MS-Office365-Filtering-Correlation-Id: 5a5bc3de-46c9-4aa1-5203-08dbc392329a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RIAqxY9XKWITwlY9PkoGExAdHTM59prlM8JVMei0Lag3qbK5ztDZXQcuVhhGOvslO8L2l38wNLvasY8g36ED0HaXPg9+8NF7j/+U40IHpoXeikENZOIz/ByxOZ5mTqrT8mkm7ZqaZ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ytVVVR4eWpu?= =?utf-8?B?d2h1NG56WEdpM3pha3FlMld4VnVnUFpGcGV3Y2JBQkxyNlhkRmZXQ09idi8v?= =?utf-8?B?VllYU2d0QkFQL1d6bnhIdjh4YlNtQml4bWdBdGdnVXVDbkVHV1d1MlZnU0M2?= =?utf-8?B?LzE2aUxxMng0Vzl1UUthbVJUL20rd1JQaWcyOW5xbFFNS3lxZDl2QzlYck1L?= =?utf-8?B?TFd0MjFhVEV6b2pIZVZOcGxjU3o4VDlUM2VrMWgyU2FBQ1RoZXdYY28rYXJr?= =?utf-8?B?YTF0MXJqOVN4S1gzeks3a242dUlQOWMvZHhDcVJnMkxCL0hhVnlqWVRlY3VL?= =?utf-8?Q?5oI9bYvLf8aKnlCbOzS1hK+HM7QsEuRx4urF4Cj6zcSM=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-d8e84.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 5a5bc3de-46c9-4aa1-5203-08dbc392329a X-MS-Exchange-CrossTenant-AuthSource: SI2PR01MB5036.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2023 21:54:48.9828 (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: SI2PR01MB4498 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US] X-Rspamd-Queue-Id: 4RzvrF41T3z3SN9 Hello. Gleb Popov wrote on 2023/10/02 14:52: > On Mon, Oct 2, 2023 at 6:30 AM Jonathan Chen wrote: >> I recently update my ports-collection (past "www/chromium: Fix patches >> which became outdated and broke the build"), and I'm seeing the >> following failure, just before the end: >> >> ../../chrome/browser/component_updater/widevine_cdm_component_installer.cc:370:8: >> error: use of undeclared identifier 'UpdateWidevineCdmHintFile' >> if (!UpdateWidevineCdmHintFile(absolute_cdm_install_dir)) { >> ^ >> 1 error generated. > > Yes, this is my fault, sorry. I'll fix it ASAP. > Thank you for fixing it. And additional information for those who are building with the port tree before the fix. This error probably occurs just before the build progress reaches 100% :) Therefore, it is recommended to apply the patch directly after updating the port tree without make clean. Roughly the following? cp -p ${WRKSRC}/chrome/browser/component_updater/widevine_cdm_component_installer.cc{.orig,} patch -d ${WRKSRC} -p 0 < /usr/ports/www/chromium/files/patch-chrome_browser_component__updater_widevine__cdm__component__installer.cc make -C /usr/ports/www/chromium/ build # building restarted I hope this will save a considerable amount of time :) Regards.