Re: aarch64-none-elf-gcc and related programs will not install
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 . . . >> >> https://svnweb.freebsd.org/ports/head/devel/aarch64-none-elf-gcc/Makefile?revision=472670=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=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 > > This made the RM conditional if you look at the diff: > > .if empty(PKGNAMEPREFIX:M*-*-) >@${RM} -r > ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed > .endif > > The conditional should only apply to xtoolchain gcc ports (e.g. amd64-gcc) > not to aarch64-none-elf-gcc. > > 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. === 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"
Re: aarch64-none-elf-gcc and related programs will not install
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=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=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 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"
aarch64-none-elf-gcc and related programs will not install
Hi, context: 12.0-CURRENT #0 r336037 amd64 / ports r474140 I get the following when installing aarch64-none-elf-gcc and related programs from ports. It will build fine, just errors on install. my /etc/make.conf looks like this: > less /etc/make.conf WRKDIRPREFIX=/buildports MAKE_JOBS_NUMBER=36 WITH_CCACHE_BUILD=YES CCACHE_DIR=/ccache WITH_MANCOMPRESS=YES WITHOUT_DEBUG=YES OPTIONS_SET+=OPTIMIZED_CFLAGS OPTIONS_SET+=ICONV CPUTYPE?=sandybridge It doesn't matter if /etc/make.conf is moved out of the way. these also fail in a similar way: devel/arm-none-eabi-gcc sysutils/u-boot-rpi2 sysutils/u-boot-rpi3 output when trying to install: root@REDACTED:/usr/ports/devel/aarch64-none-elf-gcc # make distclean && make clean && make ===> Cleaning for aarch64-none-elf-gcc-6.4.0 ===> Deleting distfiles for aarch64-none-elf-gcc-6.4.0 ===> Cleaning for aarch64-none-elf-gcc-6.4.0 ===> License GPLv3 GPLv3RLE accepted by the user ===> aarch64-none-elf-gcc-6.4.0 depends on file: /usr/local/sbin/pkg - found => gcc-6.4.0.tar.xz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://mirrors.kernel.org/sourceware/gcc/releases/gcc-6.4.0/gcc-6.4.0.tar.xz [...] /bin/sh /buildports/usr/ports/devel/aarch64-none-elf-gcc/work/gcc-6.4.0/libgcc/../mkinstalldirs /buildports/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/6.4.0/include install -m 0644 unwind.h /buildports/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/6.4.0/include gmake[4]: Leaving directory '/buildports/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/ilp32/libgcc' gmake[3]: Leaving directory '/buildports/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' gmake[2]: Leaving directory '/buildports/usr/ports/devel/aarch64-none-elf-gcc/work/.build/aarch64-none-elf/libgcc' gmake[1]: Leaving directory '/buildports/usr/ports/devel/aarch64-none-elf-gcc/work/.build' > Compressing man pages (compress-man) root@REDACTED:/usr/ports/devel/aarch64-none-elf-gcc # root@REDACTED:/usr/ports/devel/aarch64-none-elf-gcc # make deinstall reinstall ===> Deinstalling for aarch64-none-elf-gcc ===> aarch64-none-elf-gcc not installed, skipping ===> Installing for aarch64-none-elf-gcc-6.4.0 ===> Registering installation for aarch64-none-elf-gcc-6.4.0 pkg-static: Unable to access file /buildports/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/6.4.0/include-fixed/netinet/ip_fil.h:No such file or directory pkg-static: Unable to access file /buildports/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/6.4.0/include-fixed/netinet/ip_lookup.h:No such file or directory pkg-static: Unable to access file /buildports/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/6.4.0/include-fixed/netinet/ip_nat.h:No such file or directory pkg-static: Unable to access file /buildports/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/6.4.0/include-fixed/netinet/ip_proxy.h:No such file or directory pkg-static: Unable to access file /buildports/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/6.4.0/include-fixed/netinet/ip_scan.h:No such file or directory pkg-static: Unable to access file /buildports/usr/ports/devel/aarch64-none-elf-gcc/work/stage/usr/local/lib/gcc/aarch64-none-elf/6.4.0/include-fixed/netinet/ip_state.h:No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/devel/aarch64-none-elf-gcc *** Error code 1 Stop. make: stopped in /usr/ports/devel/aarch64-none-elf-gcc root@REDACTED:/usr/ports/devel/aarch64-none-elf-gcc # How can I fix? thanks, -- J. ___ 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"