You are not logged in.

#1 2020-10-12 22:17:03

loqs
Member
Registered: 2014-03-06
Posts: 11,917

[SOLVED] prusa-slicer 2.2.0-7 fails to build with qhull 2020.2-3

Output from clean chroot build attempt

extra-x86_64-build 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                                                                               5.2 MiB  10.1 MiB/s 00:01 [####################################################################] 100%
:: Starting full system upgrade...
 there is nothing to do
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [builduser]...done
==> Making package: prusa-slicer 2.2.0-7 (Mon Oct 12 22:12:05 2020)
==> Retrieving sources...
  -> Downloading prusa-slicer-2.2.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   134  100   134    0     0    449      0 --:--:-- --:--:-- --:--:--   448
100 29.3M    0 29.3M    0     0  6832k      0 --:--:--  0:00:04 --:--:-- 8752k
  -> Found prusa-slicer.desktop
==> Validating source files with sha256sums...
    prusa-slicer-2.2.0.tar.gz ... Passed
    prusa-slicer.desktop ... Passed
==> Making package: prusa-slicer 2.2.0-7 (Mon 12 Oct 2020 10:12:13 PM)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: mesa will be installed before its libglvnd dependency
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency

Packages (84) atk-2.36.0-1  avahi-0.8+15+ge8a3dd0-1  blosc-1.20.1-1  cairo-1.17.2+25+gaee96d175-1  dbus-1.12.20-1  desktop-file-utils-0.26-1  fontconfig-2:2.13.91+48+gfcb0420-2
              freetype2-2.10.2-1  fribidi-1.0.10-1  gdk-pixbuf2-2.40.0+6+g5432316df-1  glu-9.0.1-2  graphite-1:1.3.14-1  gst-plugins-base-libs-1.18.0-1  gstreamer-1.18.0-1
              gtk-update-icon-cache-1:3.24.23-4  gtk2-2.24.32-2  harfbuzz-2.7.2-1  hicolor-icon-theme-0.17-2  iso-codes-4.5.0-1  jemalloc-1:5.2.1-3  libcups-2.3.3-3  libdaemon-0.14-5
              libdatrie-0.2.12-2  libdrm-2.4.102-1  libedit-20191231_3.1-2  libglvnd-1.3.2-1  libgudev-234-1  libice-1.0.10-3  libjpeg-turbo-2.0.5-2  libnotify-0.7.9-1  libnsl-1.3.0-1
              libomxil-bellagio-0.9.3-3  libpciaccess-0.16-2  libpng-1.6.37-3  librsvg-2:2.50.1-1  libsm-1.2.3-2  libthai-0.1.28-2  libtiff-4.1.0-2  libunwind-1.3.1-2  libusb-1.0.23-2
              libx11-1.6.12-1  libxau-1.0.9-3  libxcb-1.14-1  libxcomposite-0.4.5-3  libxcursor-1.2.0-2  libxdamage-1.1.5-3  libxdmcp-1.1.3-3  libxext-1.3.4-3  libxfixes-5.0.3-4
              libxft-2.3.3-2  libxi-1.7.10-3  libxinerama-1.1.4-3  libxmu-1.1.3-2  libxrandr-1.5.2-3  libxrender-0.9.10-4  libxshmfence-1.3-2  libxt-1.2.0-2  libxv-1.0.11-4
              libxxf86vm-1.1.4-4  llvm-libs-10.0.1-3  lm_sensors-3.6.0-2  log4cplus-2.0.5-1  lzo-2.10-3  mesa-20.2.0-2  openexr-2.5.3-1  orc-0.4.32-1  pango-1:1.46.2-3  pixman-0.40.0-1
              python-3.8.6-1  shared-mime-info-2.0+1+g6bf9e4f-2  snappy-1.1.8-2  vulkan-icd-loader-1.2.153-2  wayland-1.18.0-2  wxgtk-common-3.0.5.1-1  xcb-proto-1.14.1-1
              xorgproto-2020.1-1  boost-libs-1.72.0-2  cgal-4.14.2-2  glew-2.2.0-2  nlopt-2.6.2-1  openvdb-7.1.0-1  qhull-2020.2-3  tbb-2020.3-1  wxgtk2-3.0.5.1-1

Total Installed Size:  610.55 MiB

:: Proceed with installation? [Y/n] 
(84/84) checking keys in keyring                                                                                   [####################################################################] 100%
(84/84) checking package integrity                                                                                 [####################################################################] 100%
(84/84) loading package files                                                                                      [####################################################################] 100%
(84/84) checking for file conflicts                                                                                [####################################################################] 100%
:: Processing package changes...
( 1/84) installing boost-libs                                                                                      [####################################################################] 100%
Optional dependencies for boost-libs
    openmpi: for mpi support
( 2/84) installing xcb-proto                                                                                       [####################################################################] 100%
( 3/84) installing libxdmcp                                                                                        [####################################################################] 100%
( 4/84) installing libxau                                                                                          [####################################################################] 100%
( 5/84) installing libxcb                                                                                          [####################################################################] 100%
( 6/84) installing xorgproto                                                                                       [####################################################################] 100%
( 7/84) installing libx11                                                                                          [####################################################################] 100%
( 8/84) installing libxext                                                                                         [####################################################################] 100%
( 9/84) installing libice                                                                                          [####################################################################] 100%
(10/84) installing libsm                                                                                           [####################################################################] 100%
(11/84) installing libxt                                                                                           [####################################################################] 100%
(12/84) installing libxmu                                                                                          [####################################################################] 100%
(13/84) installing libxi                                                                                           [####################################################################] 100%
(14/84) installing libpciaccess                                                                                    [####################################################################] 100%
(15/84) installing libdrm                                                                                          [####################################################################] 100%
(16/84) installing wayland                                                                                         [####################################################################] 100%
(17/84) installing libxxf86vm                                                                                      [####################################################################] 100%
(18/84) installing libxfixes                                                                                       [####################################################################] 100%
(19/84) installing libxdamage                                                                                      [####################################################################] 100%
(20/84) installing libxshmfence                                                                                    [####################################################################] 100%
(21/84) installing libomxil-bellagio                                                                               [####################################################################] 100%
(22/84) installing libunwind                                                                                       [####################################################################] 100%
(23/84) installing libedit                                                                                         [####################################################################] 100%
(24/84) installing llvm-libs                                                                                       [####################################################################] 100%
(25/84) installing lm_sensors                                                                                      [####################################################################] 100%
Optional dependencies for lm_sensors
    rrdtool: for logging with sensord
(26/84) installing vulkan-icd-loader                                                                               [####################################################################] 100%
Optional dependencies for vulkan-icd-loader
    vulkan-driver: packaged vulkan driver
(27/84) installing mesa                                                                                            [####################################################################] 100%
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
    mesa-vdpau: for accelerated video playback
    libva-mesa-driver: for accelerated video playback
(28/84) installing libglvnd                                                                                        [####################################################################] 100%
(29/84) installing glu                                                                                             [####################################################################] 100%
(30/84) installing glew                                                                                            [####################################################################] 100%
(31/84) installing tbb                                                                                             [####################################################################] 100%
(32/84) installing nlopt                                                                                           [####################################################################] 100%
Optional dependencies for nlopt
    python-numpy: to use with python
(33/84) installing atk                                                                                             [####################################################################] 100%
(34/84) installing libdatrie                                                                                       [####################################################################] 100%
(35/84) installing libthai                                                                                         [####################################################################] 100%
(36/84) installing libpng                                                                                          [####################################################################] 100%
(37/84) installing libxrender                                                                                      [####################################################################] 100%
(38/84) installing graphite                                                                                        [####################################################################] 100%
(39/84) installing harfbuzz                                                                                        [####################################################################] 100%
Optional dependencies for harfbuzz
    cairo: hb-view program [pending]
(40/84) installing freetype2                                                                                       [####################################################################] 100%
(41/84) installing fontconfig                                                                                      [####################################################################] 100%
Rebuilding fontconfig cache... done.
(42/84) installing pixman                                                                                          [####################################################################] 100%
(43/84) installing lzo                                                                                             [####################################################################] 100%
(44/84) installing cairo                                                                                           [####################################################################] 100%
(45/84) installing libxft                                                                                          [####################################################################] 100%
(46/84) installing fribidi                                                                                         [####################################################################] 100%
(47/84) installing pango                                                                                           [####################################################################] 100%
(48/84) installing libxcursor                                                                                      [####################################################################] 100%
Optional dependencies for libxcursor
    gnome-themes-standard: fallback icon theme
(49/84) installing libxinerama                                                                                     [####################################################################] 100%
(50/84) installing libxrandr                                                                                       [####################################################################] 100%
(51/84) installing libxcomposite                                                                                   [####################################################################] 100%
(52/84) installing shared-mime-info                                                                                [####################################################################] 100%
(53/84) installing libjpeg-turbo                                                                                   [####################################################################] 100%
(54/84) installing libtiff                                                                                         [####################################################################] 100%
Optional dependencies for libtiff
    freeglut: for using tiffgt
(55/84) installing libdaemon                                                                                       [####################################################################] 100%
(56/84) installing dbus                                                                                            [####################################################################] 100%
(57/84) installing avahi                                                                                           [####################################################################] 100%
Optional dependencies for avahi
    gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc
    qt5-base: qt5 bindings
    libevent: libevent bindings
    nss-mdns: NSS support for mDNS
    python-twisted: avahi-bookmarks
    python-gobject: avahi-bookmarks, avahi-discover
    python-dbus: avahi-bookmarks, avahi-discover
(58/84) installing libusb                                                                                          [####################################################################] 100%
(59/84) installing libcups                                                                                         [####################################################################] 100%
(60/84) installing gdk-pixbuf2                                                                                     [####################################################################] 100%
(61/84) installing librsvg                                                                                         [####################################################################] 100%
(62/84) installing hicolor-icon-theme                                                                              [####################################################################] 100%
(63/84) installing gtk-update-icon-cache                                                                           [####################################################################] 100%
(64/84) installing desktop-file-utils                                                                              [####################################################################] 100%
(65/84) installing gtk2                                                                                            [####################################################################] 100%
Optional dependencies for gtk2
    gnome-themes-standard: Default widget theme
    adwaita-icon-theme: Default icon theme
    python2: gtk-builder-convert
(66/84) installing libnsl                                                                                          [####################################################################] 100%
(67/84) installing python                                                                                          [####################################################################] 100%
Optional dependencies for python
    python-setuptools
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
(68/84) installing gstreamer                                                                                       [####################################################################] 100%
(69/84) installing orc                                                                                             [####################################################################] 100%
(70/84) installing libxv                                                                                           [####################################################################] 100%
(71/84) installing iso-codes                                                                                       [####################################################################] 100%
(72/84) installing libgudev                                                                                        [####################################################################] 100%
(73/84) installing gst-plugins-base-libs                                                                           [####################################################################] 100%
(74/84) installing wxgtk-common                                                                                    [####################################################################] 100%
(75/84) installing libnotify                                                                                       [####################################################################] 100%
(76/84) installing wxgtk2                                                                                          [####################################################################] 100%
(77/84) installing qhull                                                                                           [####################################################################] 100%
(78/84) installing openexr                                                                                         [####################################################################] 100%
Optional dependencies for openexr
    fltk: for exrdisplay
    boost-libs: python support [installed]
    python: python support [installed]
(79/84) installing jemalloc                                                                                        [####################################################################] 100%
Optional dependencies for jemalloc
    perl: for jeprof [installed]
(80/84) installing snappy                                                                                          [####################################################################] 100%
(81/84) installing blosc                                                                                           [####################################################################] 100%
(82/84) installing log4cplus                                                                                       [####################################################################] 100%
(83/84) installing openvdb                                                                                         [####################################################################] 100%
Optional dependencies for openvdb
    glfw: for tools
    glu: for tools [installed]
    python-numpy: python module
(84/84) installing cgal                                                                                            [####################################################################] 100%
Optional dependencies for cgal
    qt5-svg: for CGAL_Qt5
    eigen: for some packages, see the CGAL manual
:: Running post-transaction hooks...
(1/6) Reloading system bus configuration...
call to execv failed (No such file or directory)
error: command failed to execute correctly
(2/6) Probing GDK-Pixbuf loader modules...
(3/6) Probing GTK2 input method modules...
(4/6) Updating icon theme caches...
(5/6) Updating the desktop file MIME type cache...
(6/6) Updating the MIME type database...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (25) argon2-20190702-3  cryptsetup-2.3.4-1  device-mapper-2.02.187-3  hwids-20200813.1-1  iptables-1:1.8.5-2  json-c-0.15-1  jsoncpp-1.9.4-1  kbd-2.3.0-2  kmod-27-2  libmnl-1.0.4-3
              libnetfilter_conntrack-1.0.8-1  libnfnetlink-1.0.1-4  libnftnl-1.1.7-1  libnl-3.5.0-2  libpcap-1.9.1-2  libuv-1.40.0-1  pcre2-10.35-1  popt-1.18-1  rhash-1.4.0-1
              boost-1.72.0-2  cereal-1.3.0-1  cmake-3.18.4-1  eigen-3.3.8-3  gtest-1.10.0-1  systemd-246.6-1

Total Installed Size:  272.24 MiB

:: Proceed with installation? [Y/n] 
(25/25) checking keys in keyring                                                                                   [####################################################################] 100%
(25/25) checking package integrity                                                                                 [####################################################################] 100%
(25/25) loading package files                                                                                      [####################################################################] 100%
(25/25) checking for file conflicts                                                                                [####################################################################] 100%
:: Processing package changes...
( 1/25) installing jsoncpp                                                                                         [####################################################################] 100%
Optional dependencies for jsoncpp
    jsoncpp-doc: documentation
( 2/25) installing libuv                                                                                           [####################################################################] 100%
( 3/25) installing rhash                                                                                           [####################################################################] 100%
( 4/25) installing cmake                                                                                           [####################################################################] 100%
Optional dependencies for cmake
    qt5-base: cmake-gui
( 5/25) installing boost                                                                                           [####################################################################] 100%
Optional dependencies for boost
    python: for python bindings [installed]
    python2: for python2 bindings
( 6/25) installing cereal                                                                                          [####################################################################] 100%
( 7/25) installing eigen                                                                                           [####################################################################] 100%
( 8/25) installing gtest                                                                                           [####################################################################] 100%
( 9/25) installing device-mapper                                                                                   [####################################################################] 100%
(10/25) installing popt                                                                                            [####################################################################] 100%
(11/25) installing json-c                                                                                          [####################################################################] 100%
(12/25) installing argon2                                                                                          [####################################################################] 100%
(13/25) installing cryptsetup                                                                                      [####################################################################] 100%
(14/25) installing libmnl                                                                                          [####################################################################] 100%
(15/25) installing libnftnl                                                                                        [####################################################################] 100%
(16/25) installing libnl                                                                                           [####################################################################] 100%
(17/25) installing libpcap                                                                                         [####################################################################] 100%
(18/25) installing libnfnetlink                                                                                    [####################################################################] 100%
(19/25) installing libnetfilter_conntrack                                                                          [####################################################################] 100%
(20/25) installing iptables                                                                                        [####################################################################] 100%
(21/25) installing kbd                                                                                             [####################################################################] 100%
(22/25) installing kmod                                                                                            [####################################################################] 100%
(23/25) installing hwids                                                                                           [####################################################################] 100%
(24/25) installing pcre2                                                                                           [####################################################################] 100%
(25/25) installing systemd                                                                                         [####################################################################] 100%
warning: directory permissions differ on /var/log/journal/
filesystem: 755  package: 2755
Creating group sys with gid 3.
Creating group mem with gid 8.
Creating group ftp with gid 11.
Creating group mail with gid 12.
Creating group log with gid 19.
Creating group smmsp with gid 25.
Creating group proc with gid 26.
Creating group games with gid 50.
Creating group lock with gid 54.
Creating group network with gid 90.
Creating group floppy with gid 94.
Creating group scanner with gid 96.
Creating group power with gid 98.
Creating group adm with gid 999.
Creating group wheel with gid 998.
Creating group kmem with gid 997.
Creating group tty with gid 5.
Creating group utmp with gid 996.
Creating group audio with gid 995.
Creating group disk with gid 994.
Creating group input with gid 993.
Creating group kvm with gid 992.
Creating group lp with gid 991.
Creating group optical with gid 990.
Creating group render with gid 989.
Creating group storage with gid 988.
Creating group uucp with gid 987.
Creating group video with gid 986.
Creating group users with gid 985.
Creating group systemd-journal with gid 984.
Creating group rfkill with gid 983.
Creating group bin with gid 1.
Creating user bin (n/a) with uid 1 and gid 1.
Creating group daemon with gid 2.
Creating user daemon (n/a) with uid 2 and gid 2.
Creating user mail (n/a) with uid 8 and gid 12.
Creating user ftp (n/a) with uid 14 and gid 11.
Creating group http with gid 33.
Creating user http (n/a) with uid 33 and gid 33.
Creating group avahi with gid 982.
Creating user avahi (Avahi mDNS/DNS-SD daemon) with uid 982 and gid 982.
Creating group nobody with gid 65534.
Creating user nobody (Nobody) with uid 65534 and gid 65534.
Creating group dbus with gid 81.
Creating user dbus (System Message Bus) with uid 81 and gid 81.
Creating group systemd-journal-remote with gid 981.
Creating user systemd-journal-remote (systemd Journal Remote) with uid 981 and gid 981.
Creating group systemd-network with gid 980.
Creating user systemd-network (systemd Network Management) with uid 980 and gid 980.
Creating group systemd-resolve with gid 979.
Creating user systemd-resolve (systemd Resolver) with uid 979 and gid 979.
Creating group systemd-timesync with gid 978.
Creating user systemd-timesync (systemd Time Synchronization) with uid 978 and gid 978.
Creating group systemd-coredump with gid 977.
Creating user systemd-coredump (systemd Core Dumper) with uid 977 and gid 977.
Creating group uuidd with gid 68.
Creating user uuidd (n/a) with uid 68 and gid 68.
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target.
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
   bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Optional dependencies for systemd
    libmicrohttpd: remote journald capabilities [installed]
    quota-tools: kernel-level quota management
    systemd-sysvcompat: symlink package to provide sysvinit binaries
    polkit: allow administration as unprivileged user
    curl: machinectl pull-tar and pull-raw [installed]
:: Running post-transaction hooks...
( 1/12) Creating system user accounts...
( 2/12) Updating journal message catalog...
( 3/12) Reloading system manager configuration...
  Skipped: Current root is not booted.
( 4/12) Updating udev hardware database...
( 5/12) Applying kernel sysctl settings...
  Skipped: Current root is not booted.
( 6/12) Creating temporary files...
( 7/12) Reloading device manager configuration...
  Skipped: Device manager is not running.
( 8/12) Arming ConditionNeedsUpdate...
( 9/12) Reloading system bus configuration...
  Skipped: Current root is not booted.
(10/12) Updating icon theme caches...
(11/12) Updating the desktop file MIME type cache...
(12/12) Updating the MIME type database...
==> Retrieving sources...
  -> Found prusa-slicer-2.2.0.tar.gz
  -> Found prusa-slicer.desktop
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting prusa-slicer-2.2.0.tar.gz with bsdtar
==> Starting build()...
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No build type selected, default to Release
-- SLIC3R_ASAN: OFF
-- SLIC3R_BUILD_SANDBOXES: OFF
-- SLIC3R_BUILD_TESTS: ON
-- SLIC3R_FHS: ON
-- SLIC3R_GTK: 2
-- SLIC3R_GUI: ON
-- SLIC3R_MSVC_COMPILE_PARALLEL: ON
-- SLIC3R_MSVC_PDB: ON
-- SLIC3R_PCH: OFF
-- SLIC3R_PERL_XS: OFF
-- SLIC3R_PROFILE: OFF
-- SLIC3R_STATIC: OFF
-- SLIC3R_WX_STABLE: ON
-- SLIC3R_STATIC: OFF
-- CMAKE_PREFIX_PATH: (default)
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Found Boost: /usr/lib64/cmake/Boost-1.72.0/BoostConfig.cmake (found suitable version "1.72.0", minimum required is "1.64.0") found components: system filesystem thread log locale regex chrono atomic date_time 
-- Boost::boost exists
-- Found TBB: /usr/include (found version "2020.3")  
--   TBB_FOUND               = TRUE
--   TBB_INCLUDE_DIRS        = /usr/include
--   TBB_DEFINITIONS         = 
--   TBB_LIBRARIES           = /usr/lib/libtbb.so
--   TBB_DEFINITIONS_DEBUG   = TBB_USE_DEBUG=1
--   TBB_LIBRARIES_DEBUG     = 
--   TBB_DEFINITIONS_RELEASE = 
--   TBB_LIBRARIES_RELEASE   = /usr/lib/libtbb.so
-- Found CURL: /usr/lib/libcurl.so (found version "7.72.0") 
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") 
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "3.3") 
-- Found EXPAT: /usr/lib/libexpat.so (found version "2.2.9") 
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindOpenGL.cmake:305 (message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  FindOpenGL found both a legacy GL library:

    OPENGL_gl_LIBRARY: /usr/lib/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so
    OPENGL_glx_LIBRARY: /usr/lib/libGLX.so

  OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
  compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
  CMakeLists.txt:387 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Found GLEW: /usr/include (found version "2.2.0") 
-- Found NLopt in '/usr/lib'.
-- Using NLopt include directory '/usr/include'.
-- Using NLopt library '/usr/lib/libnlopt.so'.
-- Found OpenVDB: /usr/include (found suitable version "7.1.0", minimum required is "5.0") found components: openvdb 
-- OpenVDB ABI Version: 7
-- Found Boost: /usr/lib64/cmake/Boost-1.72.0/BoostConfig.cmake (found version "1.72.0") found components: iostreams system 
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
-- Performing Test LLVM_HAS_ATOMICS
-- Performing Test LLVM_HAS_ATOMICS - Success
-- OpenVDB libraries: /usr/lib/libopenvdb.so
-- Miniz NOT found in system, using bundled version...
-- Using qhull from system.
-- IGL NOT found, using bundled version...
-- __cplusplus is 201402
--   --> Do not link with Boost.Thread
-- Found Boost: /usr/lib64/cmake/Boost-1.72.0/BoostConfig.cmake (found suitable version "1.72.0", minimum required is "1.48")  
-- Boost include dirs: /usr/include
-- Boost libraries:    
-- Found wxWidgets: -pthread;;;-lwx_baseu-3.0;-lwx_gtk2u_core-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_gl-3.0 (found suitable version "3.0.5", minimum required is "3.0") 
-- wx-config path: /usr/bin/wx-config
-- wx libs: -pthread;;;-lwx_baseu-3.0;-lwx_gtk2u_core-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_gl-3.0
-- Configuring done
CMake Error at src/CMakeLists.txt:77 (add_executable):
  Target "PrusaSlicer" links to target "Qhull::qhullcpp" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Warning (dev) at src/libslic3r/CMakeLists.txt:17 (add_library):
  Policy CMP0028 is not set: Double colon in target name means ALIAS or
  IMPORTED target.  Run "cmake --help-policy CMP0028" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  Target "libslic3r" links to target "Qhull::qhullcpp" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at src/slic3r/CMakeLists.txt:190 (add_library):
  Target "libslic3r_gui" links to target "Qhull::qhullcpp" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at tests/libslic3r/CMakeLists.txt:3 (add_executable):
  Target "libslic3r_tests" links to target "Qhull::qhullcpp" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at tests/slic3rutils/CMakeLists.txt:2 (add_executable):
  Target "slic3rutils_tests" links to target "Qhull::qhullcpp" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at tests/fff_print/CMakeLists.txt:2 (add_executable):
  Target "fff_print_tests" links to target "Qhull::qhullcpp" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at tests/sla_print/CMakeLists.txt:2 (add_executable):
  Target "sla_print_tests" links to target "Qhull::qhullcpp" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/builduser/build

It does build with qhull-2020.1-1.

Last edited by loqs (2020-10-17 01:03:39)

Offline

#2 2020-10-16 14:00:56

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,133

Re: [SOLVED] prusa-slicer 2.2.0-7 fails to build with qhull 2020.2-3

There is a patch I found in the comments of the AUR package for prusa-slicer-git.

    patch -p0 <<EOP
--- src/qhull/CMakeLists.txt.orig   2020-09-23 18:22:48.830149558 +0200
+++ src/qhull/CMakeLists.txt    2020-09-23 18:23:00.240254589 +0200
@@ -10,7 +10,7 @@

 # see bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925540

-find_package(Qhull 7.2 QUIET)
+#find_package(Qhull 7.2 QUIET)

 add_library(qhull INTERFACE)
EOP

Maybe it is worth a try.

Offline

#3 2020-10-17 01:03:17

loqs
Member
Registered: 2014-03-06
Posts: 11,917

Re: [SOLVED] prusa-slicer 2.2.0-7 fails to build with qhull 2020.2-3

That patch works but then the vendored qhull is used.
I went with patching qhull instead:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f50b187..8cca333 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -474,7 +474,6 @@ set_target_properties(${qhull_CPP} PROPERTIES
 if(NOT ${BUILD_STATIC_LIBS})
     set_target_properties(${qhull_STATIC} PROPERTIES EXCLUDE_FROM_ALL TRUE)
     set_target_properties(${qhull_STATICR} PROPERTIES EXCLUDE_FROM_ALL TRUE)
-    set_target_properties(${qhull_CPP} PROPERTIES EXCLUDE_FROM_ALL TRUE)
 endif()
 if(NOT ${BUILD_SHARED_LIBS})
     set_target_properties(${qhull_SHARED} PROPERTIES EXCLUDE_FROM_ALL TRUE)
@@ -677,7 +676,7 @@ endif()
 # Define install
 # ---------------------------------------
 
-set(qhull_TARGETS_INSTALL ${qhull_TARGETS_APPLICATIONS})
+set(qhull_TARGETS_INSTALL ${qhull_TARGETS_APPLICATIONS} ${qhull_CPP})
 if (BUILD_SHARED_LIBS)
     list(APPEND qhull_TARGETS_INSTALL ${qhull_TARGETS_SHARED})
 endif()

Offline

Board footer

Powered by FluxBB