Georgy noticed missing "" around variable, so we fixed this and now
Slackbuild with ccache set seems to work.

please test and commit if working.

ср, 23 апр. 2025 г., 21:43 Andrew Randrianasulu <[email protected]>:

> I tried to rebuild cingg Slackware package with my custom Slackbuild and
> noticed that BlendAlgebra breaks if I left out initial line from year 2016
>
> cc="ccache gcc"
>
> it seems that ccache breaks with unknown (for it) arguments like -noabi.
>
> Commenting this line from Slackbuild fixed it for me.
>
> At some point mass package building was done with ccache, but now probably
> only two Appimages build manually, so this error was unnoticed.
>
From 1b082f4062238a3b721627fc7e0ad4e7a503171a Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Thu, 1 May 2025 13:41:29 +0300
Subject: [PATCH] may be fix blendalgebra/blendprogram with ccache?

---
 cinelerra-5.1/plugins/blendalgebra/Makefile | 2 +-
 cinelerra-5.1/plugins/blendprogram/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cinelerra-5.1/plugins/blendalgebra/Makefile b/cinelerra-5.1/plugins/blendalgebra/Makefile
index 4db95d7b..50619852 100644
--- a/cinelerra-5.1/plugins/blendalgebra/Makefile
+++ b/cinelerra-5.1/plugins/blendalgebra/Makefile
@@ -61,7 +61,7 @@ $(OBJDIR)/blendalgebra.o: blendalgebra.C blendalgebra.h
 
 %.ba.so: %.ba $(FRONT) $(HELPER)
 	rm -f $@
-	CIN_CC=$(CC) CIN_DAT= ./$(HELPER) -noapi -compile -opt -warn $<
+	CIN_CC="$(CC)" CIN_DAT= ./$(HELPER) -noapi -compile -opt -warn $<
 
 all:: $(OUTPUT) $(BA_OBJS)
 
diff --git a/cinelerra-5.1/plugins/blendprogram/Makefile b/cinelerra-5.1/plugins/blendprogram/Makefile
index 4a7cdc0b..11ea3860 100644
--- a/cinelerra-5.1/plugins/blendprogram/Makefile
+++ b/cinelerra-5.1/plugins/blendprogram/Makefile
@@ -33,7 +33,7 @@ $(OBJDIR)/blendprogram.o: blendprogram.C blendprogram.h
 
 %.bp.so: %.bp $(FRONT) $(HELPER)
 	rm -f $@
-	CIN_CC=$(CC) CIN_DAT= ./$(HELPER) -noapi -compile -opt -warn $<
+	CIN_CC="$(CC)"  CIN_DAT= ./$(HELPER) -noapi -compile -opt -warn $<
 
 all:: $(OUTPUT) $(BP_OBJS)
 
-- 
2.49.0

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to