Package Details: python-simpleitk 2.4.0-1

Git Clone URL: https://aur.archlinux.org/simpleitk.git (read-only, click to copy)
Package Base: simpleitk
Description: A simplified layer built on top of ITK
Upstream URL: https://github.com/SimpleITK/SimpleITK
Licenses: Apache-2.0
Submitter: yan12125
Maintainer: xiota
Last Packager: xiota
Votes: 1
Popularity: 0.000000
First Submitted: 2016-05-28 13:08 (UTC)
Last Updated: 2024-09-15 23:56 (UTC)

Dependencies (20)

Sources (1)

Pinned Comments

m-pilia commented on 2024-08-24 11:19 (UTC)

Attention: Currently simpleitk cannot be updated to 2.4.0, insight-toolkit needs to be updated to 5.4 first.

Latest Comments

1 2 3 Next › Last »

hottea commented on 2024-08-24 12:14 (UTC)

you could also check this.

m-pilia commented on 2024-08-24 11:19 (UTC)

Attention: Currently simpleitk cannot be updated to 2.4.0, insight-toolkit needs to be updated to 5.4 first.

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

@lahwaacz

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 major.minor.build.revision
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/libITKIOGDCM-5.3.so.1: 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/SimpleITK.so
[ 99%] Built target SimpleITKLuaModule_LUA
[ 99%] Linking CXX shared module Packaging/SimpleITK/src/SimpleITK.so
Installing R package for testing and building binary version for distribution
/usr/bin/itkTestDriver: symbol lookup error: /usr/lib/libITKIOGDCM-5.3.so.1: undefined symbol: _ZN4gdcm16DirectionCosinesD1Ev
make[2]: *** [Wrapping/R/CMakeFiles/SimpleITK_R.dir/build.make:539: Wrapping/R/Packaging/SimpleITK/src/SimpleITK.so] Error 127
make[2]: *** Deleting file 'Wrapping/R/Packaging/SimpleITK/src/SimpleITK.so'
make[1]: *** [CMakeFiles/Makefile2:2618: Wrapping/R/CMakeFiles/SimpleITK_R.dir/all] Error 2
[ 99%] Linking CXX shared module SimpleITK/_SimpleITK.so
Generating setup.py...
[ 99%] Built target SimpleITK_PYTHON
[100%] Linking CXX shared module lib/simpleitk.so
[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().
    Aborting...

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.