View previous topic :: View next topic |
Author |
Message |
koslowj Tux's lil' helper
Joined: 15 Feb 2005 Posts: 100
|
Posted: Sun Jul 21, 2024 8:59 pm Post subject: [SOLVED] harfbuzz freetype circular dependencies |
|
|
Trying to emerge wine-vanilla on my recently freshly re-installed system (Linux 6.6.30-gentoo-x86_64) resulted in a long list of re-builds and the following error:
Quote: | Total: 35 packages (17 new, 18 reinstalls), Size of downloads: 121963 KiB
* Error: circular dependencies:
(media-libs/harfbuzz-8.5.0:0/6.0.0::gentoo, ebuild scheduled for merge) depends on
(media-libs/freetype-2.13.2:2/2::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
(media-libs/harfbuzz-8.5.0:0/6.0.0::gentoo, ebuild scheduled for merge) (buildtime)
It might be possible to break this cycle
by applying the following change:
- media-libs/freetype-2.13.2 (Change USE: -harfbuzz)
(This change might require USE changes on parent packages.)
Note that this change can be reverted, once the package has been installed.
|
The attempt to emerge freetype via
Quote: | USE="-harfbuzz" emerge --ask media-libs/freetype
|
only resulted in
Quote: | [ebuild R ] sys-libs/zlib-1.3.1-r1 ABI_X86="32*"
[ebuild R ] media-libs/libpng-1.6.43 ABI_X86="32*"
[ebuild R ] app-arch/bzip2-1.0.8-r5 ABI_X86="32*"
[ebuild R ] media-libs/freetype-2.13.2 USE="-harfbuzz*" ABI_X86="32*"
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
media-libs/freetype:2
(media-libs/freetype-2.13.2:2/2::gentoo, ebuild scheduled for merge) USE="X adobe-cff bzip2 cleartype-hinting png svg -brotli -debug -doc -fontforge -harfbuzz -static-libs -utils" ABI_X86="32 (64) (-x32)" pulled in by
media-libs/freetype (Argument)
(media-libs/freetype-2.13.2:2/2::gentoo, installed) USE="X adobe-cff bzip2 cleartype-hinting harfbuzz png svg -brotli -debug -doc -fontforge -static-libs -utils" ABI_X86="(64) -32 (-x32)" pulled in by
>=media-libs/freetype-2.13.2[harfbuzz?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (media-libs/sdl2-ttf-2.22.0:0/0::gentoo, installed) USE="X harfbuzz -static-libs" ABI_X86="(64) -32 (-x32)"
^^^^^^^^^
It might be possible to solve this slot collision
by applying all of the following changes:
- media-libs/freetype-2.13.2 (Change USE: +harfbuzz)
|
So what am I supposed to do now? Here is my make.conf:
Quote: | # These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j9"
# FEATURES="splitdebug"
# NOTE: This stage was builtO with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
USE="-kde -minimal -consolekit alsa bus cdr colord dbus dvd elogind ffmpeg flac gdbm gnome-keyring gtk gtk3 icu javafx jpeg libmov lock mad mp3 ogg opencl opus png pulseaudio scrypt sdl session startup-notification tiff thunar tor-hardening udev vorbis vulkan wavpack webp X xft xml zstd"
GENTOO_MIRRORS="https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
GRUB_PLATFORMS="efi-64"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="evdev"
LINGUAS="en"
ACCEPT_LICENSE="* -@EULA"
|
Last edited by koslowj on Fri Jul 26, 2024 2:14 pm; edited 1 time in total |
|
Back to top |
|
|
eschwartz Developer
Joined: 29 Oct 2023 Posts: 214
|
Posted: Sun Jul 21, 2024 9:28 pm Post subject: |
|
|
The sdl2-ttf package must also be rebuilt without harfbuzz support, in order to compile freetype with USE="-harfbuzz". |
|
Back to top |
|
|
koslowj Tux's lil' helper
Joined: 15 Feb 2005 Posts: 100
|
Posted: Mon Jul 22, 2024 4:38 pm Post subject: |
|
|
Rebuilding sdl2-ttf without harfbuzz support worked fine, but didn't help with rebuilding freetype. I now get
Quote: | [ebuild R ] sys-libs/zlib-1.3.1-r1 ABI_X86="32*"
[ebuild R ] media-libs/libpng-1.6.43 ABI_X86="32*"
[ebuild R ] app-arch/bzip2-1.0.8-r5 ABI_X86="32*"
[ebuild R ] media-libs/freetype-2.13.2 USE="-harfbuzz*" ABI_X86="32*"
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
media-libs/freetype:2
(media-libs/freetype-2.13.2:2/2::gentoo, ebuild scheduled for merge) USE="X adobe-cff bzip2 cleartype-hinting png svg -brotli -debug -doc -fontforge -harfbuzz -static-libs -utils" ABI_X86="32 (64) (-x32)" pulled in by
media-libs/freetype (Argument)
(media-libs/freetype-2.13.2:2/2::gentoo, installed) USE="X adobe-cff bzip2 cleartype-hinting harfbuzz png svg -brotli -debug -doc -fontforge -static-libs -utils" ABI_X86="(64) -32 (-x32)" pulled in by
>=media-libs/freetype-2.13.2[harfbuzz?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (media-libs/sdl2-ttf-2.22.0:0/0::gentoo, installed) USE="X harfbuzz -static-libs" ABI_X86="(64) -32 (-x32)"
|
which looks quite similar to the previous error message. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22615
|
Posted: Mon Jul 22, 2024 4:45 pm Post subject: |
|
|
As eschwartz said above, sdl2-ttf must also be rebuilt without harfbuzz support. Your output shows that was not done. How did you rebuild it?
As an etiquette matter, please use [code] tags for program output, to preserve output layout. |
|
Back to top |
|
|
koslowj Tux's lil' helper
Joined: 15 Feb 2005 Posts: 100
|
Posted: Fri Jul 26, 2024 2:14 pm Post subject: |
|
|
Not sure what went wrong when I first tried to emerge sdl2-ttf without harfbuzz support. After trying a second time and verifying it, I was able to update my system again. As this was a rather new re-installation (about 3 weeks old), I'm somewhat surprised at these circular dependencies. |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 439 Location: Naarm/Melbourne, Australia
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|