bincrafters / community

Central repository for issues and recipes
http://bincrafters.readthedocs.io/en/latest/
MIT License
218 stars 36 forks source link

soil2/1.11@bincrafters/stable: Fails to build #1114

Closed VladasZ closed 4 years ago

VladasZ commented 4 years ago

Soil2 build fails on Windows and macOS.

Package and Environment Details (include every applicable attribute)

soil2/1.11 macOS Catalina 10.15.2 (19C57) / Windows 10 Apple clang version 11.0.0 / Visual Studio 2019 Conan version 1.21.1 Python 3.7.6

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

conan profile show default
Configuration for profile default:

[settings]
os=Macos
os_build=Macos
arch=x86_64
arch_build=x86_64
compiler=apple-clang
compiler.version=11.0
compiler.libcxx=libc++
build_type=Release
[options]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

conan install soil2/1.11@bincrafters/stable --build

macOS logs (Include/Attach if Applicable)

Click to expand log ``` conan install soil2/1.11@bincrafters/stable --build=missing Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=11.0 os=Macos os_build=Macos [options] [build_requires] [env] Installing package: soil2/1.11@bincrafters/stable Requirements soil2/1.11@bincrafters/stable from 'bincraftes' - Cache Packages soil2/1.11@bincrafters/stable:8e2e3059f283d3d138b85d022534c5632c4ffd1b - Build Build requirements premake_installer/4.4-beta5@bincrafters/stable from 'bincraftes' - Cache Build requirements packages premake_installer/4.4-beta5@bincrafters/stable:743cf0321be3152777da4d05247a66d1552e70a2 - Cache premake_installer/4.4-beta5@bincrafters/stable: Already installed! soil2/1.11@bincrafters/stable: Applying build-requirement: premake_installer/4.4-beta5@bincrafters/stable Updating Homebrew... ==> Auto-updated Homebrew! Updated 3 taps (homebrew/core, homebrew/cask and homebrew/bundle). ==> New Formulae dynet git-gui tty-share ==> Updated Formulae alpine aws-iam-authenticator calicoctl certbot cgal cglm cmake contentful-cli elixir exploitdb ffmpeg folly git goto graph-tool hugo interactive-rebase-tool jenkins jfrog-cli-go kitchen-sync kobalt kubeprod librealsense libxlsxwriter lmod mawk meson mill mkl-dnn mmark nethack nifi operator-sdk parallelstl pcb pgrouting phpstan pulumi qpdf rke sfcgal swagger-codegen@2 sync_gateway weaver xsimd you-get Warning: Cask 'xquartz' is already installed. To re-install xquartz, run: brew cask reinstall xquartz soil2/1.11@bincrafters/stable: WARN: Trying to remove corrupted source folder soil2/1.11@bincrafters/stable: WARN: This can take a while for big packages soil2/1.11@bincrafters/stable: Configuring sources in /Users/vladas/.conan/data/soil2/1.11/bincrafters/stable/source ERROR: soil2/1.11@bincrafters/stable: Error in source() method, line 30 tools.get(archive_url, sha256="c6d729b0fb74540b40d461ed3520e507418b121ed81eed7b19569bfc02d7c5d0") NotFoundException: Not found: https://bitbucket.org/SpartanJ/soil2/get/release-1.11.tar.bz2 ```

Win 10 logs (Include/Attach if Applicable)

Click to expand log ``` conan install soil2/1.11@bincrafters/stable --build Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows os_build=Windows [options] [build_requires] [env] soil2/1.11@bincrafters/stable: Forced build from source premake_installer/4.4-beta5@bincrafters/stable: Forced build from source Installing package: soil2/1.11@bincrafters/stable Requirements soil2/1.11@bincrafters/stable from 'bincraftes' - Cache Packages soil2/1.11@bincrafters/stable:3fb49604f9c2f729b85ba3115852006824e72cab - Build Build requirements premake_installer/4.4-beta5@bincrafters/stable from 'bincraftes' - Cache Build requirements packages premake_installer/4.4-beta5@bincrafters/stable:456f15897172eef340fcbac8a70811f2beb26a93 - Build premake_installer/4.4-beta5@bincrafters/stable: Copying sources to build folder premake_installer/4.4-beta5@bincrafters/stable: Building your package in C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93 premake_installer/4.4-beta5@bincrafters/stable: Generator txt created conanbuildinfo.txt premake_installer/4.4-beta5@bincrafters/stable: Calling build() Found Visual Studio 16 ********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.4.2 ** Copyright (c) 2019 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' premake_installer/4.4-beta5@bincrafters/stable: Found Visual Studio 16 Conan:vcvars already set Microsoft Visual Studio 2019 Version 16.4.2. Copyright (C) Microsoft Corp. All rights reserved. Upgrading project 'Premake4'... Configuration 'Debug|x64': changing Platform Toolset to 'v142' (was 'v110'). Configuration 'Release|x64': changing Platform Toolset to 'v142' (was 'v110'). Migration completed successfully, but some warnings were detected during migration. For more information, see the migration report: C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\build\vs2012\UpgradeLog.htm Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. os_chdir.c os_copyfile.c os_getcwd.c os_getversion.c os_is64bit.c os_isdir.c os_isfile.c os_match.c C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\src\host\os_getversion.c(81,1): warning C4996: 'GetVersionExA': was declared deprecated [C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\build\vs2012\Premake4.vcxproj] C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um\sysinfoapi.h(387): message : see declaration of 'GetVersionExA' [C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\build\vs2012\Premake4.vcxproj] os_mkdir.c os_pathsearch.c os_rmdir.c os_stat.c os_uuid.c path_isabsolute.c premake.c premake_main.c scripts.c string_endswith.c C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\src\host\premake.c(259,1): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data [C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\build\vs2012\Premake4.vcxproj] lapi.c lauxlib.c lbaselib.c lcode.c ldblib.c ldebug.c ldo.c ldump.c lfunc.c C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\src\host\lua-5.1.4\src\ldo.c(46,16): warning C4324: 'lua_longjmp': structure was padded due to alignment specifier [C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\build\vs2012\Premake4.vcxproj] lgc.c linit.c liolib.c llex.c C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\src\host\lua-5.1.4\src\lgc.c(288,56): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) [C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\build\vs2012\Premake4.vcxproj] lmathlib.c lmem.c loadlib.c lobject.c C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\src\host\string_endswith.c(18,1): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\build\vs2012\Premake4.vcxproj] lopcodes.c C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\src\host\string_endswith.c(19,1): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\build\vs2012\Premake4.vcxproj] loslib.c lparser.c lstate.c lstring.c lstrlib.c ltable.c ltablib.c C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\src\host\lua-5.1.4\src\ltable.c(323,5): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) [C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\build\vs2012\Premake4.vcxproj] C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\src\host\lua-5.1.4\src\ltable.c(376,5): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) [C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\build\vs2012\Premake4.vcxproj] ltm.c lundump.c lvm.c lzio.c Premake4.vcxproj -> C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93\sources\build\vs2012\..\..\bin\release\premake4.exe premake_installer/4.4-beta5@bincrafters/stable: Package '456f15897172eef340fcbac8a70811f2beb26a93' built premake_installer/4.4-beta5@bincrafters/stable: Build folder C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\build\456f15897172eef340fcbac8a70811f2beb26a93 premake_installer/4.4-beta5@bincrafters/stable: Generated conaninfo.txt premake_installer/4.4-beta5@bincrafters/stable: Generated conanbuildinfo.txt premake_installer/4.4-beta5@bincrafters/stable: Generating the package premake_installer/4.4-beta5@bincrafters/stable: Package folder C:\Users\vladas\.conan\data\premake_installer\4.4-beta5\bincrafters\stable\package\456f15897172eef340fcbac8a70811f2beb26a93 premake_installer/4.4-beta5@bincrafters/stable: Calling package() premake_installer/4.4-beta5@bincrafters/stable package(): Packaged 1 '.exe' file: premake4.exe premake_installer/4.4-beta5@bincrafters/stable package(): Packaged 1 '.txt' file: LICENSE.txt premake_installer/4.4-beta5@bincrafters/stable: Package '456f15897172eef340fcbac8a70811f2beb26a93' created premake_installer/4.4-beta5@bincrafters/stable: Created package revision 5a2050a7507c3463a6db927ee25588fb soil2/1.11@bincrafters/stable: Applying build-requirement: premake_installer/4.4-beta5@bincrafters/stable soil2/1.11@bincrafters/stable: WARN: Build folder is dirty, removing it: C:\Users\vladas\.conan\data\soil2\1.11\bincrafters\stable\build\3fb49604f9c2f729b85ba3115852006824e72cab soil2/1.11@bincrafters/stable: WARN: Trying to remove corrupted source folder soil2/1.11@bincrafters/stable: WARN: This can take a while for big packages soil2/1.11@bincrafters/stable: Configuring sources in C:\Users\vladas\.conan\data\soil2\1.11\bincrafters\stable\source ERROR: soil2/1.11@bincrafters/stable: Error in source() method, line 30 tools.get(archive_url, sha256="c6d729b0fb74540b40d461ed3520e507418b121ed81eed7b19569bfc02d7c5d0") NotFoundException: Not found: https://bitbucket.org/SpartanJ/soil2/get/release-1.11.tar.bz2 ```
uilianries commented 4 years ago

Hi @VladasZ ! It has been moved to Github. We already have a branch with the required changes, let me check what is required to push it as stable.

ericLemanissier commented 4 years ago

It's blocked by (at least) https://github.com/conan-io/conan-center-index/pull/647

Croydon commented 4 years ago

I'm not sure how to fix the macOS error

For Windows we can just cherry-pick the download URL change and push to stable

Croydon commented 4 years ago

I read the macOS log wrong. In both cases it is the failing download URL. Should be fixed via https://github.com/bincrafters/conan-soil2/commit/382ff34a7d771c4e396980bf18d4e26562cddc3b

@VladasZ Please try again 😄

Croydon commented 4 years ago

It's blocked by (at least) conan-io/conan-center-index#647

This is only true for the testing branch. I have merged the upstream premake5.lua (and unreleased) file into the recipe to get shared support and support for newer Premake generators. Premake4 is very old

VladasZ commented 4 years ago

@Croydon yes it works now. Thank you everyone!