Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2018 17:56:14 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        tech-lists@zyxst.net, FreeBSD Ports <freebsd-ports@freebsd.org>
Cc:        kevans@FreeBSD.org, Bryan Drewery <bdrewery@FreeBSD.org>, John Baldwin <jhb@freebsd.org>
Subject:   Re: aarch64-none-elf-gcc and related programs will not install
Message-ID:  <FE77451C-4401-4968-916E-B71E8D526019@yahoo.com>

next in thread | raw e-mail | index | archive | help
Things seem to be in a confused state/status. Here is my limited =
understanding,
including what has me confused . . .

=
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 :

17	MASTERDIR=3D      ${.CURDIR}/../powerpc64-gcc

(This looks to be true from when aarch64-none-elf-gcc/Makefile
was first checked in as well.)

As of -r465416 powerpc64-gcc recursively removes:

${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed

in post-install . (Other things are also removed.)

("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.)

But =
https://svnweb.freebsd.org/ports/head/devel/aarch64-none-elf-gcc/pkg-plist=
?revision=3D467716&view=3Dmarkup
shows:

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

and so has references to files that do not exist as far as I can tell
so far.

Most/all other slave ports of powerpc64-gcc have had such
references removed as I understand.

For example, -r437977 removed:

 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

in devel/aarch64-gcc/pkg-plist .

But -r466699 (that included aarch64-none-elf-gcc changes) says:

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

. . .
- Don't remove the include-fixed headers for the aarch64-none-elf-gcc
  and arm-none-eabi-gcc packages.
. . .

Reported by:	kevans (2)
Reviewed by:	bdrewery, kevans
Differential Revision:=09
https://reviews.freebsd.org/D14925


( -r466699 is after -r465416 added the removal of include-fixed/.
Thus my confusion.)

There is also -r467716 which says:

Wed Apr 18 17:07:23 2018 UTC (2 months, 2 weeks ago) by kevans=20
File size: 29483 byte(s)
Fix arm-none-eabi-gcc/aarch64-none-elf-gcc plist after r466699

jhb fixed these ports in r466699, but include-fixed headers has changed
since the last update, perhaps due to --sysroot and these ports being =
built
differently since then.

Add the extra headers to the plist and bump PORTREVISION due to package
differences. This fixes some sanity checking in the plist, since these =
files
are installed to the stage dir.

Reported by:	Phillip R. Jaenke <prj at rootwyrm.com>
Approved by:	ler (ports)
MFH:		2018Q2



(This also confuses me, given when powerpc64-gcc [the master
port] started removing include-fixed well before this.)


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE77451C-4401-4968-916E-B71E8D526019>