doesn't build in a clean environment makechrootpkg -u -T -U makepkgbuilduser -n -C -r /srv/aur/chroot
. Multiple errors.
1: This one is always missing:
/build/brave/src/brave-browser/src
> git log -n 1 --pretty=format:%h%d
Chromium repo needs sync.
target is refs/tags/114.0.5735.198 at commit [missing]
current commit is 911554e83 (HEAD -> makepkg, tag: v1.52.129) at commit 911554e83d9b16ff7a6dde53046920f4537d4b44
latest successful sync is {}
2:
________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress file:///build/brave/src/chromium-mirror /build/brave/src/brave-browser/_gclient_src_879ae1y4' in '/build/brave/src/brave-browser'
Cloning into '/build/brave/src/brave-browser/_gclient_src_879ae1y4'...
remote: free(): invalid pointer
error: pack-objects died of signal 6
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
1>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "file:///build/brave/src/chromium-mirror" "/build/brave/src/brave-browser/_gclient_src_879ae1y4"' in /build/brave/src/brave-browser failed; will retry after a short nap...
3:
[16642/57972] AR obj/components/feedback/redaction_tool/libredaction_tool.a
FAILED: obj/components/feedback/redaction_tool/libredaction_tool.a
rm -f obj/components/feedback/redaction_tool/libredaction_tool.a && "llvm-ar" -T -r -c -s -D obj/components/feedback/redaction_tool/libredaction_tool.a @"obj/components/feedback/redaction_tool/libredaction_tool.a.rsp"
llvm-ar: error: obj/components/feedback/redaction_tool/redaction_tool/redaction_tool.o: No such file or directory
Edit: When rerunning with infinite screen buffer I also see this one, it probably should have failed the build here already instead of continuing and thereby hiding the error.
4:
[16047/57972] CXX obj/components/feedback/redaction_tool/redaction_tool/redaction_tool.o
../../components/feedback/redaction_tool/redaction_tool.cc:639:13: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
skipped.AppendToString(&result);
~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:643:8: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
text.AppendToString(&result);
~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:671:13: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
skipped.AppendToString(&result);
~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:672:20: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
pre_whitespace.AppendToString(&result);
~~~~~~~~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:680:19: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
hash_prefix.AppendToString(&result);
~~~~~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:681:19: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
hash_suffix.AppendToString(&result);
~~~~~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:704:8: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
text.AppendToString(&result);
~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:845:13: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
skipped.AppendToString(&result);
~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:846:20: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
pre_matched_id.AppendToString(&result);
~~~~~~~~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:848:21: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
post_matched_id.AppendToString(&result);
~~~~~~~~~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:850:8: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
text.AppendToString(&result);
~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:863:11: error: no member named 'contains' in 'std::basic_string_view<char>'
if (url.contains("?")) {
~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:934:15: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
skipped.AppendToString(&result);
~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:935:18: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
matched_id.AppendToString(&result);
~~~~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:946:19: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
skipped.AppendToString(&result);
~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:947:22: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
matched_id.AppendToString(&result);
~~~~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:969:13: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
skipped.AppendToString(&result);
~~~~~~~ ^
../../components/feedback/redaction_tool/redaction_tool.cc:972:8: error: no member named 'AppendToString' in 'std::basic_string_view<char>'
text.AppendToString(&result);
~~~~ ^
18 errors generated.
Edit2: The chroot was created using these commands:
mkdir -p /srv/aur/chroot/
/usr/bin/mkarchroot /srv/aur/chroot/root base base-devel sudo
/usr/bin/arch-nspawn /srv/aur/chroot/root pacman -Syu --needed --noconfirm --noprogressbar
Pinned Comments
alerque commented on 2023-01-26 13:53 (UTC)
Current status:
Thanks to lots of persistent work from @ceasarw, this package now builds in a clean chroot, and with LLVM 15 now in [community] everything is pretty hunky dory.
Moving it to [community] is currently held up waiting for permission from upstream for distribution of distro compiled binaries.