Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709576 - media-fonts/*: pushd fails with "No such file or directory"
Summary: media-fonts/*: pushd fails with "No such file or directory"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-02-14 07:19 UTC by Ulrich Müller
Modified: 2020-02-14 12:58 UTC (History)
4 users (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 Ulrich Müller gentoo-dev 2020-02-14 07:19:06 UTC
* Package:    media-fonts/open-sans-1-r1
 * Repository: gentoo
 * Maintainer: fonts@gentoo.org
 * USE:        X abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   ccache compressdebug network-sandbox preserve-libs sandbox splitd
ebug userpriv usersandbox
 * Package:    media-fonts/open-sans-1-r1
 * Repository: gentoo
 * Maintainer: fonts@gentoo.org
 * USE:        X abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   ccache compressdebug network-sandbox preserve-libs sandbox splitd
ebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking open-sans-1.zip to /tmp/portage/media-fonts/open-sans-1-r1/work
>>> Source unpacked in /tmp/portage/media-fonts/open-sans-1-r1/work
>>> Preparing source in /tmp/portage/media-fonts/open-sans-1-r1/work ...
>>> Source prepared.
>>> Configuring source in /tmp/portage/media-fonts/open-sans-1-r1/work ...
>>> Source configured.
>>> Compiling source in /tmp/portage/media-fonts/open-sans-1-r1/work ...
>>> Source compiled.
>>> Test phase [not enabled]: media-fonts/open-sans-1-r1
>>> Install media-fonts/open-sans-1-r1 into /tmp/portage/media-fonts/open-sans-1-r1/image/
/tmp/portage/media-fonts/open-sans-1-r1/temp/environment: line 1036: pushd: /tmp/portage/media-fonts/open-sans-1-r1/work/open-sans-1: No such file or directory
 * Creating fonts.scale & fonts.dir in open-sans
/tmp/portage/media-fonts/open-sans-1-r1/temp/environment: line 1043: popd: directory stack empty
>>> Completed installing media-fonts/open-sans-1-r1 into /tmp/portage/media-fonts/open-sans-1-r1/image/


The problem is that font.eclass sets FONT_S to ${S} when it is being inherited, so the later assignment of S in the ebuild has no effect.

Adding the line:
FONT_S="${S}"
to the ebuild (just after assignment of S) fixes it.
Comment 1 Ulrich Müller gentoo-dev 2020-02-14 08:18:31 UTC
There are more packages in media-fonts affected by this. See linked pull request.
Comment 2 Ulrich Müller gentoo-dev 2020-02-14 08:25:43 UTC
AFAICS, these packages are affected:

media-fonts/bitstream-cyberbit
media-fonts/crosextrafonts-caladea
media-fonts/gidole
media-fonts/hermit
media-fonts/jetbrains-mono
media-fonts/kochi-substitute
media-fonts/open-sans
media-fonts/quivira
media-fonts/tex-gyre
media-fonts/zh-kcfonts

CCing all maintainers.
Comment 3 Larry the Git Cow gentoo-dev 2020-02-14 12:58:05 UTC
The bug has been closed via the following commit(s):

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

commit a93ebf50271fe4f950b69f1c9f461f551377f267
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-02-14 08:11:09 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-02-14 12:57:15 +0000

    media-fonts/zh-kcfonts: Add missing FONT_S assignment.
    
    This fixes a failure of pushd/popd in font_src_install().
    
    Closes: https://bugs.gentoo.org/709576
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 media-fonts/zh-kcfonts/zh-kcfonts-1.05-r3.ebuild | 1 +
 1 file changed, 1 insertion(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aca0212ddfc8894072af9ff24558ce12d465c56

commit 5aca0212ddfc8894072af9ff24558ce12d465c56
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-02-14 08:11:03 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-02-14 12:57:15 +0000

    media-fonts/tex-gyre: Add missing FONT_S assignment.
    
    This fixes a failure of pushd/popd in font_src_install().
    
    Closes: https://bugs.gentoo.org/709576
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 media-fonts/tex-gyre/tex-gyre-2.005.ebuild | 1 +
 1 file changed, 1 insertion(+)

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

commit b0448ccefe7d7449a678f8ea751458c2fef1829e
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-02-14 08:10:58 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-02-14 12:57:14 +0000

    media-fonts/quivira: Add missing FONT_S assignment.
    
    This fixes a failure of pushd/popd in font_src_install().
    
    Closes: https://bugs.gentoo.org/709576
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 media-fonts/quivira/quivira-4.0.ebuild | 3 ++-
 media-fonts/quivira/quivira-4.1.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

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

commit afd9ce6ee2ebaf272c7fd1b39205a87e6dbe9051
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-02-14 08:10:54 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-02-14 12:57:13 +0000

    media-fonts/open-sans: Add missing FONT_S assignment.
    
    This fixes a failure of pushd/popd in font_src_install().
    
    Closes: https://bugs.gentoo.org/709576
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 media-fonts/open-sans/open-sans-1-r1.ebuild | 1 +
 media-fonts/open-sans/open-sans-1.ebuild    | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ce5fdee8b2e714078d6ebd8eba0351235593120

commit 8ce5fdee8b2e714078d6ebd8eba0351235593120
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-02-14 08:10:48 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-02-14 12:57:13 +0000

    media-fonts/kochi-substitute: Add missing FONT_S assignment.
    
    This fixes a failure of pushd/popd in font_src_install().
    
    Closes: https://bugs.gentoo.org/709576
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 media-fonts/kochi-substitute/kochi-substitute-20030809-r3.ebuild | 1 +
 1 file changed, 1 insertion(+)

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

commit f69811f5167ac9df8c20abdfb86a94ee030b9eca
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-02-14 08:10:41 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-02-14 12:57:12 +0000

    media-fonts/jetbrains-mono: Add missing FONT_S assignment.
    
    This fixes a failure of pushd/popd in font_src_install().
    
    Closes: https://bugs.gentoo.org/709576
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 media-fonts/jetbrains-mono/jetbrains-mono-1.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2639dff541ad33bd9487f57f6aace0072df8756f

commit 2639dff541ad33bd9487f57f6aace0072df8756f
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-02-14 08:10:38 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-02-14 12:57:11 +0000

    media-fonts/hermit: Add missing FONT_S assignment.
    
    This fixes a failure of pushd/popd in font_src_install().
    
    Closes: https://bugs.gentoo.org/709576
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 media-fonts/hermit/hermit-1.1.ebuild  | 3 ++-
 media-fonts/hermit/hermit-1.21.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=558309315d030a3874628630ac60e4e2e520f6f2

commit 558309315d030a3874628630ac60e4e2e520f6f2
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-02-14 08:10:34 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-02-14 12:57:10 +0000

    media-fonts/gidole: Add missing FONT_S assignment.
    
    This fixes a failure of pushd/popd in font_src_install().
    
    Closes: https://bugs.gentoo.org/709576
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 media-fonts/gidole/gidole-2.0.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=712920f61136fba50bf1c48b2adfb06f067ec95b

commit 712920f61136fba50bf1c48b2adfb06f067ec95b
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-02-14 08:10:30 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-02-14 12:57:10 +0000

    media-fonts/crosextrafonts-caladea: Add missing FONT_S assignment.
    
    This fixes a failure of pushd/popd in font_src_install().
    
    Closes: https://bugs.gentoo.org/709576
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 .../crosextrafonts-caladea/crosextrafonts-caladea-20130214.ebuild      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47d97b1c7a44d2bfd5e7b7924e546f27ebee7255

commit 47d97b1c7a44d2bfd5e7b7924e546f27ebee7255
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-02-14 08:10:27 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-02-14 12:57:09 +0000

    media-fonts/bitstream-cyberbit: Add missing FONT_S assignment.
    
    This fixes a failure of pushd/popd in font_src_install().
    
    Closes: https://bugs.gentoo.org/709576
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 media-fonts/bitstream-cyberbit/bitstream-cyberbit-2.0-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)