* Poky compilation error due to fontconfig package
@ 2019-11-09 17:16 AshishKumar Mishra
2019-11-09 19:39 ` AshishKumar Mishra
0 siblings, 1 reply; 3+ messages in thread
From: AshishKumar Mishra @ 2019-11-09 17:16 UTC (permalink / raw)
To: Poky Project
[-- Attachment #1: Type: text/plain, Size: 3244 bytes --]
Hi All ,
Can team please provide any pointer to address compilation error of
*fontconfig package *
Part of error is copied below if require i can share the complete log as
attachment.
I am not sure as to how do i approach such error when the default package
like "fontconfig"
Also i checked the IMAGE_INSTALL , i haven't added directly so some other
package seems to have it as dependent package.
^
| Makefile:679: recipe for target 'fcinit.lo' failed
| make[3]: *** [fcinit.lo] Error 1
| Makefile:679: recipe for target 'fccache.lo' failed
| make[3]: *** [fccache.lo] Error 1
| Makefile:679: recipe for target 'fcfreetype.lo' failed
| make[3]: *** [fcfreetype.lo] Error 1
| In file included from ../../fontconfig-2.13.1/src/fclang.c:1108:0:
| ./fcaliastail.h:436:0: error: unterminated #ifdef
| #ifdef __fcstr__
| ^
| In file included from ../../fontconfig-2.13.1/src/fclang.c:1108:0:
| ./fcaliastail.h:1:0: error: unterminated #if
| #if HAVE_GNUC_ATTRIBUTE
| ^
| Makefile:679: recipe for target 'fclang.lo' failed
| make[3]: *** [fclang.lo] Error 1
| In file included from ../../fontconfig-2.13.1/src/fcmatch.c:1207:0:
| ./fcaliastail.h:436:0: error: unterminated #ifdef
| #ifdef __fcstr__
| ^
| In file included from ../../fontconfig-2.13.1/src/fcmatch.c:1207:0:
| ./fcaliastail.h:1:0: error: unterminated #if
| #if HAVE_GNUC_ATTRIBUTE
| ^
| Makefile:679: recipe for target 'fcmatch.lo' failed
| make[3]: *** [fcmatch.lo] Error 1
| make[3]: Leaving directory
'/home/ashish/Documents/linux-foundation-projects/yocto/build-armour/tmp/work/x86_64-linux/fontconfig-native/2.13.1-r0/build/src'
| Makefile:533: recipe for target 'all' failed
| make[2]: *** [all] Error 2
| make[2]: Leaving directory
'/home/ashish/Documents/linux-foundation-projects/yocto/build-armour/tmp/work/x86_64-linux/fontconfig-native/2.13.1-r0/build/src'
| Makefile:590: recipe for target 'all-recursive' failed
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
'/home/ashish/Documents/linux-foundation-projects/yocto/build-armour/tmp/work/x86_64-linux/fontconfig-native/2.13.1-r0/build'
| Makefile:474: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING:
/home/ashish/Documents/linux-foundation-projects/yocto/build-armour/tmp/work/x86_64-linux/fontconfig-native/2.13.1-r0/temp/run.do_compile.27560:1
exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at
/home/ashish/Documents/linux-foundation-projects/yocto/build-armour/tmp/work/x86_64-linux/fontconfig-native/2.13.1-r0/temp/log.do_compile.27560)
ERROR: Task
(virtual:native:/home/ashish/Documents/linux-foundation-projects/yocto/poky/meta/recipes-graphics/fontconfig/fontconfig_2.13.1.bb:do_compile)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 2408 tasks of which 2407 didn't need to be
rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/home/ashish/Documents/linux-foundation-projects/yocto/poky/meta/recipes-graphics/fontconfig/fontconfig_2.13.1.bb:
do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
[22:36:42]:~/Documents/linux-foundation-projects/yocto/build-armour :
Thanks
[-- Attachment #2: Type: text/html, Size: 3699 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Poky compilation error due to fontconfig package
2019-11-09 17:16 Poky compilation error due to fontconfig package AshishKumar Mishra
@ 2019-11-09 19:39 ` AshishKumar Mishra
2019-11-11 10:31 ` Ross Burton
0 siblings, 1 reply; 3+ messages in thread
From: AshishKumar Mishra @ 2019-11-09 19:39 UTC (permalink / raw)
To: Poky Project
[-- Attachment #1: Type: text/plain, Size: 897 bytes --]
Hi All ,
Debugging further could find that problem was when asla-tools was added to
IMAGE_INSTALL.
To Debug below is the approach i took :-
1) On standard poky
- Generated core-image-minimal on poky which created image properly.
- This helped to confirm that the recipe compile properly.
- This also helped to asset that the problem was in my layer ( i have
created custom image & distro )
2) In my layer ( image & distro )
- Clean all fontconfig & fontconfig-native packages
- Individually compile the package , which was successful.
- Reverted back the BB_NUMBER_THREADS = "8" from initial "16"
- clean the image & generate fresh image
If there is any other approach by which similar error can be debugged ,
would request members to please let me know.
I have added these details to help other member if they face similar issue.
Thanks
[-- Attachment #2: Type: text/html, Size: 1480 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Poky compilation error due to fontconfig package
2019-11-09 19:39 ` AshishKumar Mishra
@ 2019-11-11 10:31 ` Ross Burton
0 siblings, 0 replies; 3+ messages in thread
From: Ross Burton @ 2019-11-11 10:31 UTC (permalink / raw)
To: poky
On 09/11/2019 19:39, AshishKumar Mishra wrote:
> Hi All ,
>
> Debugging further could find that problem was when asla-tools was added
> to IMAGE_INSTALL.
>
> To Debug below is the approach i took :-
> 1) On standard poky
> - Generated core-image-minimal on poky which created image properly.
> - This helped to confirm that the recipe compile properly.
> - This also helped to asset that the problem was in my layer ( i
> have created custom image & distro )
>
> 2) In my layer ( image & distro )
> - Clean all fontconfig & fontconfig-native packages
> - Individually compile the package , which was successful.
> - Reverted back the BB_NUMBER_THREADS = "8" from initial "16"
> - clean the image & generate fresh image
alsa-tools is just the route by which fontconfig gets built, it has
nothing to do with the failure.
Ross
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-11 10:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-09 17:16 Poky compilation error due to fontconfig package AshishKumar Mishra
2019-11-09 19:39 ` AshishKumar Mishra
2019-11-11 10:31 ` Ross Burton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.