Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490924 - =app-doc/devmanual-0_pre20131109 does not build with media-gfx/graphicsmagick-1.3.18 - cannot convert: Unable to read font (/usr/share/fonts/corefonts/arial.ttf) [No such file or directory].
Summary: =app-doc/devmanual-0_pre20131109 does not build with media-gfx/graphicsmagick...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard: Missing dependency on media-fonts/cor...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-10 10:11 UTC by Dennis Schridde
Modified: 2013-11-22 22:22 UTC (History)
0 users

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


Attachments
build.log (build.log,15.22 KB, text/x-log)
2013-11-10 10:11 UTC, Dennis Schridde
Details
emerge --info graphicsmagick (emerge.info,5.98 KB, application/x-info)
2013-11-11 22:09 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-11-10 10:11:00 UTC
convert general-concepts/mirrors/diagram.svg general-concepts/mirrors/diagram.png
convert general-concepts/emerge-and-ebuild/diagram.svg general-concepts/emerge-and-ebuild/diagram.png
convert general-concepts/cvs-to-rsync/diagram.svg general-concepts/cvs-to-rsync/diagram.png
convert convert: Unable to read font (/usr/share/fonts/corefonts/arial.ttf) [No such file or directory].
make: *** [general-concepts/emerge-and-ebuild/diagram.png] Error 1
make: *** Waiting for unfinished jobs....
convert convert: Unable to read font (/usr/share/fonts/corefonts/arial.ttf) [No such file or directory].
make: *** [general-concepts/cvs-to-rsync/diagram.png] Error 1
convert convert: Unable to read font (/usr/share/fonts/corefonts/arial.ttf) [No such file or directory].
make: *** [general-concepts/mirrors/diagram.png] Error 1


Reproducible: Always
Comment 1 Dennis Schridde 2013-11-10 10:11:42 UTC
Created attachment 362966 [details]
build.log

I assume app-doc/devmanual-0_pre20131109 needs to depend on media-fonts/corefonts.
Comment 2 Dennis Schridde 2013-11-10 10:12:24 UTC
# q file -v `which convert`
media-gfx/graphicsmagick-1.3.18 (/usr/bin/convert)
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2013-11-11 20:28:41 UTC
I can't reproduce it

Please attach your emerge --info and your emerge -pv imagemagick and emerge -pv graphicsmagick output
Comment 4 Dennis Schridde 2013-11-11 22:09:16 UTC
Created attachment 363090 [details]
emerge --info graphicsmagick
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2013-11-12 18:34:02 UTC
I also asked for the emerge -pv imagemagick output. devmanual requires imagemagick so you have to have that installed.

There is something wrong with your devmanual ebuild. Did you edit it by hand? devmanual requires imagemagick but you have graphicsmagick with the "imagemagick" use flag set to it which means imagemagick can't be installed which means you should never be able to use devmanual with that configuration. Please sync your tree to get a working copy of devmanual and try again
Comment 6 Dennis Schridde 2013-11-22 16:36:24 UTC
I assume it is a bug in packaging of graphicsmagick then -- I assume it needs to depend on media-fonts/corefonts.
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2013-11-22 17:43:42 UTC
(In reply to Dennis Schridde from comment #6)
> I assume it is a bug in packaging of graphicsmagick then -- I assume it
> needs to depend on media-fonts/corefonts.

You dont understand what I am saying. devmanual does not depend on graphicsmagick so trying to build devmanual with graphics magic is not supported. Or at least the title is incorrect
Comment 8 Dennis Schridde 2013-11-22 18:13:12 UTC
(In reply to Markos Chandras from comment #7)
> (In reply to Dennis Schridde from comment #6)
> > I assume it is a bug in packaging of graphicsmagick then -- I assume it
> > needs to depend on media-fonts/corefonts.
> 
> You dont understand what I am saying. devmanual does not depend on
> graphicsmagick so trying to build devmanual with graphics magic is not
> supported. Or at least the title is incorrect

I understood GraphicsMagick to be compatible with ImageMagick. Thus I assume media-gfx/graphicsmagick[imagemagick] to be intended as a drop-in replacement for media-gfx/imagemagick. Since graphicsmagick fails where imagemagick succeeds, namely because a font is missing, there seems to be a dependency missing in the graphicsmagick ebuild.

The need for arial.ttf does not seem to come from the SVG file and not from the commandline either. The only other explanation I come up with, is that there must be some stale file left over from when corefonts was installed, which makes graphicsmagick use arial.ttf / provides a bad path for some default font.
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2013-11-22 18:46:32 UTC
(In reply to Dennis Schridde from comment #8)
> (In reply to Markos Chandras from comment #7)
> > (In reply to Dennis Schridde from comment #6)
> > > I assume it is a bug in packaging of graphicsmagick then -- I assume it
> > > needs to depend on media-fonts/corefonts.
> > 
> > You dont understand what I am saying. devmanual does not depend on
> > graphicsmagick so trying to build devmanual with graphics magic is not
> > supported. Or at least the title is incorrect
> 
> I understood GraphicsMagick to be compatible with ImageMagick. Thus I assume
> media-gfx/graphicsmagick[imagemagick] to be intended as a drop-in
> replacement for media-gfx/imagemagick. Since graphicsmagick fails where
> imagemagick succeeds, namely because a font is missing, there seems to be a
> dependency missing in the graphicsmagick ebuild.

So this is a graphicsmagick bug. It has nothing to do with devmanual. So you need to open a new bug.
Comment 10 Dennis Schridde 2013-11-22 19:24:11 UTC
(In reply to Markos Chandras from comment #9)
> So this is a graphicsmagick bug. It has nothing to do with devmanual. So you
> need to open a new bug.

That is what I tried to say in comment #6. Can you please just reassign this bug?
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2013-11-22 22:22:45 UTC
(In reply to Dennis Schridde from comment #10)
> (In reply to Markos Chandras from comment #9)
> > So this is a graphicsmagick bug. It has nothing to do with devmanual. So you
> > need to open a new bug.
> 
> That is what I tried to say in comment #6. Can you please just reassign this
> bug?

But I told you these are two different problems

This bug is about adding graphicsmagick to devmanual so it can be used as a replacement of imagemagick.

The missing corefonts dependencyon graphicsmagick is a completely different problem that needs to be resolved on a separate bug by a separate team