← Back to team overview

kicad-developers team mailing list archive

Re: Build failed in Jenkins: linux-kicad-full-gcc-head #2712

 

That didn't take long ;).  Miguel, would you please changer you build
config to disable KICAD_SPICE for Ubuntu builds.  The consensus from the
other package devs was to enable this.  Someone may need to file a bug
report against the ngspice package to build it with the --libngspice
option.  I think a bug report has already been file for Debian.

On 12/29/2017 05:42 PM, Miguel Angel Ajo wrote:
> See <http://ci.kicad-pcb.org/job/linux-kicad-full-gcc-head/2712/display/redirect?page=changes>
> 
> Changes:
> 
> [Wayne Stambaugh] Enable all build configuration options ready for stable 5 release.
> 
> ------------------------------------------
> Started by upstream project "any-kicad-mirror-head" build number 1436
> originally caused by:
>  Started by remote host 91.189.89.26 with note: Something was pushed to the launchpad repo
> Building remotely on falkenberg-docker-7fb50b46abfc (docker_ubuntu-16.04) in workspace <http://ci.kicad-pcb.org/job/linux-kicad-full-gcc-head/ws/>
> Cloning the remote Git repository
> Cloning repository https://git.launchpad.net/kicad
>  > git init <http://ci.kicad-pcb.org/job/linux-kicad-full-gcc-head/ws/> # timeout=10
> Fetching upstream changes from https://git.launchpad.net/kicad
>  > git --version # timeout=10
>  > git fetch --tags --progress https://git.launchpad.net/kicad +refs/heads/*:refs/remotes/origin/*
>  > git config remote.origin.url https://git.launchpad.net/kicad # timeout=10
>  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
>  > git config remote.origin.url https://git.launchpad.net/kicad # timeout=10
> Fetching upstream changes from https://git.launchpad.net/kicad
>  > git fetch --tags --progress https://git.launchpad.net/kicad +refs/heads/*:refs/remotes/origin/*
>  > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
>  > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
> Checking out Revision 93683d0021c4f592f929e9785abeda9d169ba03b (refs/remotes/origin/master)
> Commit message: "Enable all build configuration options ready for stable 5 release."
>  > git config core.sparsecheckout # timeout=10
>  > git checkout -f 93683d0021c4f592f929e9785abeda9d169ba03b
>  > git rev-list cfe20e22fbae3018e2e8c3a7d4cd21c23b22c662 # timeout=10
> [linux-kicad-full-gcc-head] $ /bin/sh -xe /tmp/jenkins5647930103919821563.sh
> + OPTS= -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
> + export TERM=vt220
> + [ -d build ]
> + mkdir build
> + cd build
> + /usr/bin/cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_GITHUB_PLUGIN=ON -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
> -- The C compiler identification is GNU 5.4.0
> -- The CXX compiler identification is GNU 5.4.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Kicad install dir: </usr/local>
> -- Looking for malloc.h
> -- Looking for malloc.h - found
> -- Looking for iso646.h
> -- Looking for iso646.h - found
> -- Looking for stdint.h
> -- Looking for stdint.h - found
> -- Looking for strcasecmp
> -- Looking for strcasecmp - found
> -- Looking for strncasecmp
> -- Looking for strncasecmp - found
> -- Looking for strtok_r
> -- Looking for strtok_r - found
> -- Looking for malloc
> -- Looking for malloc - found
> -- Looking for math.h
> -- Looking for math.h - found
> -- Looking for C++ include cmath
> -- Looking for C++ include cmath - found
> -- Looking for asinh
> -- Looking for asinh - found
> -- Looking for acosh
> -- Looking for acosh - found
> -- Looking for atanh
> -- Looking for atanh - found
> -- Performing Test HAVE_CMATH_ISINF
> -- Performing Test HAVE_CMATH_ISINF - Success
> -- Looking for clock_gettime in rt
> -- Looking for clock_gettime in rt - found
> -- Looking for gettimeofday
> -- Looking for gettimeofday - found
> -- Looking for getc_unlocked
> -- Looking for getc_unlocked - found
> -- Performing Test COMPILER_SUPPORTS_WSUGGEST_OVERRIDE
> -- Performing Test COMPILER_SUPPORTS_WSUGGEST_OVERRIDE - Success
> -- Performing Test COMPILER_SUPPORTS_WSHADOW
> -- Performing Test COMPILER_SUPPORTS_WSHADOW - Success
> -- Try OpenMP C flag = [-fopenmp]
> -- Performing Test OpenMP_FLAG_DETECTED
> -- Performing Test OpenMP_FLAG_DETECTED - Success
> -- Try OpenMP CXX flag = [-fopenmp]
> -- Performing Test OpenMP_FLAG_DETECTED
> -- Performing Test OpenMP_FLAG_DETECTED - Success
> -- Found OpenMP: -fopenmp  
> -- Found wxWidgets: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_stc-3.0 (found suitable version "3.0.2", minimum required is "3.0.0") 
> -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  
> -- Found GLEW: /usr/include  
> -- Check for installed GLEW -- found
> -- Found GLM: /usr/include (found suitable version "0.9.7.2", minimum required is "0.9.5.1") 
> -- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.47.0") 
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
> -- Checking for module 'cairo'
> --   Found cairo, version 1.14.6
> -- Found Cairo: /usr/lib/x86_64-linux-gnu/libcairo.so (found suitable version "1.14.6", minimum required is "1.8.8") 
> -- Checking for module 'pixman-1'
> --   Found pixman-1, version 0.33.6
> -- Found Pixman: /usr/lib/x86_64-linux-gnu/libpixman-1.so (found suitable version "0.33.6", minimum required is "0.30") 
> -- Boost version: 1.58.0
> 
> *** NGSPICE library missing ***
> Most of ngspice packages do not provide the required libngspice library.
> You can either compile ngspice configured with --with-ngshared parameter
> or run a script that does the job for you:
>   wget https://orson.net.pl/pub/libngspice/get_libngspice_so.sh
>   chmod +x get_libngspice_so.sh
>   ./get_libngspice_so.sh
>   sudo ./get_libngspice_so.sh install
> 
> CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
>   Could NOT find ngspice (missing: NGSPICE_INCLUDE_DIR NGSPICE_LIBRARY)
> Call Stack (most recent call first):
>   /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
>   CMakeModules/Findngspice.cmake:30 (find_package_handle_standard_args)
>   CMakeLists.txt:557 (find_package)
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "<http://ci.kicad-pcb.org/job/linux-kicad-full-gcc-head/ws/build/CMakeFiles/CMakeOutput.log";.>
> Build step 'Execute shell' marked build as failure
> [WARNINGS] Skipping publisher since build result is FAILURE
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


Follow ups

References