mozilla-services / heka

DEPRECATED: Data collection and processing made easy.
http://hekad.readthedocs.org/
Other
3.39k stars 530 forks source link

build failed on master branch #1994

Open zdxie opened 6 years ago

zdxie commented 6 years ago

[ 85%] Performing build step for 'lua_sandbox' Scanning dependencies of target lua-5_1_5 [ 1%] Creating directories for 'lua-5_1_5' [ 2%] Performing download step (git clone) for 'lua-5_1_5' Cloning into 'lua-5_1_5'... remote: Repository not found. fatal: repository 'https://github.com/trink/lua.git/' not found

markabey commented 5 years ago

@trink - was there a reason these repos had to be deleted? I think it might also affect https://github.com/trink/struct.git

It means that any older versions of software can't be built again. If they could be mirrored or reinstated somewhere (in a separate account if it clutters yours) then at least heka can still be built

markabey commented 5 years ago

https://github.com/mozilla-services/lua_sandbox/issues/209 has the repo

markabey commented 5 years ago

You can build it by pointing to the repo that @composit uploaded:

---------------------------- cmake/externals.cmake ----------------------------
index d882376..5140e52 100644
@@ -8,28 +8,28 @@ get_filename_component(GIT_PATH ${GIT_EXECUTABLE} PATH)
 find_program(PATCH_EXECUTABLE patch HINTS "${GIT_PATH}" "${GIT_PATH}/../bin")
 if (NOT PATCH_EXECUTABLE)
    message(FATAL_ERROR "patch not found")
 endif()

 set_property(DIRECTORY PROPERTY EP_BASE "${CMAKE_BINARY_DIR}/ep_base")

 if(INCLUDE_SANDBOX)
     set(PLUGIN_LOADER ${PLUGIN_LOADER} "github.com/mozilla-services/heka/sandbox/plugins")
     set(SANDBOX_PACKAGE "lua_sandbox")
     set(SANDBOX_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${PROJECT_PATH} -DLUA_JIT=off --no-warn-unused-cli)
     externalproject_add(
         ${SANDBOX_PACKAGE}
-        GIT_REPOSITORY https://github.com/mozilla-services/lua_sandbox.git
-        GIT_TAG 7abcb7c661c13c970fb9e928e428551671244911
+        GIT_REPOSITORY https://github.com/composit/lua_sandbox.git
+        GIT_TAG dd0f11dcc07a289bb236d4f255dc5e9caa2c4784
         CMAKE_ARGS ${SANDBOX_ARGS}
         INSTALL_DIR ${PROJECT_PATH}
     )
 endif()

 if ("$ENV{GOPATH}" STREQUAL "")
    message(FATAL_ERROR "No GOPATH environment variable has been set. $ENV{GOPATH}")
 endif()

 add_custom_target(GoPackages ALL)

 function(parse_url url)
     string(REGEX REPLACE ".*/" "" _name ${url})