From 386850d7ce20c85e5b526a6649dd683395b71d49 Mon Sep 17 00:00:00 2001 From: such-gitea Date: Tue, 6 Jan 2026 07:05:41 -0800 Subject: [PATCH] Update .gitea/workflows/build.yaml --- .gitea/workflows/build.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 9128783..19e0f0a 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -122,7 +122,7 @@ jobs: rm -rf external/monero/contrib/depends/built/x86_64-w64-mingw32/boost rm -rf external/monero/contrib/depends/work/download/boost* - # --- 2. UPGRADE BOOST (The "Erase & Mock" Fix) --- + # --- 2. UPGRADE BOOST (The "Clean Slate" Fix) --- - name: Upgrade Boost Version to 1.80.0 run: | echo "Forcing depends to use Boost 1.80.0..." @@ -137,18 +137,18 @@ jobs: sed -i 's/chrono,/chrono,context,coroutine,/g' $BOOST_MK # 3. ERASE PATCH NAME (Target the filename directly) - # This leaves the variable empty: patches= sed -i 's/fix_aroptions.patch//g' $BOOST_MK - # 4. MOCK THE FILE (Safety Net) - # We insure the directory exists and create a 0-byte patch file. + # 4. MOCK THE FILE (Safety Net) + # CRITICAL FIX: Remove the accidental directory first! + rm -rf external/monero/contrib/depends/packages/boost/fix_aroptions.patch + + # Now create the directory and the empty file correctly mkdir -p external/monero/contrib/depends/packages/boost touch external/monero/contrib/depends/packages/boost/fix_aroptions.patch - # Debug: Verify changes - echo "--- Content of boost.mk ---" - cat $BOOST_MK - echo "--- Patch file status ---" + # Debug: Verify it is a file now + echo "--- Patch file status (Should be -rw-r--r--) ---" ls -l external/monero/contrib/depends/packages/boost/fix_aroptions.patch # --- 3. BUILD DEPENDENCIES ---