| Summary: | Mk/Uses/objc.mk Forces old 7.0 clang version | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | ari |
| Component: | Ports Framework | Assignee: | Jose Alonso Cardenas Marquez <acm> |
| Status: | Closed Unable to Reproduce | ||
| Severity: | Affects Many People | CC: | ari, linimon, ports-bugs |
| Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(acm) |
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
ari
2020-01-06 05:29:25 UTC
(In reply to ari from comment #0) It is strange. I have installed sogo4 from ports on 4 machines and it has not llvm70 dependency. If you look at Uses/objc.mk you can see the following: # We do always need clang and prefer a recent version .if (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < ${OBJC_CLANG_VERSION}) || ${COMPILER_TYPE} != clang .if ${ALT_COMPILER_TYPE} == clang && ${ALT_COMPILER_VERSION} >= ${OBJC_CLANG_VERSION} CC= /usr/bin/clang CPP= /usr/bin/clang-cpp CXX= /usr/bin/clang++ OBJC_LLD= lld .else BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${OBJC_CLANG_VERSION}:devel/llvm${OBJC_CLANG_VERSION} CPP= ${LOCALBASE}/bin/clang-cpp${OBJC_CLANG_VERSION} CC= ${LOCALBASE}/bin/clang${OBJC_CLANG_VERSION} CXX= ${LOCALBASE}/bin/clang++${OBJC_CLANG_VERSION} OBJC_LLD= lld${OBJC_CLANG_VERSION} .endif .endif .if ! ${objc_ARGS:Mcompiler} LIB_DEPENDS+= libobjc.so.4.6:lang/libobjc2 OBJCFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .endif CONFIGURE_ENV+= OBJC="${CC}" OBJCFLAGS="${OBJCFLAGS}" MAKE_ENV+= OBJC="${CC}" OBJCFLAGS="${OBJCFLAGS}" .endif First line should jump llvm70 dependency. I think that is a problem in your system. Have you some variable defined into /etc/make.conf? # cat make.conf WITHOUT_X11=yes JAVA_PORT=java/openjdk8 JAVA_VERSION=8 apache22-worker-mpm_SET+=PROXY_AJP PROXY_BALANCER PROXY_CONNECT PROXY_FTP PROXY_HTTP PROXY_SCGI DEFAULT_VERSIONS+= php=7.4 DEFAULT_VERSIONS+= apache=2.4 DEFAULT_VERSIONS+= ssl=openssl DEFAULT_VERSIONS+= mysql=10.3m DEFAULT_VERSIONS+= lua=5.1 DEFAULT_VERSIONS+= python=3.6 OPTIONS_UNSET+= GSSAPI_BASE GSSAPI_MIT OPTIONS_SET+= GSSAPI_NONE ALLOW_UNSUPPORTED_SYSTEM=yes I was building from poudriere, so I tried going to the ports tree manually and I get something slightly different: /var/poudriere/ports/default/www/sogo4 # make all-depends-list | grep llvm /var/poudriere/ports/default/devel/llvm80 Sorry, I can't reproduce the problem. Try with a fresh installation and updated version of FreeBSD. Maybe you problem was generated by a failed or bad upgrade |