Re: astro/calcmysky broken on i386: qt6 update-related?
On Sat Feb 17, 2024 at 08:29:42AM +, Stuart Henderson wrote: > Lots of these - > > ld: error: relocation R_386_PC32 cannot be used against symbol > 'QString::QString(char const*)'; recompile with -fPIC > > calcmysky hasn't changed recently so this is probably from the qt6 > update. I'm pretty sure I've built and checked all the consumers. I'll have a look. > > >>> Building on localhost under astro/calcmysky > BDEPENDS = > [x11/qt6/qtbase;math/eigen3;devel/cmake;devel/ninja;graphics/glm] > DIST = [astro/calcmysky:CalcMySky-0.3.1.tar.gz] > FULLPKGNAME = calcmysky-0.3.1p0 > RDEPENDS = [x11/qt6/qtbase] > Woken up audio/musikcube > (Junk lock failure for localhost at 1708113660.97279) > Received IO > (Junk lock obtained for localhost at 1708113754.73) > Received IO > Woken up astro/calcmysky > Short-cut: depends already handled by audio/musikcube > >>> Running show-prepare-results in astro/calcmysky at 1708113755.57 > ===> astro/calcmysky > ===> Building from scratch calcmysky-0.3.1p0 > ===> calcmysky-0.3.1p0 depends on: glm-* -> glm-0.9.9.8 > ===> calcmysky-0.3.1p0 depends on: eigen3-* -> eigen3-3.3.9 > ===> calcmysky-0.3.1p0 depends on: cmake-* -> cmake-3.28.2v0 > ===> calcmysky-0.3.1p0 depends on: ninja-* -> ninja-1.11.1 > ===> calcmysky-0.3.1p0 depends on: qt6-qtbase->=6.6.1,<6.7.0 -> > qt6-qtbase-6.6.1p0 > ===> Verifying specs: c++ c++abi pthread GL Qt6Core Qt6Gui Qt6OpenGL > Qt6OpenGLWidgets Qt6Widgets c m > ===> found c++.10.0 c++abi.7.0 pthread.27.1 GL.19.0 Qt6Core.4.0 Qt6Gui.5.0 > Qt6OpenGL.2.0 Qt6OpenGLWidgets.1.0 Qt6Widgets.2.0 c.98.0 m.10.1 > cmake-3.28.2v0 > eigen3-3.3.9 > glm-0.9.9.8 > ninja-1.11.1 > qt6-qtbase-6.6.1p0 > (Junk lock released for localhost at 1708113757.02) > Woken up devel/ruby-ffi-compiler,ruby31 > distfiles size=2166487 > >>> Running patch in astro/calcmysky at 1708113757.05 > ===> astro/calcmysky > ===> Checking files for calcmysky-0.3.1p0 > `/mnt/distfiles/CalcMySky-0.3.1.tar.gz' is up to date. > >> (SHA256) CalcMySky-0.3.1.tar.gz: OK > ===> Extracting for calcmysky-0.3.1p0 > ===> Patching for calcmysky-0.3.1p0 > ===> Compiler link: clang -> /usr/bin/clang > ===> Compiler link: clang++ -> /usr/bin/clang++ > ===> Compiler link: cc -> /usr/bin/cc > ===> Compiler link: c++ -> /usr/bin/c++ > >>> Running configure in astro/calcmysky at 1708113757.53 > ===> astro/calcmysky > ===> Generating configure for calcmysky-0.3.1p0 > ===> Configuring for calcmysky-0.3.1p0 > CMake Deprecation Warning at CMakeLists.txt:3 (cmake_policy): > The OLD behavior for policy CMP0110 will be removed from a future version > of CMake. > > The cmake-policies(7) manual explains that the OLD behaviors of all > policies are deprecated and that a policy should be set to OLD only under > specific short-term circumstances. Projects should be ported to the NEW > behavior and not rely on setting a policy to OLD. > > > -- The CXX compiler identification is Clang 16.0.6 > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Check for working CXX compiler: /pobj/calcmysky-0.3.1/bin/c++ - skipped > -- Detecting CXX compile features > -- Detecting CXX compile features - done > -- Looking for C++ include glm/glm.hpp > -- Looking for C++ include glm/glm.hpp - found > -- Checking that GLM has the required features > -- Checking that GLM has the required features - done > -- Performing Test CMAKE_HAVE_LIBC_PTHREAD > -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success > -- Found Threads: TRUE > -- Performing Test HAVE_STDATOMIC > -- Performing Test HAVE_STDATOMIC - Success > -- Found WrapAtomic: TRUE > -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found > version "") > -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) > -- Found OpenGL: /usr/X11R6/lib/libGL.so.19.0 > -- Found WrapOpenGL: TRUE > -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") > -- Found XKB: /usr/local/lib/libxkbcommon.so.2.0 (found suitable version > "1.6.0", minimum required is "0.5.0") > -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found > version "") > -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) > -- CPM: using local package Eigen3@3.3.9 > -- ABI version: 15 > -- Configuring done (6.3s) > -- Generating done (0.1s) > CMake Warning: > Manually-specified variables were not used by the project: > > CMAKE_ASM_COMPILER_AR > CMAKE_ASM_COMPILER_RANLIB > CMAKE_C_COMPILER_AR > CMAKE_C_COMPILER_RANLIB > CMAKE_Fortran_COMPILER_AR > CMAKE_Fortran_COMPILER_RANLIB > CMAKE_OBJCXX_COMPILER_AR > CMAKE_OBJCXX_COMPILER_RANLIB > CMAKE_OBJC_COMPILER_AR > CMAKE_OBJC_COMPILER_RANLIB > > > -- Build files have been written to: /pobj/calcmysky-0.3.1/build-i386 > >>> Running build in astro/calcmysky at 1708113764.39 > ===> astro/calcmysky > ===> Building for calcmysky-0.3.1p0 > Change Dir: '/pobj/calcmysky-0.3.1/build-i386
astro/calcmysky broken on i386: qt6 update-related?
Lots of these - ld: error: relocation R_386_PC32 cannot be used against symbol 'QString::QString(char const*)'; recompile with -fPIC calcmysky hasn't changed recently so this is probably from the qt6 update. >>> Building on localhost under astro/calcmysky BDEPENDS = [x11/qt6/qtbase;math/eigen3;devel/cmake;devel/ninja;graphics/glm] DIST = [astro/calcmysky:CalcMySky-0.3.1.tar.gz] FULLPKGNAME = calcmysky-0.3.1p0 RDEPENDS = [x11/qt6/qtbase] Woken up audio/musikcube (Junk lock failure for localhost at 1708113660.97279) Received IO (Junk lock obtained for localhost at 1708113754.73) Received IO Woken up astro/calcmysky Short-cut: depends already handled by audio/musikcube >>> Running show-prepare-results in astro/calcmysky at 1708113755.57 ===> astro/calcmysky ===> Building from scratch calcmysky-0.3.1p0 ===> calcmysky-0.3.1p0 depends on: glm-* -> glm-0.9.9.8 ===> calcmysky-0.3.1p0 depends on: eigen3-* -> eigen3-3.3.9 ===> calcmysky-0.3.1p0 depends on: cmake-* -> cmake-3.28.2v0 ===> calcmysky-0.3.1p0 depends on: ninja-* -> ninja-1.11.1 ===> calcmysky-0.3.1p0 depends on: qt6-qtbase->=6.6.1,<6.7.0 -> qt6-qtbase-6.6.1p0 ===> Verifying specs: c++ c++abi pthread GL Qt6Core Qt6Gui Qt6OpenGL Qt6OpenGLWidgets Qt6Widgets c m ===> found c++.10.0 c++abi.7.0 pthread.27.1 GL.19.0 Qt6Core.4.0 Qt6Gui.5.0 Qt6OpenGL.2.0 Qt6OpenGLWidgets.1.0 Qt6Widgets.2.0 c.98.0 m.10.1 cmake-3.28.2v0 eigen3-3.3.9 glm-0.9.9.8 ninja-1.11.1 qt6-qtbase-6.6.1p0 (Junk lock released for localhost at 1708113757.02) Woken up devel/ruby-ffi-compiler,ruby31 distfiles size=2166487 >>> Running patch in astro/calcmysky at 1708113757.05 ===> astro/calcmysky ===> Checking files for calcmysky-0.3.1p0 `/mnt/distfiles/CalcMySky-0.3.1.tar.gz' is up to date. >> (SHA256) CalcMySky-0.3.1.tar.gz: OK ===> Extracting for calcmysky-0.3.1p0 ===> Patching for calcmysky-0.3.1p0 ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in astro/calcmysky at 1708113757.53 ===> astro/calcmysky ===> Generating configure for calcmysky-0.3.1p0 ===> Configuring for calcmysky-0.3.1p0 CMake Deprecation Warning at CMakeLists.txt:3 (cmake_policy): The OLD behavior for policy CMP0110 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- The CXX compiler identification is Clang 16.0.6 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /pobj/calcmysky-0.3.1/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include glm/glm.hpp -- Looking for C++ include glm/glm.hpp - found -- Checking that GLM has the required features -- Checking that GLM has the required features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version "") -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Found OpenGL: /usr/X11R6/lib/libGL.so.19.0 -- Found WrapOpenGL: TRUE -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Found XKB: /usr/local/lib/libxkbcommon.so.2.0 (found suitable version "1.6.0", minimum required is "0.5.0") -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version "") -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- CPM: using local package Eigen3@3.3.9 -- ABI version: 15 -- Configuring done (6.3s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_ASM_COMPILER_AR CMAKE_ASM_COMPILER_RANLIB CMAKE_C_COMPILER_AR CMAKE_C_COMPILER_RANLIB CMAKE_Fortran_COMPILER_AR CMAKE_Fortran_COMPILER_RANLIB CMAKE_OBJCXX_COMPILER_AR CMAKE_OBJCXX_COMPILER_RANLIB CMAKE_OBJC_COMPILER_AR CMAKE_OBJC_COMPILER_RANLIB -- Build files have been written to: /pobj/calcmysky-0.3.1/build-i386 >>> Running build in astro/calcmysky at 1708113764.39 ===> astro/calcmysky ===> Building for calcmysky-0.3.1p0 Change Dir: '/pobj/calcmysky-0.3.1/build-i386' Run Build Command(s): /usr/local/bin/ninja -v -j 1 [1/61] cd /pobj/calcmysky-0.3.1/build-i386 && true [2/61] cd /pobj/calcmysky-0.3.1/CalcMySky-0.3.1 && /usr/local/bin/cmake -D staticVersion=0.3.1 -D inputFile=/pobj/calcmysky-0.3.1/CalcMySky-0.3.1/version.cpp.in -D outputFile=/pobj/calcmysky-0.3.1/build-i386/version.cpp -P /pobj/calcmysky-0.3.1/CalcMySky-0.3.1/c