From nobody Fri Nov 04 15:40:32 2022 X-Original-To: dev-commits-ports-main@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 4N3lFq26hFz4h4N9 for ; Fri, 4 Nov 2022 15:40:47 +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 4N3lFn0Jdvz49Lr; Fri, 4 Nov 2022 15:40:44 +0000 (UTC) (envelope-from developer@lorenzosalvadore.it) Date: Fri, 04 Nov 2022 15:40:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lorenzosalvadore.it; s=protonmail; t=1667576441; x=1667835641; bh=fjgVLeZpodtZnV05Hf3cnzzMkpf+S5sOSPew9ShjEdk=; 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=jkWD16rmqx92nbQoBAjDtmOF4ZkT9hSSzSp/Wf/w2dce1HderDaKOTqBU9qG7lyqQ mSDHA/DP7FziBIROBKAzO2Ef5qMhZGmIhDnRRkzylkqV1GbGVRhZ+Sk1oKvzrIhTqK EWAj1s8X0rT/bCb3lbsbbhpFpFZta2bVask/kLhxocWpn+W01hqkypHuxjs/ZXU+da 8QGL194bhMDEmMVaVWmnlTK+XCAdxg47n6xYmV+3esz6p/vqHMjDZO0aUqMKWkEA9V 3ojU+xiFytVCR/09zkyerlDF2d9vOg2R2+W09pVBtRaI52TzqcbN1DV3WAtlE54ZwC yj+WLMrXIzy8g== 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: In-Reply-To: <20221104.110312.1490285664477590823.yasu@FreeBSD.org> References: <202211031229.2A3CToIj005790@gitrepo.freebsd.org> <20221104.110312.1490285664477590823.yasu@FreeBSD.org> Feedback-ID: 53711648:user:proton List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4N3lFn0Jdvz49Lr X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=lorenzosalvadore.it header.s=protonmail header.b=jkWD16rm; 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 [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-0.99)[-0.995]; 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-main@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 3:03 AM, Yasuhiro Kimura wrote: >=20 >=20 > From: Lorenzo Salvadore salvadore@FreeBSD.org >=20 > Subject: git: dc67e7d3009d - main - lang/gcc11: Fix conflict on libgccjit= .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=3Ddc67e7d3009de2b78d9613= 6c8ad09cf186e553df > >=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 the > > same directory. > >=20 > > Fix conflict for GCC 11, which is GCC_DEFAULT, by installing those file= s > > 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 >=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 head= er 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 compiler, > 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 th= e > "/wrkdirs/usr/ports/editors/emacs-devel/work-nox/emacs-a691e811/config.lo= g" > including the output of the failure of your make command. Also, it might = be > a good idea to provide an overview of all packages installed on your syst= em > (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? 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: https://reviews.freebsd.org/D37266 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). Cheers, Lorenzo Salvadore