package fontconfig build fails under ltib i.MX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

package fontconfig build fails under ltib i.MX6

Jump to solution
1,182 Views
JeremyStashluk
Contributor III

Does anyone know where stdc-predef.h is supposed to come from?

make  all-recursive

make[1]: Entering directory `/home/jstashluk/software/seemore/os/ltib_1209/rpm/BUILD/fontconfig-2.4.2'

Making all in fontconfig

make[2]: Entering directory `/home/jstashluk/software/seemore/os/ltib_1209/rpm/BUILD/fontconfig-2.4.2/fontconfig'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/jstashluk/software/seemore/os/ltib_1209/rpm/BUILD/fontconfig-2.4.2/fontconfig'

Making all in fc-case

make[2]: Entering directory `/home/jstashluk/software/seemore/os/ltib_1209/rpm/BUILD/fontconfig-2.4.2/fc-case'

make  all-am

make[3]: Entering directory `/home/jstashluk/software/seemore/os/ltib_1209/rpm/BUILD/fontconfig-2.4.2/fc-case'

if ccache /usr/bin/gcc -B/usr/bin/ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I.. -I/home/jstashluk/software/seemore/os/ltib_1209/rootfs/usr/include/freetype2 -I/home/jstashluk/software/seemore/os/ltib_1209/rootfs/usr/include -Wall -Wpointer-arith -Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing    -g -O2 -MT fc-case.o -MD -MP -MF ".deps/fc-case.Tpo" -c -o fc-case.o fc-case.c; \

        then mv -f ".deps/fc-case.Tpo" ".deps/fc-case.Po"; else rm -f ".deps/fc-case.Tpo"; exit 1; fi

In file included from /usr/include/stdlib.h:25:0,

                 from ../src/fcint.h:32,

                 from fc-case.c:25:

/home/jstashluk/software/seemore/os/ltib_1209/rootfs/usr/include/features.h:345:25: fatal error: stdc-predef.h: No such file or directory

compilation terminated.

make[3]: *** [fc-case.o] Error 1

make[3]: Leaving directory `/home/jstashluk/software/seemore/os/ltib_1209/rpm/BUILD/fontconfig-2.4.2/fc-case'

make[2]: *** [all] Error 2

make[2]: Leaving directory `/home/jstashluk/software/seemore/os/ltib_1209/rpm/BUILD/fontconfig-2.4.2/fc-case'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/jstashluk/software/seemore/os/ltib_1209/rpm/BUILD/fontconfig-2.4.2'

make: *** [all] Error 2

error: Bad exit status from /home/jstashluk/software/seemore/os/ltib_1209/tmp/rpm-tmp.1961 (%build)

RPM build errors:

    Bad exit status from /home/jstashluk/software/seemore/os/ltib_1209/tmp/rpm-tmp.1961 (%build)

Build time for fontconfig: 11 seconds

Failed building fontconfig

f_buildrpms() returned an error, exiting

traceback:

main:572

Started: Tue Dec 11 09:59:40 2012

Ended:   Tue Dec 11 09:59:52 2012

Elapsed: 12 seconds

These packages failed to build:

fontconfig

Build Failed

Exiting on error or interrupt

Labels (2)
0 Kudos
1 Solution
732 Views
OtavioSalvador
Senior Contributor II

Jeremy,

Why don't you try that in Yocto? We've fontconfig working there and should be easier for you to use a more up to date software stack.

Regards,

View solution in original post

0 Kudos
1 Reply
733 Views
OtavioSalvador
Senior Contributor II

Jeremy,

Why don't you try that in Yocto? We've fontconfig working there and should be easier for you to use a more up to date software stack.

Regards,

0 Kudos