Opened 20 months ago

Last modified 4 months ago

#31596 new defect

macports-standard-python3.9: rpy2 build fails with clang: error: unsupported option '-fopenmp'

Reported by: Matthias Köppe Owned by:
Priority: major Milestone: sage-wishlist
Component: packages: standard Keywords:
Cc: John Palmieri, Emmanuel Charpentier, Dima Pasechnik Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Yet another build failure in rpy2. Fortunately #31409 provides a remedy.

  creating build/temp.macosx-10.15-x86_64-3.9/build
  creating build/temp.macosx-10.15-x86_64-3.9/build/temp.macosx-10.15-x86_64-3.9
  gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -O2 -g -march=native -DRPY2_RLEN_LONG=True -Irpy2/rinterface_lib/ -I/Users/mkoeppe/s/sage/sage-rebasing/.tox/local-macports-standard-python3.9/local/include -I/Users/mkoeppe/s/sage/sage-rebasing/.tox/local-macports-standard-python3.9/macports/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c build/temp.macosx-10.15-x86_64-3.9/_rinterface_cffi_api.c -o build/temp.macosx-10.15-x86_64-3.9/build/temp.macosx-10.15-x86_64-3.9/_rinterface_cffi_api.o
  gcc -bundle -undefined dynamic_lookup -L/Users/mkoeppe/s/sage/sage-rebasing/.tox/local-macports-standard-python3.9/macports/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/Users/mkoeppe/s/sage/sage-rebasing/.tox/local-macports-standard-python3.9/local/lib -Wl,-rpath,/Users/mkoeppe/s/sage/sage-rebasing/.tox/local-macports-standard-python3.9/local/lib -O2 -g -march=native build/temp.macosx-10.15-x86_64-3.9/build/temp.macosx-10.15-x86_64-3.9/_rinterface_cffi_api.o -L/Users/mkoeppe/s/sage/sage-rebasing/.tox/local-macports-standard-python3.9/macports/lib -L/Users/mkoeppe/s/sage/sage-rebasing/.tox/local-macports-standard-python3.9/macports/lib -lpcre2-8 -llzma -lbz2 -lz -ldl -lm -liconv -licuuc -licui18n -o build/lib.macosx-10.15-x86_64-3.9/_rinterface_cffi_api.abi3.so -fopenmp -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -F/Users/mkoeppe/s/sage/sage-rebasing/.tox/local-macports-standard-python3.9/macports/Library/Frameworks/R.framework/.. -framework R
  clang: error: unsupported option '-fopenmp'
  error: command '/usr/bin/gcc' failed with exit code 1
  Building wheel for rpy2 (setup.py): finished with status 'error'

Change History (4)

comment:1 Changed 20 months ago by Matthias Köppe

Milestone: sage-9.3sage-9.4

comment:2 Changed 16 months ago by Matthias Köppe

Milestone: sage-9.4sage-9.5

comment:3 Changed 12 months ago by Matthias Köppe

Milestone: sage-9.5sage-wishlist

comment:4 Changed 4 months ago by Matthias Köppe

Cc: Dima Pasechnik added
Note: See TracTickets for help on using tickets.