You are not logged in.
I can't quite make sense of the logs, could I have any help with this?
AUR link: https://aur.archlinux.org/packages/ungoogled-chromium/
Logs at the moment of failure:
==> Starting build()...
make: Entering directory '/home/jike/Downloads/ungoogled-chromium/src/chromium-launcher-8'
cc -o chromium -DLAUNCHER_VERSION=\"v8\" -DCHROMIUM_NAME=\"chromium\" -DCHROMIUM_BINARY=\"/usr/lib/chromium/chromium\" -DCHROMIUM_VENDOR="\"Arch Linux\"" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now launcher.c -lglib-2.0
make: Leaving directory '/home/jike/Downloads/ungoogled-chromium/src/chromium-launcher-8'
ERROR at //build/config/freetype/BUILD.gn:8:1: Dependency not allowed.
group("freetype") {
^------------------
The item //build/config/freetype:freetype
can not depend on //build/linux:freetype_from_pkgconfig
because it is not in //build/linux:freetype_from_pkgconfig's visibility list: [
//third_party:freetype_harfbuzz
//third_party/harfbuzz-ng:harfbuzz_source
]
==> ERROR: A failure occurred in build().
Aborting...
All help is appreciated!
Offline
What is the output of
pacman -Q harfbuzz freetype2 fontconfig glib2 pkgconf
Last edited by loqs (2021-11-13 21:19:40)
Offline
What is the output of
pacman -Q harfbuzz freetype2 fontconfig glib2 pkgconf
[jike@jike-arch ~]$ pacman -Q harfbuzz freetype2 fontconfig glib2 pkgconf
harfbuzz 3.1.1-1
freetype2 2.11.0-4
fontconfig 2:2.13.94-1
glib2 2.70.1-1
pkgconf 1.8.0-1
Offline
What version of the PKGBUILD are you using? Have you made any changes to it? If not please post the full output of makepkg to a pastebin.
Edit:
Can reproduce the issue using chromium. Probably triggered by the harfbuzz 3.1.1-1 update.
Last edited by loqs (2021-11-13 21:57:46)
Offline
What version of the PKGBUILD are you using? Have you made any changes to it? If not please post the full output of makepkg to a pastebin.
The PKGBUILD is the one on the AUR, and makepkg is the lastest version, I have not made any changes to either, the logs I'll have to get again, give me a moment.
Offline
https://githubmemory.com/repo/PF4Public … issues/109 but Arch has not updated jsoncpp. Tried downgrading harfbuzz to 3.1.0-1, no change.
Edit:
Needs two upstream commits:
https://github.com/chromium/chromium/co … 07fc.patch
https://github.com/chromium/chromium/co … e792.patch
Last edited by loqs (2021-11-13 22:32:27)
Offline
https://githubmemory.com/repo/PF4Public … issues/109 but Arch has not updated jsoncpp. Tried downgrading harfbuzz to 3.1.0-1, no change.
Edit:
Needs two upstream commits:
https://github.com/chromium/chromium/co … 07fc.patch
https://github.com/chromium/chromium/co … e792.patch
So it's an issue that needs to be resolved upstream?
Here is the log just in case: https://pastebin.com/c9nZYu8W
Offline
You can try fixing the issue locally
Apply the following changes
diff --git a/PKGBUILD b/PKGBUILD
index 3b6c186..468fc72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,7 +40,9 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom
chromium-93-ffmpeg-4.4.patch
chromium-94-ffmpeg-roll.patch
unexpire-accelerated-video-decode-flag.patch
- use-oauth2-client-switches-as-default.patch)
+ use-oauth2-client-switches-as-default.patch
+ https://github.com/chromium/chromium/commit/271e45339b7b969e98ccef7837cb1b15480b07fc.patch
+ https://github.com/chromium/chromium/commit/72c4d9fc95c336f61d7a8417b78f947a400ce792.patch)
sha256sums=('38a37d737c6c9a7198402ca614746b2dbb7abbb793bb2cb02dc796b62a22efe7'
'213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
'bc6373f2470a9e6d947a4deaee0612f730112f69552b933c54bb6e60b82dd6f1'
@@ -55,17 +57,18 @@ sha256sums=('38a37d737c6c9a7198402ca614746b2dbb7abbb793bb2cb02dc796b62a22efe7'
'1a9e074f417f8ffd78bcd6874d8e2e74a239905bf662f76a7755fa40dc476b57'
'56acb6e743d2ab1ed9f3eb01700ade02521769978d03ac43226dec94659b3ace'
'2a97b26c3d6821b15ef4ef1369905c6fa3e9c8da4877eb9af4361452a425290b'
- 'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
+ 'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711'
+ '279b1c93228df5f0ecef5888ea6411b1b0c75537739d3645cda7d04baed5dd9c'
+ '574785a21168c3e9b7aa82630713ceb6ced12f699133db66b10fc84b7bb2c631'
+ '35debe7f407a4749d4454fc78f52c18955f1d8400750fdc20b179f528106c658'
+ 'babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb'
+ '34d08ea93cb4762cb33c7cffe931358008af32265fc720f2762f0179c3973574')
provides=('chromium')
conflicts=('chromium')
source=(${source[@]}
$pkgname-$pkgver-1.tar.gz::https://github.com/Eloston/ungoogled-chromium/archive/$pkgver-1.tar.gz
chromium-drirc-disable-10bpc-color-configs.conf
wayland-egl.patch)
-sha256sums=(${sha256sums[@]}
- '35debe7f407a4749d4454fc78f52c18955f1d8400750fdc20b179f528106c658'
- 'babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb'
- '34d08ea93cb4762cb33c7cffe931358008af32265fc720f2762f0179c3973574')
# Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
# Keys are the names in the above script; values are the dependencies in Arch
@@ -148,6 +151,9 @@ prepare() {
# Wayland/EGL regression (crbug #1071528 #1071550)
patch -Np1 -i ../wayland-egl.patch
+ patch -Np1 -i ../271e45339b7b969e98ccef7837cb1b15480b07fc.patch
+ patch -Np1 -i ../72c4d9fc95c336f61d7a8417b78f947a400ce792.patch
+
# Ungoogled Chromium changes
_ungoogled_repo="$srcdir/$pkgname-$pkgver-1"
_utils="${_ungoogled_repo}/utils"
Then you need to use the -C option to makepkg to clean the src directory to prevent failure due to patch returning none zero when encountering existing files it created in the previous build.
Offline