From owner-freebsd-ports@freebsd.org Mon Jul 9 18:03:57 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE11C1041762 for ; Mon, 9 Jul 2018 18:03:56 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-20.consmr.mail.gq1.yahoo.com (sonic313-20.consmr.mail.gq1.yahoo.com [98.137.65.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6FD077CBCA for ; Mon, 9 Jul 2018 18:03:56 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: OA.6AUIVM1myNLL5yJGu0FKOKWsPHEygz92Xe3dFcZRoEDgDAcC4pAmY_3T7lKP FimKxykC.o_mjM2KnHSuIW3GD0.yt52YHexACuniJxiOGe8yCoF_C4Di3Mat.Kr6y9K2f4aysHCQ BfRkV9ww9TqNpVxXrCChjxa7M7I2r27sTsbD1dBF7VKxM6he.BefVRhRYs_kKSruilOFW7JtOLJ_ 2aASzoqX3lSBzfzpUyWX_0uDuqZ.0vy9YKm3KvK7Vewb8__HAxeJuyroIhXdwgjJBlbmQbUhHJ1j 68HYV6d0b0zf3rxPYa5ZNF7du3oDEIbym4nN6sJE1w0bhhDo.IDQLD1MWJpXw0l6AF60_SAK2uUf e1sE_W_TwwS_s_GLsKnsT4jlU0SY5pWLaqeAcRvDWOLPn6zxuR7JXOjYE8KId0rIEYnUGf1hEVG5 VHJyLKU30R9JAgEsBRxqFu3fZFbhRDuFq0XKLwhJHCoxRijKKCaQZ02pfLF1QE.ByOhUC9jVzgMc 9UxPNU778N_KlCNTFVBzo7Y3YFZ0nkL_GGuNn1ZXI5lYOVmwLCnCjFQS9jtXaVEm1aG2mSKz4M.e iM0HiIhjXW5UURMds_2yNvxybCxo3V3gDi58b8aTdJZ95QPI.lM.Pxx4lZ.ZS4AOPMLianCgIJVp VFJE1vwpqqxWLndGAVOPgFgc53myhYvhkENlO9tRfSQQov6yjoLVZVRaLXCVAAYo1jqKpcaVnLzi nIVztdCqJq4i5uDfdMwDSlLfT1TG_ZiyGXyknrqHzgIfw73QRALFE86.9QwjJcea0j.o81Z6SQdb oL.wRSt2Zunr8YI2aOsRVXmJJLCZWX5F_XsjJ9Es_UscIpPUiGNJmj9GF6ikin7EG896EZotfDyn OsJ4VYfUXYs2S8Q9ksGqnsA8.goH6kfyvV3NihVsXiJd6bZ2YMrD2aXKMQodVsi4oBhnPDVx5_FR vxZ68T77MDeBTJ7jnY6pakFlFhkv0oKzMiSp0KOFXy43WnHmkLVy6fATaMfBqdtW4oyA8 Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Mon, 9 Jul 2018 18:03:55 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp427.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 66242bef5b65c8b911f1d9d3ee461b1e; Mon, 09 Jul 2018 18:03:54 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: aarch64-none-elf-gcc and related programs will not install From: Mark Millard In-Reply-To: <483906aa-540b-b5f3-7dc7-7fee3dd901ad@FreeBSD.org> Date: Mon, 9 Jul 2018 11:03:53 -0700 Cc: tech-lists@zyxst.net, FreeBSD Ports , kevans@FreeBSD.org, Bryan Drewery Content-Transfer-Encoding: quoted-printable Message-Id: <083A5BEA-4E72-4DC4-B3B1-B8BF49E5E546@yahoo.com> References: <483906aa-540b-b5f3-7dc7-7fee3dd901ad@FreeBSD.org> To: John Baldwin X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2018 18:03:57 -0000 On 2018-Jul-9, at 9:13 AM, John Baldwin wrote: > On 7/7/18 5:56 PM, Mark Millard wrote: >> Things seem to be in a confused state/status. Here is my limited = understanding, >> including what has me confused . . . >>=20 >> = https://svnweb.freebsd.org/ports/head/devel/aarch64-none-elf-gcc/Makefile?= revision=3D472670&view=3Dmarkup >> shows that this is a slave port of powerpc64-gcc : >>=20 >> 17 MASTERDIR=3D ${.CURDIR}/../powerpc64-gcc >>=20 >> (This looks to be true from when aarch64-none-elf-gcc/Makefile >> was first checked in as well.) >>=20 >> As of -r465416 powerpc64-gcc recursively removes: >>=20 >> = ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed >>=20 >> in post-install . (Other things are also removed.) >>=20 >> ("include-fixed" tends to not track FreeBSD in a timely manor, for = example. >> I'll not get into all the issues that I'm aware of.) >>=20 >> But = https://svnweb.freebsd.org/ports/head/devel/aarch64-none-elf-gcc/pkg-plist= ?revision=3D467716&view=3Dmarkup >> shows: >>=20 >> 23 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h >> 24 = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_fil.h >> 25 = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_lookup.h >> 26 = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_nat.h >> 27 = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_proxy.h >> 28 = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_scan.h >> 29 = lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/netinet/ip_state.h >> 30 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README >> 31 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stddef.h >> 32 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdio.h >> 33 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdlib.h >> 34 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/sys/types.h >> 35 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h >> 36 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/unistd.h >> 37 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/wchar.h >>=20 >> and so has references to files that do not exist as far as I can tell >> so far. >>=20 >> Most/all other slave ports of powerpc64-gcc have had such >> references removed as I understand. >>=20 >> For example, -r437977 removed: >>=20 >> lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README =20 >> lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h =20= >> lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h >>=20 >> in devel/aarch64-gcc/pkg-plist . >>=20 >> But -r466699 (that included aarch64-none-elf-gcc changes) says: >>=20 >> Author: jhb >> Date: Sat Apr 7 00:26:46 2018 UTC (3 months ago) >> Changed paths: 3 >> Log Message:=09 >> Fix two more issues with r465416 >>=20 >> . . . >> - Don't remove the include-fixed headers for the aarch64-none-elf-gcc >> and arm-none-eabi-gcc packages. >> . . . >>=20 >> Reported by: kevans (2) >> Reviewed by: bdrewery, kevans >> Differential Revision:=09 >> https://reviews.freebsd.org/D14925 >=20 > This made the RM conditional if you look at the diff: >=20 > .if empty(PKGNAMEPREFIX:M*-*-) > @${RM} -r = ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed > .endif >=20 > The conditional should only apply to xtoolchain gcc ports (e.g. = amd64-gcc) > not to aarch64-none-elf-gcc. >=20 > I don't have the context from the start of this thread to know what is = broken > though. Somehow I missed the conditional code. Sorry. https://svnweb.freebsd.org/ports/branches/2018Q2/devel/ goes back to -r466125 before the conditional was added. It looks like https://svnweb.freebsd.org/ports/branches/2018Q3/devel/ was only established about 7 days ago as/at -r473710 . So if the quarterly 2018Q2 was in use at the time, that would explain the types messages. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)