Error when trying to build llvm
Ida Delphine
idadelm at gmail.com
Fri Jul 30 18:32:31 UTC 2021
Just installed swig and now met with another error. Can't find what is
really wrong.
RTEMS Source Builder - Set Builder, 6 (c938bd7cbe16)
Build Set: 6/rtems-llvm
Build Set: devel/swig.bset
Build Set: devel/autotools-internal.bset
config: devel/autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 7.493MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-linux-gnu-1
config: devel/automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
sizes: automake-1.12.6-x86_64-linux-gnu-1: 8.085MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-linux-gnu-1
config: devel/libtool-2.4.2-1.cfg
package: libtool-2.4.2-x86_64-linux-gnu-1
building: libtool-2.4.2-x86_64-linux-gnu-1
sizes: libtool-2.4.2-x86_64-linux-gnu-1: 12.775MB (installed: 0.000B)
cleaning: libtool-2.4.2-x86_64-linux-gnu-1
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
cleaning: libtool-2.4.2-x86_64-linux-gnu-1
Build Sizes: usage: 12.775MB total: 79.327MB (sources: 79.308MB, patches:
19.412KB, installed 0.000B)
Build Set: Time 0:00:17.154758
config: devel/swig-4.0.1.cfg
package: swig-4.0.1-x86_64-linux-gnu-1
building: swig-4.0.1-x86_64-linux-gnu-1
sizes: swig-4.0.1-x86_64-linux-gnu-1: 106.899MB (installed: 0.000B)
cleaning: swig-4.0.1-x86_64-linux-gnu-1
cleaning: swig-4.0.1-x86_64-linux-gnu-1
Build Set: Time 0:01:27.065144
config: tools/rtems-llvm-8.0.1.cfg
package: rtems-llvm-8.0.1-x86_64-linux-gnu-1
building: rtems-llvm-8.0.1-x86_64-linux-gnu-1
error: building rtems-llvm-8.0.1-x86_64-linux-gnu-1
Build FAILED
See error report: rsb-report-rtems-llvm-8.0.1-x86_64-linux-gnu-1.txt
error: building rtems-llvm-8.0.1-x86_64-linux-gnu-1
Build Set: Time 0:04:53.632167
Build FAILED
The error report: https://pastebin.com/nFYzqWqY
On Fri, Jul 30, 2021 at 2:24 PM Joel Sherrill <joel at rtems.org> wrote:
> On Fri, Jul 30, 2021 at 12:46 AM Ida Delphine <idadelm at gmail.com> wrote:
> >
> > Hello everyone,
> > I have been trying to build llvm using the command
> > ../source-builder/sb-set-builder --prefix=$HOME/development/rtems/6
> 6/rtems-llvm
> > Here's the error report
> > https://pastebin.com/vAXgwXMW
>
> It would have been helpful to have put the error lines in the email
> and a link to the full log.
>
> -- Could NOT find libedit (missing: libedit_INCLUDE_DIRS libedit_LIBRARIES)
> -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
> CMake Error at
> /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146
> (message):
> Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
> Call Stack (most recent call first):
> /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393
> (_FPHSA_FAILURE_MESSAGE)
> /usr/share/cmake-3.16/Modules/FindSWIG.cmake:64
> (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
> tools/lldb/scripts/CMakeLists.txt:18 (find_package)
>
> > Please what am I missing?
>
> Based on google results and other people having the same issue, you may not
> have swig installed. It is something to install with npm from what I
> see. Other people
> have it but need to set some variables to let cmake know where it is.
>
> Hopefully installing it will help. Chris should comment on this from
> an RSB perspective.
>
> --joel
>
> >
> > _______________________________________________
> > devel mailing list
> > devel at rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210730/fc45cce5/attachment.html>
More information about the devel
mailing list