| Summary: | Error generating INDEX | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Vladimir Omelchuk <admin> | ||||
| Component: | Individual Port(s) | Assignee: | Mark Linimon <linimon> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | admin, w.schwarzenfeld | ||||
| Priority: | --- | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Vladimir Omelchuk
2018-02-10 11:03:57 UTC
There are two symptoms here. - The first, the warning about a specific clang version, is annoying but harmless. I will try to chase it down. - The second would appear to be a bug in the x11/kde4 metaport, but I can't reproduce it. I would advise checking to make sure you have the full, current, ports tree. (If you are trying to INDEX based off a partial ports tree, it's something that we have never tried to support -- the categories are too interdependent.) Regarding the compiler.mk part, it looks like you set CC=clang38 and CXX=clang++38 in the /etc/make.conf or somewhere else.
from /usr/ports/Mk/Uses/compiler.mk:
69 _CCVERSION!= ${CC} --version
112 _CXXINTERNAL!= ${CXX} -\#\#\# /dev/null 2>&1
games//kdegames-kde4 fixed with #225603 (half an hour after this report). (In reply to Mark Linimon from comment #1) Hmm. This looks like it may have already been fixed via PR 225803 ? (In reply to Po-Chuan Hsieh from comment #2) No, I use default clang. <make.conf> MAKE_JOBS_UNSAFE=yes DISABLE_VULNERABILITIES=YES OPTIONS_SET=CUPS WITHOUT_LPR=YES DEFAULT_VERSIONS+= apache=2.4 mysql=5.7 ssl=openssl pgsql=9.6 QT4_OPTIONS=CUPS NAS QGTKSTYLE LOCALIZED_LANG=ru .if ${.CURDIR:M*/ports/devel/ccache} NO_CCACHE=yes .endif .if ${.CURDIR:M*/emulators/linux-c6} OPTIONS_SET=NVIDIA_GL .endif .if ${.CURDIR:M*/graphics/linux-c6-glx-utils} OPTIONS_SET=NVIDIA_GL .endif .if ${.CURDIR:M*/x11-toolkits/linux-c6-qt47-x11} OPTIONS_SET=NVIDIA_GL .endif Yes, games/kdegames-kde4 fixed. Thanks! Confirm clang warning, same on my system. The only port in /usr/port/misc which contains in the Makefile clang38 and clang+38 is sword. (In reply to w.schwarzenfeld from comment #6) The problem is in misc/sword. I don't know the correct fix right offhand. Created attachment 190487 [details]
possible patch to misc/sword
I haven't tested this for building; someone more familiar with configuration should comment on whether this is the correct approach.
Same error on 10.4. INDEX builds successfully, this is just a spurious warning that will be removed once misc/sword is upgraded. |