Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

premake: add 5.0.0-beta2 #10344

Closed
wants to merge 2 commits into from
Closed

premake: add 5.0.0-beta2 #10344

wants to merge 2 commits into from

Conversation

Croydon
Copy link
Contributor

@Croydon Croydon commented Apr 17, 2022


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the conan-center hook activated.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@SSE4
Copy link
Contributor

SSE4 commented Apr 18, 2022

same issue as #10241
TLDR : Windows 11 SDK (10.0.22200) is no longer compatible with VS15. we don't know if it's by design and it will be never compatible, or was a bug and will be fixed in newer Windows SDK.
right now, we share the same machine for VS15/16/17, and vcvars tends to pick just latest Windows SDK by default (so VS15 build picks Windows SDK installed by VS17).
technically, import libraries in new SDK contain XFGHASHMAP section, which VS15 linker doesn't recognize.

@SSE4 SSE4 added the infrastructure Waiting on tools or services belonging to the infra label Apr 18, 2022
@SSE4 SSE4 requested a review from jgsogo April 18, 2022 10:28
@Croydon
Copy link
Contributor Author

Croydon commented Apr 18, 2022

There are more problems here: premake/premake-core#1862

@conan-center-bot

This comment has been minimized.

@Croydon
Copy link
Contributor Author

Croydon commented Apr 21, 2022

C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\um\x64\crypt32.lib : fatal error LNK1127: library is corrupt

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@jgsogo jgsogo removed the infrastructure Waiting on tools or services belonging to the infra label Jun 28, 2022
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@stale
Copy link

stale bot commented Jul 30, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 30, 2022
@stale stale bot removed the stale label Sep 4, 2022
@Croydon Croydon changed the title premake: add 5.0.0-beta1 premake: add 5.0.0-beta2 Sep 4, 2022
@conan-center-bot
Copy link
Collaborator

Failure in build 10 (78dedc416fd3a5da439be9e71069bcf4ac757f42):

  • premake/5.0.0-alpha15@:
    Didn't run or was cancelled before finishing

  • premake/5.0.0-alpha14@:
    Didn't run or was cancelled before finishing

  • premake/5.0.0-beta2@:
    CI failed to create some packages (All logs)

    Logs for packageID b80d46004713aa37d6a90b42e2a326a056a237b5:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=8
    os=Linux
    
    [...]
    /usr/bin/gcc -m64 -O3 -s -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MP -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../contrib/lua/src -I../../contrib/luashim -I../../contrib/zlib -I../../contrib/libzip -I../../contrib/curl/include -O3 -Wall -Wextra  -o "obj/Release/Premake5/os_mkdir.o" -MF "obj/Release/Premake5/os_mkdir.d" -c "../../src/host/os_mkdir.c"
    os_pathsearch.c
    /usr/bin/gcc -m64 -O3 -s -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MP -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../contrib/lua/src -I../../contrib/luashim -I../../contrib/zlib -I../../contrib/libzip -I../../contrib/curl/include -O3 -Wall -Wextra  -o "obj/Release/Premake5/os_pathsearch.o" -MF "obj/Release/Premake5/os_pathsearch.d" -c "../../src/host/os_pathsearch.c"
    os_realpath.c
    /usr/bin/gcc -m64 -O3 -s -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MP -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../contrib/lua/src -I../../contrib/luashim -I../../contrib/zlib -I../../contrib/libzip -I../../contrib/curl/include -O3 -Wall -Wextra  -o "obj/Release/Premake5/os_realpath.o" -MF "obj/Release/Premake5/os_realpath.d" -c "../../src/host/os_realpath.c"
    os_remove.c
    /usr/bin/gcc -m64 -O3 -s -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MP -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../contrib/lua/src -I../../contrib/luashim -I../../contrib/zlib -I../../contrib/libzip -I../../contrib/curl/include -O3 -Wall -Wextra  -o "obj/Release/Premake5/os_remove.o" -MF "obj/Release/Premake5/os_remove.d" -c "../../src/host/os_remove.c"
    os_rename.c
    /usr/bin/gcc -m64 -O3 -s -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MP -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../contrib/lua/src -I../../contrib/luashim -I../../contrib/zlib -I../../contrib/libzip -I../../contrib/curl/include -O3 -Wall -Wextra  -o "obj/Release/Premake5/os_rename.o" -MF "obj/Release/Premake5/os_rename.d" -c "../../src/host/os_rename.c"
    os_rmdir.c
    /usr/bin/gcc -m64 -O3 -s -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MP -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../contrib/lua/src -I../../contrib/luashim -I../../contrib/zlib -I../../contrib/libzip -I../../contrib/curl/include -O3 -Wall -Wextra  -o "obj/Release/Premake5/os_rmdir.o" -MF "obj/Release/Premake5/os_rmdir.d" -c "../../src/host/os_rmdir.c"
    os_stat.c
    /usr/bin/gcc -m64 -O3 -s -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MP -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../contrib/lua/src -I../../contrib/luashim -I../../contrib/zlib -I../../contrib/libzip -I../../contrib/curl/include -O3 -Wall -Wextra  -o "obj/Release/Premake5/os_stat.o" -MF "obj/Release/Premake5/os_stat.d" -c "../../src/host/os_stat.c"
    os_touchfile.c
    /usr/bin/gcc -m64 -O3 -s -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MP -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../contrib/lua/src -I../../contrib/luashim -I../../contrib/zlib -I../../contrib/libzip -I../../contrib/curl/include -O3 -Wall -Wextra  -o "obj/Release/Premake5/os_touchfile.o" -MF "obj/Release/Premake5/os_touchfile.d" -c "../../src/host/os_touchfile.c"
    os_uuid.c
    /usr/bin/gcc -m64 -O3 -s -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MP -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../contrib/lua/src -I../../contrib/luashim -I../../contrib/zlib -I../../contrib/libzip -I../../contrib/curl/include -O3 -Wall -Wextra  -o "obj/Release/Premake5/os_uuid.o" -MF "obj/Release/Premake5/os_uuid.d" -c "../../src/host/os_uuid.c"
    os_writefile_ifnotequal.c
    /usr/bin/gcc -m64 -O3 -s -DNDEBUG -D_GLIBCXX_USE_CXX11_ABI=1 -MD -MP -DPREMAKE_COMPRESSION -DCURL_STATICLIB -DPREMAKE_CURL -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../contrib/lua/src -I../../contrib/luashim -I../../contrib/zlib -I../../contrib/libzip -I../../contrib/curl/include -O3 -Wall -Wextra  -o "obj/Release/Premake5/os_writefile_ifnotequal.o" -MF "obj/Release/Premake5/os_writefile_ifnotequal.d" -c "../../src/host/os_writefile_ifnotequal.c"
    Premake5.make:333: recipe for target 'obj/Release/Premake5/os_uuid.o' failed
    Makefile:49: recipe for target 'Premake5' failed
    premake/5.0.0-beta2: 
    In file included from ../../contrib/curl/include/curl/curl.h:2523,
                     from ../../src/host/curl_utils.h:15,
                     from ../../src/host/curl_utils.c:8:
    ../../src/host/curl_utils.c: In function ‘curlRequest’:
    ../../contrib/curl/include/curl/typecheck-gcc.h:56:9: warning: call to ‘_curl_easy_setopt_err_write_callback’ declared with attribute warning: curl_easy_setopt expects a curl_write_callback argument for this option
             _curl_easy_setopt_err_write_callback();                               \
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../contrib/curl/include/curl/typecheck-gcc.h:56:9: note: in definition of macro ‘curl_easy_setopt’
             _curl_easy_setopt_err_write_callback();                               \
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../contrib/curl/include/curl/typecheck-gcc.h:71:9: warning: call to ‘_curl_easy_setopt_err_progress_cb’ declared with attribute warning: curl_easy_setopt expects a curl_progress_callback argument for this option
             _curl_easy_setopt_err_progress_cb();                                  \
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../contrib/curl/include/curl/typecheck-gcc.h:71:9: note: in definition of macro ‘curl_easy_setopt’
             _curl_easy_setopt_err_progress_cb();                                  \
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../src/host/os_uuid.c:12:10: fatal error: uuid/uuid.h: No such file or directory
     #include <uuid/uuid.h>
              ^~~~~~~~~~~~~
    compilation terminated.
    make[1]: *** [obj/Release/Premake5/os_uuid.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make: *** [Premake5] Error 2
    premake/5.0.0-beta2: ERROR: Package 'b80d46004713aa37d6a90b42e2a326a056a237b5' build failed
    premake/5.0.0-beta2: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/premake/5.0.0-beta2/_/_/build/b80d46004713aa37d6a90b42e2a326a056a237b5
    ERROR: premake/5.0.0-beta2: Error in build() method, line 123
    	env_build.make(target="Premake5", args=["verbose=1", "config={}".format(self._gmake_config)])
    	ConanException: Error 2 while executing make Premake5 'verbose=1' 'config=release' -j3
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

@stale
Copy link

stale bot commented Oct 8, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 8, 2022
@risuwwv
Copy link

risuwwv commented Oct 21, 2022

Hello, any update on this ? The version in https://conan.io/center/premake does not support vs2022 so I would like beta2.

@Croydon
Copy link
Contributor Author

Croydon commented Oct 21, 2022

Hello, any update on this ? The version in https://conan.io/center/premake does not support vs2022 so I would like beta2.

No updates from my side, unfortunately. If someone wants to investigate the error message in the builds above this would be great.

My own motivation for Premake is pretty low and the only project I know that used it now also offers CMake.

@stale
Copy link

stale bot commented Nov 22, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 22, 2022
@stale
Copy link

stale bot commented Dec 23, 2022

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale stale bot closed this Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants