NetBSD-Bugs archive

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

Re: port-amd64/56456: build fails to build release with clang or x11

The following reply was made to PR port-amd64/56456; it has been noted by GNATS.

From: Greywolf <>
Subject: Re: port-amd64/56456: build fails to build release with clang or x11
Date: Mon, 15 Nov 2021 18:25:07 -0800

 On 10/16/2021 1:10, wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `port-amd64/56456'.
 > The individual assigned to look at your
 > report is: port-amd64-maintainer.
 >> Category:       port-amd64
 >> Responsible:    port-amd64-maintainer
 >> Synopsis:       clang and x11 (which uses clang) releases will not build
 >> Arrival-Date:   Sat Oct 16 08:10:00 +0000 2021
 I have found a workaround for this issue!
      The file:
      is missing and does not show up on a cvs update.  This leads to the command:
      ===> command:    ./ -a x86_64 -m amd64 -D 
 /build/amd64/build -O /build/amd64/obj -R /build/amd64/release -T 
 /build/amd64/tools -j12 -x build
      ultimately failing with:
      --- IRSymtab.d ---
      #    create  libLLVMObject/IRSymtab.d
 /build/amd64/tools/bin/nbmkdep -f IRSymtab.d.tmp  --   -std=c++14 
 --sysroot=/build/amd64/build -I. 
 &&  mv -f IRSymtab.d.tmp IRSymtab.d
 fatal error: llvm/Support/VCSRevision.h: No such file or directory
         34 | #include "llvm/Support/VCSRevision.h"
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      nbmkdep: compile failed.
      # cd /usr/src/external/apache2/llvm/dist/llvm/include/llvm/Support
      # ln -sf ../../../../../include/llvm/Support/VCSRevision.h .
      The solution would be to insure that ends up in the
      right place.
      You may mark this closed, or you might want to leave it open until this is
      actually fixed.  Please note that neither a CVS fresh pull nor a CVS
      update seem to fix this problem.
 Please, also point port-amd64/54569 to this bug and close the former.
 				Thank you!

Home | Main Index | Thread Index | Old Index