Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870214 - dev-lang/nasm-2.15.05[doc] fails to compile: no font found of: SourceSansPro-Semibold, ClearSans-Bold, Arial-Bold, Helvetica-Bold
Summary: dev-lang/nasm-2.15.05[doc] fails to compile: no font found of: SourceSansPro-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Smith
URL:
Whiteboard:
Keywords:
: 870292 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-15 12:52 UTC by Agostino Sarubbo
Modified: 2022-09-16 09:34 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,134.93 KB, text/plain)
2022-09-15 12:52 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-09-15 12:52:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/nasm-2.15.05 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-15 12:52:56 UTC
CC'ing also the author of the commit (b496dad016248de210b798e570c73c2c96c1524c)
Comment 2 Agostino Sarubbo gentoo-dev 2022-09-15 12:52:57 UTC
Created attachment 805303 [details]
build.log

build log and emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2022-09-15 14:49:49 UTC
The bug has been closed via the following commit(s):

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

commit 12a06d251b46508008b2c82c02a37f16a7cb9331
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2022-09-15 14:48:43 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2022-09-15 14:49:36 +0000

    dev-lang/nasm: replace obsolete font name when building docs
    
    Closes: https://bugs.gentoo.org/870214
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 dev-lang/nasm/nasm-2.15.05.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)
Comment 4 Joonas Niilola gentoo-dev 2022-09-15 14:54:59 UTC
Thanks, I believe media-fonts/source-sans-2.020 (removed by me in 4e1e4343d74476b72cd9ec7135122cf69b66fe5a) held the oldly named files since I tested compiling with +doc. It does look like the new fonts are named:
/usr/share/fonts/source-sans-3/SourceSans3-Black.otf
/usr/share/fonts/source-sans-3/SourceSans3-BlackIt.otf
/usr/share/fonts/source-sans-3/SourceSans3-Bold.otf
/usr/share/fonts/source-sans-3/SourceSans3-BoldIt.otf
/usr/share/fonts/source-sans-3/SourceSans3-ExtraLight.otf
/usr/share/fonts/source-sans-3/SourceSans3-ExtraLightIt.otf
/usr/share/fonts/source-sans-3/SourceSans3-It.otf
/usr/share/fonts/source-sans-3/SourceSans3-Light.otf
/usr/share/fonts/source-sans-3/SourceSans3-LightIt.otf
/usr/share/fonts/source-sans-3/SourceSans3-Regular.otf
/usr/share/fonts/source-sans-3/SourceSans3-Semibold.otf
/usr/share/fonts/source-sans-3/SourceSans3-SemiboldIt.otf

so I believe for now the dependency needs to be restricted to =media-fonts/source-sans-3.* which is a bit ugly. Or another alternative would be to revert 4e1e4343d74476b72cd9ec7135122cf69b66fe5a and depend on media-fonts/source-sans:pro instead (I didn't have time to test this yet)

So apologies for the mess :) but the current sed method works for me too, if you Matthew will handle it in the future.
Comment 5 Joonas Niilola gentoo-dev 2022-09-15 15:04:51 UTC
Oh right source-sans-3.046 has a slot :3, so that's an easy dep too.
Comment 6 Stephan Hartmann (RETIRED) gentoo-dev 2022-09-16 08:54:12 UTC
*** Bug 870292 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2022-09-16 09:34:23 UTC
The bug has been referenced in the following commit(s):

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

commit 9d2b07e9e990cc8bba02952f51e3a879530b1c94
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-09-16 05:47:26 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-09-16 09:34:20 +0000

    dev-lang/nasm: depend on media-fonts/source-sans:3 for completeness
    
    Bug: https://bugs.gentoo.org/870214
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-lang/nasm/nasm-2.15.05.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)