Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726056 - x11-apps/mkfontdir-1.2.0 not exists but existing packages depend on it
Summary: x11-apps/mkfontdir-1.2.0 not exists but existing packages depend on it
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-29 09:27 UTC by Alex Efros
Modified: 2020-05-30 19:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2020-05-29 09:27:58 UTC
It looks like mkfontdir tool was moved from (removed) package x11-apps/mkfontdir to x11-apps/mkfontscale. But a lot of existing packages still thing they depend on x11-apps/mkfontdir:

# emerge -pv --depclean x11-apps/mkfontdir
  x11-apps/mkfontdir-1.2.0 pulled in by:
    media-fonts/corefonts-1-r7 requires x11-apps/mkfontdir
    media-fonts/dejavu-2.37 requires x11-apps/mkfontdir
    media-fonts/developer-font-1.6-r1 requires x11-apps/mkfontdir
    media-fonts/font-adobe-100dpi-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-adobe-75dpi-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-adobe-utopia-100dpi-1.0.4-r1 requires x11-apps/mkfontdir
    media-fonts/font-adobe-utopia-75dpi-1.0.4-r1 requires x11-apps/mkfontdir
    media-fonts/font-adobe-utopia-type1-1.0.4-r1 requires x11-apps/mkfontdir
    media-fonts/font-arabic-misc-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-bh-100dpi-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-bh-75dpi-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-bh-lucidatypewriter-100dpi-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-bh-lucidatypewriter-75dpi-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-bh-ttf-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-bh-type1-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-bitstream-100dpi-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-bitstream-75dpi-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-bitstream-speedo-1.0.2-r1 requires x11-apps/mkfontdir
    media-fonts/font-bitstream-type1-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-cronyx-cyrillic-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-cursor-misc-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-daewoo-misc-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-dec-misc-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-ibm-type1-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-isas-misc-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-jis-misc-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-micro-misc-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-misc-cyrillic-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-misc-ethiopic-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-misc-meltho-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-mutt-misc-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-schumacher-misc-1.1.2-r1 requires x11-apps/mkfontdir
    media-fonts/font-screen-cyrillic-1.0.4-r1 requires x11-apps/mkfontdir
    media-fonts/font-sony-misc-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-sun-misc-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/font-winitzki-cyrillic-1.0.3-r1 requires x11-apps/mkfontdir
    media-fonts/steamfonts-1 requires x11-apps/mkfontdir
    media-fonts/urw-fonts-2.4.9 requires x11-apps/mkfontdir

>>> No packages selected for removal by depclean

If I try to just remove it then `emerge -uDN world` became broken - it report a couple of mentioned above dependent packages, e.g:

# emerge -uDNa world
These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "x11-apps/mkfontdir".
(dependency required by "media-fonts/font-winitzki-cyrillic-1.0.3-r1::gentoo" [installed])
(dependency required by "x11-base/xorg-x11-7.4-r3::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

Next I rebuild them:

# emerge -1av media-fonts/font-winitzki-cyrillic x11-base/xorg-x11
Calculating dependencies... done!
[ebuild   R    ] media-fonts/font-winitzki-cyrillic-1.0.3-r1::gentoo  USE="X nls" 0 KiB
[ebuild   R    ] x11-base/xorg-x11-7.4-r3::gentoo  USE="fonts" 0 KiB

but after (successful) rebuild `emerge -uDNa world` still shows the same - sometimes some of listed packages change, but often I see same package (like x11-base/xorg-x11) again and again.
Comment 1 Matt Turner gentoo-dev 2020-05-29 21:56:31 UTC
Re-emerge any packages on your system that depend on it. Nothing in gentoo.git has depended on for the last year.

Try

> emerge -uDNa --with-bdeps=y world
Comment 2 Alex Efros 2020-05-30 04:45:13 UTC
Sorry, but this doesn't work:

# emerge -uDNa --with-bdeps=y world

These are the packages that would be merged, in order:

Calculating dependencies... done!

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-python/pygments:0

  (dev-python/pygments-2.6.1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_6 python3_7 (-pypy3) (-python3_8) (-python3_9)" conflicts with
    dev-python/pygments[python_targets_python2_7(-),python_targets_python3_6(-),python_targets_python3_7(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)] required by (dev-python/docutils-0.16:0/0::gentoo, installed) USE="" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_6 python3_7 (-pypy3) (-python3_8)"
                                                                                                                                                                                                                                                                                       


Nothing to merge; quitting.

# emerge -C x11-apps/mkfontdir
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

 x11-apps/mkfontdir
    selected: 1.2.0 
   protected: none 
     omitted: none 

All selected packages: =x11-apps/mkfontdir-1.2.0

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging (1 of 1) x11-apps/mkfontdir-1.2.0...

 * GNU info directory index is up-to-date.

# emerge -uDNa --with-bdeps=y world

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "x11-apps/mkfontdir".
(dependency required by "media-fonts/font-winitzki-cyrillic-1.0.3-r1::gentoo" [installed])
(dependency required by "x11-base/xorg-x11-7.4-r3::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
#
Comment 3 Matt Turner gentoo-dev 2020-05-30 19:49:03 UTC
Try with --changed-deps --with-bdeps=y.

Also, please don't reopen bugs like this. This is not a support forum.