ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Arbars <bystrov.arterm@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Cc: Michael Shigorin <mike@altlinux.org>
Subject: [devel] FTBFS: awesome-4.3-alt1
Date: Tue, 6 Dec 2022 14:00:50 +0300
Message-ID: <ef189e9b-4b4f-c2d0-ee44-5c71862dc583@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

https://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2022/1205/error/awesome-4.3-alt4

Сделал патч (в аттаче)

Локальная сборка проходит нормально.

[-- Attachment #2: 0001-change-lua-to-lua-5.3.patch --]
[-- Type: text/x-patch, Size: 3314 bytes --]

From e058a775a939b75b0ab6065ac5e3d804ed5f4bfe Mon Sep 17 00:00:00 2001
From: Artyom Bystrov <arbars@altlinux.org>
Date: Tue, 6 Dec 2022 13:05:40 +0300
Subject: [PATCH] change lua to lua-5.3

---
 awesome/CMakeLists.txt             | 2 +-
 awesome/awesomeConfig.cmake        | 8 ++++----
 awesome/docs/06-appearance.md.lua  | 2 +-
 awesome/docs/build_rules_index.lua | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/awesome/CMakeLists.txt b/awesome/CMakeLists.txt
index 9d3d3b4..087c33c 100644
--- a/awesome/CMakeLists.txt
+++ b/awesome/CMakeLists.txt
@@ -419,7 +419,7 @@ add_custom_target(check-themes
 add_dependencies(check check-themes)
 
 add_custom_target(check-requires
-    lua "${CMAKE_SOURCE_DIR}/build-utils/check_for_invalid_requires.lua"
+    lua-5.3 "${CMAKE_SOURCE_DIR}/build-utils/check_for_invalid_requires.lua"
     WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
     COMMENT "Checking use of require()"
     USES_TERMINAL
diff --git a/awesome/awesomeConfig.cmake b/awesome/awesomeConfig.cmake
index 79eae7e..7352f54 100644
--- a/awesome/awesomeConfig.cmake
+++ b/awesome/awesomeConfig.cmake
@@ -365,7 +365,7 @@ add_custom_command(TARGET setup_directories
 
 add_custom_command(
         OUTPUT ${BUILD_DIR}/docs/06-appearance.md
-        COMMAND lua ${SOURCE_DIR}/docs/06-appearance.md.lua
+        COMMAND lua-5.3 ${SOURCE_DIR}/docs/06-appearance.md.lua
         ${BUILD_DIR}/docs/06-appearance.md
         DEPENDS
             lgi-check-run
@@ -375,7 +375,7 @@ add_custom_command(
 
 add_custom_command(
         OUTPUT ${BUILD_DIR}/docs/common/rules_index.ldoc
-        COMMAND lua ${SOURCE_DIR}/docs/build_rules_index.lua
+        COMMAND lua-5.3 ${SOURCE_DIR}/docs/build_rules_index.lua
             ${BUILD_DIR}/docs/common/rules_index.ldoc
 
         # Cheap trick until the ldoc `configure_file` is ported to be a build
@@ -392,7 +392,7 @@ add_custom_command(
 add_custom_command(
         OUTPUT ${BUILD_DIR}/awesomerc.lua ${BUILD_DIR}/docs/05-awesomerc.md
             ${BUILD_DIR}/script_files/rc.lua
-        COMMAND lua ${SOURCE_DIR}/docs/05-awesomerc.md.lua
+        COMMAND lua-5.3 ${SOURCE_DIR}/docs/05-awesomerc.md.lua
         ${BUILD_DIR}/docs/05-awesomerc.md ${SOURCE_DIR}/awesomerc.lua
         ${BUILD_DIR}/awesomerc.lua
         ${BUILD_DIR}/script_files/rc.lua
@@ -401,7 +401,7 @@ add_custom_command(
 
 add_custom_command(
         OUTPUT ${BUILD_DIR}/script_files/theme.lua
-        COMMAND lua ${SOURCE_DIR}/docs/sample_theme.lua ${BUILD_DIR}/script_files/
+        COMMAND lua-5.3 ${SOURCE_DIR}/docs/sample_theme.lua ${BUILD_DIR}/script_files/
 )
 
 # Create a target for the auto-generated awesomerc.lua and other files
diff --git a/awesome/docs/06-appearance.md.lua b/awesome/docs/06-appearance.md.lua
index cfb583b..fbb6701 100644
--- a/awesome/docs/06-appearance.md.lua
+++ b/awesome/docs/06-appearance.md.lua
@@ -1,4 +1,4 @@
-#! /usr/bin/lua
+#! /usr/bin/lua-5.3
 local args = {...}
 local parser = require("docs._parser")
 
diff --git a/awesome/docs/build_rules_index.lua b/awesome/docs/build_rules_index.lua
index 1e9341c..84013cf 100644
--- a/awesome/docs/build_rules_index.lua
+++ b/awesome/docs/build_rules_index.lua
@@ -1,4 +1,4 @@
-#! /usr/bin/lua
+#! /usr/bin/lua-5.3
 local args = {...}
 local parser = require("docs._parser")
 
-- 
2.33.5


             reply	other threads:[~2022-12-06 11:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06 11:00 Arbars [this message]
2022-12-07  1:22 ` Ilya Mashkin
2022-12-07  8:57   ` Arbars

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef189e9b-4b4f-c2d0-ee44-5c71862dc583@gmail.com \
    --to=bystrov.arterm@gmail.com \
    --cc=devel@lists.altlinux.org \
    --cc=mike@altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git