gitea 1.15.3 killed on M1 #7957

Closed
opened 2025-11-02 07:42:37 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @ian4hu on GitHub (Oct 9, 2021).

Gitea Version

1.15.3 (actually, all 1.14.x/1.15.x and 1.16)

Operating System

macOS M1

How are you running Gitea?

In terminal run gitea -h

➜  ~ gitea -h
[1]    25607 killed     gitea -h
➜  ~ sudo dmesg | grep gitea -C 2
RX: 20 01 00 00 00 00 14 00 10 01 00 DC 00 00 0A 00[SPI][HIDSPI]
TX: 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RX: 20 01 00 00 00 00 14 00 10 01 00 DD 00 00 0A 00CODE SIGNING: cs_invalid_page(0x102e70000): p=25547[gitea] final status 0x23000200, denying page sending SIGKILL
[1870926.658086]: CODE SIGNING: process 25547[gitea]: rejecting invalid page at address 0x102e70000 from offset 0x4000 in file "/opt/homebrew/Cellar/gitea/1.15.3/bin/gitea" (cs_mtime:1632248062.0 == mtime:1632248062.0) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0)
[1870926.658262]: CODE SIGNING: process 25547[gitea]: rejecting invalid page at address 0x102e70000 from offset 0x4000 in file "/opt/homebrew/Cellar/gitea/1.15.3/bin/gitea" (cs_mtime:1632248062.0 == mtime:1632248062.0) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0)
[1870926.658272]: Text page corruption detected in dying process 25547
--
[1870926.658272]: Text page corruption detected in dying process 25547
[1870926.658276]: gitea[25547] Corpse allowed 1 of 5
[1870926.937979]: Corpse released, count at 0
[1870927.235347]: [SPI][HIDSPI]
--
--
RX: 20 01 00 00 00 00 14 00 10 01 00 06 00 00 0A 00[SPI][HIDSPI]
TX: 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RX: 20 01 00 00 00 00 14 00 10 01 00 07 00 00 0A 00CODE SIGNING: cs_invalid_page(0x104280000): p=25607[gitea] final status 0x23000200, denying page sending SIGKILL
[1870944.680080]: CODE SIGNING: process 25607[gitea]: rejecting invalid page at address 0x104280000 from offset 0x4000 in file "/opt/homebrew/Cellar/gitea/1.15.3/bin/gitea" (cs_mtime:1632248062.0 == mtime:1632248062.0) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0)
[1870944.680206]: CODE SIGNING: process 25607[gitea]: rejecting invalid page at address 0x104280000 from offset 0x4000 in file "/opt/homebrew/Cellar/gitea/1.15.3/bin/gitea" (cs_mtime:1632248062.0 == mtime:1632248062.0) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0)
[1870944.680214]: Text page corruption detected in dying process 25607
--
[1870944.680214]: Text page corruption detected in dying process 25607
[1870944.680222]: gitea[25607] Corpse allowed 1 of 5
[1870944.695170]: LQM-WiFi:TX(04:F8:F8:B2:8D:60) AC<SU MS NB NRS NA CM EX TF FFP MRET FLE> BE<209 0 0 0 0 0 0 0 0 0 0> (5000ms)
[1870944.695186]: LQM-WiFi:TX(04:F8:F8:B2:8D:60) AC<SU MS NB NRS NA CM EX TF FFP MRET FLE> BK<0 0 0 0 0 0 0 0 0 0 0> (5000ms)
➜  ~

Installation step:

➜  ~ brew uninstall gitea
Uninstalling /opt/homebrew/Cellar/gitea/1.15.3... (3 files, 83.4MB)
➜  ~ HOMEBREW_VERBOSE=1 HOMEBREW_DEBUG=1 brew install gitea
+ [[ -z '' ]]
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ export HOMEBREW_UPDATE_TO_TAG=1
+ HOMEBREW_UPDATE_TO_TAG=1
+ [[ -e /opt/homebrew/Cellar ]]
+ [[ ! -w /opt/homebrew/Cellar ]]
+ [[ ! -w /opt/homebrew ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ git --version
+ [[ -n '' ]]
+ [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/shallow ]]
+ [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/shallow ]]
+ [[ -n '' ]]
+ SHALLOW_COMMAND_PHRASE='This command'
+ SHALLOW_REPO_PHRASE=repository
+ [[ -n '' ]]
+ [[ -n '' ]]
+ export GIT_TERMINAL_PROMPT=0
+ GIT_TERMINAL_PROMPT=0
+ export 'GIT_SSH_COMMAND=ssh -oBatchMode=yes'
+ GIT_SSH_COMMAND='ssh -oBatchMode=yes'
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -z 1 ]]
+ QUIET_ARGS=()
+ [[ -z '' ]]
+ CURL_DISABLE_CURLRC_ARGS=(-q)
+ lock update
+ local name=update
+ local lock_dir=/opt/homebrew/var/homebrew/locks
+ local lock_file=/opt/homebrew/var/homebrew/locks/update
+ [[ -d /opt/homebrew/var/homebrew/locks ]]
+ [[ ! -w /opt/homebrew/var/homebrew/locks ]]
+ exec
+ exec
+ _create_lock 200 update
+ local lock_fd=200
+ local name=update
+ local ruby=/usr/bin/ruby
+ local python=/usr/bin/python
+ [[ -x /usr/bin/ruby ]]
+ [[ -x /usr/bin/python ]]
+ [[ -x /usr/bin/ruby ]]
+ /usr/bin/ruby -e 'exit(RUBY_VERSION >= '\''1.8.7'\'')'
+ /usr/bin/ruby -e 'File.new(200).flock(File::LOCK_EX | File::LOCK_NB) || exit(1)'
+ git_init_if_necessary
+ safe_cd /opt/homebrew
+ cd /opt/homebrew
+ [[ ! -d .git ]]
+ [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-core ]]
+ safe_cd /opt/homebrew/Library/Taps/homebrew/homebrew-core
+ cd /opt/homebrew/Library/Taps/homebrew/homebrew-core
+ [[ ! -d .git ]]
+ [[ https://github.com/Homebrew/brew != \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/\H\o\m\e\b\r\e\w\/\b\r\e\w ]]
+ [[ https://github.com/Homebrew/homebrew-core != \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/\H\o\m\e\b\r\e\w\/\h\o\m\e\b\r\e\w\-\c\o\r\e ]]
+ safe_cd /opt/homebrew
+ cd /opt/homebrew
+ [[ -n '' ]]
+ trap '{ /usr/bin/pkill -P $$; wait; exit 130; }' SIGINT
+ local update_failed_file=/opt/homebrew/.git/UPDATE_FAILED
+ local missing_remote_ref_dirs_file=/opt/homebrew/.git/FAILED_FETCH_DIRS
+ rm -f /opt/homebrew/.git/UPDATE_FAILED
+ rm -f /opt/homebrew/.git/FAILED_FETCH_DIRS
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/.git ]]
+ cd /opt/homebrew
+ [[ -n 1 ]]
+ echo 'Checking if we need to fetch /opt/homebrew...'
Checking if we need to fetch /opt/homebrew...
++ repo_var /opt/homebrew
++ local repo_var
++ repo_var=/opt/homebrew
++ [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=
++ echo ''
+ TAP_VAR=
++ upstream_branch
++ local upstream_branch
+++ git symbolic-ref refs/remotes/origin/HEAD
++ upstream_branch=refs/remotes/origin/master
++ [[ -z refs/remotes/origin/master ]]
++ upstream_branch=master
++ [[ -z master ]]
++ echo master
+ UPSTREAM_BRANCH_DIR=master
+ declare UPSTREAM_BRANCH=master
++ git rev-parse -q --verify refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
+ declare PREFETCH_REVISION=68f011fd3bca0300eaeee345ca940aa71cbda4e5
+ [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ git tag --list
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git tag --list
+ [[ -z 0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.7.1
0.8
0.8.1
0.9
0.9.1
0.9.2
0.9.3
0.9.4
0.9.5
0.9.8
0.9.9
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.10
1.1.11
1.1.12
1.1.13
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.1.8
1.1.9
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7
1.3.8
1.3.9
1.4.0
1.4.1
1.4.2
1.4.3
1.5.0
1.5.1
1.5.10
1.5.11
1.5.12
1.5.13
1.5.14
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.5.7
1.5.8
1.5.9
1.6.0
1.6.1
1.6.10
1.6.11
1.6.12
1.6.13
1.6.14
1.6.15
1.6.16
1.6.17
1.6.2
1.6.3
1.6.4
1.6.5
1.6.6
1.6.7
1.6.8
1.6.9
1.7.0
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
1.7.6
1.7.7
1.8.0
1.8.1
1.8.2
1.8.3
1.8.4
1.8.5
1.8.6
1.9.0
1.9.1
1.9.2
1.9.3
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.1.0
2.1.1
2.1.10
2.1.11
2.1.12
2.1.13
2.1.14
2.1.15
2.1.16
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
2.1.8
2.1.9
2.2.0
2.2.1
2.2.10
2.2.11
2.2.12
2.2.13
2.2.14
2.2.15
2.2.16
2.2.17
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.3.0
2.4.0
2.4.1
2.4.10
2.4.11
2.4.12
2.4.13
2.4.14
2.4.15
2.4.16
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8
2.4.9
2.5.0
2.5.1
2.5.10
2.5.11
2.5.12
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
2.5.8
2.5.9
2.6.0
2.6.1
2.6.2
2.7.0
2.7.1
2.7.2
2.7.3
2.7.4
2.7.5
2.7.6
2.7.7
3.0.0
3.0.1
3.0.10
3.0.11
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.0.8
3.0.9
3.1.0
3.1.1
3.1.10
3.1.11
3.1.12
3.1.2
3.1.3
3.1.4
3.1.5
3.1.6
3.1.7
3.1.8
3.1.9
3.2.0
3.2.1
3.2.10
3.2.11
3.2.12
3.2.13
3.2.14
3.2.15
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.2.9 ]]
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/.git ]]
+ cd /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk
+ [[ -n 1 ]]
+ echo 'Checking if we need to fetch /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk...'
Checking if we need to fetch /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk...
++ git config remote.origin.url
++ repo_var /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk
++ local repo_var
++ [[ -z /opt/homebrew/bin/git ]]
++ repo_var=/opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk
++ /opt/homebrew/bin/git config remote.origin.url
++ [[ /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=/adoptopenjdk/homebrew-openjdk
+++ echo -n /adoptopenjdk/homebrew-openjdk
+++ tr -C A-Za-z0-9 _
+++ tr '[:lower:]' '[:upper:]'
++ repo_var=_ADOPTOPENJDK_HOMEBREW_OPENJDK
++ echo _ADOPTOPENJDK_HOMEBREW_OPENJDK
+ TAP_VAR=_ADOPTOPENJDK_HOMEBREW_OPENJDK
++ upstream_branch
++ local upstream_branch
+++ git symbolic-ref refs/remotes/origin/HEAD
+ UPSTREAM_REPOSITORY_URL=https://github.com/Homebrew/brew
+ [[ https://github.com/Homebrew/brew == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]]
+ UPSTREAM_REPOSITORY=Homebrew/brew
+ UPSTREAM_REPOSITORY=Homebrew/brew
+ [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
+ [[ -n 1 ]]
++ sed -n 's/^ETag: "\([a-f0-9]\{32\}\)".*/\1/p' .git/GITHUB_HEADERS
+ GITHUB_API_ETAG=
+ GITHUB_API_ACCEPT=application/vnd.github.v3+json
+ GITHUB_API_ENDPOINT=tags
++ curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3+json' --header 'If-None-Match: ""' https://api.github.com/repos/Homebrew/brew/tags
++ [[ -z '' ]]
+++ /opt/homebrew/Library/Homebrew/shims/shared/curl --homebrew=print-path
++ upstream_branch=refs/remotes/origin/master
++ [[ -z refs/remotes/origin/master ]]
++ upstream_branch=master
++ [[ -z master ]]
++ echo master
+ UPSTREAM_BRANCH_DIR=master
+ declare UPSTREAM_BRANCH_ADOPTOPENJDK_HOMEBREW_OPENJDK=master
++ git rev-parse -q --verify refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
+ declare PREFETCH_REVISION_ADOPTOPENJDK_HOMEBREW_OPENJDK=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304
+ [[ /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/Library/Taps/gitea/homebrew-tap/.git ]]
+ cd /opt/homebrew/Library/Taps/gitea/homebrew-tap
+ [[ -n 1 ]]
+ echo 'Checking if we need to fetch /opt/homebrew/Library/Taps/gitea/homebrew-tap...'
Checking if we need to fetch /opt/homebrew/Library/Taps/gitea/homebrew-tap...
++ repo_var /opt/homebrew/Library/Taps/gitea/homebrew-tap
++ git config remote.origin.url
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git config remote.origin.url
++ local repo_var
++ repo_var=/opt/homebrew/Library/Taps/gitea/homebrew-tap
++ [[ /opt/homebrew/Library/Taps/gitea/homebrew-tap == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=/gitea/homebrew-tap
+++ echo -n /gitea/homebrew-tap
+++ tr -C A-Za-z0-9 _
+++ tr '[:lower:]' '[:upper:]'
++ CURL_EXECUTABLE=/usr/bin/curl
++ /usr/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3+json' --header 'If-None-Match: ""' https://api.github.com/repos/Homebrew/brew/tags
++ repo_var=_GITEA_HOMEBREW_TAP
++ echo _GITEA_HOMEBREW_TAP
+ TAP_VAR=_GITEA_HOMEBREW_TAP
++ upstream_branch
++ local upstream_branch
+++ git symbolic-ref refs/remotes/origin/HEAD
+ UPSTREAM_REPOSITORY_URL=https://github.com/adoptopenjdk/homebrew-openjdk
+ [[ https://github.com/adoptopenjdk/homebrew-openjdk == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]]
+ UPSTREAM_REPOSITORY=adoptopenjdk/homebrew-openjdk
+ UPSTREAM_REPOSITORY=adoptopenjdk/homebrew-openjdk
+ [[ /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ git rev-parse refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse refs/remotes/origin/master
++ upstream_branch=refs/remotes/origin/master
++ [[ -z refs/remotes/origin/master ]]
++ upstream_branch=master
++ [[ -z master ]]
++ echo master
+ UPSTREAM_BRANCH_DIR=master
+ declare UPSTREAM_BRANCH_GITEA_HOMEBREW_TAP=master
++ git rev-parse -q --verify refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
+ GITHUB_API_ETAG=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304
+ GITHUB_API_ACCEPT=application/vnd.github.v3.sha
+ GITHUB_API_ENDPOINT=commits/master
++ curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3.sha' --header 'If-None-Match: "f6e8c971c98f5ba48aedf2a5d218ebc914ee2304"' https://api.github.com/repos/adoptopenjdk/homebrew-openjdk/commits/master
++ [[ -z '' ]]
+++ /opt/homebrew/Library/Homebrew/shims/shared/curl --homebrew=print-path
+ declare PREFETCH_REVISION_GITEA_HOMEBREW_TAP=910936873b71f04a8e347cf7c8f4663333ed373e
+ [[ /opt/homebrew/Library/Taps/gitea/homebrew-tap == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git ]]
+ cd /opt/homebrew/Library/Taps/homebrew/homebrew-cask
+ [[ -n 1 ]]
+ echo 'Checking if we need to fetch /opt/homebrew/Library/Taps/homebrew/homebrew-cask...'
Checking if we need to fetch /opt/homebrew/Library/Taps/homebrew/homebrew-cask...
++ git config remote.origin.url
++ [[ -z /opt/homebrew/bin/git ]]
++ repo_var /opt/homebrew/Library/Taps/homebrew/homebrew-cask
++ local repo_var
++ repo_var=/opt/homebrew/Library/Taps/homebrew/homebrew-cask
++ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-cask == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ /opt/homebrew/bin/git config remote.origin.url
++ repo_var=/homebrew/homebrew-cask
+++ echo -n /homebrew/homebrew-cask
+++ tr -C A-Za-z0-9 _
+++ tr '[:lower:]' '[:upper:]'
++ repo_var=_HOMEBREW_HOMEBREW_CASK
++ echo _HOMEBREW_HOMEBREW_CASK
+ TAP_VAR=_HOMEBREW_HOMEBREW_CASK
++ upstream_branch
++ local upstream_branch
+++ git symbolic-ref refs/remotes/origin/HEAD
+ UPSTREAM_REPOSITORY_URL=https://gitea.com/gitea/homebrew-gitea
+ [[ https://gitea.com/gitea/homebrew-gitea == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]]
+ [[ -n 1 ]]
++ git config homebrew.forceautoupdate
++ CURL_EXECUTABLE=/usr/bin/curl
++ /usr/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3.sha' --header 'If-None-Match: "f6e8c971c98f5ba48aedf2a5d218ebc914ee2304"' https://api.github.com/repos/adoptopenjdk/homebrew-openjdk/commits/master
++ echo false
+ FORCE_AUTO_UPDATE=false
+ [[ false != \t\r\u\e ]]
+ exit
++ upstream_branch=refs/remotes/origin/master
++ [[ -z refs/remotes/origin/master ]]
++ upstream_branch=master
++ [[ -z master ]]
++ echo master
+ UPSTREAM_BRANCH_DIR=master
+ declare UPSTREAM_BRANCH_HOMEBREW_HOMEBREW_CASK=master
++ git rev-parse -q --verify refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
+ declare PREFETCH_REVISION_HOMEBREW_HOMEBREW_CASK=b1b360d8b7d5e6a7da37acd7978c4317a0487896
+ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-cask == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git ]]
+ cd /opt/homebrew/Library/Taps/homebrew/homebrew-core
+ [[ -n 1 ]]
+ echo 'Checking if we need to fetch /opt/homebrew/Library/Taps/homebrew/homebrew-core...'
Checking if we need to fetch /opt/homebrew/Library/Taps/homebrew/homebrew-core...
++ repo_var /opt/homebrew/Library/Taps/homebrew/homebrew-core
++ local repo_var
++ repo_var=/opt/homebrew/Library/Taps/homebrew/homebrew-core
++ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-core == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=/homebrew/homebrew-core
++ git config remote.origin.url
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git config remote.origin.url
+++ echo -n /homebrew/homebrew-core
+++ tr -C A-Za-z0-9 _
+++ tr '[:lower:]' '[:upper:]'
++ repo_var=_HOMEBREW_HOMEBREW_CORE
++ echo _HOMEBREW_HOMEBREW_CORE
+ TAP_VAR=_HOMEBREW_HOMEBREW_CORE
++ upstream_branch
++ local upstream_branch
+++ git symbolic-ref refs/remotes/origin/HEAD
+ UPSTREAM_REPOSITORY_URL=https://github.com/Homebrew/homebrew-cask
+ [[ https://github.com/Homebrew/homebrew-cask == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]]
+ UPSTREAM_REPOSITORY=Homebrew/homebrew-cask
+ UPSTREAM_REPOSITORY=Homebrew/homebrew-cask
+ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-cask == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ git rev-parse refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse refs/remotes/origin/master
++ upstream_branch=refs/remotes/origin/master
++ [[ -z refs/remotes/origin/master ]]
++ upstream_branch=master
++ [[ -z master ]]
++ echo master
+ UPSTREAM_BRANCH_DIR=master
+ declare UPSTREAM_BRANCH_HOMEBREW_HOMEBREW_CORE=master
+ GITHUB_API_ETAG=b1b360d8b7d5e6a7da37acd7978c4317a0487896
+ GITHUB_API_ACCEPT=application/vnd.github.v3.sha
+ GITHUB_API_ENDPOINT=commits/master
++ curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3.sha' --header 'If-None-Match: "b1b360d8b7d5e6a7da37acd7978c4317a0487896"' https://api.github.com/repos/Homebrew/homebrew-cask/commits/master
++ git rev-parse -q --verify refs/remotes/origin/master
++ [[ -z '' ]]
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
+++ /opt/homebrew/Library/Homebrew/shims/shared/curl --homebrew=print-path
+ declare PREFETCH_REVISION_HOMEBREW_HOMEBREW_CORE=34dd01c281a2085c1b250846f871ed4ddf94a561
+ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-core == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
+ [[ -z '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ wait
++ git config remote.origin.url
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git config remote.origin.url
++ CURL_EXECUTABLE=/usr/bin/curl
+ UPSTREAM_REPOSITORY_URL=https://github.com/Homebrew/homebrew-core
+ [[ https://github.com/Homebrew/homebrew-core == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]]
+ UPSTREAM_REPOSITORY=Homebrew/homebrew-core
+ UPSTREAM_REPOSITORY=Homebrew/homebrew-core
++ /usr/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3.sha' --header 'If-None-Match: "b1b360d8b7d5e6a7da37acd7978c4317a0487896"' https://api.github.com/repos/Homebrew/homebrew-cask/commits/master
+ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-core == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ git rev-parse refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse refs/remotes/origin/master
+ GITHUB_API_ETAG=34dd01c281a2085c1b250846f871ed4ddf94a561
+ GITHUB_API_ACCEPT=application/vnd.github.v3.sha
+ GITHUB_API_ENDPOINT=commits/master
++ curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3.sha' --header 'If-None-Match: "34dd01c281a2085c1b250846f871ed4ddf94a561"' https://api.github.com/repos/Homebrew/homebrew-core/commits/master
++ [[ -z '' ]]
+++ /opt/homebrew/Library/Homebrew/shims/shared/curl --homebrew=print-path
++ CURL_EXECUTABLE=/usr/bin/curl
++ /usr/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3.sha' --header 'If-None-Match: "34dd01c281a2085c1b250846f871ed4ddf94a561"' https://api.github.com/repos/Homebrew/homebrew-core/commits/master
+ UPSTREAM_SHA_HTTP_CODE=304
+ [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/FETCH_HEAD ]]
+ touch /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/FETCH_HEAD
+ UPSTREAM_SHA_HTTP_CODE=304
+ [[ -f /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/.git/FETCH_HEAD ]]
+ touch /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/.git/FETCH_HEAD
+ [[ -z '' ]]
+ [[ 304 == \3\0\4 ]]
+ exit
+ [[ -z '' ]]
+ [[ 304 == \3\0\4 ]]
+ exit
+ UPSTREAM_SHA_HTTP_CODE=304
+ [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/FETCH_HEAD ]]
+ touch /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/FETCH_HEAD
+ [[ -z '' ]]
+ [[ 304 == \3\0\4 ]]
+ exit
+ UPSTREAM_SHA_HTTP_CODE=200
+ [[ -f /opt/homebrew/.git/FETCH_HEAD ]]
+ touch /opt/homebrew/.git/FETCH_HEAD
+ [[ -z '' ]]
+ [[ 200 == \3\0\4 ]]
+ [[ -n 1 ]]
+ echo 'Fetching /opt/homebrew...'
Fetching /opt/homebrew...
+ local tmp_failure_file=/opt/homebrew/.git/TMP_FETCH_FAILURES
+ rm -f /opt/homebrew/.git/TMP_FETCH_FAILURES
+ [[ -n 1 ]]
+ git fetch --tags --force origin refs/heads/master:refs/remotes/origin/master
+ rm -f /opt/homebrew/.git/TMP_FETCH_FAILURES
+ trap - SIGINT
+ [[ -f /opt/homebrew/.git/UPDATE_FAILED ]]
+ [[ -f /opt/homebrew/.git/FAILED_FETCH_DIRS ]]
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/.git ]]
+ cd /opt/homebrew
++ repo_var /opt/homebrew
++ local repo_var
++ repo_var=/opt/homebrew
++ [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=
++ echo ''
+ TAP_VAR=
+ UPSTREAM_BRANCH_VAR=UPSTREAM_BRANCH
+ UPSTREAM_BRANCH=master
++ read_current_revision
++ git rev-parse -q --verify HEAD
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify HEAD
+ CURRENT_REVISION=92749f9c5243691f8e576aa1227cb9ebba509cd4
+ PREFETCH_REVISION_VAR=PREFETCH_REVISION
+ PREFETCH_REVISION=68f011fd3bca0300eaeee345ca940aa71cbda4e5
++ git rev-parse -q --verify refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
+ POSTFETCH_REVISION=68f011fd3bca0300eaeee345ca940aa71cbda4e5
+ [[ -n '' ]]
+ [[ -z '' ]]
+ [[ 68f011fd3bca0300eaeee345ca940aa71cbda4e5 == \6\8\f\0\1\1\f\d\3\b\c\a\0\3\0\0\e\a\e\e\e\3\4\5\c\a\9\4\0\a\a\7\1\c\b\d\a\4\e\5 ]]
+ [[ 92749f9c5243691f8e576aa1227cb9ebba509cd4 == \6\8\f\0\1\1\f\d\3\b\c\a\0\3\0\0\e\a\e\e\e\3\4\5\c\a\9\4\0\a\a\7\1\c\b\d\a\4\e\5 ]]
+ merge_or_rebase /opt/homebrew '' master
+ [[ -n 1 ]]
+ echo 'Updating /opt/homebrew...'
Updating /opt/homebrew...
+ local DIR
+ local TAP_VAR
+ local UPSTREAM_BRANCH
+ DIR=/opt/homebrew
+ cd /opt/homebrew
+ TAP_VAR=
+ UPSTREAM_BRANCH=master
+ unset STASHED
+ trap reset_on_interrupt SIGINT
+ [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
+ [[ -n 1 ]]
++ git tag --list
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git tag --list
++ sort --field-separator=. --key=1,1nr -k 2,2nr -k 3,3nr
++ grep --max-count=1 '^[0-9]*\.[0-9]*\.[0-9]*$'
+ UPSTREAM_TAG=3.2.15
+ [[ -n 3.2.15 ]]
+ REMOTE_REF=refs/tags/3.2.15
+ UPSTREAM_BRANCH=stable
++ git status --untracked-files=all --porcelain
+ [[ -n '' ]]
++ git symbolic-ref --short HEAD
+ INITIAL_BRANCH=stable
+ [[ -n 3.2.15 ]]
+ [[ -z 3.2.15 ]]
+ [[ -n 3.2.15 ]]
+ [[ stable != \m\a\s\t\e\r ]]
+ git checkout --force -B master origin/master
+ [[ -z /opt/homebrew/bin/git ]]
+ /opt/homebrew/bin/git checkout --force -B master origin/master
Branch 'master' set up to track remote branch 'master' from 'origin'.
Switched to and reset branch 'master'
Your branch is up to date with 'origin/master'.
+ git checkout --force -B stable refs/tags/3.2.15
+ [[ -z /opt/homebrew/bin/git ]]
+ /opt/homebrew/bin/git checkout --force -B stable refs/tags/3.2.15
Switched to and reset branch 'stable'
++ read_current_revision
++ git rev-parse -q --verify HEAD
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify HEAD
+ INITIAL_REVISION=92749f9c5243691f8e576aa1227cb9ebba509cd4
+ export HOMEBREW_UPDATE_BEFORE=92749f9c5243691f8e576aa1227cb9ebba509cd4
+ HOMEBREW_UPDATE_BEFORE=92749f9c5243691f8e576aa1227cb9ebba509cd4
+ git config core.autocrlf false
+ [[ -z /opt/homebrew/bin/git ]]
+ /opt/homebrew/bin/git config core.autocrlf false
+ [[ -z '' ]]
+ [[ -z 1 ]]
+ git rebase refs/tags/3.2.15
+ [[ -z /opt/homebrew/bin/git ]]
+ /opt/homebrew/bin/git rebase refs/tags/3.2.15
Current branch stable is up to date.
++ read_current_revision
++ git rev-parse -q --verify HEAD
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify HEAD
+ CURRENT_REVISION=92749f9c5243691f8e576aa1227cb9ebba509cd4
+ export HOMEBREW_UPDATE_AFTER=92749f9c5243691f8e576aa1227cb9ebba509cd4
+ HOMEBREW_UPDATE_AFTER=92749f9c5243691f8e576aa1227cb9ebba509cd4
+ [[ 92749f9c5243691f8e576aa1227cb9ebba509cd4 != \9\2\7\4\9\f\9\c\5\2\4\3\6\9\1\f\8\e\5\7\6\a\a\1\2\2\7\c\b\9\e\b\b\a\5\0\9\c\d\4 ]]
+ trap '' SIGINT
+ [[ -n '' ]]
+ pop_stash_message
+ [[ -z '' ]]
+ return
+ trap - SIGINT
+ [[ -n 1 ]]
+ echo

+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/.git ]]
+ cd /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk
++ repo_var /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk
++ local repo_var
++ repo_var=/opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk
++ [[ /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=/adoptopenjdk/homebrew-openjdk
+++ echo -n /adoptopenjdk/homebrew-openjdk
+++ tr -C A-Za-z0-9 _
+++ tr '[:lower:]' '[:upper:]'
++ repo_var=_ADOPTOPENJDK_HOMEBREW_OPENJDK
++ echo _ADOPTOPENJDK_HOMEBREW_OPENJDK
+ TAP_VAR=_ADOPTOPENJDK_HOMEBREW_OPENJDK
+ UPSTREAM_BRANCH_VAR=UPSTREAM_BRANCH_ADOPTOPENJDK_HOMEBREW_OPENJDK
+ UPSTREAM_BRANCH=master
++ read_current_revision
++ git rev-parse -q --verify HEAD
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify HEAD
+ CURRENT_REVISION=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304
+ PREFETCH_REVISION_VAR=PREFETCH_REVISION_ADOPTOPENJDK_HOMEBREW_OPENJDK
+ PREFETCH_REVISION=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304
++ git rev-parse -q --verify refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
+ POSTFETCH_REVISION=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304
+ [[ -n '' ]]
+ [[ -z '' ]]
+ [[ f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 == \f\6\e\8\c\9\7\1\c\9\8\f\5\b\a\4\8\a\e\d\f\2\a\5\d\2\1\8\e\b\c\9\1\4\e\e\2\3\0\4 ]]
+ [[ f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 == \f\6\e\8\c\9\7\1\c\9\8\f\5\b\a\4\8\a\e\d\f\2\a\5\d\2\1\8\e\b\c\9\1\4\e\e\2\3\0\4 ]]
+ export HOMEBREW_UPDATE_BEFORE_ADOPTOPENJDK_HOMEBREW_OPENJDK=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304
+ HOMEBREW_UPDATE_BEFORE_ADOPTOPENJDK_HOMEBREW_OPENJDK=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304
+ export HOMEBREW_UPDATE_AFTER_ADOPTOPENJDK_HOMEBREW_OPENJDK=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304
+ HOMEBREW_UPDATE_AFTER_ADOPTOPENJDK_HOMEBREW_OPENJDK=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/Library/Taps/gitea/homebrew-tap/.git ]]
+ cd /opt/homebrew/Library/Taps/gitea/homebrew-tap
++ repo_var /opt/homebrew/Library/Taps/gitea/homebrew-tap
++ local repo_var
++ repo_var=/opt/homebrew/Library/Taps/gitea/homebrew-tap
++ [[ /opt/homebrew/Library/Taps/gitea/homebrew-tap == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=/gitea/homebrew-tap
+++ echo -n /gitea/homebrew-tap
+++ tr -C A-Za-z0-9 _
+++ tr '[:lower:]' '[:upper:]'
++ repo_var=_GITEA_HOMEBREW_TAP
++ echo _GITEA_HOMEBREW_TAP
+ TAP_VAR=_GITEA_HOMEBREW_TAP
+ UPSTREAM_BRANCH_VAR=UPSTREAM_BRANCH_GITEA_HOMEBREW_TAP
+ UPSTREAM_BRANCH=master
++ read_current_revision
++ git rev-parse -q --verify HEAD
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify HEAD
+ CURRENT_REVISION=910936873b71f04a8e347cf7c8f4663333ed373e
+ PREFETCH_REVISION_VAR=PREFETCH_REVISION_GITEA_HOMEBREW_TAP
+ PREFETCH_REVISION=910936873b71f04a8e347cf7c8f4663333ed373e
++ git rev-parse -q --verify refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
+ POSTFETCH_REVISION=910936873b71f04a8e347cf7c8f4663333ed373e
+ [[ -n '' ]]
+ [[ -z '' ]]
+ [[ 910936873b71f04a8e347cf7c8f4663333ed373e == \9\1\0\9\3\6\8\7\3\b\7\1\f\0\4\a\8\e\3\4\7\c\f\7\c\8\f\4\6\6\3\3\3\3\e\d\3\7\3\e ]]
+ [[ 910936873b71f04a8e347cf7c8f4663333ed373e == \9\1\0\9\3\6\8\7\3\b\7\1\f\0\4\a\8\e\3\4\7\c\f\7\c\8\f\4\6\6\3\3\3\3\e\d\3\7\3\e ]]
+ export HOMEBREW_UPDATE_BEFORE_GITEA_HOMEBREW_TAP=910936873b71f04a8e347cf7c8f4663333ed373e
+ HOMEBREW_UPDATE_BEFORE_GITEA_HOMEBREW_TAP=910936873b71f04a8e347cf7c8f4663333ed373e
+ export HOMEBREW_UPDATE_AFTER_GITEA_HOMEBREW_TAP=910936873b71f04a8e347cf7c8f4663333ed373e
+ HOMEBREW_UPDATE_AFTER_GITEA_HOMEBREW_TAP=910936873b71f04a8e347cf7c8f4663333ed373e
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git ]]
+ cd /opt/homebrew/Library/Taps/homebrew/homebrew-cask
++ repo_var /opt/homebrew/Library/Taps/homebrew/homebrew-cask
++ local repo_var
++ repo_var=/opt/homebrew/Library/Taps/homebrew/homebrew-cask
++ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-cask == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=/homebrew/homebrew-cask
+++ echo -n /homebrew/homebrew-cask
+++ tr -C A-Za-z0-9 _
+++ tr '[:lower:]' '[:upper:]'
++ repo_var=_HOMEBREW_HOMEBREW_CASK
++ echo _HOMEBREW_HOMEBREW_CASK
+ TAP_VAR=_HOMEBREW_HOMEBREW_CASK
+ UPSTREAM_BRANCH_VAR=UPSTREAM_BRANCH_HOMEBREW_HOMEBREW_CASK
+ UPSTREAM_BRANCH=master
++ read_current_revision
++ git rev-parse -q --verify HEAD
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify HEAD
+ CURRENT_REVISION=b1b360d8b7d5e6a7da37acd7978c4317a0487896
+ PREFETCH_REVISION_VAR=PREFETCH_REVISION_HOMEBREW_HOMEBREW_CASK
+ PREFETCH_REVISION=b1b360d8b7d5e6a7da37acd7978c4317a0487896
++ git rev-parse -q --verify refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
+ POSTFETCH_REVISION=b1b360d8b7d5e6a7da37acd7978c4317a0487896
+ [[ -n '' ]]
+ [[ -z '' ]]
+ [[ b1b360d8b7d5e6a7da37acd7978c4317a0487896 == \b\1\b\3\6\0\d\8\b\7\d\5\e\6\a\7\d\a\3\7\a\c\d\7\9\7\8\c\4\3\1\7\a\0\4\8\7\8\9\6 ]]
+ [[ b1b360d8b7d5e6a7da37acd7978c4317a0487896 == \b\1\b\3\6\0\d\8\b\7\d\5\e\6\a\7\d\a\3\7\a\c\d\7\9\7\8\c\4\3\1\7\a\0\4\8\7\8\9\6 ]]
+ export HOMEBREW_UPDATE_BEFORE_HOMEBREW_HOMEBREW_CASK=b1b360d8b7d5e6a7da37acd7978c4317a0487896
+ HOMEBREW_UPDATE_BEFORE_HOMEBREW_HOMEBREW_CASK=b1b360d8b7d5e6a7da37acd7978c4317a0487896
+ export HOMEBREW_UPDATE_AFTER_HOMEBREW_HOMEBREW_CASK=b1b360d8b7d5e6a7da37acd7978c4317a0487896
+ HOMEBREW_UPDATE_AFTER_HOMEBREW_HOMEBREW_CASK=b1b360d8b7d5e6a7da37acd7978c4317a0487896
+ for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*'
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git ]]
+ cd /opt/homebrew/Library/Taps/homebrew/homebrew-core
++ repo_var /opt/homebrew/Library/Taps/homebrew/homebrew-core
++ local repo_var
++ repo_var=/opt/homebrew/Library/Taps/homebrew/homebrew-core
++ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-core == \/\o\p\t\/\h\o\m\e\b\r\e\w ]]
++ repo_var=/homebrew/homebrew-core
+++ echo -n /homebrew/homebrew-core
+++ tr -C A-Za-z0-9 _
+++ tr '[:lower:]' '[:upper:]'
++ repo_var=_HOMEBREW_HOMEBREW_CORE
++ echo _HOMEBREW_HOMEBREW_CORE
+ TAP_VAR=_HOMEBREW_HOMEBREW_CORE
+ UPSTREAM_BRANCH_VAR=UPSTREAM_BRANCH_HOMEBREW_HOMEBREW_CORE
+ UPSTREAM_BRANCH=master
++ read_current_revision
++ git rev-parse -q --verify HEAD
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify HEAD
+ CURRENT_REVISION=34dd01c281a2085c1b250846f871ed4ddf94a561
+ PREFETCH_REVISION_VAR=PREFETCH_REVISION_HOMEBREW_HOMEBREW_CORE
+ PREFETCH_REVISION=34dd01c281a2085c1b250846f871ed4ddf94a561
++ git rev-parse -q --verify refs/remotes/origin/master
++ [[ -z /opt/homebrew/bin/git ]]
++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master
+ POSTFETCH_REVISION=34dd01c281a2085c1b250846f871ed4ddf94a561
+ [[ -n '' ]]
+ [[ -z '' ]]
+ [[ 34dd01c281a2085c1b250846f871ed4ddf94a561 == \3\4\d\d\0\1\c\2\8\1\a\2\0\8\5\c\1\b\2\5\0\8\4\6\f\8\7\1\e\d\4\d\d\f\9\4\a\5\6\1 ]]
+ [[ 34dd01c281a2085c1b250846f871ed4ddf94a561 == \3\4\d\d\0\1\c\2\8\1\a\2\0\8\5\c\1\b\2\5\0\8\4\6\f\8\7\1\e\d\4\d\d\f\9\4\a\5\6\1 ]]
+ export HOMEBREW_UPDATE_BEFORE_HOMEBREW_HOMEBREW_CORE=34dd01c281a2085c1b250846f871ed4ddf94a561
+ HOMEBREW_UPDATE_BEFORE_HOMEBREW_HOMEBREW_CORE=34dd01c281a2085c1b250846f871ed4ddf94a561
+ export HOMEBREW_UPDATE_AFTER_HOMEBREW_HOMEBREW_CORE=34dd01c281a2085c1b250846f871ed4ddf94a561
+ HOMEBREW_UPDATE_AFTER_HOMEBREW_HOMEBREW_CORE=34dd01c281a2085c1b250846f871ed4ddf94a561
+ safe_cd /opt/homebrew
+ cd /opt/homebrew
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -d /opt/homebrew/Library/LinkedKegs ]]
+ [[ ! -f /Users/ian/Library/Caches/Homebrew/all_commands_list.txt ]]
+ [[ -n '' ]]
+ [[ -z 1 ]]
+ exit 0
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/gitea/homebrew-tap/gitea.rb
==> Downloading https://dl.gitea.io/gitea/1.15.3/gitea-1.15.3-darwin-10.12-arm64.xz
/opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie-jar /dev/null --globoff --show-error --user-agent Homebrew/3.2.15\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 11.6\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://dl.gitea.io/gitea/1.15.3/gitea-1.15.3-darwin-10.12-arm64.xz
Already downloaded: /Users/ian/Library/Caches/Homebrew/downloads/eded8aeacbd23fd20f6766d903e2e70e473b81f99ef1126e564701bc4929e3b4--gitea-1.15.3-darwin-10.12-arm64.xz
==> Verifying checksum for 'eded8aeacbd23fd20f6766d903e2e70e473b81f99ef1126e564701bc4929e3b4--gitea-1.15.3-darwin-10.12-arm64.xz'
==> Installing gitea from gitea/tap
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/gitea/homebrew-tap/gitea-head.rb
/opt/homebrew/Library/Homebrew/shims/shared/git --version
==> Fixing /opt/homebrew/Cellar/gitea/1.15.3/bin/gitea permissions from 666 to 555
ln -s ../Cellar/gitea/1.15.3/bin/gitea gitea
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /opt/homebrew/opt/gitea/.brew/gitea.rb
🍺  /opt/homebrew/Cellar/gitea/1.15.3: 3 files, 83.4MB, built in 3 seconds
Originally created by @ian4hu on GitHub (Oct 9, 2021). ### Gitea Version 1.15.3 (actually, all 1.14.x/1.15.x and 1.16) ### Operating System macOS M1 ### How are you running Gitea? In terminal run `gitea -h` ```text ➜ ~ gitea -h [1] 25607 killed gitea -h ➜ ~ sudo dmesg | grep gitea -C 2 RX: 20 01 00 00 00 00 14 00 10 01 00 DC 00 00 0A 00[SPI][HIDSPI] TX: 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 RX: 20 01 00 00 00 00 14 00 10 01 00 DD 00 00 0A 00CODE SIGNING: cs_invalid_page(0x102e70000): p=25547[gitea] final status 0x23000200, denying page sending SIGKILL [1870926.658086]: CODE SIGNING: process 25547[gitea]: rejecting invalid page at address 0x102e70000 from offset 0x4000 in file "/opt/homebrew/Cellar/gitea/1.15.3/bin/gitea" (cs_mtime:1632248062.0 == mtime:1632248062.0) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0) [1870926.658262]: CODE SIGNING: process 25547[gitea]: rejecting invalid page at address 0x102e70000 from offset 0x4000 in file "/opt/homebrew/Cellar/gitea/1.15.3/bin/gitea" (cs_mtime:1632248062.0 == mtime:1632248062.0) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0) [1870926.658272]: Text page corruption detected in dying process 25547 -- [1870926.658272]: Text page corruption detected in dying process 25547 [1870926.658276]: gitea[25547] Corpse allowed 1 of 5 [1870926.937979]: Corpse released, count at 0 [1870927.235347]: [SPI][HIDSPI] -- -- RX: 20 01 00 00 00 00 14 00 10 01 00 06 00 00 0A 00[SPI][HIDSPI] TX: 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 RX: 20 01 00 00 00 00 14 00 10 01 00 07 00 00 0A 00CODE SIGNING: cs_invalid_page(0x104280000): p=25607[gitea] final status 0x23000200, denying page sending SIGKILL [1870944.680080]: CODE SIGNING: process 25607[gitea]: rejecting invalid page at address 0x104280000 from offset 0x4000 in file "/opt/homebrew/Cellar/gitea/1.15.3/bin/gitea" (cs_mtime:1632248062.0 == mtime:1632248062.0) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0) [1870944.680206]: CODE SIGNING: process 25607[gitea]: rejecting invalid page at address 0x104280000 from offset 0x4000 in file "/opt/homebrew/Cellar/gitea/1.15.3/bin/gitea" (cs_mtime:1632248062.0 == mtime:1632248062.0) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0) [1870944.680214]: Text page corruption detected in dying process 25607 -- [1870944.680214]: Text page corruption detected in dying process 25607 [1870944.680222]: gitea[25607] Corpse allowed 1 of 5 [1870944.695170]: LQM-WiFi:TX(04:F8:F8:B2:8D:60) AC<SU MS NB NRS NA CM EX TF FFP MRET FLE> BE<209 0 0 0 0 0 0 0 0 0 0> (5000ms) [1870944.695186]: LQM-WiFi:TX(04:F8:F8:B2:8D:60) AC<SU MS NB NRS NA CM EX TF FFP MRET FLE> BK<0 0 0 0 0 0 0 0 0 0 0> (5000ms) ➜ ~ ``` Installation step: <details> ```text ➜ ~ brew uninstall gitea Uninstalling /opt/homebrew/Cellar/gitea/1.15.3... (3 files, 83.4MB) ➜ ~ HOMEBREW_VERBOSE=1 HOMEBREW_DEBUG=1 brew install gitea + [[ -z '' ]] + [[ -z '' ]] + [[ -n '' ]] + [[ -n '' ]] + export HOMEBREW_UPDATE_TO_TAG=1 + HOMEBREW_UPDATE_TO_TAG=1 + [[ -e /opt/homebrew/Cellar ]] + [[ ! -w /opt/homebrew/Cellar ]] + [[ ! -w /opt/homebrew ]] + [[ -n '' ]] + [[ -n '' ]] + git --version + [[ -n '' ]] + [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/shallow ]] + [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/shallow ]] + [[ -n '' ]] + SHALLOW_COMMAND_PHRASE='This command' + SHALLOW_REPO_PHRASE=repository + [[ -n '' ]] + [[ -n '' ]] + export GIT_TERMINAL_PROMPT=0 + GIT_TERMINAL_PROMPT=0 + export 'GIT_SSH_COMMAND=ssh -oBatchMode=yes' + GIT_SSH_COMMAND='ssh -oBatchMode=yes' + [[ -n '' ]] + [[ -n '' ]] + [[ -z 1 ]] + QUIET_ARGS=() + [[ -z '' ]] + CURL_DISABLE_CURLRC_ARGS=(-q) + lock update + local name=update + local lock_dir=/opt/homebrew/var/homebrew/locks + local lock_file=/opt/homebrew/var/homebrew/locks/update + [[ -d /opt/homebrew/var/homebrew/locks ]] + [[ ! -w /opt/homebrew/var/homebrew/locks ]] + exec + exec + _create_lock 200 update + local lock_fd=200 + local name=update + local ruby=/usr/bin/ruby + local python=/usr/bin/python + [[ -x /usr/bin/ruby ]] + [[ -x /usr/bin/python ]] + [[ -x /usr/bin/ruby ]] + /usr/bin/ruby -e 'exit(RUBY_VERSION >= '\''1.8.7'\'')' + /usr/bin/ruby -e 'File.new(200).flock(File::LOCK_EX | File::LOCK_NB) || exit(1)' + git_init_if_necessary + safe_cd /opt/homebrew + cd /opt/homebrew + [[ ! -d .git ]] + [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-core ]] + safe_cd /opt/homebrew/Library/Taps/homebrew/homebrew-core + cd /opt/homebrew/Library/Taps/homebrew/homebrew-core + [[ ! -d .git ]] + [[ https://github.com/Homebrew/brew != \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/\H\o\m\e\b\r\e\w\/\b\r\e\w ]] + [[ https://github.com/Homebrew/homebrew-core != \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/\H\o\m\e\b\r\e\w\/\h\o\m\e\b\r\e\w\-\c\o\r\e ]] + safe_cd /opt/homebrew + cd /opt/homebrew + [[ -n '' ]] + trap '{ /usr/bin/pkill -P $$; wait; exit 130; }' SIGINT + local update_failed_file=/opt/homebrew/.git/UPDATE_FAILED + local missing_remote_ref_dirs_file=/opt/homebrew/.git/FAILED_FETCH_DIRS + rm -f /opt/homebrew/.git/UPDATE_FAILED + rm -f /opt/homebrew/.git/FAILED_FETCH_DIRS + for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*' + [[ -n '' ]] + [[ -d /opt/homebrew/.git ]] + cd /opt/homebrew + [[ -n 1 ]] + echo 'Checking if we need to fetch /opt/homebrew...' Checking if we need to fetch /opt/homebrew... ++ repo_var /opt/homebrew ++ local repo_var ++ repo_var=/opt/homebrew ++ [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ repo_var= ++ echo '' + TAP_VAR= ++ upstream_branch ++ local upstream_branch +++ git symbolic-ref refs/remotes/origin/HEAD ++ upstream_branch=refs/remotes/origin/master ++ [[ -z refs/remotes/origin/master ]] ++ upstream_branch=master ++ [[ -z master ]] ++ echo master + UPSTREAM_BRANCH_DIR=master + declare UPSTREAM_BRANCH=master ++ git rev-parse -q --verify refs/remotes/origin/master ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master + declare PREFETCH_REVISION=68f011fd3bca0300eaeee345ca940aa71cbda4e5 + [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ git tag --list ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git tag --list + [[ -z 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.7.1 0.8 0.8.1 0.9 0.9.1 0.9.2 0.9.3 0.9.4 0.9.5 0.9.8 0.9.9 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.10 1.5.11 1.5.12 1.5.13 1.5.14 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.10 1.6.11 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.9.0 1.9.1 1.9.2 1.9.3 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.10 2.2.11 2.2.12 2.2.13 2.2.14 2.2.15 2.2.16 2.2.17 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 3.0.0 3.0.1 3.0.10 3.0.11 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 3.1.11 3.1.12 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 ]] + [[ -z '' ]] + [[ -n '' ]] + [[ -n '' ]] + for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*' + [[ -n '' ]] + [[ -d /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/.git ]] + cd /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk + [[ -n 1 ]] + echo 'Checking if we need to fetch /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk...' Checking if we need to fetch /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk... ++ git config remote.origin.url ++ repo_var /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk ++ local repo_var ++ [[ -z /opt/homebrew/bin/git ]] ++ repo_var=/opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk ++ /opt/homebrew/bin/git config remote.origin.url ++ [[ /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ repo_var=/adoptopenjdk/homebrew-openjdk +++ echo -n /adoptopenjdk/homebrew-openjdk +++ tr -C A-Za-z0-9 _ +++ tr '[:lower:]' '[:upper:]' ++ repo_var=_ADOPTOPENJDK_HOMEBREW_OPENJDK ++ echo _ADOPTOPENJDK_HOMEBREW_OPENJDK + TAP_VAR=_ADOPTOPENJDK_HOMEBREW_OPENJDK ++ upstream_branch ++ local upstream_branch +++ git symbolic-ref refs/remotes/origin/HEAD + UPSTREAM_REPOSITORY_URL=https://github.com/Homebrew/brew + [[ https://github.com/Homebrew/brew == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]] + UPSTREAM_REPOSITORY=Homebrew/brew + UPSTREAM_REPOSITORY=Homebrew/brew + [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] + [[ -n 1 ]] ++ sed -n 's/^ETag: "\([a-f0-9]\{32\}\)".*/\1/p' .git/GITHUB_HEADERS + GITHUB_API_ETAG= + GITHUB_API_ACCEPT=application/vnd.github.v3+json + GITHUB_API_ENDPOINT=tags ++ curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3+json' --header 'If-None-Match: ""' https://api.github.com/repos/Homebrew/brew/tags ++ [[ -z '' ]] +++ /opt/homebrew/Library/Homebrew/shims/shared/curl --homebrew=print-path ++ upstream_branch=refs/remotes/origin/master ++ [[ -z refs/remotes/origin/master ]] ++ upstream_branch=master ++ [[ -z master ]] ++ echo master + UPSTREAM_BRANCH_DIR=master + declare UPSTREAM_BRANCH_ADOPTOPENJDK_HOMEBREW_OPENJDK=master ++ git rev-parse -q --verify refs/remotes/origin/master ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master + declare PREFETCH_REVISION_ADOPTOPENJDK_HOMEBREW_OPENJDK=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 + [[ /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] + [[ -z '' ]] + [[ -n '' ]] + [[ -n '' ]] + for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*' + [[ -n '' ]] + [[ -d /opt/homebrew/Library/Taps/gitea/homebrew-tap/.git ]] + cd /opt/homebrew/Library/Taps/gitea/homebrew-tap + [[ -n 1 ]] + echo 'Checking if we need to fetch /opt/homebrew/Library/Taps/gitea/homebrew-tap...' Checking if we need to fetch /opt/homebrew/Library/Taps/gitea/homebrew-tap... ++ repo_var /opt/homebrew/Library/Taps/gitea/homebrew-tap ++ git config remote.origin.url ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git config remote.origin.url ++ local repo_var ++ repo_var=/opt/homebrew/Library/Taps/gitea/homebrew-tap ++ [[ /opt/homebrew/Library/Taps/gitea/homebrew-tap == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ repo_var=/gitea/homebrew-tap +++ echo -n /gitea/homebrew-tap +++ tr -C A-Za-z0-9 _ +++ tr '[:lower:]' '[:upper:]' ++ CURL_EXECUTABLE=/usr/bin/curl ++ /usr/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3+json' --header 'If-None-Match: ""' https://api.github.com/repos/Homebrew/brew/tags ++ repo_var=_GITEA_HOMEBREW_TAP ++ echo _GITEA_HOMEBREW_TAP + TAP_VAR=_GITEA_HOMEBREW_TAP ++ upstream_branch ++ local upstream_branch +++ git symbolic-ref refs/remotes/origin/HEAD + UPSTREAM_REPOSITORY_URL=https://github.com/adoptopenjdk/homebrew-openjdk + [[ https://github.com/adoptopenjdk/homebrew-openjdk == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]] + UPSTREAM_REPOSITORY=adoptopenjdk/homebrew-openjdk + UPSTREAM_REPOSITORY=adoptopenjdk/homebrew-openjdk + [[ /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ git rev-parse refs/remotes/origin/master ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse refs/remotes/origin/master ++ upstream_branch=refs/remotes/origin/master ++ [[ -z refs/remotes/origin/master ]] ++ upstream_branch=master ++ [[ -z master ]] ++ echo master + UPSTREAM_BRANCH_DIR=master + declare UPSTREAM_BRANCH_GITEA_HOMEBREW_TAP=master ++ git rev-parse -q --verify refs/remotes/origin/master ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master + GITHUB_API_ETAG=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 + GITHUB_API_ACCEPT=application/vnd.github.v3.sha + GITHUB_API_ENDPOINT=commits/master ++ curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3.sha' --header 'If-None-Match: "f6e8c971c98f5ba48aedf2a5d218ebc914ee2304"' https://api.github.com/repos/adoptopenjdk/homebrew-openjdk/commits/master ++ [[ -z '' ]] +++ /opt/homebrew/Library/Homebrew/shims/shared/curl --homebrew=print-path + declare PREFETCH_REVISION_GITEA_HOMEBREW_TAP=910936873b71f04a8e347cf7c8f4663333ed373e + [[ /opt/homebrew/Library/Taps/gitea/homebrew-tap == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] + [[ -z '' ]] + [[ -n '' ]] + [[ -n '' ]] + for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*' + [[ -n '' ]] + [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git ]] + cd /opt/homebrew/Library/Taps/homebrew/homebrew-cask + [[ -n 1 ]] + echo 'Checking if we need to fetch /opt/homebrew/Library/Taps/homebrew/homebrew-cask...' Checking if we need to fetch /opt/homebrew/Library/Taps/homebrew/homebrew-cask... ++ git config remote.origin.url ++ [[ -z /opt/homebrew/bin/git ]] ++ repo_var /opt/homebrew/Library/Taps/homebrew/homebrew-cask ++ local repo_var ++ repo_var=/opt/homebrew/Library/Taps/homebrew/homebrew-cask ++ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-cask == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ /opt/homebrew/bin/git config remote.origin.url ++ repo_var=/homebrew/homebrew-cask +++ echo -n /homebrew/homebrew-cask +++ tr -C A-Za-z0-9 _ +++ tr '[:lower:]' '[:upper:]' ++ repo_var=_HOMEBREW_HOMEBREW_CASK ++ echo _HOMEBREW_HOMEBREW_CASK + TAP_VAR=_HOMEBREW_HOMEBREW_CASK ++ upstream_branch ++ local upstream_branch +++ git symbolic-ref refs/remotes/origin/HEAD + UPSTREAM_REPOSITORY_URL=https://gitea.com/gitea/homebrew-gitea + [[ https://gitea.com/gitea/homebrew-gitea == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]] + [[ -n 1 ]] ++ git config homebrew.forceautoupdate ++ CURL_EXECUTABLE=/usr/bin/curl ++ /usr/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3.sha' --header 'If-None-Match: "f6e8c971c98f5ba48aedf2a5d218ebc914ee2304"' https://api.github.com/repos/adoptopenjdk/homebrew-openjdk/commits/master ++ echo false + FORCE_AUTO_UPDATE=false + [[ false != \t\r\u\e ]] + exit ++ upstream_branch=refs/remotes/origin/master ++ [[ -z refs/remotes/origin/master ]] ++ upstream_branch=master ++ [[ -z master ]] ++ echo master + UPSTREAM_BRANCH_DIR=master + declare UPSTREAM_BRANCH_HOMEBREW_HOMEBREW_CASK=master ++ git rev-parse -q --verify refs/remotes/origin/master ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master + declare PREFETCH_REVISION_HOMEBREW_HOMEBREW_CASK=b1b360d8b7d5e6a7da37acd7978c4317a0487896 + [[ /opt/homebrew/Library/Taps/homebrew/homebrew-cask == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] + [[ -z '' ]] + [[ -n '' ]] + [[ -n '' ]] + for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*' + [[ -n '' ]] + [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git ]] + cd /opt/homebrew/Library/Taps/homebrew/homebrew-core + [[ -n 1 ]] + echo 'Checking if we need to fetch /opt/homebrew/Library/Taps/homebrew/homebrew-core...' Checking if we need to fetch /opt/homebrew/Library/Taps/homebrew/homebrew-core... ++ repo_var /opt/homebrew/Library/Taps/homebrew/homebrew-core ++ local repo_var ++ repo_var=/opt/homebrew/Library/Taps/homebrew/homebrew-core ++ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-core == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ repo_var=/homebrew/homebrew-core ++ git config remote.origin.url ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git config remote.origin.url +++ echo -n /homebrew/homebrew-core +++ tr -C A-Za-z0-9 _ +++ tr '[:lower:]' '[:upper:]' ++ repo_var=_HOMEBREW_HOMEBREW_CORE ++ echo _HOMEBREW_HOMEBREW_CORE + TAP_VAR=_HOMEBREW_HOMEBREW_CORE ++ upstream_branch ++ local upstream_branch +++ git symbolic-ref refs/remotes/origin/HEAD + UPSTREAM_REPOSITORY_URL=https://github.com/Homebrew/homebrew-cask + [[ https://github.com/Homebrew/homebrew-cask == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]] + UPSTREAM_REPOSITORY=Homebrew/homebrew-cask + UPSTREAM_REPOSITORY=Homebrew/homebrew-cask + [[ /opt/homebrew/Library/Taps/homebrew/homebrew-cask == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ git rev-parse refs/remotes/origin/master ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse refs/remotes/origin/master ++ upstream_branch=refs/remotes/origin/master ++ [[ -z refs/remotes/origin/master ]] ++ upstream_branch=master ++ [[ -z master ]] ++ echo master + UPSTREAM_BRANCH_DIR=master + declare UPSTREAM_BRANCH_HOMEBREW_HOMEBREW_CORE=master + GITHUB_API_ETAG=b1b360d8b7d5e6a7da37acd7978c4317a0487896 + GITHUB_API_ACCEPT=application/vnd.github.v3.sha + GITHUB_API_ENDPOINT=commits/master ++ curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3.sha' --header 'If-None-Match: "b1b360d8b7d5e6a7da37acd7978c4317a0487896"' https://api.github.com/repos/Homebrew/homebrew-cask/commits/master ++ git rev-parse -q --verify refs/remotes/origin/master ++ [[ -z '' ]] ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master +++ /opt/homebrew/Library/Homebrew/shims/shared/curl --homebrew=print-path + declare PREFETCH_REVISION_HOMEBREW_HOMEBREW_CORE=34dd01c281a2085c1b250846f871ed4ddf94a561 + [[ /opt/homebrew/Library/Taps/homebrew/homebrew-core == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] + [[ -z '' ]] + [[ -n '' ]] + [[ -n '' ]] + wait ++ git config remote.origin.url ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git config remote.origin.url ++ CURL_EXECUTABLE=/usr/bin/curl + UPSTREAM_REPOSITORY_URL=https://github.com/Homebrew/homebrew-core + [[ https://github.com/Homebrew/homebrew-core == \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/* ]] + UPSTREAM_REPOSITORY=Homebrew/homebrew-core + UPSTREAM_REPOSITORY=Homebrew/homebrew-core ++ /usr/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3.sha' --header 'If-None-Match: "b1b360d8b7d5e6a7da37acd7978c4317a0487896"' https://api.github.com/repos/Homebrew/homebrew-cask/commits/master + [[ /opt/homebrew/Library/Taps/homebrew/homebrew-core == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ git rev-parse refs/remotes/origin/master ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse refs/remotes/origin/master + GITHUB_API_ETAG=34dd01c281a2085c1b250846f871ed4ddf94a561 + GITHUB_API_ACCEPT=application/vnd.github.v3.sha + GITHUB_API_ENDPOINT=commits/master ++ curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3.sha' --header 'If-None-Match: "34dd01c281a2085c1b250846f871ed4ddf94a561"' https://api.github.com/repos/Homebrew/homebrew-core/commits/master ++ [[ -z '' ]] +++ /opt/homebrew/Library/Homebrew/shims/shared/curl --homebrew=print-path ++ CURL_EXECUTABLE=/usr/bin/curl ++ /usr/bin/curl -q --silent --max-time 3 --location --no-remote-time --output /dev/null --write-out '%{http_code}' --dump-header /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/GITHUB_HEADERS --user-agent 'Homebrew/3.2.15 (Macintosh; arm64 Mac OS X 11.6) curl/7.64.1' --header 'Accept: application/vnd.github.v3.sha' --header 'If-None-Match: "34dd01c281a2085c1b250846f871ed4ddf94a561"' https://api.github.com/repos/Homebrew/homebrew-core/commits/master + UPSTREAM_SHA_HTTP_CODE=304 + [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/FETCH_HEAD ]] + touch /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git/FETCH_HEAD + UPSTREAM_SHA_HTTP_CODE=304 + [[ -f /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/.git/FETCH_HEAD ]] + touch /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/.git/FETCH_HEAD + [[ -z '' ]] + [[ 304 == \3\0\4 ]] + exit + [[ -z '' ]] + [[ 304 == \3\0\4 ]] + exit + UPSTREAM_SHA_HTTP_CODE=304 + [[ -f /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/FETCH_HEAD ]] + touch /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git/FETCH_HEAD + [[ -z '' ]] + [[ 304 == \3\0\4 ]] + exit + UPSTREAM_SHA_HTTP_CODE=200 + [[ -f /opt/homebrew/.git/FETCH_HEAD ]] + touch /opt/homebrew/.git/FETCH_HEAD + [[ -z '' ]] + [[ 200 == \3\0\4 ]] + [[ -n 1 ]] + echo 'Fetching /opt/homebrew...' Fetching /opt/homebrew... + local tmp_failure_file=/opt/homebrew/.git/TMP_FETCH_FAILURES + rm -f /opt/homebrew/.git/TMP_FETCH_FAILURES + [[ -n 1 ]] + git fetch --tags --force origin refs/heads/master:refs/remotes/origin/master + rm -f /opt/homebrew/.git/TMP_FETCH_FAILURES + trap - SIGINT + [[ -f /opt/homebrew/.git/UPDATE_FAILED ]] + [[ -f /opt/homebrew/.git/FAILED_FETCH_DIRS ]] + for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*' + [[ -n '' ]] + [[ -d /opt/homebrew/.git ]] + cd /opt/homebrew ++ repo_var /opt/homebrew ++ local repo_var ++ repo_var=/opt/homebrew ++ [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ repo_var= ++ echo '' + TAP_VAR= + UPSTREAM_BRANCH_VAR=UPSTREAM_BRANCH + UPSTREAM_BRANCH=master ++ read_current_revision ++ git rev-parse -q --verify HEAD ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify HEAD + CURRENT_REVISION=92749f9c5243691f8e576aa1227cb9ebba509cd4 + PREFETCH_REVISION_VAR=PREFETCH_REVISION + PREFETCH_REVISION=68f011fd3bca0300eaeee345ca940aa71cbda4e5 ++ git rev-parse -q --verify refs/remotes/origin/master ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master + POSTFETCH_REVISION=68f011fd3bca0300eaeee345ca940aa71cbda4e5 + [[ -n '' ]] + [[ -z '' ]] + [[ 68f011fd3bca0300eaeee345ca940aa71cbda4e5 == \6\8\f\0\1\1\f\d\3\b\c\a\0\3\0\0\e\a\e\e\e\3\4\5\c\a\9\4\0\a\a\7\1\c\b\d\a\4\e\5 ]] + [[ 92749f9c5243691f8e576aa1227cb9ebba509cd4 == \6\8\f\0\1\1\f\d\3\b\c\a\0\3\0\0\e\a\e\e\e\3\4\5\c\a\9\4\0\a\a\7\1\c\b\d\a\4\e\5 ]] + merge_or_rebase /opt/homebrew '' master + [[ -n 1 ]] + echo 'Updating /opt/homebrew...' Updating /opt/homebrew... + local DIR + local TAP_VAR + local UPSTREAM_BRANCH + DIR=/opt/homebrew + cd /opt/homebrew + TAP_VAR= + UPSTREAM_BRANCH=master + unset STASHED + trap reset_on_interrupt SIGINT + [[ /opt/homebrew == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] + [[ -n 1 ]] ++ git tag --list ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git tag --list ++ sort --field-separator=. --key=1,1nr -k 2,2nr -k 3,3nr ++ grep --max-count=1 '^[0-9]*\.[0-9]*\.[0-9]*$' + UPSTREAM_TAG=3.2.15 + [[ -n 3.2.15 ]] + REMOTE_REF=refs/tags/3.2.15 + UPSTREAM_BRANCH=stable ++ git status --untracked-files=all --porcelain + [[ -n '' ]] ++ git symbolic-ref --short HEAD + INITIAL_BRANCH=stable + [[ -n 3.2.15 ]] + [[ -z 3.2.15 ]] + [[ -n 3.2.15 ]] + [[ stable != \m\a\s\t\e\r ]] + git checkout --force -B master origin/master + [[ -z /opt/homebrew/bin/git ]] + /opt/homebrew/bin/git checkout --force -B master origin/master Branch 'master' set up to track remote branch 'master' from 'origin'. Switched to and reset branch 'master' Your branch is up to date with 'origin/master'. + git checkout --force -B stable refs/tags/3.2.15 + [[ -z /opt/homebrew/bin/git ]] + /opt/homebrew/bin/git checkout --force -B stable refs/tags/3.2.15 Switched to and reset branch 'stable' ++ read_current_revision ++ git rev-parse -q --verify HEAD ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify HEAD + INITIAL_REVISION=92749f9c5243691f8e576aa1227cb9ebba509cd4 + export HOMEBREW_UPDATE_BEFORE=92749f9c5243691f8e576aa1227cb9ebba509cd4 + HOMEBREW_UPDATE_BEFORE=92749f9c5243691f8e576aa1227cb9ebba509cd4 + git config core.autocrlf false + [[ -z /opt/homebrew/bin/git ]] + /opt/homebrew/bin/git config core.autocrlf false + [[ -z '' ]] + [[ -z 1 ]] + git rebase refs/tags/3.2.15 + [[ -z /opt/homebrew/bin/git ]] + /opt/homebrew/bin/git rebase refs/tags/3.2.15 Current branch stable is up to date. ++ read_current_revision ++ git rev-parse -q --verify HEAD ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify HEAD + CURRENT_REVISION=92749f9c5243691f8e576aa1227cb9ebba509cd4 + export HOMEBREW_UPDATE_AFTER=92749f9c5243691f8e576aa1227cb9ebba509cd4 + HOMEBREW_UPDATE_AFTER=92749f9c5243691f8e576aa1227cb9ebba509cd4 + [[ 92749f9c5243691f8e576aa1227cb9ebba509cd4 != \9\2\7\4\9\f\9\c\5\2\4\3\6\9\1\f\8\e\5\7\6\a\a\1\2\2\7\c\b\9\e\b\b\a\5\0\9\c\d\4 ]] + trap '' SIGINT + [[ -n '' ]] + pop_stash_message + [[ -z '' ]] + return + trap - SIGINT + [[ -n 1 ]] + echo + for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*' + [[ -n '' ]] + [[ -d /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk/.git ]] + cd /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk ++ repo_var /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk ++ local repo_var ++ repo_var=/opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk ++ [[ /opt/homebrew/Library/Taps/adoptopenjdk/homebrew-openjdk == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ repo_var=/adoptopenjdk/homebrew-openjdk +++ echo -n /adoptopenjdk/homebrew-openjdk +++ tr -C A-Za-z0-9 _ +++ tr '[:lower:]' '[:upper:]' ++ repo_var=_ADOPTOPENJDK_HOMEBREW_OPENJDK ++ echo _ADOPTOPENJDK_HOMEBREW_OPENJDK + TAP_VAR=_ADOPTOPENJDK_HOMEBREW_OPENJDK + UPSTREAM_BRANCH_VAR=UPSTREAM_BRANCH_ADOPTOPENJDK_HOMEBREW_OPENJDK + UPSTREAM_BRANCH=master ++ read_current_revision ++ git rev-parse -q --verify HEAD ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify HEAD + CURRENT_REVISION=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 + PREFETCH_REVISION_VAR=PREFETCH_REVISION_ADOPTOPENJDK_HOMEBREW_OPENJDK + PREFETCH_REVISION=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 ++ git rev-parse -q --verify refs/remotes/origin/master ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master + POSTFETCH_REVISION=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 + [[ -n '' ]] + [[ -z '' ]] + [[ f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 == \f\6\e\8\c\9\7\1\c\9\8\f\5\b\a\4\8\a\e\d\f\2\a\5\d\2\1\8\e\b\c\9\1\4\e\e\2\3\0\4 ]] + [[ f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 == \f\6\e\8\c\9\7\1\c\9\8\f\5\b\a\4\8\a\e\d\f\2\a\5\d\2\1\8\e\b\c\9\1\4\e\e\2\3\0\4 ]] + export HOMEBREW_UPDATE_BEFORE_ADOPTOPENJDK_HOMEBREW_OPENJDK=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 + HOMEBREW_UPDATE_BEFORE_ADOPTOPENJDK_HOMEBREW_OPENJDK=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 + export HOMEBREW_UPDATE_AFTER_ADOPTOPENJDK_HOMEBREW_OPENJDK=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 + HOMEBREW_UPDATE_AFTER_ADOPTOPENJDK_HOMEBREW_OPENJDK=f6e8c971c98f5ba48aedf2a5d218ebc914ee2304 + for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*' + [[ -n '' ]] + [[ -d /opt/homebrew/Library/Taps/gitea/homebrew-tap/.git ]] + cd /opt/homebrew/Library/Taps/gitea/homebrew-tap ++ repo_var /opt/homebrew/Library/Taps/gitea/homebrew-tap ++ local repo_var ++ repo_var=/opt/homebrew/Library/Taps/gitea/homebrew-tap ++ [[ /opt/homebrew/Library/Taps/gitea/homebrew-tap == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ repo_var=/gitea/homebrew-tap +++ echo -n /gitea/homebrew-tap +++ tr -C A-Za-z0-9 _ +++ tr '[:lower:]' '[:upper:]' ++ repo_var=_GITEA_HOMEBREW_TAP ++ echo _GITEA_HOMEBREW_TAP + TAP_VAR=_GITEA_HOMEBREW_TAP + UPSTREAM_BRANCH_VAR=UPSTREAM_BRANCH_GITEA_HOMEBREW_TAP + UPSTREAM_BRANCH=master ++ read_current_revision ++ git rev-parse -q --verify HEAD ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify HEAD + CURRENT_REVISION=910936873b71f04a8e347cf7c8f4663333ed373e + PREFETCH_REVISION_VAR=PREFETCH_REVISION_GITEA_HOMEBREW_TAP + PREFETCH_REVISION=910936873b71f04a8e347cf7c8f4663333ed373e ++ git rev-parse -q --verify refs/remotes/origin/master ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master + POSTFETCH_REVISION=910936873b71f04a8e347cf7c8f4663333ed373e + [[ -n '' ]] + [[ -z '' ]] + [[ 910936873b71f04a8e347cf7c8f4663333ed373e == \9\1\0\9\3\6\8\7\3\b\7\1\f\0\4\a\8\e\3\4\7\c\f\7\c\8\f\4\6\6\3\3\3\3\e\d\3\7\3\e ]] + [[ 910936873b71f04a8e347cf7c8f4663333ed373e == \9\1\0\9\3\6\8\7\3\b\7\1\f\0\4\a\8\e\3\4\7\c\f\7\c\8\f\4\6\6\3\3\3\3\e\d\3\7\3\e ]] + export HOMEBREW_UPDATE_BEFORE_GITEA_HOMEBREW_TAP=910936873b71f04a8e347cf7c8f4663333ed373e + HOMEBREW_UPDATE_BEFORE_GITEA_HOMEBREW_TAP=910936873b71f04a8e347cf7c8f4663333ed373e + export HOMEBREW_UPDATE_AFTER_GITEA_HOMEBREW_TAP=910936873b71f04a8e347cf7c8f4663333ed373e + HOMEBREW_UPDATE_AFTER_GITEA_HOMEBREW_TAP=910936873b71f04a8e347cf7c8f4663333ed373e + for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*' + [[ -n '' ]] + [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-cask/.git ]] + cd /opt/homebrew/Library/Taps/homebrew/homebrew-cask ++ repo_var /opt/homebrew/Library/Taps/homebrew/homebrew-cask ++ local repo_var ++ repo_var=/opt/homebrew/Library/Taps/homebrew/homebrew-cask ++ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-cask == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ repo_var=/homebrew/homebrew-cask +++ echo -n /homebrew/homebrew-cask +++ tr -C A-Za-z0-9 _ +++ tr '[:lower:]' '[:upper:]' ++ repo_var=_HOMEBREW_HOMEBREW_CASK ++ echo _HOMEBREW_HOMEBREW_CASK + TAP_VAR=_HOMEBREW_HOMEBREW_CASK + UPSTREAM_BRANCH_VAR=UPSTREAM_BRANCH_HOMEBREW_HOMEBREW_CASK + UPSTREAM_BRANCH=master ++ read_current_revision ++ git rev-parse -q --verify HEAD ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify HEAD + CURRENT_REVISION=b1b360d8b7d5e6a7da37acd7978c4317a0487896 + PREFETCH_REVISION_VAR=PREFETCH_REVISION_HOMEBREW_HOMEBREW_CASK + PREFETCH_REVISION=b1b360d8b7d5e6a7da37acd7978c4317a0487896 ++ git rev-parse -q --verify refs/remotes/origin/master ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master + POSTFETCH_REVISION=b1b360d8b7d5e6a7da37acd7978c4317a0487896 + [[ -n '' ]] + [[ -z '' ]] + [[ b1b360d8b7d5e6a7da37acd7978c4317a0487896 == \b\1\b\3\6\0\d\8\b\7\d\5\e\6\a\7\d\a\3\7\a\c\d\7\9\7\8\c\4\3\1\7\a\0\4\8\7\8\9\6 ]] + [[ b1b360d8b7d5e6a7da37acd7978c4317a0487896 == \b\1\b\3\6\0\d\8\b\7\d\5\e\6\a\7\d\a\3\7\a\c\d\7\9\7\8\c\4\3\1\7\a\0\4\8\7\8\9\6 ]] + export HOMEBREW_UPDATE_BEFORE_HOMEBREW_HOMEBREW_CASK=b1b360d8b7d5e6a7da37acd7978c4317a0487896 + HOMEBREW_UPDATE_BEFORE_HOMEBREW_HOMEBREW_CASK=b1b360d8b7d5e6a7da37acd7978c4317a0487896 + export HOMEBREW_UPDATE_AFTER_HOMEBREW_HOMEBREW_CASK=b1b360d8b7d5e6a7da37acd7978c4317a0487896 + HOMEBREW_UPDATE_AFTER_HOMEBREW_HOMEBREW_CASK=b1b360d8b7d5e6a7da37acd7978c4317a0487896 + for DIR in '"${HOMEBREW_REPOSITORY}"' '"${HOMEBREW_LIBRARY}"/Taps/*/*' + [[ -n '' ]] + [[ -d /opt/homebrew/Library/Taps/homebrew/homebrew-core/.git ]] + cd /opt/homebrew/Library/Taps/homebrew/homebrew-core ++ repo_var /opt/homebrew/Library/Taps/homebrew/homebrew-core ++ local repo_var ++ repo_var=/opt/homebrew/Library/Taps/homebrew/homebrew-core ++ [[ /opt/homebrew/Library/Taps/homebrew/homebrew-core == \/\o\p\t\/\h\o\m\e\b\r\e\w ]] ++ repo_var=/homebrew/homebrew-core +++ echo -n /homebrew/homebrew-core +++ tr -C A-Za-z0-9 _ +++ tr '[:lower:]' '[:upper:]' ++ repo_var=_HOMEBREW_HOMEBREW_CORE ++ echo _HOMEBREW_HOMEBREW_CORE + TAP_VAR=_HOMEBREW_HOMEBREW_CORE + UPSTREAM_BRANCH_VAR=UPSTREAM_BRANCH_HOMEBREW_HOMEBREW_CORE + UPSTREAM_BRANCH=master ++ read_current_revision ++ git rev-parse -q --verify HEAD ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify HEAD + CURRENT_REVISION=34dd01c281a2085c1b250846f871ed4ddf94a561 + PREFETCH_REVISION_VAR=PREFETCH_REVISION_HOMEBREW_HOMEBREW_CORE + PREFETCH_REVISION=34dd01c281a2085c1b250846f871ed4ddf94a561 ++ git rev-parse -q --verify refs/remotes/origin/master ++ [[ -z /opt/homebrew/bin/git ]] ++ /opt/homebrew/bin/git rev-parse -q --verify refs/remotes/origin/master + POSTFETCH_REVISION=34dd01c281a2085c1b250846f871ed4ddf94a561 + [[ -n '' ]] + [[ -z '' ]] + [[ 34dd01c281a2085c1b250846f871ed4ddf94a561 == \3\4\d\d\0\1\c\2\8\1\a\2\0\8\5\c\1\b\2\5\0\8\4\6\f\8\7\1\e\d\4\d\d\f\9\4\a\5\6\1 ]] + [[ 34dd01c281a2085c1b250846f871ed4ddf94a561 == \3\4\d\d\0\1\c\2\8\1\a\2\0\8\5\c\1\b\2\5\0\8\4\6\f\8\7\1\e\d\4\d\d\f\9\4\a\5\6\1 ]] + export HOMEBREW_UPDATE_BEFORE_HOMEBREW_HOMEBREW_CORE=34dd01c281a2085c1b250846f871ed4ddf94a561 + HOMEBREW_UPDATE_BEFORE_HOMEBREW_HOMEBREW_CORE=34dd01c281a2085c1b250846f871ed4ddf94a561 + export HOMEBREW_UPDATE_AFTER_HOMEBREW_HOMEBREW_CORE=34dd01c281a2085c1b250846f871ed4ddf94a561 + HOMEBREW_UPDATE_AFTER_HOMEBREW_HOMEBREW_CORE=34dd01c281a2085c1b250846f871ed4ddf94a561 + safe_cd /opt/homebrew + cd /opt/homebrew + [[ -n '' ]] + [[ -n '' ]] + [[ -n '' ]] + [[ -n '' ]] + [[ -d /opt/homebrew/Library/LinkedKegs ]] + [[ ! -f /Users/ian/Library/Caches/Homebrew/all_commands_list.txt ]] + [[ -n '' ]] + [[ -z 1 ]] + exit 0 /opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/gitea/homebrew-tap/gitea.rb ==> Downloading https://dl.gitea.io/gitea/1.15.3/gitea-1.15.3-darwin-10.12-arm64.xz /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie-jar /dev/null --globoff --show-error --user-agent Homebrew/3.2.15\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 11.6\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location --silent --head --request GET https://dl.gitea.io/gitea/1.15.3/gitea-1.15.3-darwin-10.12-arm64.xz Already downloaded: /Users/ian/Library/Caches/Homebrew/downloads/eded8aeacbd23fd20f6766d903e2e70e473b81f99ef1126e564701bc4929e3b4--gitea-1.15.3-darwin-10.12-arm64.xz ==> Verifying checksum for 'eded8aeacbd23fd20f6766d903e2e70e473b81f99ef1126e564701bc4929e3b4--gitea-1.15.3-darwin-10.12-arm64.xz' ==> Installing gitea from gitea/tap /opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /opt/homebrew/Library/Taps/gitea/homebrew-tap/gitea-head.rb /opt/homebrew/Library/Homebrew/shims/shared/git --version ==> Fixing /opt/homebrew/Cellar/gitea/1.15.3/bin/gitea permissions from 666 to 555 ln -s ../Cellar/gitea/1.15.3/bin/gitea gitea /opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /opt/homebrew/opt/gitea/.brew/gitea.rb 🍺 /opt/homebrew/Cellar/gitea/1.15.3: 3 files, 83.4MB, built in 3 seconds ``` </details>
GiteaMirror added the issue/confirmedtype/bugtopic/build labels 2025-11-02 07:42:37 -06:00
Author
Owner

@zeripath commented on GitHub (Oct 9, 2021):

This looks like some weird architecture issue. Please could you try downloading the arm64 version directly from https://dl.gitea.io/gitea/1.15.4/gitea-1.15.4-darwin-10.12-arm64.xz to see if that solves this problem.

@zeripath commented on GitHub (Oct 9, 2021): This looks like some weird architecture issue. Please could you try downloading the arm64 version directly from https://dl.gitea.io/gitea/1.15.4/gitea-1.15.4-darwin-10.12-arm64.xz to see if that solves this problem.
Author
Owner

@ian4hu commented on GitHub (Oct 12, 2021):

Still killed.

➜  ~ ./gitea-1.15.4-darwin-10.12-arm64 -h
[1]    77743 killed     ./gitea-1.15.4-darwin-10.12-arm64 -h
➜  ~ sudo dmesg | grep gitea -C 2
RX: 20 01 00 00 00 00 14 00 10 01 00 90 00 00 0A 00[SPI][HIDSPI]
TX: 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RX: 20 01 00 00 00 00 14 00 10 01 00 91 00 00 0A 00CODE SIGNING: cs_invalid_page(0x102954000): p=77743[gitea-1.15.4-dar] final status 0x23000200, denying page sending SIGKILL
[2145923.848624]: CODE SIGNING: process 77743[gitea-1.15.4-dar]: rejecting invalid page at address 0x102954000 from offset 0x4000 in file "/Users/ian/gitea-1.15.4-darwin-10.12-arm64" (cs_mtime:1634022979.855229767 == mtime:1634022979.855229767) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0)
[2145923.848753]: CODE SIGNING: process 77743[gitea-1.15.4-dar]: rejecting invalid page at address 0x102954000 from offset 0x4000 in file "/Users/ian/gitea-1.15.4-darwin-10.12-arm64" (cs_mtime:1634022979.855229767 == mtime:1634022979.855229767) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0)
[2145923.848767]: Text page corruption detected in dying process 77743
--
[2145923.848767]: Text page corruption detected in dying process 77743
[2145923.848773]: gitea-1.15.4-darwin-10.12-arm64[77743] Corpse allowed 1 of 5
[2145924.018949]: Corpse released, count at 0
[2145924.236538]: [SPI][HIDSPI]
➜  ~
@ian4hu commented on GitHub (Oct 12, 2021): Still killed. ```text ➜ ~ ./gitea-1.15.4-darwin-10.12-arm64 -h [1] 77743 killed ./gitea-1.15.4-darwin-10.12-arm64 -h ➜ ~ sudo dmesg | grep gitea -C 2 RX: 20 01 00 00 00 00 14 00 10 01 00 90 00 00 0A 00[SPI][HIDSPI] TX: 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 RX: 20 01 00 00 00 00 14 00 10 01 00 91 00 00 0A 00CODE SIGNING: cs_invalid_page(0x102954000): p=77743[gitea-1.15.4-dar] final status 0x23000200, denying page sending SIGKILL [2145923.848624]: CODE SIGNING: process 77743[gitea-1.15.4-dar]: rejecting invalid page at address 0x102954000 from offset 0x4000 in file "/Users/ian/gitea-1.15.4-darwin-10.12-arm64" (cs_mtime:1634022979.855229767 == mtime:1634022979.855229767) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0) [2145923.848753]: CODE SIGNING: process 77743[gitea-1.15.4-dar]: rejecting invalid page at address 0x102954000 from offset 0x4000 in file "/Users/ian/gitea-1.15.4-darwin-10.12-arm64" (cs_mtime:1634022979.855229767 == mtime:1634022979.855229767) (signed:1 validated:1 tainted:1 nx:0 wpmapped:0 dirty:0 depth:0) [2145923.848767]: Text page corruption detected in dying process 77743 -- [2145923.848767]: Text page corruption detected in dying process 77743 [2145923.848773]: gitea-1.15.4-darwin-10.12-arm64[77743] Corpse allowed 1 of 5 [2145924.018949]: Corpse released, count at 0 [2145924.236538]: [SPI][HIDSPI] ➜ ~ ```
Author
Owner

@6543 commented on GitHub (Oct 12, 2021):

it looks like a golang bug ... - witch go version do you use?

@6543 commented on GitHub (Oct 12, 2021): it looks like a **golang** bug ... - witch go version do you use?
Author
Owner

@zeripath commented on GitHub (Oct 12, 2021):

It could be an xgo bug...

@ian4hu I think you need to try to compile Gitea yourself on this machine to see if you can make this work.

@zeripath commented on GitHub (Oct 12, 2021): It could be an xgo bug... @ian4hu I think you need to try to compile Gitea yourself on this machine to see if you can make this work.
Author
Owner

@ian4hu commented on GitHub (Oct 13, 2021):

it looks like a golang bug ... - witch go version do you use?

➜  IdeaProjects go version
go version go1.17.2 darwin/arm64
@ian4hu commented on GitHub (Oct 13, 2021): > it looks like a **golang** bug ... - witch go version do you use? ```text ➜ IdeaProjects go version go version go1.17.2 darwin/arm64 ```
Author
Owner

@ian4hu commented on GitHub (Oct 13, 2021):

It could be an xgo bug...

@ian4hu I think you need to try to compile Gitea yourself on this machine to see if you can make this work.

local machine build works.

@ian4hu commented on GitHub (Oct 13, 2021): > It could be an xgo bug... > > @ian4hu I think you need to try to compile Gitea yourself on this machine to see if you can make this work. local machine build works.
Author
Owner

@wxiaoguang commented on GitHub (Oct 13, 2021):

I can confirm the bug.

On M1:

arm64 gitea (downloaded from github releases) 1.14.x/1.15.x all crash as above. The problem seems to be related with code signing.

amd64 gitea (translated by Rosetta) can run on M1 without crash.

@wxiaoguang commented on GitHub (Oct 13, 2021): I can confirm the bug. On M1: arm64 gitea (downloaded from github releases) 1.14.x/1.15.x all crash as above. The problem seems to be related with code signing. amd64 gitea (translated by Rosetta) can run on M1 without crash.
Author
Owner

@techknowlogick commented on GitHub (Dec 6, 2021):

Confirmed closed with latest homebrew tap changes

@techknowlogick commented on GitHub (Dec 6, 2021): Confirmed closed with latest homebrew tap changes
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7957