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=472670&view=markup
shows that this is a slave port of powerpc64-gcc :

17      MASTERDIR=      ${.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=467716&view=markup
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     
 lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h   
 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:    
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:  
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 
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.)


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

_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to