View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004438 | Slicer4 | Core: Building (CMake, Superbuild) | public | 2017-09-21 15:10 | 2018-03-02 11:02 |
Reporter | pieper | Assigned To | jcfr | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | mac | OS | 10.9 | OS Version | |
Product Version | |||||
Target Version | Fixed in Version | Slicer 4.7.0 | |||
Summary | 0004438: LibArchive: cannot build with deployment target 10.9 | ||||
Description | Doing a fresh build with latest Xcode has build error in LibArchive. $ xcodebuild -version LibArchive doesn't look easy to fix. Probably need to specify 10.13 in this line: https://github.com/Slicer/Slicer/blob/master/CMake/SlicerBlockSetCMakeOSXVariables.cmake#L114 | ||||
Steps To Reproduce | This fails: cmake -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.9 ../Slicer This works: cmake -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.13 ../Slicer | ||||
Additional Information | 0000034 Slicer-superbuild $ (cd LibArchive-build/; make) | ||||
Tags | No tags attached. | ||||
That would work, that also means the minimum support version after transitioning to VTK8+Qt5 would be 10.13. I still think we should find way around the error to support older version. Does it work with 10.10 ? 10.11 ? For reference: https://en.wikipedia.org/wiki/MacOS#OS_X_10.10_Yosemite |
|
Since LibArchive is already checking for the availability of the function, it looks like the configure checks are not doing the expected job. |
|
I checked them all with lines like this: rm -rf *; (cmake -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.9 ~/slicer4/latest/Slicer; make LibArchive) 2>&1 | tee /tmp/build.10.9 10.9 failed I didn't look too closely but LibArchive's CMake code has some custom checks and macros that probably need to be fixed. |
|
I think Brad fixed it already: https://github.com/libarchive/libarchive/commit/47bec12b98b173d631f4279b2a9dd01bb7d2183c |
|
Thanks @inorton This should be fixed by https://github.com/Slicer/Slicer/pull/801 |
|
Fixed in http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=26403 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-09-21 15:10 | pieper | New Issue | |
2017-09-21 15:10 | pieper | Status | new => assigned |
2017-09-21 15:10 | pieper | Assigned To | => jcfr |
2017-09-22 16:28 | jcfr | Note Added: 0015119 | |
2017-09-22 16:33 | jcfr | Note Added: 0015120 | |
2017-09-24 17:49 | pieper | Note Added: 0015121 | |
2017-09-29 11:33 | inorton | Note Added: 0015216 | |
2017-09-29 11:50 | jcfr | Note Added: 0015217 | |
2017-09-29 11:54 | jcfr | Status | assigned => resolved |
2017-09-29 11:54 | jcfr | Resolution | open => fixed |
2017-09-29 11:54 | jcfr | Fixed in Version | => Slicer 4.7.0 |
2017-09-29 11:54 | jcfr | Note Added: 0015218 | |
2018-03-02 11:02 | jcfr | Status | resolved => closed |