View previous topic :: View next topic |
Author |
Message |
bigjew222 n00b

Joined: 07 Jul 2021 Posts: 12
|
Posted: Wed Jul 07, 2021 7:20 pm Post subject: |
|
|
fedeliallalinea wrote: | bigjew222 wrote: | command and it returned the following: |
This is true because I forgot the dependencies
Code: | # USE="-harfbuzz" emerge -1 virtual/libintl app-arch/bzip2 virtual/libiconv media-libs/libpng dev-libs/libpcre media-libs/freetype media-gfx/graphite2 sys-apps/util-linux dev-libs/glib media-libs/harfbuzz --nodeps
# emerge -1 media-libs/freetype media-libs/harfbuz |
create backup with quickpkg |
You are a gentleman and a scholar, sir! The above 2 commands resolved the issue.
One last question - now that the circular dependency has been resolved & all packages emerged, is there a specific emerge command I should run? Such as "$ emerge --ask --verbose --update --newuse --deep @world" , etc. ?
And just a tiny little nitpick of your post, for the benefit of future readers of this thread -- your last command has a typo (missing one last 'z' at the end of harfbuzz: "harfbuz")  |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31535 Location: here
|
Posted: Wed Jul 07, 2021 7:47 pm Post subject: |
|
|
bigjew222 wrote: | One last question - now that the circular dependency has been resolved & all packages emerged, is there a specific emerge command I should run? Such as "$ emerge --ask --verbose --update --newuse --deep @world" , etc. ? |
After sync for update my system I use emerge --ask --verbose --update --changed-use --deep @world, usually is better --changed-use instead of --newuse (see man emerge for more information) _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23186
|
Posted: Wed Jul 07, 2021 10:03 pm Post subject: |
|
|
bigjew222 wrote: | And just a tiny little nitpick of your post, for the benefit of future readers of this thread -- your last command has a typo (missing one last 'z' at the end of harfbuzz: "harfbuz")  | Fixed. |
|
Back to top |
|
 |
toralf Developer


Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Sun Jul 11, 2021 9:29 am Post subject: |
|
|
I do currently try Code: | USE="-X -cairo -glib -graphite -harfbuzz -icu -introspection -png -truetype" emerge media-libs/freetype media-libs/harfbuzz | here at the tinderbox to repair auto.setup of new images. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31535 Location: here
|
Posted: Sun Jul 11, 2021 9:38 am Post subject: |
|
|
toralf,
I don't think your solution works, the problem is that OP has changed abi_x86_32 in a second moment but there are some package compiled only with 64bit that need media-libs/harfbuzz[truetype] or media-libs/freetype[harfbuzz] _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
drift244 n00b

Joined: 11 Jul 2021 Posts: 8
|
Posted: Sun Jul 11, 2021 7:52 pm Post subject: |
|
|
I am having the exact same problem on a fresh install of gentoo. When I change my profile
from [1] default/linux/amd64/17.1 (stable)
to [5] default/linux/amd64/17.1/desktop (stable)
and run
Code: |
emerge --ask --verbose --update --deep --newuse @world
|
I get
Code: | * Error: circular dependencies:
(media-libs/harfbuzz-2.8.1:0/0.9.18::gentoo, ebuild scheduled for merge) depends on
(media-libs/freetype-2.10.4:2/2::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
(media-libs/harfbuzz-2.8.1:0/0.9.18::gentoo, ebuild scheduled for merge) (buildtime)
* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies. |
[Moderator edit: changed [topic] tags to [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
 |
drift244 n00b

Joined: 11 Jul 2021 Posts: 8
|
Posted: Sun Jul 11, 2021 10:15 pm Post subject: |
|
|
I was able the fix the circular dependencies by installing grub as grub installs freetype.
Code: |
[ebuild N ] media-libs/libpng-1.6.37-r2:0/16::gentoo USE="-apng -static-libs" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse" 989 KiB
[ebuild N ] media-libs/freetype-2.10.4:2::gentoo USE="adobe-cff bzip2 cleartype_hinting png -X -bindist -brotli -debug -doc -fontforge -harfbuzz (-infinality) -static-libs -utils" ABI_X86="(64) -32 (-x32)" 2,360 KiB
[ebuild N ] sys-libs/efivar-37:0/1::gentoo 107 KiB
[ebuild N ] sys-boot/efibootmgr-17::gentoo 41 KiB
[ebuild N ] sys-boot/grub-2.06:2/2.06::gentoo USE="fonts nls themes -device-mapper -doc -efiemu -libzfs -mount -sdl (-test) -truetype" GRUB_PLATFORMS="efi-64 -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -pc -qemu -qemu-mips -uboot -xen -xen-32 -xen-pvh" 8,140 KiB
|
Strange, as this has never happened before. |
|
Back to top |
|
 |
Fauchmatte n00b

Joined: 03 Jul 2021 Posts: 4
|
Posted: Mon Jul 12, 2021 11:39 am Post subject: |
|
|
toralf wrote: | I do currently try Code: | USE="-X -cairo -glib -graphite -harfbuzz -icu -introspection -png -truetype" emerge media-libs/freetype media-libs/harfbuzz | here at the tinderbox to repair auto.setup of new images. |
Thank You. I have the same problem on a fresh install on testing branch and this works for me. |
|
Back to top |
|
 |
toralf Developer


Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Wed Jul 14, 2021 12:17 pm Post subject: |
|
|
Fauchmatte wrote: | toralf wrote: | I do currently try Code: | USE="-X -cairo -glib -graphite -harfbuzz -icu -introspection -png -truetype" emerge media-libs/freetype media-libs/harfbuzz | here at the tinderbox to repair auto.setup of new images. |
Thank You. I have the same problem on a fresh install on testing branch and this works for me. | Nice, I slightly reduced the # of masked flags in the meanwhile, this is currently sufficient for the tinderbox: Code: | USE="-X -cairo -fontconfig -graphite -harfbuzz -icu -png -truetype" emerge -u media-libs/freetype media-libs/harfbuzz |
|
|
Back to top |
|
 |
Linx_ n00b


Joined: 01 Jul 2018 Posts: 68
|
Posted: Thu Jul 15, 2021 12:51 am Post subject: |
|
|
I'm having the same issue. I was able to get around it initially by using these tips, but now I'm emerging packages like wine and ffmpeg that want to rebuild harfbuzz and freetype with ABI_X86="32" and for the life of me I can't get it to work. Is there a patch or something for this? This is crazy. _________________ I occasionally post sober.
My overlay of Mate tools and desktop apps is here. |
|
Back to top |
|
 |
Blind_Sniper Guru

Joined: 20 Apr 2018 Posts: 370
|
Posted: Thu Jul 15, 2021 11:57 am Post subject: |
|
|
Had the same issue.
Solved by removing both conflicting packages (freetype and harfbuzz)
Code: | emerge --unmerge freetype harfbuzz |
and the emerging them again
Code: | emerge freetype harfbuzz |
No need to change flags (neither with USE= nor with package.use). It will lead to problems with other packages like ffmpeg, which depends on specific features enabled by these flags _________________ GNU is Not Usable |
|
Back to top |
|
 |
Kollin Veteran


Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Thu Jul 15, 2021 1:38 pm Post subject: |
|
|
For me worked:
Code: | emerge -C freetype harfbuzz |
Code: | USE="-truetype -harfbuzz" emerge -1 freetype harfbuzz |
Code: | emerge -1 freetype harfbuzz |
_________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
 |
tomtom69 Apprentice

Joined: 09 Nov 2010 Posts: 256 Location: Bavaria
|
Posted: Thu Jul 15, 2021 7:17 pm Post subject: |
|
|
Had the same here, but only on 2 of 4 machines. For me changing package.use according to the output of "emerge -uav freetype"
Code: |
It might be possible to solve this slot collision
by applying all of the following changes:
- media-libs/freetype-2.10.4 (Change USE: +harfbuzz)
|
worked.
However I have to keep this entry in package.use for the moment, removing it after emerging freetype results in the same error. |
|
Back to top |
|
 |
tomtom69 Apprentice

Joined: 09 Nov 2010 Posts: 256 Location: Bavaria
|
Posted: Thu Jul 15, 2021 7:24 pm Post subject: |
|
|
I forgot to mention:
the need for setting "+harfbuzz" seems strange to me, because it should be already set?
Code: |
~ # equery depends freetype
* These packages depend on freetype:
[...]
x11-libs/pango-1.48.7 (>=media-libs/freetype-2.5.0.1:2[harfbuzz,png,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
|
So i would expect the installed package "x11-libs/pango" should force the +harfbuzz use flag for freetype. |
|
Back to top |
|
 |
Linx_ n00b


Joined: 01 Jul 2018 Posts: 68
|
Posted: Fri Jul 16, 2021 1:45 am Post subject: |
|
|
I finally got my situation resolved , but I tried so many things I'm not sure which one actually did it. I'm currently forcing freetype and harfbuzz on each other and abi_x86_32 on both. It seems to be happy for the moment. _________________ I occasionally post sober.
My overlay of Mate tools and desktop apps is here. |
|
Back to top |
|
 |
denn0n Tux's lil' helper

Joined: 24 May 2020 Posts: 87
|
Posted: Sat Jul 17, 2021 11:19 pm Post subject: Fresh Install emerge --ask --verbose --update --changed-use |
|
|
Fails on Code: | Total: 38 packages (35 new, 3 reinstalls), Size of downloads: 327287 KiB
* Error: circular dependencies: |
just after Code: | eselect profile list
[1] default/linux/amd64/17.1 (stable)
[2] default/linux/amd64/17.1/selinux (stable)
[3] default/linux/amd64/17.1/hardened (stable)
[4] default/linux/amd64/17.1/hardened/selinux (stable)
[5] default/linux/amd64/17.1/desktop (stable)
[6] default/linux/amd64/17.1/desktop/gnome (stable) *
[7] default/linux/amd64/17.1/desktop/gnome/systemd (stable)
[8] default/linux/amd64/17.1/desktop/plasma (stable)
[9] default/linux/amd64/17.1/desktop/plasma/systemd (stable)
[10] default/linux/amd64/17.1/desktop/systemd (stable)
[11] default/linux/amd64/17.1/developer (stable)
[12] default/linux/amd64/17.1/no-multilib (stable)
[13] default/linux/amd64/17.1/no-multilib/hardened (stable)
[14] default/linux/amd64/17.1/no-multilib/hardened/selinux (stable)
[15] default/linux/amd64/17.1/no-multilib/systemd (dev)
[16] default/linux/amd64/17.1/systemd (stable)
[17] default/linux/amd64/17.0 (dev)
[18] default/linux/amd64/17.0/selinux (dev)
[19] default/linux/amd64/17.0/hardened (dev)
[20] default/linux/amd64/17.0/hardened/selinux (dev)
[21] default/linux/amd64/17.0/desktop (dev)
[22] default/linux/amd64/17.0/desktop/gnome (dev)
[23] default/linux/amd64/17.0/desktop/gnome/systemd (dev)
[24] default/linux/amd64/17.0/desktop/plasma (dev)
[25] default/linux/amd64/17.0/desktop/plasma/systemd (dev)
[26] default/linux/amd64/17.0/developer (dev)
[27] default/linux/amd64/17.0/no-multilib (dev)
[28] default/linux/amd64/17.0/no-multilib/hardened (dev)
[29] default/linux/amd64/17.0/no-multilib/hardened/selinux (dev)
[30] default/linux/amd64/17.0/systemd (dev)
[31] default/linux/amd64/17.0/x32 (dev)
[32] default/linux/amd64/17.0/musl (exp)
[33] default/linux/amd64/17.0/musl/hardened (exp)
[34] default/linux/amd64/17.0/musl/hardened/selinux (exp)
[35] default/linux/amd64/17.0/uclibc (exp)
[36] default/linux/amd64/17.0/uclibc/hardened (exp) |
even if i change the desktop to plasma I can't execute Code: | emerge --ask --verbose --update --changed-use --deep @world | without Code: | BI_X86="(64) -32 (-x32)" 2360 KiB
Total: 38 packages (35 new, 3 reinstalls), Size of downloads: 327287 KiB
* Error: circular dependencies:
(media-libs/freetype-2.10.4:2/2::gentoo, ebuild scheduled for merge) depends on
(media-libs/harfbuzz-2.8.1:0/0.9.18::gentoo, ebuild scheduled for merge) (buildtime)
(media-libs/freetype-2.10.4:2/2::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.
(chroot) livecd / # |
|
|
Back to top |
|
 |
alamahant Advocate

Joined: 23 Mar 2019 Posts: 3958
|
Posted: Sun Jul 18, 2021 9:48 am Post subject: |
|
|
For new installs this works for me
Code: |
emerge --sync
eselect profile set 1
env-update
USE="-truetype" emerge -1av freetype harfbuzz
USE="truetype harfbuzz" emerge -1av freetype harfbuzz
echo "media-libs/freetype harfbuzz" > /etc/portage/package.use/freetype
eselect profile set <some-desktop>
env-update
emerge -uDNav @world
|
_________________

Last edited by alamahant on Sun Jul 18, 2021 6:16 pm; edited 2 times in total |
|
Back to top |
|
 |
denn0n Tux's lil' helper

Joined: 24 May 2020 Posts: 87
|
Posted: Sun Jul 18, 2021 5:54 pm Post subject: |
|
|
fedeliallalinea wrote: | bigjew222 wrote: | command and it returned the following: |
This is true because I forgot the dependencies
Code: | # USE="-harfbuzz" emerge -1 virtual/libintl app-arch/bzip2 virtual/libiconv media-libs/libpng dev-libs/libpcre media-libs/freetype media-gfx/graphite2 sys-apps/util-linux dev-libs/glib media-libs/harfbuzz --nodeps
# emerge -1 media-libs/freetype media-libs/harfbuzz |
create backup with quickpkg |
In a Fresh install media-gfx/graphite2 and dev-libs/glib give some error, I did emerge them whit the command
I'm not sure if it's necessary the USE FLAG but this is what I did
Code: | USE="-harfbuzz" emerge -1 media-gfx/graphite2 |
and
Code: | USE="-harfbuzz" emerge -1 dev-libs/glib |
They complete and the rest is easy 
Last edited by denn0n on Sun Jul 18, 2021 7:10 pm; edited 1 time in total |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31535 Location: here
|
Posted: Sun Jul 18, 2021 6:16 pm Post subject: |
|
|
denn0n wrote: | In a Fresh install media-gfx/graphite2 and dev-libs/glib give some error, if you emerge them whit the command |
This command is work only if you have exactly same situation (error, use flags eanbled,..) as OP. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
vojeroen n00b

Joined: 22 Jul 2021 Posts: 3
|
Posted: Thu Jul 22, 2021 6:32 pm Post subject: |
|
|
Hi, does anyone know if this is considered a bug and will be fixed in the portage tree?
There are workarounds available (in fact on my own machine I have had the same issue and fixed it), but when building using the gentoo/stage3 docker images, it would mean I need to apply these fixes every time on the images before it can be used to build something that depends on freetype or harfbuzz. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31535 Location: here
|
Posted: Thu Jul 22, 2021 6:42 pm Post subject: |
|
|
vojeroen wrote: | Hi, does anyone know if this is considered a bug and will be fixed in the portage tree? |
No isn't a bug but a problem of dependencies caused by use flag settings, so you should compile package(s) first time without some use flags for to be able to then compile it with all the desired use flags. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
mega_flow Tux's lil' helper


Joined: 26 Jun 2016 Posts: 97 Location: Belgium
|
Posted: Thu Jul 22, 2021 6:53 pm Post subject: |
|
|
USE="-gtk -harfbuzz" emerge media-libs/harfbuzz work for me
next add "media-libs/freetype harfbuzz" to /etc/portage/package.use _________________ default/linux/amd64/23.0/no-multilib/systemd gnome:47.2
Legion Slim 5 16ARP9
intel haswell h97i homeserver
SteamDeck |
|
Back to top |
|
 |
ozric n00b

Joined: 13 Oct 2006 Posts: 38 Location: Örebro, Sweden
|
Posted: Wed Sep 01, 2021 8:31 am Post subject: |
|
|
alamahant wrote: | For new installs this works for me
Code: |
emerge --sync
eselect profile set 1
env-update
USE="-truetype" emerge -1av freetype harfbuzz
USE="truetype harfbuzz" emerge -1av freetype harfbuzz
echo "media-libs/freetype harfbuzz" > /etc/portage/package.use/freetype
eselect profile set <some-desktop>
env-update
emerge -uDNav @world
|
|
Let me just express my humble gratitude towards you for making the above quoted post.
I have not been using Gentoo for about ten years or so, and around a month ago I started a fresh install to catch up and have some genuine FUN with computing. There has been no fun what so ever up until today:
I got completely stuck at the circular dependencies (harfbuzz, freetype). Reinstalled my system several times as I had no idea what went wrong all the time.
This morning - in desperation, anger, despair, torn out hair and clothes, crying - I stumbled on your post.
Lets just say you made - not only my day - but a whole month. Thank you very much. |
|
Back to top |
|
 |
alamahant Advocate

Joined: 23 Mar 2019 Posts: 3958
|
Posted: Wed Sep 01, 2021 8:36 am Post subject: |
|
|
ozric
Glad it worked out for you..
 _________________
 |
|
Back to top |
|
 |
archenroot Apprentice


Joined: 13 Dec 2011 Posts: 218 Location: Lake Macha, Czech republic
|
Posted: Mon Sep 20, 2021 12:17 pm Post subject: |
|
|
Or in my case with more use flags enabled I had to do:
Code: | USE="-harfbuzz" emerge -1 dev-libs/icu dev-libs/libffi virtual/libintl app-arch/bzip2 virtual/libiconv media-libs/libpng dev-libs/libpcre media-libs/freetype media-gfx/graphite2 sys-apps/util-linux dev-libs/glib media-libs/harfbuzz --nodeps |
_________________ Emperor wants to control outer space Yoda wants to explore inner space that's the fundamental difference between good and bad sides of the Force |
|
Back to top |
|
 |
|