New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tests] wandtest and some demos are failing #782
Comments
Do you have Ghostscript installed? We ran the ImageMagick 6.9.9-15 unit tests on Fedora 26 and they completed without complaint:
|
Yes, Ghostscript 9.20 is installed. There is no Fedora 29 (typo?). You can see the contents of the build root (all packages installed) here: https://kojipkgs.fedoraproject.org//work/tasks/1216/22091216/root.log You can see the full build log here: https://kojipkgs.fedoraproject.org//work/tasks/1216/22091216/build.log Here is the scratch build task to show all arches we build for: https://koji.fedoraproject.org/koji/taskinfo?taskID=22091215 |
You have enabled Freetype but have not installed the default Helvetica font. The unit tests are failing because ImageMagick cannot find the default Helvetica font. What do you get from this command in your build environment:
|
Thanks for the hint. It appears a new package in Fedora Rawhide has been introduced just this week that overrides the "urw-fonts" package (which contains Helvetica) and does not provide Helvetica. I will file a bug against the new package. |
Hello people. I would suggest reopening this issue, here's why: |
Okay, so I have updated to font paths for the
|
https://bugzilla.redhat.com/show_bug.cgi?id=1496308#c1 suggests that the file names have changed as well as the paths. Since you seem to be supporting fontconfig in the build, ImageMagick should consult fontconfig for the appropriate font. What does It might be easier if we had access to a Fedora 28 machine so we can debug. If you could provide temporary ssh access, contact us @ fedora at imagemagick dot org. |
Sorry, I'm unable to provide you with ssh access to Fedora Rawhide machine, we have only internal access to them, and it's forbidden to share it outside anyway. :-/ Regarding the
If I ignore the outdated/deprecated fonts (from So, I might have fixed the font names, but my wild guess is that the path to these fonts can't somehow be find? In Fedora, we ship the fonts separately from ghostscript (it is able to find them automatically), so the ghostscript package does not even contain links to these fonts. |
Okay, so I have managed to successfully build the ImageMagick for Fedora Rawhide again. The missing piece to make it work was to fix font directory detection in See the updated commit for more info. I'll be creating a pull-request now. |
We need to support both old-style Ghostscript fonts and URW-base65. We manually added a robust solution based on your pull request. Thank you for your contribution. Let us know if the ImageMagick build works now for Fedora 28. |
The 1360649 / fbca0d0 patch solves the issue. Thanks. |
@mooninite is the leading maintainer for ImageMagick in Fedora, so I would take his word for it... ;) The commit fbca0d0 looks good to me, but I have one small note to add... The path Best regards, Dee'Kej |
Prerequisites
Description
The wandtest and demos 2, 3, 5, 6, and 7 are failing on Fedora.
Steps to Reproduce
test-suite.log
System Configuration
The text was updated successfully, but these errors were encountered: