Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835793 - app-i18n/jfbterm installs to /usr/share/fonts without updating cache (was: app-doc/devmanual-0_pre20210118 - sandbox issue)
Summary: app-i18n/jfbterm installs to /usr/share/fonts without updating cache (was: ap...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords: PullRequest
: 828087 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-03-22 09:29 UTC by Toralf Förster
Modified: 2025-02-12 18:16 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.87 KB, text/plain)
2022-03-22 09:29 UTC, Toralf Förster
Details
app-doc:devmanual-0_pre20210118:20220322-070913.log (app-doc:devmanual-0_pre20210118:20220322-070913.log,19.05 KB, text/plain)
2022-03-22 09:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,233.94 KB, text/plain)
2022-03-22 09:29 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,23.08 KB, application/x-bzip)
2022-03-22 09:29 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.06 KB, application/x-bzip)
2022-03-22 09:29 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 2022-03-22 09:29:30 UTC
head: cannot open '/var/tmp/portage/app-doc/devmanual-0_pre20210118/temp/sandbox.log' for reading: No such file or directory

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20220319-111511

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 13.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.1
Python 3.9.11
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.59.0
  [2]   rust-1.59.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit e8405e18fc425f37b52760cd7d06b576a6099ba3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Mar 22 06:19:40 2022 +0000

    2022-03-22 06:19:37 UTC

emerge -qpvO app-doc/devmanual
[ebuild  N    ] app-doc/devmanual-0_pre20210118  USE="offline"
Comment 1 Toralf Förster gentoo-dev 2022-03-22 09:29:31 UTC
Created attachment 767575 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-03-22 09:29:32 UTC
Created attachment 767576 [details]
app-doc:devmanual-0_pre20210118:20220322-070913.log
Comment 3 Toralf Förster gentoo-dev 2022-03-22 09:29:35 UTC
Created attachment 767577 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-03-22 09:29:36 UTC
Created attachment 767578 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-03-22 09:29:38 UTC
Created attachment 767579 [details]
logs.tar.bz2
Comment 6 Ulrich Müller gentoo-dev 2022-03-22 10:34:58 UTC
(In reply to Toralf Förster from comment #2)
> Created attachment 767576 [details]
> app-doc:devmanual-0_pre20210118:20220322-070913.log

rsvg-convert --output=general-concepts/mirrors/diagram.png general-concepts/mirrors/diagram.svg
rsvg-convert --output=general-concepts/git-to-rsync/diagram.png general-concepts/git-to-rsync/diagram.svg
rsvg-convert --output=general-concepts/emerge-and-ebuild/diagram.png general-concepts/emerge-and-ebuild/diagram.svg
rsvg-convert --output=general-concepts/autotools/diagram.png general-concepts/autotools/diagram.svg
 * ACCESS DENIED:  mkostemp:      /usr/share/fonts/jfbterm/.uuid.TMP-XXXXXX
 * ACCESS DENIED:  mkostemp:      /usr/share/fonts/jfbterm/.uuid.TMP-XXXXXX
 * ACCESS DENIED:  mkostemp:      /usr/share/fonts/jfbterm/.uuid.TMP-XXXXXX
 * ACCESS DENIED:  mkostemp:      /usr/share/fonts/jfbterm/.uuid.TMP-XXXXXX
rsvg-convert --output=ebuild-writing/functions/diagram.png ebuild-writing/functions/diagram.svg
 * ACCESS DENIED:  mkostemp:      /usr/share/fonts/jfbterm/.uuid.TMP-XXXXXX

Not sure what is happening there, and I cannot reproduce the problem. Definitely rsvg-convert shouldn't try to create a temporary file in /usr/share.

@gnome: Any idea what is going on?
Comment 7 Ionen Wolkens gentoo-dev 2022-03-22 10:44:29 UTC
to reproduce when /usr/share/fonts/jfbterm/.uuid doesn't already exist:
- emerge open-sans (updates font cache so needs to be done first)
- emerge jfbterm (doesn't update)
- emerge devmanual (sandbox issue due to jfbterm, many other packages will fail too like gimp, so I wouldn't call this devmanual's bug)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-27 07:34:10 UTC
*** Bug 828087 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2025-02-12 18:16:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77728d89f28570c51693d1f0278c88a711bf29bb

commit 77728d89f28570c51693d1f0278c88a711bf29bb
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-12 17:34:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-12 18:15:42 +0000

    app-i18n/jfbterm: update EAPI 7 -> 8, fix home URI, port to C23
    
    Changes call to time() to call to gettimeofday() according to utmp man page
    Removes font installation from makefile and delegates to portage machinery
    so font cache gets updated
    
    Bug: https://bugs.gentoo.org/835793
    Closes: https://bugs.gentoo.org/919295
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40547
    Signed-off-by: Sam James <sam@gentoo.org>

 app-i18n/jfbterm/files/jfbterm-0.4.7-fonts.patch   | 15 ++++++
 .../files/jfbterm-0.4.7-gettimeoftheday.patch      | 43 +++++++++++++++
 app-i18n/jfbterm/jfbterm-0.4.7-r5.ebuild           | 63 ++++++++++++++++++++++
 3 files changed, 121 insertions(+)