From nobody Fri Dec 27 23:54:57 2024 X-Original-To: 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 4YKj6K4KJ5z5jY9L for ; Fri, 27 Dec 2024 23:55:05 +0000 (UTC) (envelope-from mirror176@hotmail.com) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2046.outbound.protection.outlook.com [40.92.19.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YKj6J18kyz3xhq for ; Fri, 27 Dec 2024 23:55:04 +0000 (UTC) (envelope-from mirror176@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=mpcj2dXw; spf=pass (mx1.freebsd.org: domain of mirror176@hotmail.com designates 40.92.19.46 as permitted sender) smtp.mailfrom=mirror176@hotmail.com; dmarc=pass (policy=none) header.from=hotmail.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=plylq33OI83B8PaHij5SeVQPpIugh7g5PulOoEPn3mmeeU3dB1uFMVnVrtuKuRPQA38O8Fu7CmEPw6mTQpezWqKvyrXpVACKb4QnO8bYlWUtTU3Lia4vJ8qocBOn6UAni0pv9An3lh36p3+ajqfSTdwU1WX8vZaie87RlAVauX+V+OQWd142CfMn/qjGK/ZAmY+W2KYq+3JZnXb/v8RoGBxgtQD82uevhLCx0LlpKJ9daZjxxxxYbbDmqDh/MeNMZGD6RALPSPaJ010mpe+DAqFwTXVdea071tja43yG8UgNesXvGQOip4uYIaJF4VUNXeBQyRfZvvj1qa1e2E6tPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=PON5Ojt+78379GhrsFbMEIMFodiT40xnpuF4sachfoM=; b=NxOhlrvy+WszgzkAtJ3BTg3vkkgd5GaW/MNM+CqSccWbbUmXMIgB84rnfC8y1SGAV0oPpWurb8HNHnBrWqzOt+Uz/MAeyKVtBhWTXRp3zGQCGoN93kmC7vEyQ+8NQtQxIqV0fJsIP5+yuAKyyRxcTyWw/CutkM10gVkce1u/tzK57pdkwiyV6xBC939Y/DgBs05yjMAGGyB1f3wL93FYRXfc2Oii88KTHhCdykxnAaffooJc+0lSAtMDPMsYzUQ85utnLqDgyU+Yk5HMXojOqw4bS9H4Pjh4/ndiB1pDEhjVuhlJitgqRJ10geyRHfk23EPp7bySAuk0MKUkua1bew== 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=PON5Ojt+78379GhrsFbMEIMFodiT40xnpuF4sachfoM=; b=mpcj2dXwHUaPR8h9f72aKtvvl/9AQj4gBe4PI0jQW8lqNojE3VbvqsU0hb8D7nmcgWhFOPW0p1p4P05K+9irMI5wWJjcnmcr1JT2pQ65mJSKjt0Vq1e/G4D/4ianh8nZPWmXxWWerBjy9KXNOIPUZy2PPs56QhR0JbqtcCIqgU5e5US/kcgZLTfAHvjEcv7OT39SHSLh/jfddvoEvew7y0eC6sVPpDnWNNLlWI+YrqVq1yNgITV4053uUfAqoIVsXmMUYGUW6ePimgXnyYStfu5FBSW3UInmixJxfYMHG9HhXs6prdP6si+9Raau/ELgtiR5LvThYqxUJV4aRyGz8Q== Received: from PH0PR11MB4776.namprd11.prod.outlook.com (2603:10b6:510:30::14) by MW6PR11MB8365.namprd11.prod.outlook.com (2603:10b6:303:240::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8293.14; Fri, 27 Dec 2024 23:55:00 +0000 Received: from PH0PR11MB4776.namprd11.prod.outlook.com ([fe80::caa:f536:1b7:c4e0]) by PH0PR11MB4776.namprd11.prod.outlook.com ([fe80::caa:f536:1b7:c4e0%7]) with mapi id 15.20.8293.000; Fri, 27 Dec 2024 23:55:00 +0000 Message-ID: Date: Fri, 27 Dec 2024 16:54:57 -0700 User-Agent: Mozilla Thunderbird Subject: Re: www/firefox and mail/thunderbird fail to build due to missing makefile variable To: ports@freebsd.org References: Content-Language: en-US From: "Edward Sanford Sutton, III" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SJ2PR07CA0020.namprd07.prod.outlook.com (2603:10b6:a03:505::19) To PH0PR11MB4776.namprd11.prod.outlook.com (2603:10b6:510:30::14) X-Microsoft-Original-Message-ID: <496a429a-bbc0-4ec1-b697-1dadd1e145a9@hotmail.com> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR11MB4776:EE_|MW6PR11MB8365:EE_ X-MS-Office365-Filtering-Correlation-Id: 18e300df-a9da-4f8e-a9cd-08dd26d1df65 X-Microsoft-Antispam: BCL:0;ARA:14566002|461199028|5072599009|6090799003|8060799006|19110799003|7092599003|15080799006|440099028|3412199025; X-Microsoft-Antispam-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bkdRd0RSTEVCS0libE5UN3loYi9LY2hHNHpKVlQ3UmVxWlA0QjFXMkxPRnZm?= =?utf-8?B?V1FqTitwa29DdUlxdndpUDJXZTVOdHBzeDJpUnVzLzRsM0ZPNmNoRTMvVlpQ?= =?utf-8?B?b0RnZHEzbGVQcE40OHQrN01xWk43TGs2cWo5Y1h2TC9XZEtlcndpRDFhVUI5?= =?utf-8?B?TEh3b1RmOFZRVFdZcS9QL0FuK3pIY3A2L1lRZUJ0eEpDQnN3MHFKZzdldE1j?= =?utf-8?B?MGx6dmphd29MK21TNE05T2grdmNtYVc2ajJPUi9VR0lMTktBOVAzK1NCT29X?= =?utf-8?B?Tks2blh2T2kwQVkxeWxMcWhkUDUyUDZYRk9hdmFVRzBlU0VxZTh4SGlWYTVT?= =?utf-8?B?dEFDQXJKUmZ2bkRrVWc1QnAyVTJ6S0VPdE5nS0VOK0VuMlBGSUE2WTdkNmRV?= =?utf-8?B?WlQvWHFEQU5IampRRG13c0hVeHRveGZMT0owZlRZZkxJOWNtVUZ1L2wydEI4?= =?utf-8?B?dXFrcEorMjVwNm5aVkN0eGxaVTJnSkphVG9qZk1IazJCcFloWkRDeHJSNU5h?= =?utf-8?Q?/qjGbCZzaYUub+imBAiTqUNaNPQNfLIZrZjpJp2NXSpU=3D?= X-OriginatorOrg: sct-15-20-7719-20-msonline-outlook-1ce3f.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 18e300df-a9da-4f8e-a9cd-08dd26d1df65 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB4776.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2024 23:55:00.7949 (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: MW6PR11MB8365 X-Spamd-Result: default: False [-2.49 / 15.00]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector10001:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/16]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[hotmail.com]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; TO_DN_NONE(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.19.46:from]; MLMMJ_DEST(0.00)[ports@freebsd.org]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; RCVD_IN_DNSWL_NONE(0.00)[40.92.19.46:from] X-Rspamd-Queue-Id: 4YKj6J18kyz3xhq X-Spamd-Bar: -- On 12/27/24 12:37, Philipp Ost wrote: > Am 27.12.2024 um 18:38 schrieb Philipp Ost: >> Hi everyone, >> >> both www/firefox and mail/thunderbird fail to build on a freshly >> installed 14.2-STABLE/amd64 with a similar error: >> >> [firefox-133.0.3,2] >> ----8<---- >> [...] >> gmake[2]: Leaving directory '/usr/ports/www/firefox/work/.build' >> gmake[1]: *** [/usr/ports/www/firefox/work/firefox-133.0.3/config/ >> recurse.mk:34: compile] Error 2 >> gmake[1]: Leaving directory '/usr/ports/www/firefox/work/.build' >> gmake: *** [/usr/ports/www/firefox/work/firefox-133.0.3/config/ >> rules.mk:359: all] Error 2 >> ===> Compilation failed unexpectedly. >> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the >> failure to >> the maintainer. >> *** Error code 1 >> >> Stop. >> make[1]: stopped in /usr/ports/www/firefox >> *** Error code 1 >> >> Stop. >> make: stopped in /usr/ports/www/firefox >> ---->8---- >> >> [thunderbird-128.6.0]: >> ----8<---- >> [...] >> gmake[2]: Leaving directory '/usr/ports/mail/thunderbird/work/.build' >> gmake[1]: *** [/usr/ports/mail/thunderbird/work/thunderbird-128.6.0/ >> config/recurse.mk:34: compile] Error 2 >> gmake[1]: Leaving directory '/usr/ports/mail/thunderbird/work/.build' >> gmake: *** [/usr/ports/mail/thunderbird/work/thunderbird-128.6.0/ >> config/ rules.mk:361: all] Error 2 >> ===> Compilation failed unexpectedly. >> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the >> failure to >> the maintainer. >> *** Error code 1 >> >> Stop. >> make[1]: stopped in /usr/ports/mail/thunderbird >> *** Error code 1 >> >> Stop. >> make: stopped in /usr/ports/mail/thunderbird >> ---->8---- >> >> Looking at the last reported error in rules.mk, it seems as if in both >> cases a variable is not set correctly somewhere: >> ----8<---- >> [...] >> # The root makefile doesn't want to do a plain export/libs, because >> # of the tiers and because of libxul. Suppress the default rules in favor >> # of something else. Makefiles which use this var *must* provide a >> sensible >> # default rule before including rules.mk >> default all:: >>          $(foreach tier,$(TIERS),$(call SUBMAKE,$(tier))) >> [...] >> ---->8---- >> >> Before trying to chase this any further, has anyone else encountered >> this already? >> >> Best >> Philipp > > Quick follow-up: both these errors where caused by me setting LTO=on. > With LTO=off, everything built fine. Whatever the error was I'd say it looked like your logs snipping removed lines that likely would error out. If a port has an option that is known to work then until fixed it should be commented away from the user, removed, or mark the port as broken. The MAKE_JOBS_UNSAFE is more of a generic comment that should only matter if the build system of a port is flawed to not orderly handle multiple make jobs. If things fail then defining that eliminates the possibility that its the failure; please report if you ever find such a failure, specifically if reproducible as that definitely needs to be fixed or MAKE_JOBS_UNSAFE needs to be set by the port itself then. Otherwise defining it before submitting any logs helps keep the log of the failure reproducible + orderly for faster comparison. Last I checked the general concept of LTO=yes (and not just when a port gives the option), LTO will break quite a few ports. If I recall it seemed like a compiler/linker issue so I presumed it would get fixed there instead of patching each port to force it off just because of that seemingly common bug. I have wondered how much having it work would help. Since I build my own ports I figure it also means compiles that use ccache less, take longer, use less threads, and use more RAM in an attempt to get more optimized binaries to result. > Best > Philipp