Package Details: python-simpleitk 2.3.1-1

Git Clone URL: (read-only, click to copy)
Package Base: simpleitk
Description: A simplified layer built on top of ITK
Upstream URL:
Licenses: Apache
Submitter: yan12125
Maintainer: m-pilia
Last Packager: m-pilia
Votes: 1
Popularity: 0.000000
First Submitted: 2016-05-28 13:08 (UTC)
Last Updated: 2023-12-23 10:55 (UTC)

Dependencies (19)

Sources (1)

Latest Comments

1 2 3 Next › Last »

m-pilia commented on 2024-05-19 07:07 (UTC) (edited on 2024-05-19 07:07 (UTC) by m-pilia)


The package fails to build:

The package builds fine in a clean chroot using dependencies (insight-toolkit and gdcm) themselves built on their latest version and in a clean chroot.

So my suggestion would be to try a clean re-build of gdcm, insight-toolkit, and simpleitk (e.g. building them with extra-x86_64-build from devtools, if you don't already have a clean chroot set up).

m-pilia commented on 2024-05-19 06:52 (UTC)

@carlosal1015 "Version X will be released soon" is not a good reason to flag a package as out of date, so I am unflagging this. You can wait to flag until the release is actually distributed. If you need a trunk version, you can create a VCS package.

lahwaacz commented on 2024-04-28 13:38 (UTC)

The package fails to build:

[ 98%] Built target SimpleITKCSharpNative_CSHARP
[ 99%] Compiling C# library SimpleITKCSharpManaged: '/usr/bin/mcs /t:library /out:SimpleITKCSharpManaged.dll /platform:anycpu /sdk:2 /reference:System.dll /build/simpleitk/src/SimpleITK/build/Wrapping/CSharp/CSharpSources/*.cs'
/build/simpleitk/src/SimpleITK/build/Wrapping/CSharp/CSharpSources/AssemblyInfo.cs(25,12): warning CS7035: The specified version string `2.3.1-g42ce2' does not conform to the recommended format
Compilation succeeded - 1 warning(s)
[ 99%] Built target SimpleITKCSharpManaged
[ 99%] Built target org_itk_simple_jar
[ 99%] Linking CXX executable bin/SimpleITKTclsh
/usr/bin/ld: /usr/lib/ undefined reference to `gdcm::DirectionCosines::~DirectionCosines()'
collect2: error: ld returned 1 exit status
make[2]: *** [Wrapping/Tcl/CMakeFiles/SimpleITKTclsh.dir/build.make:501: Wrapping/Tcl/bin/SimpleITKTclsh] Error 1
make[1]: *** [CMakeFiles/Makefile2:2544: Wrapping/Tcl/CMakeFiles/SimpleITKTclsh.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 99%] Linking CXX shared module lib/
[ 99%] Built target SimpleITKLuaModule_LUA
[ 99%] Linking CXX shared module Packaging/SimpleITK/src/
Installing R package for testing and building binary version for distribution
/usr/bin/itkTestDriver: symbol lookup error: /usr/lib/ undefined symbol: _ZN4gdcm16DirectionCosinesD1Ev
make[2]: *** [Wrapping/R/CMakeFiles/SimpleITK_R.dir/build.make:539: Wrapping/R/Packaging/SimpleITK/src/] Error 127
make[2]: *** Deleting file 'Wrapping/R/Packaging/SimpleITK/src/'
make[1]: *** [CMakeFiles/Makefile2:2618: Wrapping/R/CMakeFiles/SimpleITK_R.dir/all] Error 2
[ 99%] Linking CXX shared module SimpleITK/
[ 99%] Built target SimpleITK_PYTHON
[100%] Linking CXX shared module lib/
[100%] Built target simpleitk_RUBY
make: *** [Makefile:156: all] Error 2

I was rebuilding for Python 3.12, but that does not seem to be the problem here...

waldbaer59 commented on 2024-04-13 11:46 (UTC)

@Alad: I had the same issue. It seems to depend on one of the given java environments (see list above). After I have installed java-22-openjdk-bin from the AUR and switched to it via "archlinux-java set java-22-openjdk-bin" I can now build the simpleitk package.

Regards Stephan

Alad commented on 2024-01-17 19:28 (UTC)

What kind of java packages are required? With java-17-openjdk I get:

==> Starting prepare()...
-- Building SimpleITK version "2.3.1-g42ce2"
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Java (missing: Java_JAVAC_EXECUTABLE Java_JAR_EXECUTABLE
  Java_JAVADOC_EXECUTABLE Development) (found version "17.0.9")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindJava.cmake:314 (find_package_handle_standard_args)
  CMake/sitkLanguageOptions.cmake:162 (find_package)
  CMakeLists.txt:318 (include)

-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in prepare().

m-pilia commented on 2023-12-23 10:11 (UTC)

User may want to resume a partial build or edit files to debug build issues.

That is what makepkg --noprepare is for.

xiota commented on 2023-11-21 19:15 (UTC)

Is \rm -rf build necessary? User may want to resume a partial build or edit files to debug build issues.

There are updated cmake commands so that cmake creates the build directory itself when needed. So mkdir -p build ; cd build isn't needed.

carlosal1015 commented on 2023-10-17 22:07 (UTC) (edited on 2023-10-17 22:07 (UTC) by carlosal1015)

Hi, I have the following message error:

line 49: lua: command not found

when I compile in a clean chroot.

nvllsvm commented on 2023-10-13 19:45 (UTC)

Build fails for me because of my global pip configuration which sets user = true.

[100%] Built target SimpleITK_PYTHON
[100%] Creating python virtual environment...
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.
make[3]: *** [Wrapping/Python/CMakeFiles/PythonVirtualEnv.dir/build.make:74: Testing/Installation/pyvenv/bin/python3] Error 1
make[3]: *** Deleting file 'Testing/Installation/pyvenv/bin/python3'
make[2]: *** [CMakeFiles/Makefile2:2118: Wrapping/Python/CMakeFiles/PythonVirtualEnv.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:2125: Wrapping/Python/CMakeFiles/PythonVirtualEnv.dir/rule] Error 2
make: *** [Makefile:865: PythonVirtualEnv] Error 2
==> ERROR: A failure occurred in build().

The PKGBUILD should be updated to set the env var PIP_USER=0 to ensure it is always unset.