From nobody Fri Dec 27 19:37:59 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 4YKbPn2gvcz5jDbk for ; Fri, 27 Dec 2024 19:38:05 +0000 (UTC) (envelope-from pj@smo.de) Received: from mail.adebahr.de (mail.adebahr.de [185.66.179.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.adebahr.de", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YKbPm1vKzz4PXX for ; Fri, 27 Dec 2024 19:38:04 +0000 (UTC) (envelope-from pj@smo.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=smo.de header.s=mail header.b=T5mVfVYC; spf=pass (mx1.freebsd.org: domain of pj@smo.de designates 185.66.179.123 as permitted sender) smtp.mailfrom=pj@smo.de; dmarc=pass (policy=reject) header.from=smo.de Received: from [192.168.153.6] (p5b239bbd.dip0.t-ipconnect.de [91.35.155.189]) by mail.adebahr.de (Postfix) with ESMTPSA id 8D0C7600BB for ; Fri, 27 Dec 2024 20:38:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smo.de; s=mail; t=1735328280; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Tkua1qY2PE/3arm4IqZ9Vfhh5kqSUnQTqFEcUoM7Z88=; b=T5mVfVYC4DWgQzhDqnEi50cv3MuCozXC4LLjPeQq690l0flM4rf//uIqvRiwZU2EFPwcLj YoKJ/2+mdinwIRIPxK36kn3/LT2AtTZhCPGx4kubjJRhXf4tywCDgAcItul78ATgTWvCzR uF+JSFBvBoRbB4No2Dd/poyFYw//ZDXuQyzrIfWEo49qrjgvc2H3cxclpHH8/I04/hiAMD ZCwI8jC2cPF7BUeZC/60dO2WptGQoCuBhP3gR+oBeNVFy5GfkEHHCUEqe/UoghYd0aw7uu C6WxL8Yy+wB9WlKi3qm32s5gEm66O6WZBhCOVJLrrtLfvHqiVcKjGQHdD0Vldw== Message-ID: Date: Fri, 27 Dec 2024 20:37:59 +0100 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 User-Agent: Mozilla Thunderbird Subject: Re: www/firefox and mail/thunderbird fail to build due to missing makefile variable To: ports@freebsd.org References: From: Philipp Ost In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[smo.de,reject]; R_SPF_ALLOW(-0.20)[+ip4:185.66.179.96/27]; R_DKIM_ALLOW(-0.20)[smo.de:s=mail]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:212341, ipnet:185.66.176.0/22, country:DE]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[smo.de:+] X-Rspamd-Queue-Id: 4YKbPm1vKzz4PXX X-Spamd-Bar: --- 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. Best Philipp