From nobody Fri Nov 04 21:33:32 2022 X-Original-To: dev-commits-ports-all@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 4N3v5128kyz4gnwH for ; Fri, 4 Nov 2022 21:33:41 +0000 (UTC) (envelope-from developer@lorenzosalvadore.it) Received: from mail-4018.proton.ch (mail-4018.proton.ch [185.70.40.18]) (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 (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N3v4z0kBHz3q8d; Fri, 4 Nov 2022 21:33:38 +0000 (UTC) (envelope-from developer@lorenzosalvadore.it) Date: Fri, 04 Nov 2022 21:33:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lorenzosalvadore.it; s=protonmail; t=1667597615; x=1667856815; bh=gIcU6EzIjCwnEyE8URuVzpzfumumYct7J1lDLaR1ZeE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=bL7vs8DNzQMzUt1EpACH2AQpKRCBMtDaZhR7mxD4BkpWAottcSVxipfr1G7e1ZDXu yU3zPiP3O0klAZLRZMOUgkprIa9lJ3ujgR2W8LQhrL767KMIJC0PTvU/fPLX2vFedG kRPrdLb19+bEOpKr4ZIxZJ+8C4vBREuxSfJ8XP23MScoh1iYY8JfdBsMGHRcOiE66G PgcKjF/k2yYzEK5m/lQfiiLkaIOXmTM+0hlr1TV0ruHkPC5gfadjR9X2FLXSHQd44k hVzaoKY/3qnHNCRVljZu5AsQfNCLDvwcTNu3pTuT7o+LIodtY+NVgbuVeUCact4QBo ReDlkT01rwjsQ== To: Yasuhiro Kimura From: Lorenzo Salvadore Cc: salvadore@FreeBSD.org, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org, Gerald Pfeifer Subject: Re: git: dc67e7d3009d - main - lang/gcc11: Fix conflict on libgccjit.h and libgccjig++.h Message-ID: <2bh1ddDgS0AORs5m50qQWi-XpzDAx98GV8uVs6mx0vz5iTCygo2eo8SY-2nTmhvvtcg-n1aW4ZCTskAHSKkPnOiI6kDf_3FCFckibZzgHdM=@lorenzosalvadore.it> In-Reply-To: References: <202211031229.2A3CToIj005790@gitrepo.freebsd.org> <20221104.110312.1490285664477590823.yasu@FreeBSD.org> Feedback-ID: 53711648:user:proton List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4N3v4z0kBHz3q8d X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=lorenzosalvadore.it header.s=protonmail header.b=bL7vs8DN; dmarc=pass (policy=quarantine) header.from=lorenzosalvadore.it; spf=pass (mx1.freebsd.org: domain of developer@lorenzosalvadore.it designates 185.70.40.18 as permitted sender) smtp.mailfrom=developer@lorenzosalvadore.it X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[lorenzosalvadore.it,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; R_DKIM_ALLOW(-0.20)[lorenzosalvadore.it:s=protonmail]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[dev-commits-ports-all@FreeBSD.org]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[lorenzosalvadore.it:+]; TO_DN_SOME(0.00)[]; RCPT_COUNT_FIVE(0.00)[6]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N ------- Original Message ------- On Friday, November 4th, 2022 at 4:40 PM, Lorenzo Salvadore wrote: >=20 >=20 > ------- Original Message ------- > On Friday, November 4th, 2022 at 3:03 AM, Yasuhiro Kimura yasu@FreeBSD.or= g wrote: >=20 >=20 >=20 > > From: Lorenzo Salvadore salvadore@FreeBSD.org > >=20 > > Subject: git: dc67e7d3009d - main - lang/gcc11: Fix conflict on libgccj= it.h and libgccjig++.h > > Date: Thu, 3 Nov 2022 12:29:50 GMT > >=20 > > > The branch main has been updated by salvadore: > > >=20 > > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3Ddc67e7d3009de2b78d96= 136c8ad09cf186e553df > > >=20 > > > commit dc67e7d3009de2b78d96136c8ad09cf186e553df > > > Author: Lorenzo Salvadore salvadore@FreeBSD.org > > > AuthorDate: 2022-11-02 22:24:57 +0000 > > > Commit: Lorenzo Salvadore salvadore@FreeBSD.org > > > CommitDate: 2022-11-03 12:29:06 +0000 > > >=20 > > > lang/gcc11: Fix conflict on libgccjit.h and libgccjig++.h > > >=20 > > > GCC 11, GCC 12 and GCC 13 install libgccjit.h and libgccjit++.h in th= e > > > same directory. > > >=20 > > > Fix conflict for GCC 11, which is GCC_DEFAULT, by installing those fi= les > > > in a directory specific to GCC 11. > > >=20 > > > PR: 257060 > > > Reported by: Ting-Wei Lan lantw44@gmail.com > > > Reviewed by: gerald, dim > > > Differential Revision: https://reviews.freebsd.org/D37242 > > > See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101491 > >=20 > > After this commit build of editors/emacs-devel fails as configure > > script fails to detect libgccjit.h as following. > >=20 > > ---------------------------------------------------------------------- > > checking for dlopen... (cached) yes > > checking for dladdr... yes > > checking for dlfunc... yes > > checking for gcc_jit_context_acquire in -lgccjit... yes > > checking for libgccjit.h... no > > configure: error: ELisp native compiler was requested, but libgccjit he= ader files were > > not found. > > Please try installing libgccjit-dev or a similar package. > > If you are sure you want Emacs be compiled without ELisp native compile= r, > > pass the --without-native-compilation option to configure. > > =3D=3D=3D> Script "configure" failed unexpectedly. > >=20 > > Please report the problem to emacs@FreeBSD.org [maintainer] and attach = the > > "/wrkdirs/usr/ports/editors/emacs-devel/work-nox/emacs-a691e811/config.= log" > > including the output of the failure of your make command. Also, it migh= t be > > a good idea to provide an overview of all packages installed on your sy= stem > > (e.g. a /usr/local/sbin/pkg-static info -g -Ea). > > *** Error code 1 > >=20 > > Stop. > > make: stopped in /usr/ports/editors/emacs-devel > > ---------------------------------------------------------------------- > >=20 > > According to the output of `pkg info -l gcc11-11.3.0_3` on > > 13.1-RELEASE amd64, both libgccjit.h and libgccjit++.h are installed > > in /usr/local/lib/gcc11/gcc/x86_64-portbld-freebsd13.1/include. But > > should they be installed in > > /usr/local/lib/gcc11/gcc/x86_64-portbld-freebsd13.1/11.3.0/include? >=20 >=20 > I have fixed the patch, but emacs still fails to find the header, so > instead of committing the fix I have put it in Phabricator for review > and improvements: >=20 > https://reviews.freebsd.org/D37266 >=20 > As I suggest in the review, it might be better to change the emacs port > so that they search the header in the right directory, but if this is > not possible we can search for a better solution (or revert the > commit that broke emacs, if finding such a solution takes too much > time). >=20 > Cheers, >=20 > Lorenzo Salvadore Fixing the commit does not seem to be a straight forward task, so I have reverted it for now: https://cgit.freebsd.org/ports/commit/?id=3D9f0cd13014d0962aedfa016c86a5af0= 7ca3ba814 Cheers, Lorenzo Salvadore