{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/2291","repository_url":"https://api.github.com/repos/conda/conda-build","labels_url":"https://api.github.com/repos/conda/conda-build/issues/2291/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/2291/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/2291/events","html_url":"https://github.com/conda/conda-build/issues/2291","id":251267048,"number":2291,"title":"osx conda-build on OSX has very slow last step \"Fixing linking\"","user":{"login":"doutriaux1","id":2781425,"avatar_url":"https://avatars1.githubusercontent.com/u/2781425?v=4","gravatar_id":"","url":"https://api.github.com/users/doutriaux1","html_url":"https://github.com/doutriaux1","followers_url":"https://api.github.com/users/doutriaux1/followers","following_url":"https://api.github.com/users/doutriaux1/following{/other_user}","gists_url":"https://api.github.com/users/doutriaux1/gists{/gist_id}","starred_url":"https://api.github.com/users/doutriaux1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doutriaux1/subscriptions","organizations_url":"https://api.github.com/users/doutriaux1/orgs","repos_url":"https://api.github.com/users/doutriaux1/repos","events_url":"https://api.github.com/users/doutriaux1/events{/privacy}","received_events_url":"https://api.github.com/users/doutriaux1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-18T14:43:44Z","updated_at":"2017-10-31T07:19:36Z","closed_at":null,"author_association":"NONE","body":"On osx the `Fixing linking` steps takes more time than the actual build time (almost twice as long actually).\r\n\r\nBegining of log is:\r\n\r\n```\r\nMaking absolute symlink lib/libvtkRenderingLabelPython27D-8.1.dylib -> libvtkRenderingLabelPython27D-8.1.1.dylib relative\r\nMaking absolute symlink lib/libvtkImagingStencil-8.1.dylib -> libvtkImagingStencil-8.1.1.dylib relative\r\nMaking absolute symlink lib/libvtkpng-8.1.dylib -> libvtkpng-8.1.1.dylib relative\r\nMaking absolute symlink lib/libvtkDICOMParser-8.1.dylib -> libvtkDICOMParser-8.1.1.dylib relative\r\nMaking absolute symlink lib/libvtkIOCore-8.1.dylib -> libvtkIOCore-8.1.1.dylib relative\r\nMaking absolute symlink lib/libvtkCommonTransforms-8.1.dylib -> libvtkCommonTransforms-8.1.1.dylib relative\r\nMaking absolute symlink lib/libvtkRenderingFreeType-8.1.dylib -> libvtkRenderingFreeType-8.1.1.dylib relative\r\nMaking absolute symlink lib/libvtkRenderingGL2PSPython27D-8.1.dylib -> libvtkRenderingGL2PSPython27D-8.1.1.dylib relative\r\nMaking absolute symlink lib/libvtksys-8.1.dylib -> libvtksys-8.1.1.dylib relative\r\nMaking absolute symlink lib/libvtkCommonSystem-8.1.dylib -> libvtkCommonSystem-8.1.1.dylib relative\r\nFixing linking of /usr/lib/libc++.1.dylib in /Users/doutriaux1/anaconda2/conda-bld/vtk-cdat_1503063062631/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/vtk/vtkFiltersImagingPython.so\r\nFixing linking of libvtkFiltersImagingPython27D-8.1.1.dylib in /Users/doutriaux1/anaconda2/conda-bld/vtk-cdat_1503063062631/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/vtk/vtkFiltersImagingPython.so\r\nFixing linking of libvtkFiltersStatisticsPython27D-8.1.1.dylib in /Users/doutriaux1/anaconda2/conda-bld/vtk-cdat_1503063062631/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/vtk/vtkFiltersImagingPython.so\r\nFixing linking of libvtkImagingFourierPython27D-8.1.1.dylib in /Users/doutriaux1/anaconda2/conda-bld/vtk-cdat_1503063062631/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/vtk/vtkFiltersImagingPython.so\r\nFixing linking of libvtkImagingGeneralPython27D-8.1.1.dylib in /Users/doutriaux1/anaconda2/conda-bld/vtk-cdat_1503063062631/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/vtk/vtkFiltersImagingPython.so\r\nFixing linking of libvtkImagingSourcesPython27D-8.1.1.dylib in /Users/doutriaux1/anaconda2/conda-bld/vtk-cdat_1503063062631/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/vtk/vtkFiltersImagingPython.so\r\nFixing linking of libvtkImagingCorePython27D-8.1.1.dylib in /Users/doutriaux1/anaconda2/conda-bld/vtk-cdat_1503063062631/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/vtk/vtkFiltersImagingPython.so\r\n```\r\n\r\nI have around 4000 such lines in my build (VTK)\r\n\r\nThis step does not appear to be done using multiprocessing which could considerably cut the time.\r\n\r\nAm i wrong? Is there anything we can do to fasten/avoid this step? Maybe in my actual build?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/340680256","html_url":"https://github.com/conda/conda-build/issues/2291#issuecomment-340680256","issue_url":"https://api.github.com/repos/conda/conda-build/issues/2291","id":340680256,"user":{"login":"rlizzo","id":17350115,"avatar_url":"https://avatars1.githubusercontent.com/u/17350115?v=4","gravatar_id":"","url":"https://api.github.com/users/rlizzo","html_url":"https://github.com/rlizzo","followers_url":"https://api.github.com/users/rlizzo/followers","following_url":"https://api.github.com/users/rlizzo/following{/other_user}","gists_url":"https://api.github.com/users/rlizzo/gists{/gist_id}","starred_url":"https://api.github.com/users/rlizzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlizzo/subscriptions","organizations_url":"https://api.github.com/users/rlizzo/orgs","repos_url":"https://api.github.com/users/rlizzo/repos","events_url":"https://api.github.com/users/rlizzo/events{/privacy}","received_events_url":"https://api.github.com/users/rlizzo/received_events","type":"User","site_admin":false},"created_at":"2017-10-31T07:19:36Z","updated_at":"2017-10-31T07:19:36Z","author_association":"NONE","body":"I am referring to the [Visualization Toolkit (VTK)](https://www.vtk.org/), which is a dependency of my library. I haven't formally benchmarked the build times, but when I run conda-build I've sat to watch the process. The compile time takes 10-15 minutes on a high end machine, after which I sit and watch the terminal output flash `install name tool -add_rpath ...` and `fixing linking of foo in bar`  for the next 1.5-2 hours. \r\n\r\nThe recipe for our build is here: https://github.com/vmtk/conda-recipes.\r\n\r\nThis is actually an issue that the conda-forge channel for VTK is facing as well (https://github.com/conda-forge/vtk-feedstock/issues/10) so far they haven't been able to compile it on Mac OS within the Travis CI build time limits. \r\n\r\nAny ideas? "}}
{"actor":{"display_login":"rlizzo"}}