# Synfig build error of "synfig-studio"

**URL:** <https://forums.synfig.org/t/synfig-build-error-of-synfig-studio/12591>\
**Category:** Building synfig\
**Created:** [September 27, 2021, 4:09pm UTC](https://forums.synfig.org/t/synfig-build-error-of-synfig-studio/12591 "2021-09-27T16:09:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![FirasH](https://forums.synfig.org/user_avatar/forums.synfig.org/firash/32/4729_2.png) [@FirasH](https://forums.synfig.org/u/FirasH)\
**Post date:** [September 27, 2021, 4:09pm UTC](https://forums.synfig.org/t/synfig-build-error-of-synfig-studio/12591/1 "2021-09-27T16:09:36Z")

</div>

Hello,

I’m hitting an error when trying to build Synfig, here there’s the console output:

> **[Synfig build output - Pastebin.com](https://pastebin.com/CJMQyZxL)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Using the ./2-build-production.sh script as I’ve always done.  
For some reason I’m not able to build anymore, even older commits (tested with commit from 8 August)  
ETL and core build fine, not studio.

Not sure about the meaning of the message `warning: Unable to find module "mod_libavcodec" (file not found)`, but libavcodec is installed on my machine.

---

<div class="post-metadata">

**Author:** ![rodolforg](https://forums.synfig.org/letter_avatar_proxy/v4/letter/r/c68b51/32.png) [@rodolforg](https://forums.synfig.org/u/rodolforg)\
**Post date:** [September 27, 2021, 4:30pm UTC](https://forums.synfig.org/t/synfig-build-error-of-synfig-studio/12591/2 "2021-09-27T16:30:14Z")

</div>

> [@FirasH](#):
>
> `warning: Unable to find module "mod_libavcodec" (file not found)`

It just mean that the module libavcodec was not built, not the library the module is based on is missing.  
(in the building scripts, it’s disabled by default)  
It is not needed anyway, and it isn’t the reason of the error.

Is it for Windows?

---

<div class="post-metadata">

**Author:** ![FirasH](https://forums.synfig.org/user_avatar/forums.synfig.org/firash/32/4729_2.png) [@FirasH](https://forums.synfig.org/u/FirasH)\
**Post date:** [September 27, 2021, 5:43pm UTC](https://forums.synfig.org/t/synfig-build-error-of-synfig-studio/12591/3 "2021-09-27T17:43:11Z")

</div>

Nope, building on Linux (openSUSE)

---

<div class="post-metadata">

**Author:** ![rodolforg](https://forums.synfig.org/letter_avatar_proxy/v4/letter/r/c68b51/32.png) [@rodolforg](https://forums.synfig.org/u/rodolforg)\
**Post date:** [September 27, 2021, 8:27pm UTC](https://forums.synfig.org/t/synfig-build-error-of-synfig-studio/12591/4 "2021-09-27T20:27:11Z")

</div>

😕

The real issues are expressed here (but I don’t know they are happening):

```auto
synfig(30367) [05:01:28 PM] warning: Different pixel-per-unit value while calculation of target offset. a: TransformationAffineSW, b: LayerSW
synfig(30367) [05:01:28 PM] warning: Different pixel-per-unit value while calculation of target offset. a: TransformationAffineSW, b: BlurSW
synfig(30367) [05:01:28 PM] warning: Different pixel-per-unit value while calculation of target offset. a: TransformationAffineSW, b: BlurSW
synfig(30367) [05:01:28 PM] warning: Different pixel-per-unit value while calculation of target offset. a: TransformationAffineSW, b: BlurSW
synfig(30367) [05:01:28 PM] warning: Different pixel-per-unit value while calculation of target offset. a: TransformationAffineSW, b: LayerSW
synfig(30367) [05:01:28 PM] warning: Different pixel-per-unit value while calculation of target offset. a: BlurSW, b: Surface
synfig(30367) [05:01:28 PM] warning: Different pixel-per-unit value while calculation of target offset. a: BlurSW, b: Surface
synfig(30367) [05:01:28 PM] warning: Different pixel-per-unit value while calculation of target offset. a: BlurSW, b: Surface 

```

here:

```auto
synfig(30669) [05:01:30 PM] warning: ValueNode_WPList::operator()():No entries in list
synfig(30669) [05:01:30 PM] warning: ValueNode_WPList::operator()():No entries in list
echo " File \"images\\interpolation_type_tcb_icon.png\"" >>./images.nsh
echo " Delete \"\$INSTDIR\\share\\pixmaps\\interpolation_type_tcb_icon.png\"" >>./unimages.nsh
synfig --quiet /home/firashanife/synfig/synfig-studio/images/interpolation_type_icons.sif -o valuenode_forbidanimation_icon.png --time 7f
echo " File \"images\\action_doc_undo_icon.png\"" >>./images.nsh
echo " Delete \"\$INSTDIR\\share\\pixmaps\\action_doc_undo_icon.png\"" >>./unimages.nsh
synfig --quiet /home/firashanife/synfig/synfig-studio/images/layer_blur_blur_icon.sif -o layer_blur_blur_icon.png --time 0f
synfig(30680) [05:01:30 PM] warning: ValueNode_WPList::operator()():No entries in list
synfig(30680) [05:01:30 PM] warning: ValueNode_WPList::operator()():No entries in list
synfig(30706) [05:01:30 PM] warning: ValueNode_WPList::operator()():No entries in list
synfig(30706) [05:01:30 PM] warning: ValueNode_WPList::operator()():No entries in list

```

And here, for examples,:

```auto
/home/firashanife/synfig/_production/build/bin/synfig: warning: Unable to find module "mod_libavcodec" (file not found)
synfig(30879) [05:01:30 PM] warning: /home/firashanife/synfig/synfig-studio/images/layer_example_simplecircle_icon.sif:<real>:420: Layer 'warp' rejected value for parameter 'horizon'                    
free(): invalid pointer
free(): invalid pointer

```

---

<div class="post-metadata">

**Author:** ![FirasH](https://forums.synfig.org/user_avatar/forums.synfig.org/firash/32/4729_2.png) [@FirasH](https://forums.synfig.org/u/FirasH)\
**Post date:** [September 29, 2021, 11:41am UTC](https://forums.synfig.org/t/synfig-build-error-of-synfig-studio/12591/5 "2021-09-29T11:41:10Z")

</div>

To avoid confusion here is the console output using a single thread:  
[https://pastebin.com/rt3yNKce](https://pastebin.com/rt3yNKce)

The error appears to be:

> Making all in images  
> make[2]: Entering directory ‘/home/firashanife/synfig/\_production/synfig-studio/images’  
> synfig --quiet /home/firashanife/synfig/synfig-studio/images/layer\_example\_simplecircle\_icon.sif -o layer\_example\_simplecircle\_icon.png --time 0f  
> /home/firashanife/synfig/\_production/build/bin/synfig: warning: Unable to find module “mod\_libavcodec” (file not found)  
> synfig(25357) [01:37:11 PM] warning: /home/firashanife/synfig/synfig-studio/images/layer\_example\_simplecircle\_icon.sif::420: Layer ‘warp’ rejected value for parameter ‘horizon’  
> synfig: malloc.c:2382: sysmalloc: Assertion `(old\_top == initial\_top (av) && old\_size == 0) || ((unsigned long) (old\_size) \>= MINSIZE && prev\_inuse (old\_top) && ((unsigned long) old\_end & (pagesize - 1)) == 0)’ failed.  
> free(): invalid pointer  
> make[2]: \*\*\* [Makefile:1313: layer\_example\_simplecircle\_icon.png] Aborted (core dumped)  
> make[2]: Leaving directory ‘/home/firashanife/synfig/\_production/synfig-studio/images’  
> make[1]: \*\*\* [Makefile:692: all-recursive] Error 1  
> make[1]: Leaving directory ‘/home/firashanife/synfig/\_production/synfig-studio’  
> make: \*\*\* [Makefile:528: all] Error 2

---

<div class="post-metadata">

**Author:** ![rodolforg](https://forums.synfig.org/letter_avatar_proxy/v4/letter/r/c68b51/32.png) [@rodolforg](https://forums.synfig.org/u/rodolforg)\
**Post date:** [October 6, 2021, 9:59am UTC](https://forums.synfig.org/t/synfig-build-error-of-synfig-studio/12591/6 "2021-10-06T09:59:07Z")

</div>

Did you change your machine? It seems to be a RAM or libc issue.

---

<div class="post-metadata">

**Author:** ![FirasH](https://forums.synfig.org/user_avatar/forums.synfig.org/firash/32/4729_2.png) [@FirasH](https://forums.synfig.org/u/FirasH)\
**Post date:** [October 6, 2021, 10:32am UTC](https://forums.synfig.org/t/synfig-build-error-of-synfig-studio/12591/7 "2021-10-06T10:32:45Z")

</div>

The machine is always the same, at this point it’s likely that after some update some library changed…

This issue happened with openSUSE 15.2 (after some updates?), then moved to 15.3 but still hitting the same error. I’ll check if Synfig builds on my laptop with openSUSE 15.3.

---

<div class="post-metadata">

**Author:** ![FirasH](https://forums.synfig.org/user_avatar/forums.synfig.org/firash/32/4729_2.png) [@FirasH](https://forums.synfig.org/u/FirasH)\
**Post date:** [October 7, 2021, 7:53am UTC](https://forums.synfig.org/t/synfig-build-error-of-synfig-studio/12591/8 "2021-10-07T07:53:01Z")

</div>

It builds on my laptop… I’ll check installed packages and eventually report the cause of the issue.

---

<div class="post-metadata">

**Author:** ![FirasH](https://forums.synfig.org/user_avatar/forums.synfig.org/firash/32/4729_2.png) [@FirasH](https://forums.synfig.org/u/FirasH)\
**Post date:** [October 10, 2021, 11:08am UTC](https://forums.synfig.org/t/synfig-build-error-of-synfig-studio/12591/9 "2021-10-10T11:08:51Z")

</div>

After many attempts, deleted all the source code folder and downloaded it again from git.

It worked, but no idea which was the error 😕
