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 <greywolf%starwolf.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
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, gnats-admin%netbsd.org@localhost 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
 
 Hiyas!
 
 I have found a workaround for this issue!
 
 Problem:
      The file:
 
      /usr/src/external/apache2/llvm/dist/llvm/include/llvm/Support/VCSRevision.h
 
      is missing and does not show up on a cvs update.  This leads to the command:
 
      ===> build.sh command:    ./build.sh -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
      CC=/build/amd64/tools/bin/x86_64--netbsd-c++ 
 /build/amd64/tools/bin/nbmkdep -f IRSymtab.d.tmp  --   -std=c++14 
 --sysroot=/build/amd64/build -I. 
 -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/clang/include 
 -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/include 
 -I/build/amd64/obj/external/apache2/llvm/include 
 -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config 
 -I/usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../config 
 /usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/lib/Object/IRSymtab.cpp 
 &&  mv -f IRSymtab.d.tmp IRSymtab.d
 /usr/src/external/apache2/llvm/librt/libLLVMObject/../../lib/../dist/llvm/lib/Object/IRSymtab.cpp:34:10: 
 fatal error: llvm/Support/VCSRevision.h: No such file or directory
         34 | #include "llvm/Support/VCSRevision.h"
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      nbmkdep: compile failed.
 
 Workaround:
      # cd /usr/src/external/apache2/llvm/dist/llvm/include/llvm/Support
      # ln -sf ../../../../../include/llvm/Support/VCSRevision.h .
 
 Solution:
      The solution would be to insure that VCSRevision.sh 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!
 
 				--*greywolf;
 


Home | Main Index | Thread Index | Old Index