Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698526 - media-fonts/glass-tty-vt220 - pkg_postinst lacks call to font_pkg_postinst which breaks compilation of other packages (was: media-gfx/gimp-2.10.12 : sandbox issue with /usr/share/fonts/glass-tty-vt220/.uuid.TMP-XXXXXX)
Summary: media-fonts/glass-tty-vt220 - pkg_postinst lacks call to font_pkg_postinst wh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords: PullRequest
: 662960 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-10-25 12:41 UTC by Toralf Förster
Modified: 2019-10-27 11:26 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.34 KB, text/plain)
2019-10-25 12:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,141.14 KB, text/plain)
2019-10-25 12:41 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.56 KB, application/x-bzip)
2019-10-25 12:41 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,25.28 KB, application/x-bzip)
2019-10-25 12:41 UTC, Toralf Förster
Details
media-gfx:gimp-2.10.12:20191025-120306.log.bz2 (media-gfx:gimp-2.10.12:20191025-120306.log.bz2,78.88 KB, application/x-bzip)
2019-10-25 12:41 UTC, Toralf Förster
Details
sandbox-4.log (sandbox-4.log,169.03 KB, text/plain)
2019-10-25 12:41 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-10-25 12:41:07 UTC
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkostemp
S: deny

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20191022-091630

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.38.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 25 Oct 2019 10:31:34 +0000

emerge -qpvO media-gfx/gimp
[ebuild  N    ] media-gfx/gimp-2.10.12  USE="alsa jpeg2k mng postscript udev -aalib (-altivec) (-aqua) -debug -doc -gnome -heif -openexr -python -test -unwind -vector-icons -webp -wmf -xpm" CPU_FLAGS_X86="mmx sse" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2019-10-25 12:41:10 UTC
Created attachment 593900 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-10-25 12:41:13 UTC
Created attachment 593902 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-10-25 12:41:16 UTC
Created attachment 593904 [details]
etc.portage.tbz2
Comment 4 Toralf Förster gentoo-dev 2019-10-25 12:41:19 UTC
Created attachment 593906 [details]
logs.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-10-25 12:41:22 UTC
Created attachment 593908 [details]
media-gfx:gimp-2.10.12:20191025-120306.log.bz2
Comment 6 Toralf Förster gentoo-dev 2019-10-25 12:41:25 UTC
Created attachment 593910 [details]
sandbox-4.log
Comment 7 Toralf Förster gentoo-dev 2019-10-25 12:41:59 UTC
despite 665008 it is still an issue at unstable amd64 tinderbox image 17.1_desktop-libressl-20191022-091630
Comment 8 Sebastian Pipping gentoo-dev 2019-10-26 17:52:48 UTC
This part in the logs…

F: mkostemp
S: deny
P: /usr/share/fonts/glass-tty-vt220/.uuid.TMP-XXXXXX
A: /usr/share/fonts/glass-tty-vt220/.uuid.TMP-XXXXXX
R: /usr/share/fonts/glass-tty-vt220/.uuid.TMP-XXXXXX
C: /usr/bin/gegl-0.4 ../../icons/Symbolic/64/gimp-error.png -o 64/gimp-error.png -- gegl:invert-gamma 

…to me looks like the media-fonts/glass-tty-vt220 is causing this.  Looking at glass-tty-vt220-001.3-r1.ebuild I find a custom pkg_postinst that does no call parent font_pkg_postinst so the ebuild fails to update the fonjt cache during installation (but not removal).  Handing over to media-fonts/glass-tty-vt220 maintainers.
Comment 9 Conrad Kostecki gentoo-dev 2019-10-26 19:04:34 UTC
Thank you. This would also explain https://bugs.gentoo.org/662960.

Fill will a PR for updating.
Comment 10 Larry the Git Cow gentoo-dev 2019-10-27 11:24:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36ef6982bac289a6565459cc29339ba506f02cdf

commit 36ef6982bac289a6565459cc29339ba506f02cdf
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2019-10-26 19:10:05 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-10-27 11:24:19 +0000

    media-fonts/glass-tty-vt220: update font cache automatically
    
    Since pkg_postinst is custom definied, the font cache is not updated
    after installation. This can lead to access violations on other
    packages, which try to do this.
    
    Closes: https://bugs.gentoo.org/698526
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
    Closes: https://github.com/gentoo/gentoo/pull/13453
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 ...{glass-tty-vt220-001.3-r1.ebuild => glass-tty-vt220-001.3-r2.ebuild} | 2 ++
 1 file changed, 2 insertions(+)
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-27 11:26:07 UTC
*** Bug 662960 has been marked as a duplicate of this bug. ***