Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2019 05:18:59 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Rebecca Cran <bcran@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r511727 - head/sysutils/uefi-edk2-qemu
Message-ID:  <sgp4-x2ho-wny@FreeBSD.org>
In-Reply-To: <201909100151.x8A1pqC5086268@repo.freebsd.org> (Rebecca Cran's message of "Tue, 10 Sep 2019 01:51:52 %2B0000 (UTC)")
References:  <201909100151.x8A1pqC5086268@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Rebecca Cran <bcran@FreeBSD.org> writes:

>  BUILD_DEPENDS=	bash:shells/bash \
>  		nasm:devel/nasm \
> +		gcc:lang/gcc${GCC_DEFAULT} \
[...]
> -USE_GCC=	8+

Only lang/gcc (meta port) installs "gcc" symlink. Why not keep USE_GCC
while using the same hack as sysutils/uefi-edk2-bhyve or misc/seabios?

$ poudriere testport -j 112amd64 sysutils/uefi-edk2-qemu
[...]
=======================<phase: build-depends  >============================
===>   uefi-edk2-qemu-x86_64-g20190307_1 depends on executable: bash - not found
===>   Installing existing package /packages/All/bash-5.0.11.txz
[112amd64-default-job-01] Installing bash-5.0.11...
[112amd64-default-job-01] `-- Installing gettext-runtime-0.20.1...
[112amd64-default-job-01] |   `-- Installing indexinfo-0.3.1...
[112amd64-default-job-01] |   `-- Extracting indexinfo-0.3.1: .... done
[112amd64-default-job-01] `-- Extracting gettext-runtime-0.20.1: .......... done
[112amd64-default-job-01] Extracting bash-5.0.11: .......... done
===>   uefi-edk2-qemu-x86_64-g20190307_1 depends on executable: bash - found
===>   Returning to build of uefi-edk2-qemu-x86_64-g20190307_1
===>   uefi-edk2-qemu-x86_64-g20190307_1 depends on executable: nasm - not found
===>   Installing existing package /packages/All/nasm-2.14.02,1.txz
[112amd64-default-job-01] Installing nasm-2.14.02,1...
[112amd64-default-job-01] Extracting nasm-2.14.02,1: .......... done
===>   uefi-edk2-qemu-x86_64-g20190307_1 depends on executable: nasm - found
===>   Returning to build of uefi-edk2-qemu-x86_64-g20190307_1
===>   uefi-edk2-qemu-x86_64-g20190307_1 depends on executable: gcc - not found
===>   Installing existing package /packages/All/gcc9-9.2.0.txz
[112amd64-default-job-01] Installing gcc9-9.2.0...
[112amd64-default-job-01] `-- Installing binutils-2.32_1,1...
[112amd64-default-job-01] `-- Extracting binutils-2.32_1,1: .......... done
[112amd64-default-job-01] `-- Installing gmp-6.1.2_1...
[112amd64-default-job-01] `-- Extracting gmp-6.1.2_1: .......... done
[112amd64-default-job-01] `-- Installing mpc-1.1.0_2...
[112amd64-default-job-01] |   `-- Installing mpfr-4.0.2...
[112amd64-default-job-01] |   `-- Extracting mpfr-4.0.2: .......... done
[112amd64-default-job-01] `-- Extracting mpc-1.1.0_2: ......... done
[112amd64-default-job-01] Extracting gcc9-9.2.0: .......... done
Message from gcc9-9.2.0:

To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc9

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   uefi-edk2-qemu-x86_64-g20190307_1 depends on executable: gcc - not found
*** Error code 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sgp4-x2ho-wny>