pkgsrc-Users archive

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

Re: pkgsrc GCC failed to build any packages



On Sun 04 Jul 2021 at 08:32:15 +0000, hung.nguyengia wrote:
> #PKGSRC_COMPILER=	GCC

This should probably be gcc in lower case

> #GCC_REQD=              8

and this should be += instead of =.
At least that's how I have it.

Also, these settings should not be in use before you have actually built
gcc 8. For me, the exclusion list needed to be

.if     empty(PKGPATH:Mlang/gcc8) && \
        empty(PKGPATH:Mpkgtools/libkver) && \
        empty(PKGPATH:Mpkgtools/x11-links) && \
        empty(PKGPATH:Mpkgtools/cwrappers) && \
        empty(PKGPATH:Mpkgtools/digest) && \
        empty(PKGPATH:Msysutils/checkperms) && \
        empty(PKGPATH:Marchivers/bsdtar) && \
        empty(PKGPATH:Mdevel/gmake) && \
        empty(PKGPATH:Mdevel/gmp) && \
        empty(PKGPATH:Mdevel/libffi) && \
        empty(PKGPATH:Mdevel/libtool-base) && \
        empty(PKGPATH:Mdevel/libuuid) && \
        empty(PKGPATH:Mdevel/m4) && \
        empty(PKGPATH:Mdevel/pkgconf) && \
        empty(PKGPATH:Mdevel/readline) && \
        empty(PKGPATH:Mlang/perl5) && \
        empty(PKGPATH:Mlang/python38) && \
        empty(PKGPATH:Mmath/mpcomplex) && \
        empty(PKGPATH:Mmath/mpfr) && \
        empty(PKGPATH:Mtextproc/gsed)

PKGSRC_COMPILER=        gcc
GCC_REQD+=              8
USE_PKGSRC_GCC=         yes
USE_PKGSRC_GCC_RUNTIME= yes

.endif  # GCC_REQD

-Olaf.
-- 
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/  have kids to make his activity cost neutral." -The BOFH    falu.nl@rhialto

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index