conda-forge / rasterio-feedstock

A conda-smithy repository for rasterio.
BSD 3-Clause "New" or "Revised" License
43 stars 23 forks source link

rasterio v1.1.1 #153

Closed regro-cf-autotick-bot closed 4 years ago

regro-cf-autotick-bot commented 4 years ago

It is very likely that the current package version for this feedstock is out of date. Notes for merging this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version. Checklist before merging this PR:
    • [ ] Dependencies have been updated if changed
    • [ ] Tests have passed
    • [ ] Updated license if changed and license_file is packaged

Note that the bot will stop issuing PRs if more than 3 Version bump PRs generated by the bot are open. If you don't want to package a particular version please close the PR

If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one.

This PR was created by the cf-regro-autotick-bot. The cf-regro-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. If you would like a local version of this bot, you might consider using rever. Rever is a tool for automating software releases and forms the backbone of the bot's conda-forge PRing capability. Rever is both conda (conda install -c conda-forge rever) and pip (pip install re-ver) installable. Finally, feel free to drop us a line if there are any issues! This PR was generated by https://circleci.com/gh/regro/circle_worker/12118, please use this URL for debugging

conda-forge-linter commented 4 years ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

ocefpaf commented 4 years ago

Windows is failing with:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:D:\bld\rasterio_1573845251396\_h_env\libs /LIBPATH:D:\bld\rasterio_1573845251396\_h_env\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" /LIBPATH:D:\bld\rasterio_1573845251396\_h_env\Library\lib /LIBPATH:D:\bld\rasterio_1573845251396\_h_env\Library\lib /EXPORT:PyInit__base build\temp.win-amd64-3.6\Release\rasterio/_base.obj /OUT:build\lib.win-amd64-3.6\rasterio\_base.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\rasterio\_base.cp36-win_amd64.lib
  _base.obj : warning LNK4197: export 'PyInit__base' specified multiple times; using first specification
     Creating library build\temp.win-amd64-3.6\Release\rasterio\_base.cp36-win_amd64.lib and object build\temp.win-amd64-3.6\Release\rasterio\_base.cp36-win_amd64.exp
  _base.obj : error LNK2001: unresolved external symbol CSLDestroy
  _base.obj : error LNK2001: unresolved external symbol GDALGetMaskFlags
  _base.obj : error LNK2001: unresolved external symbol GDALGetDatasetDriver
  _base.obj : error LNK2001: unresolved external symbol GDALGetMetadata
  _base.obj : error LNK2001: unresolved external symbol GDALDereferenceDataset
  _base.obj : error LNK2001: unresolved external symbol CSLFetchBoolean
  _base.obj : error LNK2001: unresolved external symbol OCTTransform
  _base.obj : error LNK2001: unresolved external symbol GDALGetRasterXSize
  _base.obj : error LNK2001: unresolved external symbol GDALGetOverviewCount
  _base.obj : error LNK2001: unresolved external symbol GDALGetProjectionRef
  _base.obj : error LNK2001: unresolved external symbol GDALGetRasterYSize
  _base.obj : error LNK2001: unresolved external symbol GDALVersionInfo
  _base.obj : error LNK2001: unresolved external symbol GDALGetRasterDataType
  _base.obj : error LNK2001: unresolved external symbol GDALGetRasterBandXSize
  _base.obj : error LNK2001: unresolved external symbol OSRMorphFromESRI
  _base.obj : error LNK2001: unresolved external symbol GDALGetBlockSize
  _base.obj : error LNK2001: unresolved external symbol GDALGetRasterOffset
  _base.obj : error LNK2001: unresolved external symbol OSRNewSpatialReference
  _base.obj : error LNK2001: unresolved external symbol GDALGetDescription
  _base.obj : error LNK2001: unresolved external symbol GDALGetRasterNoDataValue
  _base.obj : error LNK2001: unresolved external symbol OSRSetFromUserInput
  _base.obj : error LNK2001: unresolved external symbol GDALGetMetadataItem
  _base.obj : error LNK2001: unresolved external symbol GDALGetRasterColorInterpretation
  _base.obj : error LNK2001: unresolved external symbol GDALSetRasterColorInterpretation
  _base.obj : error LNK2001: unresolved external symbol GDALOpen
  _base.obj : error LNK2001: unresolved external symbol GDALGetGCPs
  _base.obj : error LNK2001: unresolved external symbol GDALClose
  _base.obj : error LNK2001: unresolved external symbol GDALGetOverview
  _base.obj : error LNK2001: unresolved external symbol CPLMalloc
  _base.obj : error LNK2001: unresolved external symbol GDALGetRasterUnitType
  _base.obj : error LNK2001: unresolved external symbol GDALGetColorEntry
  _base.obj : error LNK2001: unresolved external symbol GDALGetFileList
  _base.obj : error LNK2001: unresolved external symbol GDALGetRasterCount
  _base.obj : error LNK2001: unresolved external symbol GDALGetDriverShortName
  _base.obj : error LNK2001: unresolved external symbol GDALGetGeoTransform
  _base.obj : error LNK2001: unresolved external symbol OCTDestroyCoordinateTransformation
  _base.obj : error LNK2001: unresolved external symbol GDALGetRasterScale
  _base.obj : error LNK2001: unresolved external symbol CPLParseNameValue
  _base.obj : error LNK2001: unresolved external symbol OSRExportToWkt
  _base.obj : error LNK2001: unresolved external symbol GDALGetMetadataDomainList
  _base.obj : error LNK2001: unresolved external symbol GDALGetGCPCount
  _base.obj : error LNK2001: unresolved external symbol GDALChecksumImage
  _base.obj : error LNK2001: unresolved external symbol VSIFree
  _base.obj : error LNK2001: unresolved external symbol OCTNewCoordinateTransformation
  _base.obj : error LNK2001: unresolved external symbol GDALGetColorEntryCount
  _base.obj : error LNK2001: unresolved external symbol CSLCount
  _base.obj : error LNK2001: unresolved external symbol GDALGetGCPProjection
  _base.obj : error LNK2001: unresolved external symbol GDALGetRasterBand
  _base.obj : error LNK2001: unresolved external symbol GDALCheckVersion
  _base.obj : error LNK2001: unresolved external symbol GDALGetDriverByName
  _base.obj : error LNK2001: unresolved external symbol GDALGetRasterColorTable
  _base.obj : error LNK2001: unresolved external symbol OSRRelease
  build\lib.win-amd64-3.6\rasterio\_base.cp36-win_amd64.pyd : fatal error LNK1120: 52 unresolved externals
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\link.exe' failed with exit status 1120
  ----------------------------------------
  ERROR: Failed building wheel for rasterio
  Running setup.py clean for rasterio
Failed to build rasterio

@gillins and @isuruf do you have any idea of what may be going on here?

gillins commented 4 years ago

I don't know much about pip install but I see that the link line doesn't include gdal_i.lib despite you specifying --global-option="-lgdal_i". I'll try and dig into it.

gillins commented 4 years ago

I think this is a bug in setuptools, although I can't find anything to confirm this. It used to work, right? Do you have any other packages that build the same way?

ocefpaf commented 4 years ago

Thanks @gillins. I'm reviving #152 and I'll try to fix this there. Not sure what I did wrong here.