Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 646042

Summary: media-video/cinelerra-2.3 - ../guicast/.libs/libguicast.so: error: undefined reference to 'FcInit'
Product: Gentoo Linux Reporter: Thomas <v10lator>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED OBSOLETE    
Severity: normal CC: treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2020-12-15   

Description Thomas 2018-01-29 11:26:14 UTC
This is with GCC 7.3.0 on Gentoo 17.0 but older GCC versions (including 6.4.0) failed with the same error.

../guicast/.libs/libguicast.so: error: undefined reference to 'FcInit'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcConfigAppFontAddDir'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcConfigSetRescanInterval'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcPatternCreate'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcObjectSetBuild'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcPatternAddBool'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcFontList'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcPatternDestroy'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcObjectSetDestroy'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcPatternGetString'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcPatternGetInteger'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcFontSetDestroy'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcCharSetCreate'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcCharSetAddChar'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcCharSetDestroy'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcPatternDel'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcPatternGetCharSet'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcCharSetHasChar'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcPatternDuplicate'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcPatternAddInteger'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcPatternAddCharSet'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcFreeTypeQueryFace'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcPatternGetDouble'
../guicast/.libs/libguicast.so: error: undefined reference to 'FcPatternAddDouble'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1393: cinelerra] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-video/cinelerra-2.3/work/CinelerraCV-2.3/cinelerra'
make[2]: *** [Makefile:1748: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-video/cinelerra-2.3/work/CinelerraCV-2.3/cinelerra'
make[1]: *** [Makefile:512: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-video/cinelerra-2.3/work/CinelerraCV-2.3'
make: *** [Makefile:442: all] Error 2

I think the solution is to finally solve bug #539174

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-30 08:38:11 UTC
Please attach the entire build log to this bug report.
Please post your `emerge --info` output in a comment.
Comment 2 jorgicio 2018-04-15 02:58:01 UTC
I confirm it happens the same with GCC 6.4.0, and as I researched, the error is related with fontconfig. But I can't find how to fix it.
Comment 3 jorgicio 2018-04-15 04:10:37 UTC
I found a workaround: in the compilation options, pass the -lfontconfig flag and it works. You can do it using env files, too.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-12-16 10:11:53 UTC
Package removed.