graphics/orthanc/webviewer-plugin failed to build during my latest
amd64 bulk build, due to some sort of missing dependency on the
python executable.

------------------------------------------------------------------------
>>> Building on localhost under graphics/orthanc/webviewer-plugin
        BDEPENDS = 
[graphics/orthanc/server;databases/sqlite3;archivers/unzip;devel/boost;devel/ninja;devel/gtest;sysutils/e2fsprogs;devel/cmake;devel/jsoncpp]
        DIST = 
[graphics/orthanc/webviewer-plugin:pako-0.2.5.zip;graphics/orthanc/webviewer-plugin:jquery-ui-1.11.3.zip;graphics/orthanc/webviewer-plugin:jsPanel-2.3.3-fixed.zip;graphics/orthanc/webviewer-plugin:OrthancWebViewer-2.8.tar.gz;graphics/orthanc/webviewer-plugin:cornerstone-0.11.0.zip;graphics/orthanc/postgresql-plugin:Orthanc-1.11.1.tar.gz;graphics/orthanc/webviewer-plugin:js-url-1.8.6.zip]
        FULLPKGNAME = orthanc-plugin-webviewer-2.8p2
        RDEPENDS = 
[databases/sqlite3;devel/boost;devel/jsoncpp;sysutils/e2fsprogs;graphics/orthanc/server]
(Junk lock obtained for localhost at 1701498382.41)
>>> Running depends in graphics/orthanc/webviewer-plugin at 1701498382.44
   last junk was in emulators/mupen64plus/rsp-z64
/usr/sbin/pkg_add -aI -Drepair boost-1.83.0v0 e2fsprogs-1.46.2p1 jsoncpp-1.9.5 
orthanc-1.11.1p6 sqlite3-3.43.2 unzip-6.0p17
was: /usr/sbin/pkg_add -aI -Drepair boost-1.83.0v0 cmake-3.27.7v0 
e2fsprogs-1.46.2p1 gtest-1.14.0p0 jsoncpp-1.9.5 ninja-1.11.1 orthanc-1.11.1p6 
sqlite3-3.43.2 unzip-6.0p17
/usr/sbin/pkg_add -aI -Drepair boost-1.83.0v0 e2fsprogs-1.46.2p1 jsoncpp-1.9.5 
orthanc-1.11.1p6 sqlite3-3.43.2 unzip-6.0p17
The following new rcscripts were installed: /etc/rc.d/orthanc
See rcctl(8) for details.
>>> Running show-prepare-results in graphics/orthanc/webviewer-plugin at 
>>> 1701498404.47
===> graphics/orthanc/webviewer-plugin
===> Building from scratch orthanc-plugin-webviewer-2.8p2
===> orthanc-plugin-webviewer-2.8p2 depends on: orthanc-* -> orthanc-1.11.1p6
===> orthanc-plugin-webviewer-2.8p2 depends on: gtest-* -> gtest-1.14.0p0
===> orthanc-plugin-webviewer-2.8p2 depends on: unzip-* -> unzip-6.0p17
===> orthanc-plugin-webviewer-2.8p2 depends on: cmake-* -> cmake-3.27.7v0
===> orthanc-plugin-webviewer-2.8p2 depends on: ninja-* -> ninja-1.11.1
===> orthanc-plugin-webviewer-2.8p2 depends on: sqlite3-* -> sqlite3-3.43.2
===> orthanc-plugin-webviewer-2.8p2 depends on: boost-* -> boost-1.83.0v0
===> orthanc-plugin-webviewer-2.8p2 depends on: jsoncpp-* -> jsoncpp-1.9.5
===> orthanc-plugin-webviewer-2.8p2 depends on: e2fsprogs-* -> 
e2fsprogs-1.46.2p1
===>  Verifying specs:  c++ c++abi pthread boost_atomic-mt boost_chrono-mt 
boost_date_time-mt boost_filesystem-mt boost_iostreams-mt boost_regex-mt 
boost_system-mt boost_thread-mt jsoncpp m sqlite3 uuid
===>  found c++.9.0 c++abi.6.0 pthread.27.1 boost_atomic-mt.22.0 
boost_chrono-mt.22.0 boost_date_time-mt.22.0 boost_filesystem-mt.22.0 
boost_iostreams-mt.22.0 boost_regex-mt.22.0 boost_system-mt.22.0 
boost_thread-mt.22.0 jsoncpp.5.0 m.10.1 sqlite3.37.25 uuid.14.0
boost-1.83.0v0
cmake-3.27.7v0
e2fsprogs-1.46.2p1
gtest-1.14.0p0
jsoncpp-1.9.5
ninja-1.11.1
orthanc-1.11.1p6
sqlite3-3.43.2
unzip-6.0p17
(Junk lock released for localhost at 1701498406.20)
distfiles size=4959139
>>> Running patch in graphics/orthanc/webviewer-plugin at 1701498406.22
===> graphics/orthanc/webviewer-plugin
===>  Checking files for orthanc-plugin-webviewer-2.8p2
`/usr/ports/distfiles/Orthanc-1.11.1.tar.gz' is up to date.
`/usr/ports/distfiles/cornerstone-0.11.0.zip' is up to date.
`/usr/ports/distfiles/jquery-ui-1.11.3.zip' is up to date.
`/usr/ports/distfiles/jsPanel-2.3.3-fixed.zip' is up to date.
`/usr/ports/distfiles/pako-0.2.5.zip' is up to date.
`/usr/ports/distfiles/js-url-1.8.6.zip' is up to date.
`/usr/ports/distfiles/OrthancWebViewer-2.8.tar.gz' is up to date.
>> (SHA256) Orthanc-1.11.1.tar.gz: OK
>> (SHA256) cornerstone-0.11.0.zip: OK
>> (SHA256) jquery-ui-1.11.3.zip: OK
>> (SHA256) jsPanel-2.3.3-fixed.zip: OK
>> (SHA256) pako-0.2.5.zip: OK
>> (SHA256) js-url-1.8.6.zip: OK
>> (SHA256) OrthancWebViewer-2.8.tar.gz: OK
===>  Extracting for orthanc-plugin-webviewer-2.8p2
mkdir 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/ThirdPartyDownloads/
cp /usr/ports/distfiles/cornerstone-0.11.0.zip 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/ThirdPartyDownloads/
cp /usr/ports/distfiles/jquery-ui-1.11.3.zip 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/ThirdPartyDownloads/
cp /usr/ports/distfiles/jsPanel-2.3.3-fixed.zip 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/ThirdPartyDownloads/
cp /usr/ports/distfiles/pako-0.2.5.zip 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/ThirdPartyDownloads/
cp /usr/ports/distfiles/js-url-1.8.6.zip 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/ThirdPartyDownloads/
tar -xzf /usr/ports/distfiles/Orthanc-1.11.1.tar.gz -C 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/ThirdPartyDownloads/
===>  Patching for orthanc-plugin-webviewer-2.8p2
===>   Applying OpenBSD patch patch-CMakeLists_txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: CMakeLists.txt
|--- CMakeLists.txt.orig
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 182.
done
===>   Applying OpenBSD patch 
patch-ThirdPartyDownloads_Orthanc-1_11_1_OrthancFramework_Sources_SystemToolbox_cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: 
ThirdPartyDownloads/Orthanc-1.11.1/OrthancFramework/Sources/SystemToolbox.cpp
|--- 
ThirdPartyDownloads/Orthanc-1.11.1/OrthancFramework/Sources/SystemToolbox.cpp.orig
|+++ 
ThirdPartyDownloads/Orthanc-1.11.1/OrthancFramework/Sources/SystemToolbox.cpp
--------------------------
Patching file 
ThirdPartyDownloads/Orthanc-1.11.1/OrthancFramework/Sources/SystemToolbox.cpp 
using Plan A...
Hunk #1 succeeded at 47.
Hunk #2 succeeded at 1095.
done
===>   Applying OpenBSD patch 
patch-ThirdPartyDownloads_Orthanc-1_11_1_OrthancFramework_Sources_Toolbox_h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: ThirdPartyDownloads/Orthanc-1.11.1/OrthancFramework/Sources/Toolbox.h
|--- ThirdPartyDownloads/Orthanc-1.11.1/OrthancFramework/Sources/Toolbox.h.orig
|+++ ThirdPartyDownloads/Orthanc-1.11.1/OrthancFramework/Sources/Toolbox.h
--------------------------
Patching file 
ThirdPartyDownloads/Orthanc-1.11.1/OrthancFramework/Sources/Toolbox.h using 
Plan A...
Hunk #1 succeeded at 26.
done
===>  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 graphics/orthanc/webviewer-plugin at 1701498406.88
===> graphics/orthanc/webviewer-plugin
===>  Generating configure for orthanc-plugin-webviewer-2.8p2
===>  Configuring for orthanc-plugin-webviewer-2.8p2
sed -i 's,share/orthanc/plugins,libexec/orthanc/plugins,g'  
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/CMakeLists.txt
CMake Deprecation Warning at CMakeLists.txt:21 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is Clang 16.0.6
-- The CXX compiler identification is Clang 16.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/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/obj/ports/orthanc-plugin-webviewer-2.8/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Using the Orthanc framework from a path of the filesystem. Assuming mainline 
version.
CMake Warning (dev) at 
ThirdPartyDownloads/Orthanc-1.11.1/OrthancFramework/Resources/CMake/OrthancFrameworkConfiguration.cmake:45
 (include):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  CMakeLists.txt:82 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) 
-- Looking for sqlite3.h
-- Looking for sqlite3.h - found
SQLite include dir: /usr/local/include
Detected version of SQLite: 3043002
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found GTest: /usr/local/lib/cmake/GTest/GTestConfig.cmake (found version 
"1.14.0")  
JsonCpp include dir: /usr/local/include
-- Looking for C++ include /usr/local/include/json/reader.h
-- Looking for C++ include /usr/local/include/json/reader.h - found
JsonCpp major version: 1
-- Looking for uuid/uuid.h
-- Looking for uuid/uuid.h - found
-- Looking for uuid_generate_random in /usr/local/lib/libuuid.so.14.0
-- Looking for uuid_generate_random in /usr/local/lib/libuuid.so.14.0 - found
-- Could NOT find Boost (missing: Boost_DIR)
-- Found Boost: /usr/local/include (found version "1.83.0")  
-- Could NOT find Boost (missing: Boost_DIR)
-- Found Boost: /usr/local/include (found version "1.83.0") found components: 
filesystem thread system date_time regex iostreams chrono atomic 
Using local copy of 
http://orthanc.osimis.io/ThirdPartyDownloads/web-viewer/cornerstone-0.11.0.zip
Uncompressing cornerstone-0.11.0.zip
Using local copy of 
http://orthanc.osimis.io/ThirdPartyDownloads/web-viewer/jquery-ui-1.11.3.zip
Uncompressing jquery-ui-1.11.3.zip
Using local copy of 
http://orthanc.osimis.io/ThirdPartyDownloads/web-viewer/jsPanel-2.3.3-fixed.zip
Uncompressing jsPanel-2.3.3-fixed.zip
Using local copy of 
http://orthanc.osimis.io/ThirdPartyDownloads/web-viewer/pako-0.2.5.zip
Uncompressing pako-0.2.5.zip
Using local copy of 
http://orthanc.osimis.io/ThirdPartyDownloads/web-viewer/js-url-1.8.6.zip
Uncompressing js-url-1.8.6.zip
-- Looking for C++ include orthanc/OrthancCPlugin.h
-- Looking for C++ include orthanc/OrthancCPlugin.h - found
Setting the version of the library to 2.8
-- Configuring done (3.7s)
-- Generating done (0.0s)
CMake Warning (dev):
  Policy CMP0058 is not set: Ninja requires custom command byproducts to be
  explicit.  Run "cmake --help-policy CMP0058" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  This project specifies custom command DEPENDS on files in the build tree
  that are not specified as the OUTPUT or BYPRODUCTS of any
  add_custom_command or add_custom_target:

   javascript-libs

  For compatibility with versions of CMake that did not have the BYPRODUCTS
  option, CMake is generating phony rules for such files to convince 'ninja'
  to build.

  Project authors should add the missing BYPRODUCTS or OUTPUT options to the
  custom commands that produce these files.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_ASM_COMPILER_AR
    CMAKE_ASM_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: 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/build-amd64
>>> Running build in graphics/orthanc/webviewer-plugin at 1701498410.89
===> graphics/orthanc/webviewer-plugin
===>  Building for orthanc-plugin-webviewer-2.8p2
Change Dir: '/usr/obj/ports/orthanc-plugin-webviewer-2.8/build-amd64'

Run Build Command(s): /usr/local/bin/ninja -v -j 1
[1/123] cd /usr/obj/ports/orthanc-plugin-webviewer-2.8/build-amd64 && 
PYTHON_EXECUTABLE-NOTFOUND 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/ThirdPartyDownloads/Orthanc-1.11.1/OrthancFramework/Resources/CMake/../EmbedResources.py
 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/build-amd64/AUTOGENERATED/EmbeddedResources
 ORTHANC_EXPLORER 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/Resources/OrthancExplorer.js
 JAVASCRIPT_LIBS 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/build-amd64/javascript-libs 
WEB_VIEWER 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/WebApplication
FAILED: AUTOGENERATED/EmbeddedResources.h AUTOGENERATED/EmbeddedResources.cpp 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/build-amd64/AUTOGENERATED/EmbeddedResources.h
 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/build-amd64/AUTOGENERATED/EmbeddedResources.cpp
 
cd /usr/obj/ports/orthanc-plugin-webviewer-2.8/build-amd64 && 
PYTHON_EXECUTABLE-NOTFOUND 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/ThirdPartyDownloads/Orthanc-1.11.1/OrthancFramework/Resources/CMake/../EmbedResources.py
 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/build-amd64/AUTOGENERATED/EmbeddedResources
 ORTHANC_EXPLORER 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/Resources/OrthancExplorer.js
 JAVASCRIPT_LIBS 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/build-amd64/javascript-libs 
WEB_VIEWER 
/usr/obj/ports/orthanc-plugin-webviewer-2.8/OrthancWebViewer-2.8/WebApplication
/bin/sh: PYTHON_EXECUTABLE-NOTFOUND: not found
ninja: build stopped: subcommand failed.

*** Error 1 in graphics/orthanc/webviewer-plugin 
(/usr/ports/devel/cmake/cmake.port.mk:46 'do-build': @cd 
/usr/obj/ports/orthanc-plugin-webv...)
*** Error 2 in graphics/orthanc/webviewer-plugin 
(/usr/ports/infrastructure/mk/bsd.port.mk:3055 
'/usr/obj/ports/orthanc-plugin-webviewer-2.8/build-amd64/.build_done')
*** Error 2 in graphics/orthanc/webviewer-plugin 
(/usr/ports/infrastructure/mk/bsd.port.mk:2702 'build': 
@lock=orthanc-plugin-webviewer-2.8p...)
===> Exiting graphics/orthanc/webviewer-plugin with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: 
${echo_msg:=echo};  : ${target:=build};  for i in ; do  eval...)
>>> Ended at 1701498411.03
max_stuck=6.56/depends=22.04/show-prepare-results=1.75/patch=0.65/configure=4.01/build=0.16
Error: job failed with 512 on localhost at 1701498411

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to