Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install on Mac M1 #66

Open
BenjaminDEMAILLE opened this issue Nov 9, 2024 · 3 comments
Open

Can't install on Mac M1 #66

BenjaminDEMAILLE opened this issue Nov 9, 2024 · 3 comments

Comments

@BenjaminDEMAILLE
Copy link

Hi ! I got this error :

benjamin@MacBook-Pro-de-Benjamin ~ % git clone https://github.com/Illumina/ExpansionHunterDenovo.git
Clonage dans 'ExpansionHunterDenovo'...
remote: Enumerating objects: 819, done.
remote: Counting objects: 100% (140/140), done.
remote: Compressing objects: 100% (76/76), done.
remote: Total 819 (delta 86), reused 72 (delta 62), pack-reused 679 (from 1)
Réception d'objets: 100% (819/819), 4.01 Mio | 25.98 Mio/s, fait.
Résolution des deltas: 100% (346/346), fait.
benjamin@MacBook-Pro-de-Benjamin ~ % cd ExpansionHunterDenovo/
benjamin@MacBook-Pro-de-Benjamin ExpansionHunterDenovo % mkdir build && cd build 
benjamin@MacBook-Pro-de-Benjamin build % cmake -DCMAKE_BUILD_TYPE=Release ../source
-- The C compiler identification is AppleClang 16.0.0.16000026
-- The CXX compiler identification is AppleClang 16.0.0.16000026
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/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: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.31.0/share/cmake/Modules/FetchContent.cmake:1373 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  thirdparty/boost-cmake/CMakeLists.txt:10 (FetchContent_Declare)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Fetching Boost
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.31.0/share/cmake/Modules/FetchContent.cmake:1953 (message):
  Calling FetchContent_Populate(Boost) is deprecated, call
  FetchContent_MakeAvailable(Boost) instead.  Policy CMP0169 can be set to
  OLD to allow FetchContent_Populate(Boost) to be called directly for now,
  but the ability to call it with declared details will be removed completely
  in a future version.
Call Stack (most recent call first):
  thirdparty/boost-cmake/CMakeLists.txt:19 (FetchContent_Populate)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Fetching Boost - done
-- Boost found: 1.71.0 /Users/benjamin/ExpansionHunterDenovo/build/_deps/boost-src
-- Looking for __linux__
-- Looking for __linux__ - not found
-- Looking for _WIN32
-- Looking for _WIN32 - not found
-- Looking for __APPLE__
-- Looking for __APPLE__ - found
-- Looking for __ANDROID__
-- Looking for __ANDROID__ - not found
-- Looking for __FreeBSD__
-- Looking for __FreeBSD__ - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- The ASM compiler identification is AppleClang
-- Found assembler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Found BZip2: /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr/lib/libbz2.tbd (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr/lib/libz.tbd (found version "1.2.12")
-- Found ICU: /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr/include (found version "74.2") found components: uc dt i18n
-- Found iconv library: /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr/lib/libiconv.tbd
-- Looking for lzma_auto_decoder in /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_auto_decoder in /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_easy_encoder in /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_easy_encoder in /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_lzma_preset in /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_lzma_preset in /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr/lib/liblzma.tbd - found
-- Found LibLZMA: /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr/lib/liblzma.tbd (found version "5.6.3")
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.31.0/share/cmake/Modules/ExternalProject/shared_internal_commands.cmake:1276 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  /opt/homebrew/Cellar/cmake/3.31.0/share/cmake/Modules/ExternalProject.cmake:3041 (_ep_add_download_command)
  io/CMakeLists.txt:21 (ExternalProject_Add)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done (36.2s)
-- Generating done (0.2s)
-- Build files have been written to: /Users/benjamin/ExpansionHunterDenovo/build
benjamin@MacBook-Pro-de-Benjamin build % make
[  0%] Building CXX object region/CMakeFiles/region.dir/GenomicRegion.cpp.o
[  0%] Building CXX object region/CMakeFiles/region.dir/ReferenceContigInfo.cpp.o
[  5%] Linking CXX static library libregion.a
[  5%] Built target region
[  5%] Building CXX object thirdparty/boost-cmake/CMakeFiles/Boost_filesystem.dir/__/__/_deps/boost-src/libs/filesystem/src/codecvt_error_category.cpp.o
[  5%] Building CXX object thirdparty/boost-cmake/CMakeFiles/Boost_filesystem.dir/__/__/_deps/boost-src/libs/filesystem/src/operations.cpp.o
[ 11%] Building CXX object thirdparty/boost-cmake/CMakeFiles/Boost_filesystem.dir/__/__/_deps/boost-src/libs/filesystem/src/path.cpp.o
[ 11%] Building CXX object thirdparty/boost-cmake/CMakeFiles/Boost_filesystem.dir/__/__/_deps/boost-src/libs/filesystem/src/path_traits.cpp.o
[ 11%] Building CXX object thirdparty/boost-cmake/CMakeFiles/Boost_filesystem.dir/__/__/_deps/boost-src/libs/filesystem/src/portability.cpp.o
[ 11%] Building CXX object thirdparty/boost-cmake/CMakeFiles/Boost_filesystem.dir/__/__/_deps/boost-src/libs/filesystem/src/unique_path.cpp.o
[ 17%] Building CXX object thirdparty/boost-cmake/CMakeFiles/Boost_filesystem.dir/__/__/_deps/boost-src/libs/filesystem/src/utf8_codecvt_facet.cpp.o
[ 17%] Building CXX object thirdparty/boost-cmake/CMakeFiles/Boost_filesystem.dir/__/__/_deps/boost-src/libs/filesystem/src/windows_file_codecvt.cpp.o
[ 17%] Linking CXX static library libboost_filesystem.a
[ 17%] Built target Boost_filesystem
[ 23%] Building CXX object common/CMakeFiles/common.dir/SequenceUtils.cpp.o
[ 23%] Building CXX object common/CMakeFiles/common.dir/Interval.cpp.o
[ 23%] Linking CXX static library libcommon.a
[ 23%] Built target common
[ 29%] Creating directories for 'htslib_project'
[ 29%] Performing download step (verify and extract) for 'htslib_project'
CMake Warning at /Users/benjamin/ExpansionHunterDenovo/build/io/htslib_project-prefix/src/htslib_project-stamp/verify-htslib_project.cmake:15 (message):
  File cannot be verified since no URL_HASH specified


-- extracting...
     src='/Users/benjamin/ExpansionHunterDenovo/source/thirdparty/htslib-1.9.tar.bz2'
     dst='/Users/benjamin/ExpansionHunterDenovo/build/thirdparty/htslib-1.9-source'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 29%] No update step for 'htslib_project'
[ 29%] No patch step for 'htslib_project'
[ 29%] No configure step for 'htslib_project'
[ 35%] Performing build step for 'htslib_project'
In file included from bcf_sr_sort.c:29:
In file included from ./bcf_sr_sort.h:37:
In file included from ./htslib/synced_bcf_reader.h:59:
In file included from ./htslib/hts.h:31:
/System/Volumes/Data/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0/lib/gcc/current/gcc/aarch64-apple-darwin22/12/include/stddef.h:432:68: error: __float128 is not supported on this target
  432 |   __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));
      |                                                                    ^
/System/Volumes/Data/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0/lib/gcc/current/gcc/aarch64-apple-darwin22/12/include/stddef.h:432:3: error: __float128 is not supported on this target
  432 |   __float128 __max_align_f128 __attribute__((__aligned__(__alignof(__float128))));
      |   ^
2 errors generated.
make[3]: *** [bcf_sr_sort.o] Error 1
make[2]: *** [io/htslib_project-prefix/src/htslib_project-stamp/htslib_project-build] Error 2
make[1]: *** [io/CMakeFiles/htslib_project.dir/all] Error 2
make: *** [all] Error 2

How can I fix it ? thanks

@BenjaminDEMAILLE
Copy link
Author

Any help would be good :)

@BenjaminDEMAILLE
Copy link
Author

Hi and hait New year

Do you have some news for it ?

It's possible to get it inside homebrew ?

@BenjaminDEMAILLE
Copy link
Author

I HAVE NO RESPONSE SINCE 2 MONTH !!! PLEASE DO YOUR JOB !!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant