Package Details: ants 2.4.4-1

Git Clone URL: https://aur.archlinux.org/ants.git (read-only, click to copy)
Package Base: ants
Description: Advanced Normalization Tools (ANTs) computes high-dimensional \ mappings to capture the statistics of brain structure and function
Upstream URL: http://www.picsl.upenn.edu/ANTS/
Licenses: Apache
Conflicts: ants
Provides: ants
Submitter: m-pilia
Maintainer: liamtimms
Last Packager: liamtimms
Votes: 0
Popularity: 0.000000
First Submitted: 2018-03-27 08:36 (UTC)
Last Updated: 2023-05-04 17:55 (UTC)

Pinned Comments

Latest Comments

1 2 Next › Last »

carlosal1015 commented on 2024-03-08 18:29 (UTC)

@Marichan see https://gitlab.archlinux.org/archlinux/packaging/packages/fast_float/-/issues/1

Marichan commented on 2024-03-08 11:16 (UTC) (edited on 2024-03-08 11:24 (UTC) by Marichan)

The package seems to not build, failing on VTK somehow with several compiler error in 'IO/Image/CMakeFiles/IOImage.dir/vtkSEPReader.cxx'

I tried to swittch to system VTK and it almost works after imnstalling the necessary deps, except for:

-- Could NOT find freetype (missing: freetype_DIR)
CMake Error at /usr/lib/cmake/vtk/VTK-vtk-module-find-packages.cmake:3130 (find_package):
   Could not find a configuration file for package "FastFloat" that is
   compatible with requested version "5.1.0".

    The following configuration files were considered but not accepted:

     /usr/share/cmake/FastFloat/FastFloatConfig.cmake, version: 6.0.0

it seems building requires exactly FastFloat 5.1.0, while version > 6 is already out. Is it a strict requirement or perhaps upgrading to the new fast float would be doable?

EDIT: it seems version 5.1.0 is specified in VTK itself, so this issue should be escalated to the system maintainers/VTK maintainers. Updating the version seems to work fine however to resolve the issue and compilation moves to ITK

carlosal1015 commented on 2021-08-09 02:20 (UTC)

Thanks @liamtimms

liamtimms commented on 2021-08-08 21:33 (UTC) (edited on 2022-10-26 22:16 (UTC) by liamtimms)

@carlosal1015 there's an issue in the make system with the older release of GDCM and ITK. Please use ants-git until there's a new upstream release.

edit: there has since been a release

carlosal1015 commented on 2021-08-08 21:29 (UTC) (edited on 2021-12-16 18:12 (UTC) by carlosal1015)

Hi, I have the following error:

==> Making package: ants 2.3.5-1 (Thu 16 Dec 2021 01:11:30 PM -05)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/sbin/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/sbin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Not using CCache
-- Performing Test C_HAS_WARNING-Wno-uninitialized
-- Performing Test C_HAS_WARNING-Wno-uninitialized - Success
-- Performing Test C_HAS_WARNING-Wno-unused-parameter
-- Performing Test C_HAS_WARNING-Wno-unused-parameter - Success
-- Performing Test C_HAS_WARNING-Wall
-- Performing Test C_HAS_WARNING-Wall - Success
-- Performing Test C_HAS_WARNING-Wno-long-double
-- Performing Test C_HAS_WARNING-Wno-long-double - Failed
-- Performing Test C_HAS_WARNING-Wcast-align
-- Performing Test C_HAS_WARNING-Wcast-align - Success
-- Performing Test C_HAS_WARNING-Wdisabled-optimization
-- Performing Test C_HAS_WARNING-Wdisabled-optimization - Success
-- Performing Test C_HAS_WARNING-Wextra
-- Performing Test C_HAS_WARNING-Wextra - Success
-- Performing Test C_HAS_WARNING-Wformat_2
-- Performing Test C_HAS_WARNING-Wformat_2 - Success
-- Performing Test C_HAS_WARNING-Winvalid-pch
-- Performing Test C_HAS_WARNING-Winvalid-pch - Success
-- Performing Test C_HAS_WARNING-Wno-format-nonliteral
-- Performing Test C_HAS_WARNING-Wno-format-nonliteral - Success
-- Performing Test C_HAS_WARNING-Wpointer-arith
-- Performing Test C_HAS_WARNING-Wpointer-arith - Success
-- Performing Test C_HAS_WARNING-Wshadow
-- Performing Test C_HAS_WARNING-Wshadow - Success
-- Performing Test C_HAS_WARNING-Wunused
-- Performing Test C_HAS_WARNING-Wunused - Success
-- Performing Test C_HAS_WARNING-Wwrite-strings
-- Performing Test C_HAS_WARNING-Wwrite-strings - Success
-- Performing Test C_HAS_WARNING-funit-at-a-time
-- Performing Test C_HAS_WARNING-funit-at-a-time - Success
-- Performing Test C_HAS_WARNING-Wno-strict-overflow
-- Performing Test C_HAS_WARNING-Wno-strict-overflow - Success
-- Performing Test CXX_HAS_WARNING-Wall
-- Performing Test CXX_HAS_WARNING-Wall - Success
-- Performing Test CXX_HAS_WARNING-Wno-long-double
-- Performing Test CXX_HAS_WARNING-Wno-long-double - Failed
-- Performing Test CXX_HAS_WARNING-Wcast-align
-- Performing Test CXX_HAS_WARNING-Wcast-align - Success
-- Performing Test CXX_HAS_WARNING-Wdisabled-optimization
-- Performing Test CXX_HAS_WARNING-Wdisabled-optimization - Success
-- Performing Test CXX_HAS_WARNING-Wextra
-- Performing Test CXX_HAS_WARNING-Wextra - Success
-- Performing Test CXX_HAS_WARNING-Wformat_2
-- Performing Test CXX_HAS_WARNING-Wformat_2 - Success
-- Performing Test CXX_HAS_WARNING-Winvalid-pch
-- Performing Test CXX_HAS_WARNING-Winvalid-pch - Success
-- Performing Test CXX_HAS_WARNING-Wno-format-nonliteral
-- Performing Test CXX_HAS_WARNING-Wno-format-nonliteral - Success
-- Performing Test CXX_HAS_WARNING-Wpointer-arith
-- Performing Test CXX_HAS_WARNING-Wpointer-arith - Success
-- Performing Test CXX_HAS_WARNING-Wshadow
-- Performing Test CXX_HAS_WARNING-Wshadow - Success
-- Performing Test CXX_HAS_WARNING-Wunused
-- Performing Test CXX_HAS_WARNING-Wunused - Success
-- Performing Test CXX_HAS_WARNING-Wwrite-strings
-- Performing Test CXX_HAS_WARNING-Wwrite-strings - Success
-- Performing Test CXX_HAS_WARNING-funit-at-a-time
-- Performing Test CXX_HAS_WARNING-funit-at-a-time - Success
-- Performing Test CXX_HAS_WARNING-Wno-strict-overflow
-- Performing Test CXX_HAS_WARNING-Wno-strict-overflow - Success
-- Performing Test CXX_HAS_WARNING-Wno-deprecated
-- Performing Test CXX_HAS_WARNING-Wno-deprecated - Success
-- Performing Test CXX_HAS_WARNING-Wno-invalid-offsetof
-- Performing Test CXX_HAS_WARNING-Wno-invalid-offsetof - Success
-- Performing Test CXX_HAS_WARNING-Wno-undefined-var-template
-- Performing Test CXX_HAS_WARNING-Wno-undefined-var-template - Failed
-- Performing Test CXX_HAS_WARNING-Woverloaded-virtual
-- Performing Test CXX_HAS_WARNING-Woverloaded-virtual - Success
-- Performing Test CXX_HAS_WARNING-Wstrict-null-sentinel
-- Performing Test CXX_HAS_WARNING-Wstrict-null-sentinel - Success
-- Performing Test C_HAS_WARNING-mtune_native
-- Performing Test C_HAS_WARNING-mtune_native - Success
-- Performing Test C_HAS_WARNING-march_corei7
-- Performing Test C_HAS_WARNING-march_corei7 - Success
-- Performing Test CXX_HAS_WARNING-mtune_native
-- Performing Test CXX_HAS_WARNING-mtune_native - Success
-- Performing Test CXX_HAS_WARNING-march_corei7
-- Performing Test CXX_HAS_WARNING-march_corei7 - Success
-- Performing Test have_gold
-- Performing Test have_gold - Success
-- Performing Test CXX_HAS_DISABLE_OPTIMIZATION_FLAG
-- Performing Test CXX_HAS_DISABLE_OPTIMIZATION_FLAG - Failed
-- Found Git: /usr/sbin/git (found version "2.34.1") 
-- SuperBuild - ANTS => Requires VTK, ITKv5, 
-- SuperBuild -   VTK[OK]
-- 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 MPI_C: /usr/lib/openmpi/libmpi.so (found version "3.1") 
-- Found MPI_CXX: /usr/lib/openmpi/libmpi_cxx.so (found version "3.1") 
-- Found MPI: TRUE (found version "3.1")  
CMake Error at /usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:115 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5" (requested
  version 5.15) with any of the following names:

    Qt5Config.cmake
    qt5-config.cmake

  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  /usr/lib64/cmake/vtk/vtk-config.cmake:150 (include)
  SuperBuild/External_VTK.cmake:202 (find_package)
  CMake/SlicerMacroCheckExternalProjectDependency.cmake:69 (include)
  SuperBuild.cmake:224 (SlicerMacroCheckExternalProjectDependency)
  CMakeLists.txt:67 (include)


-- Configuring incomplete, errors occurred!
See also "/tmp/makepkg/ants/src/ANTs-2.3.5/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/makepkg/ants/src/ANTs-2.3.5/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().

liamtimms commented on 2020-06-04 17:29 (UTC)

@m-pilia , I think have a working PKGBUILD for the new ANTs release (https://github.com/ANTsX/ANTs/tree/2.3.4) if you want to try updating this. I can email it to you to test if you want.

m-pilia commented on 2019-08-07 18:50 (UTC)

Hi Liamtimms,

I have been working on this in the last days. I have not managed yet to build the new version against the system libraries, I get compilation errors. It would probably work if doing a superbuild, but in that case it would not make much sense to have a package for it in the first place.

liamtimms commented on 2019-08-07 18:45 (UTC) (edited on 2019-08-07 18:47 (UTC) by liamtimms)

Hi, it looks like ITK 5.0.1 has been released. Would you be willing to update this package to Black Garden II?

m-pilia commented on 2018-09-04 05:45 (UTC) (edited on 2018-09-04 06:05 (UTC) by m-pilia)

@asterwartau

Thanks for your message. So far I did not update the package intentionally, despite knowing that Black Garden was released, since it depends on ITK 5, which is not a stable release yet, so moving to 2.3.1 would break the package anyway. I will wait for ITK 5 to be out before updating ANTs.

For the patch you are linking, as you can see I submitted that upstream commit myself. What I can do is to manually include the patch within this PKGBUILD to fix that bug.

For whom really needs the latest changes, there is also a SVN package (ants-git) that is more up-to-date.