tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fw: pkgsrc GCC failed to build any packages



Just know about the existence of this mailing list. I posted this on pkgsrc-users without useful answers so I forwarded it here.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Sunday, July 4th, 2021 at 3:32 PM, hung.nguyengia <hung.nguyengia%protonmail.com@localhost> wrote:

> Both GCC10 and GCC8.
>
> The GCC10 case:
>
> http://mail-index.netbsd.org/pkgsrc-users/2021/06/30/msg034082.html
>
> The GCC8 case:
>
> checking for %lld and %llu printf() format support... ^C*** Error code 1
>
> *** Signal 2
>
> *** Signal 2
>
> (I have to cancel it).
>
> You could see. All of the GCC installed by pkgsrc (lang/gcc10 and lang/gcc8) failed to serve as the compiler for pkgsrc itself. They always fail mysteriously when they are expected to work.
>
> Meanwhile pkgsrc Clang (installed by lang/clang) could serve as the pkgsrc compiler just fine.
>
> It's getting ridiculous with the GCC8 case. I have these on my mk.conf:
>
> #PKGSRC_COMPILER= GCC
>
> #GCC_REQD= 8
>
> GCCBASE= /test/pkg1/gcc8
>
> CC= /test/pkg1/gcc8/bin/gcc
>
> CXX= /test/pkg1/gcc8/bin/g++
>
> You could see the problem here. You have to comment out the two beginning lines, if you don't any port will fail to build with this error message:
>
> ERROR: This package has set PKG_FAIL_REASON:
>
> ERROR: No acceptable compiler found for joe-4.6.
>
> *** Error code 1
>
> Stop.
>
> bmake: stopped in /test/pkgsrc/editors/joe


Home | Main Index | Thread Index | Old Index