You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Synfig Studio appImage 1.5.1 does not work with ArchLinux #2397
Describe the bug
The development version 1.5.1 AppImage does not run on the ArchLinux operating system. After having given the corresponding execution permissions, the information that the console returns is the following:
/tmp/.mount_pOKyZn/usr/bin/synfigstudio: symbol lookup error: /usr/lib/libfreetype.so.6: undefined symbol: hb_ot_tags_from_script_and_language
To Reproduce
Steps to reproduce the behavior:
Double click on the Synfig Studio appimage
Expected behavior
The program window with all its graphical interface should be displayed.
System information:
Linux distro: ArchLinux
Package: AppImage
Synfig version: 1.5.1
Thank you very much in advance for your attention
Excellent job developing Synfig Studio :)
I tested on a virtual machine, with an ArchLinux without updating for several weeks. This OS had harfbuzz version 2.8.2-1 and Synfig 1.5.1 appimage ran successfully. After I upgraded this system the same problem occurred.
A week ago I compiled from the master branch this same version and I have not had any problems.
Are you able to compile by yourself instead of using the AppImage?
I don't know anything about AppImage bundling, but this way we'll know if it is an AppImage package issue or library version mismatch.
The problem is that we are bundling an old version of the harfbazz library, which requires old lybreetype.so.6 library.
An easy solution - is not bundle it, and just use the system one.
Another solution is to add libfreetype.so.6 to AppImage and check if it doesn't break anything.
Are you able to compile by yourself instead of using the AppImage? I don't know anything about AppImage bundling, but this way we'll know if it is an AppImage package issue or library version mismatch.
Sorry I'm compiling from source, but I don't know how to package in appimage. I tried it once and it didn't work.
So you can't run Synfifg Studio you compiled yourself?
The one I compiled from the master branch works fine when I run it. It is the appimage that you download from github version 1.5.1 that does not run and throws the error.
changed the title [-]Synfig Studio 1.5.1 does not work with ArchLinux[/-][+]Synfig Studio appImage 1.5.1 does not work with ArchLinux[/+]on Nov 12, 2021
@Gilraiser Can you please check if 1.5.0 appimage works for you?
Another solution is to add libfreetype.so.6 to AppImage
@ice0 🤣
We have removed freetype from appimage after version 1.4.1 - morevnaproject/morevna-builds@86e24a4
So, 1.4.2, 1.5.0 and 1.5.1 appimages do not include fontconfig/freetype.
This is done to fix fontconfig slow start problem - #1849 ^__^
I guess we can fix the issue if we will increase version of freetype used during appimage compilation.
Currently we use freetype-2.8.1
@Gilraiser Can you please let me know the version of freetype in your system?
We have removed freetype from appimage after version 1.4.1
We have removed fontconfig. I'm not sure if freetype was removed as an unnecessary dependency of fontconfig or if it breaks something. That's why I suggested to check this.
@Gilraiser Can you please check if 1.5.0 appimage works for you?
Another solution is to add libfreetype.so.6 to AppImage
@ice0 rofl We have removed freetype from appimage after version 1.4.1 - morevnaproject/morevna-builds@86e24a4 So, 1.4.2, 1.5.0 and 1.5.1 appimages do not include fontconfig/freetype. This is done to fix fontconfig slow start problem - #1849 ^__^
I guess we can fix the issue if we will increase version of freetype used during appimage compilation. Currently we use freetype-2.8.1
@Gilraiser Can you please let me know the version of freetype in your system?
Hello, sorry for answering late. My version of freetype is freetype2 2.11.0-4. I hope it is still helpful.
We have removed fontconfig. I'm not sure if freetype was removed as an unnecessary dependency of fontconfig or if it breaks something. That's why I suggested to check this.
Ah, I see now! "freetype" was required by "fontconfig". We ahve removed "fontconfig" and thus "freetype" was removed too.
You right, we can try to explicitly add freetype as dependency to synfig-core and see if that would work...
@morevnaproject
It looks like this window will blinks on every startup. I suggest adding the timestamp file and skipping this check if it has already been created. Maybe we can use Synfig config file for this?
But what if font configuration will change? (i.e. new font files added)
Then dialog will not be shown (because of timestamp file), but Synfig Studio will delay startup (because of font cache regenerated).
I can tweak a script to show progressbar window only after some delay. (0.5 seconds?)
Activity
rodolforg commentedon Oct 31, 2021
hb_ot_tags_from_script_and_languageis a harfbuzz command.Maybe the shipped version is too old?
Gilraiser commentedon Oct 31, 2021
Hi rodolforg. I have updated the operating system to date and the Synfig appimage I downloaded from the GitHub link.
On the other hand, with the name harfbuzz I have the following installed:
local/harfbuzz 3.0.0-1
OpenType text shaping engine
local/harfbuzz-icu 3.0.0-1
OpenType text shaping engine (ICU integration)
local/lib32-harfbuzz 3.0.0-1
OpenType text shaping engine (32-bit)
I hope the information is useful to you.
Many thanks.
Gilraiser commentedon Nov 1, 2021
I tested on a virtual machine, with an ArchLinux without updating for several weeks. This OS had harfbuzz version 2.8.2-1 and Synfig 1.5.1 appimage ran successfully. After I upgraded this system the same problem occurred.
A week ago I compiled from the master branch this same version and I have not had any problems.
rodolforg commentedon Nov 1, 2021
Are you able to compile by yourself instead of using the AppImage?
I don't know anything about AppImage bundling, but this way we'll know if it is an AppImage package issue or library version mismatch.
Btw, since #2232 we depend on harfbuzz library.
ice0 commentedon Nov 1, 2021
The problem is that we are bundling an old version of the harfbazz library, which requires old
lybreetype.so.6library.An easy solution - is not bundle it, and just use the system one.
Another solution is to add
libfreetype.so.6to AppImage and check if it doesn't break anything.Gilraiser commentedon Nov 1, 2021
Sorry I'm compiling from source, but I don't know how to package in appimage. I tried it once and it didn't work.
rodolforg commentedon Nov 1, 2021
So you can't run Synfifg Studio you compiled yourself?
Gilraiser commentedon Nov 1, 2021
The one I compiled from the master branch works fine when I run it. It is the appimage that you download from github version 1.5.1 that does not run and throws the error.
Gilraiser commentedon Nov 1, 2021
A thousand apologies if I did not make myself understood. I mean, I don't know how to create appimage packages.
[-]Synfig Studio 1.5.1 does not work with ArchLinux[/-][+]Synfig Studio appImage 1.5.1 does not work with ArchLinux[/+]morevnaproject commentedon Nov 15, 2021
@Gilraiser Can you please check if 1.5.0 appimage works for you?
@ice0 🤣
We have removed freetype from appimage after version 1.4.1 - morevnaproject/morevna-builds@86e24a4
So, 1.4.2, 1.5.0 and 1.5.1 appimages do not include fontconfig/freetype.
This is done to fix fontconfig slow start problem - #1849 ^__^
I guess we can fix the issue if we will increase version of freetype used during appimage compilation.
Currently we use freetype-2.8.1
@Gilraiser Can you please let me know the version of freetype in your system?
morevnaproject commentedon Nov 15, 2021
Found relevant issue - https://bugs.archlinux.org/task/71680
ice0 commentedon Nov 16, 2021
@morevnaproject
We have removed
fontconfig. I'm not sure iffreetypewas removed as an unnecessary dependency offontconfigor if it breaks something. That's why I suggested to check this.Gilraiser commentedon Nov 18, 2021
Hello, sorry for answering late. My version of freetype is freetype2 2.11.0-4. I hope it is still helpful.
As the command prints on the screen:
sudo pacman -Qs freetype
local/freetype2 2.11.0-4
morevnaproject commentedon Nov 29, 2021
Ah, I see now! "freetype" was required by "fontconfig". We ahve removed "fontconfig" and thus "freetype" was removed too.
You right, we can try to explicitly add freetype as dependency to synfig-core and see if that would work...
6 remaining items
ice0 commentedon Dec 13, 2021
@morevnaproject
It looks like this window will blinks on every startup. I suggest adding the timestamp file and skipping this check if it has already been created. Maybe we can use Synfig config file for this?
morevnaproject commentedon Dec 13, 2021
But what if font configuration will change? (i.e. new font files added)
Then dialog will not be shown (because of timestamp file), but Synfig Studio will delay startup (because of font cache regenerated).
I can tweak a script to show progressbar window only after some delay. (0.5 seconds?)
morevnaproject commentedon Dec 13, 2021
morevnaproject commentedon Dec 13, 2021
Hmmm.. my last code doesn't work. :-/
I guess we have to deal with blinking window for now.
morevnaproject commentedon Feb 12, 2022
Related problem in GIMP - https://bugs.freedesktop.org/show_bug.cgi?id=101820
morevnaproject commentedon Feb 12, 2022
Related problem in Inkscape - https://bugs.launchpad.net/inkscape/+bug/1528629
morevnaproject commentedon Feb 15, 2022
I have implemented several changes to our build system, which should fix the issue:
As result, now it should display a notification window when font cache is generated.
Here is a package for testing, please check how it works for you -
SynfigStudio-1.4.3-testing-2022.02.15-linux64-511af.appimage
You can simulate the "first start" behavior if you delete fontconfig cache in your user directory (
rm -rf $HOME/.cache/fontconfig/).BruceWayne-Linux commentedon Feb 15, 2022
@morevnaproject The Appimage is working
ice0 commentedon Feb 23, 2022
Just checked on Manjaro/Ubuntu 21.04/Ubuntu 21.10
Everything works fine. So I am closing it.
@Gilraiser please reopen this issue if you still experience the problem.
linkpy commentedon Aug 15, 2022
hi
system :
libraries :
have any idea for a workaround?
linkpy commentedon Aug 15, 2022
it works by compiling synfig from sources.
rodolforg commentedon Aug 15, 2022
Try this intermediate release: https://cloud.morevnaproject.org/s/93e4cS78Y48AZPk
linkpy commentedon Aug 15, 2022
this one works.
rodolforg commentedon Aug 15, 2022
Thank you.