Build FreeBSD: FAILED devel/qemu4 on x86_64-freebsd12.1 (pixman-0.32.4-x86_64-freebsd12.1-1)

joel at rtems.org joel at rtems.org
Tue May 5 06:42:08 UTC 2020


RTEMS Source Builder - Set Builder, 5.0.0-m2005-1

Host: FreeBSD-12.1-RELEASE-p3-amd64-64bit-ELF
       FreeBSD rtbf64b 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 GENERIC amd64
       amd64

Build Time: 0:03:20.081049

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: pixman-0.32.4-x86_64-freebsd12.1-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
    static const void *const __dummy__ ## format
                             ^
<scratch space>:67:1: note: expanded from here
__dummy__b8g8r8a8
^
../../pixman-0.32.4/pixman/pixman-access.c:476:1: warning: unused variable '__dummy__b8g8r8x8' [-Wunused-const-variable]
MAKE_ACCESSORS(b8g8r8x8);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:74:1: note: expanded from here
__dummy__b8g8r8x8
^
../../pixman-0.32.4/pixman/pixman-access.c:477:1: warning: unused variable '__dummy__r8g8b8x8' [-Wunused-const-variable]
MAKE_ACCESSORS(r8g8b8x8);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:81:1: note: expanded from here
__dummy__r8g8b8x8
^
../../pixman-0.32.4/pixman/pixman-access.c:478:1: warning: unused variable '__dummy__r8g8b8a8' [-Wunused-const-variable]
MAKE_ACCESSORS(r8g8b8a8);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:88:1: note: expanded from here
__dummy__r8g8b8a8
^
../../pixman-0.32.4/pixman/pixman-access.c:479:1: warning: unused variable '__dummy__r8g8b8' [-Wunused-const-variable]
MAKE_ACCESSORS(r8g8b8);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:95:1: note: expanded from here
__dummy__r8g8b8
^
../../pixman-0.32.4/pixman/pixman-access.c:480:1: warning: unused variable '__dummy__b8g8r8' [-Wunused-const-variable]
MAKE_ACCESSORS(b8g8r8);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:102:1: note: expanded from here
__dummy__b8g8r8
^
../../pixman-0.32.4/pixman/pixman-access.c:481:1: warning: unused variable '__dummy__r5g6b5' [-Wunused-const-variable]
MAKE_ACCESSORS(r5g6b5);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:109:1: note: expanded from here
__dummy__r5g6b5
^
../../pixman-0.32.4/pixman/pixman-access.c:482:1: warning: unused variable '__dummy__b5g6r5' [-Wunused-const-variable]
MAKE_ACCESSORS(b5g6r5);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:116:1: note: expanded from here
__dummy__b5g6r5
^
../../pixman-0.32.4/pixman/pixman-access.c:483:1: warning: unused variable '__dummy__a1r5g5b5' [-Wunused-const-variable]
MAKE_ACCESSORS(a1r5g5b5);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:123:1: note: expanded from here
__dummy__a1r5g5b5
^
../../pixman-0.32.4/pixman/pixman-access.c:484:1: warning: unused variable '__dummy__x1r5g5b5' [-Wunused-const-variable]
MAKE_ACCESSORS(x1r5g5b5);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:130:1: note: expanded from here
__dummy__x1r5g5b5
^
../../pixman-0.32.4/pixman/pixman-access.c:485:1: warning: unused variable '__dummy__a1b5g5r5' [-Wunused-const-variable]
MAKE_ACCESSORS(a1b5g5r5);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:137:1: note: expanded from here
__dummy__a1b5g5r5
^
../../pixman-0.32.4/pixman/pixman-access.c:486:1: warning: unused variable '__dummy__x1b5g5r5' [-Wunused-const-variable]
MAKE_ACCESSORS(x1b5g5r5);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:144:1: note: expanded from here
__dummy__x1b5g5r5
^
../../pixman-0.32.4/pixman/pixman-access.c:487:1: warning: unused variable '__dummy__a4r4g4b4' [-Wunused-const-variable]
MAKE_ACCESSORS(a4r4g4b4);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:151:1: note: expanded from here
__dummy__a4r4g4b4
^
../../pixman-0.32.4/pixman/pixman-access.c:488:1: warning: unused variable '__dummy__x4r4g4b4' [-Wunused-const-variable]
MAKE_ACCESSORS(x4r4g4b4);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:158:1: note: expanded from here
__dummy__x4r4g4b4
^
../../pixman-0.32.4/pixman/pixman-access.c:489:1: warning: unused variable '__dummy__a4b4g4r4' [-Wunused-const-variable]
MAKE_ACCESSORS(a4b4g4r4);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:165:1: note: expanded from here
__dummy__a4b4g4r4
^
../../pixman-0.32.4/pixman/pixman-access.c:490:1: warning: unused variable '__dummy__x4b4g4r4' [-Wunused-const-variable]
MAKE_ACCESSORS(x4b4g4r4);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:172:1: note: expanded from here
__dummy__x4b4g4r4
^
../../pixman-0.32.4/pixman/pixman-access.c:491:1: warning: unused variable '__dummy__a8' [-Wunused-const-variable]
MAKE_ACCESSORS(a8);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:179:1: note: expanded from here
__dummy__a8
^
../../pixman-0.32.4/pixman/pixman-access.c:492:1: warning: unused variable '__dummy__c8' [-Wunused-const-variable]
MAKE_ACCESSORS(c8);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:186:1: note: expanded from here
__dummy__c8
^
../../pixman-0.32.4/pixman/pixman-access.c:493:1: warning: unused variable '__dummy__g8' [-Wunused-const-variable]
MAKE_ACCESSORS(g8);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:193:1: note: expanded from here
__dummy__g8
^
../../pixman-0.32.4/pixman/pixman-access.c:494:1: warning: unused variable '__dummy__r3g3b2' [-Wunused-const-variable]
MAKE_ACCESSORS(r3g3b2);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:200:1: note: expanded from here
__dummy__r3g3b2
^
../../pixman-0.32.4/pixman/pixman-access.c:495:1: warning: unused variable '__dummy__b2g3r3' [-Wunused-const-variable]
MAKE_ACCESSORS(b2g3r3);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:207:1: note: expanded from here
__dummy__b2g3r3
^
../../pixman-0.32.4/pixman/pixman-access.c:496:1: warning: unused variable '__dummy__a2r2g2b2' [-Wunused-const-variable]
MAKE_ACCESSORS(a2r2g2b2);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:214:1: note: expanded from here
__dummy__a2r2g2b2
^
../../pixman-0.32.4/pixman/pixman-access.c:497:1: warning: unused variable '__dummy__a2b2g2r2' [-Wunused-const-variable]
MAKE_ACCESSORS(a2b2g2r2);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:2:1: note: expanded from here
__dummy__a2b2g2r2
^
../../pixman-0.32.4/pixman/pixman-access.c:498:1: warning: unused variable '__dummy__x4a4' [-Wunused-const-variable]
MAKE_ACCESSORS(x4a4);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:9:1: note: expanded from here
__dummy__x4a4
^
../../pixman-0.32.4/pixman/pixman-access.c:499:1: warning: unused variable '__dummy__a4' [-Wunused-const-variable]
MAKE_ACCESSORS(a4);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:16:1: note: expanded from here
__dummy__a4
^
../../pixman-0.32.4/pixman/pixman-access.c:500:1: warning: unused variable '__dummy__g4' [-Wunused-const-variable]
MAKE_ACCESSORS(g4);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:23:1: note: expanded from here
__dummy__g4
^
../../pixman-0.32.4/pixman/pixman-access.c:501:1: warning: unused variable '__dummy__c4' [-Wunused-const-variable]
MAKE_ACCESSORS(c4);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:30:1: note: expanded from here
__dummy__c4
^
../../pixman-0.32.4/pixman/pixman-access.c:502:1: warning: unused variable '__dummy__r1g2b1' [-Wunused-const-variable]
MAKE_ACCESSORS(r1g2b1);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:37:1: note: expanded from here
__dummy__r1g2b1
^
../../pixman-0.32.4/pixman/pixman-access.c:503:1: warning: unused variable '__dummy__b1g2r1' [-Wunused-const-variable]
MAKE_ACCESSORS(b1g2r1);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:44:1: note: expanded from here
__dummy__b1g2r1
^
../../pixman-0.32.4/pixman/pixman-access.c:504:1: warning: unused variable '__dummy__a1r1g1b1' [-Wunused-const-variable]
MAKE_ACCESSORS(a1r1g1b1);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:51:1: note: expanded from here
__dummy__a1r1g1b1
^
../../pixman-0.32.4/pixman/pixman-access.c:505:1: warning: unused variable '__dummy__a1b1g1r1' [-Wunused-const-variable]
MAKE_ACCESSORS(a1b1g1r1);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:58:1: note: expanded from here
__dummy__a1b1g1r1
^
../../pixman-0.32.4/pixman/pixman-access.c:506:1: warning: unused variable '__dummy__a1' [-Wunused-const-variable]
MAKE_ACCESSORS(a1);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:65:1: note: expanded from here
__dummy__a1
^
../../pixman-0.32.4/pixman/pixman-access.c:507:1: warning: unused variable '__dummy__g1' [-Wunused-const-variable]
MAKE_ACCESSORS(g1);
^
../../pixman-0.32.4/pixman/pixman-access.c:468:30: note: expanded from macro 'MAKE_ACCESSORS'
    static const void *const __dummy__ ## format
                             ^
<scratch space>:72:1: note: expanded from here
__dummy__g1
^
1 warning generated.
  CC       pixman-combine32.lo
  CC       pixman-combine-float.lo
38 warnings generated.
  CC       pixman-conical-gradient.lo
  CC       pixman-filter.lo
  CC       pixman-x86.lo
../../pixman-0.32.4/pixman/pixman-x86.c:83:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
#if _PIXMAN_X86_64 || defined (_MSC_VER)
    ^
../../pixman-0.32.4/pixman/pixman-x86.c:78:6: note: expanded from macro '_PIXMAN_X86_64'
    (defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64))
     ^
../../pixman-0.32.4/pixman/pixman-x86.c:83:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
../../pixman-0.32.4/pixman/pixman-x86.c:78:28: note: expanded from macro '_PIXMAN_X86_64'
    (defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64))
                           ^
../../pixman-0.32.4/pixman/pixman-x86.c:83:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
../../pixman-0.32.4/pixman/pixman-x86.c:78:51: note: expanded from macro '_PIXMAN_X86_64'
    (defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64))
                                                  ^
../../pixman-0.32.4/pixman/pixman-x86.c:118:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
#if _PIXMAN_X86_64
    ^
../../pixman-0.32.4/pixman/pixman-x86.c:78:6: note: expanded from macro '_PIXMAN_X86_64'
    (defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64))
     ^
../../pixman-0.32.4/pixman/pixman-x86.c:118:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
../../pixman-0.32.4/pixman/pixman-x86.c:78:28: note: expanded from macro '_PIXMAN_X86_64'
    (defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64))
                           ^
../../pixman-0.32.4/pixman/pixman-x86.c:118:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
../../pixman-0.32.4/pixman/pixman-x86.c:78:51: note: expanded from macro '_PIXMAN_X86_64'
    (defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64))
                                                  ^
6 warnings generated.
  CC       pixman-mips.lo
  CC       pixman-arm.lo
  CC       pixman-ppc.lo
  CC       pixman-edge.lo
  CC       pixman-edge-accessors.lo
  CC       pixman-fast-path.lo
../../pixman-0.32.4/pixman/pixman-fast-path.c:2612:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    while (buffer < end && x < pixman_fixed_minus_1)
                               ^~~~~~~~~~~~~~~~~~~~
../../pixman-0.32.4/pixman/pixman.h:128:32: note: expanded from macro 'pixman_fixed_minus_1'
#define pixman_fixed_minus_1            (pixman_int_to_fixed(-1))
                                         ^~~~~~~~~~~~~~~~~~~~~~~
../../pixman-0.32.4/pixman/pixman.h:130:56: note: expanded from macro 'pixman_int_to_fixed'
#define pixman_int_to_fixed(i)          ((pixman_fixed_t) ((i) << 16))
                                                           ~~~ ^
  CC       pixman-glyph.lo
  CC       pixman-general.lo
  CC       pixman-gradient-walker.lo
  CC       pixman-image.lo
  CC       pixman-implementation.lo
  CC       pixman-linear-gradient.lo
  CC       pixman-matrix.lo
  CC       pixman-noop.lo
  CC       pixman-radial-gradient.lo
  CC       pixman-region16.lo
  CC       pixman-region32.lo
  CC       pixman-solid-fill.lo
  CC       pixman-timer.lo
  CC       pixman-trap.lo
  CC       pixman-utils.lo
  CC       libpixman_mmx_la-pixman-mmx.lo
../../pixman-0.32.4/pixman/pixman-mmx.c:100:20: error: constraint 'K' expects an integer constant expression
        : "y" (__A), "K" (__N)
                          ^~~
../../pixman-0.32.4/pixman/pixman-mmx.c:348:37: warning: implicit conversion from 'int' to 'int8_t' (aka 'signed char') changes value from 255 to -1 [-Wconstant-conversion]
    return _mm_shuffle_pi16 (pixel, _MM_SHUFFLE (3, 3, 3, 3));
           ~~~~~~~~~~~~~~~~         ^~~~~~~~~~~~~~~~~~~~~~~~
../../pixman-0.32.4/pixman/pixman-mmx.c:123:46: note: expanded from macro '_MM_SHUFFLE'
 (((fp3) << 6) | ((fp2) << 4) | ((fp1) << 2) | (fp0))
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../../pixman-0.32.4/pixman/pixman-mmx.c:360:37: warning: implicit conversion from 'int' to 'int8_t' (aka 'signed char') changes value from 198 to -58 [-Wconstant-conversion]
    return _mm_shuffle_pi16 (pixel, _MM_SHUFFLE (3, 0, 1, 2));
           ~~~~~~~~~~~~~~~~         ^~~~~~~~~~~~~~~~~~~~~~~~
../../pixman-0.32.4/pixman/pixman-mmx.c:123:46: note: expanded from macro '_MM_SHUFFLE'
 (((fp3) << 6) | ((fp2) << 4) | ((fp1) << 2) | (fp0))
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
../../pixman-0.32.4/pixman/pixman-mmx.c:675:52: warning: implicit conversion from 'int' to 'int8_t' (aka 'signed char') changes value from 216 to -40 [-Wconstant-conversion]
    return _mm_shuffle_pi16 (_mm_or_si64 (t0, t1), _MM_SHUFFLE (3, 1, 2, 0));
           ~~~~~~~~~~~~~~~~                        ^~~~~~~~~~~~~~~~~~~~~~~~
../../pixman-0.32.4/pixman/pixman-mmx.c:123:46: note: expanded from macro '_MM_SHUFFLE'
 (((fp3) << 6) | ((fp2) << 4) | ((fp1) << 2) | (fp0))
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
  CC       libpixman_sse2_la-pixman-sse2.lo
3 warnings and 1 error generated.
gmake[2]: *** [Makefile:842: libpixman_mmx_la-pixman-mmx.lo] Error 1
gmake[2]: *** Waiting for unfinished jobs....
1 warning generated.
../../pixman-0.32.4/pixman/pixman-sse2.c:380:1: warning: unused function 'save_128_write_combining' [-Wunused-function]
save_128_write_combining (__m128i* dst,
^
../../pixman-0.32.4/pixman/pixman-sse2.c:396:1: warning: unused function 'save_128_unaligned' [-Wunused-function]
save_128_unaligned (__m128i* dst,
^
2 warnings generated.
gmake[2]: Leaving directory '/usr/home/joel/rtems-cron-5.0.0-m2005-1/rtems-source-builder-5.0.0-m2005-1/bare/build/pixman-0.32.4-x86_64-freebsd12.1-1/build/pixman'
gmake[1]: *** [Makefile:493: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/home/joel/rtems-cron-5.0.0-m2005-1/rtems-source-builder-5.0.0-m2005-1/bare/build/pixman-0.32.4-x86_64-freebsd12.1-1/build'
gmake: *** [Makefile:399: all] Error 2
shell cmd failed: /bin/sh -ex  /usr/home/joel/rtems-cron-5.0.0-m2005-1/rtems-source-builder-5.0.0-m2005-1/bare/build/pixman-0.32.4-x86_64-freebsd12.1-1/do-build
error: building pixman-0.32.4-x86_64-freebsd12.1-1
  See error report: rsb-report-pixman-0.32.4-x86_64-freebsd12.1-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


Output
======

Build Set: devel/qemu4
config: devel/libiconv-1.14-1.cfg
config: devel/gettext-0.18.3.1-1.cfg
package: gettext-0.18.3.1-x86_64-freebsd12.1-1
building: gettext-0.18.3.1-x86_64-freebsd12.1-1
sizes: gettext-0.18.3.1-x86_64-freebsd12.1-1: 116.266MB (installed: 13.246MB)
cleaning: gettext-0.18.3.1-x86_64-freebsd12.1-1
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-freebsd12.1-1.txt
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-freebsd12.1-1.xml
config: devel/libffi-3.0.13-1.cfg
package: libffi-3.0.13-x86_64-freebsd12.1-1
building: libffi-3.0.13-x86_64-freebsd12.1-1
sizes: libffi-3.0.13-x86_64-freebsd12.1-1: 4.514MB (installed: 130.538KB)
cleaning: libffi-3.0.13-x86_64-freebsd12.1-1
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-freebsd12.1-1.txt
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-freebsd12.1-1.xml
config: devel/pixman-0.32.4-1.cfg
package: pixman-0.32.4-x86_64-freebsd12.1-1
building: pixman-0.32.4-x86_64-freebsd12.1-1
error: building pixman-0.32.4-x86_64-freebsd12.1-1
Build FAILED
  See error report: rsb-report-pixman-0.32.4-x86_64-freebsd12.1-1.txt
error: building pixman-0.32.4-x86_64-freebsd12.1-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Tue May  5 01:41:35 2020
==============================================================================
Report: devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
 Version: 5.0.0-m2005-1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gettext-0.18.3.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
Package: gettext-0.18.3.1-x86_64-freebsd12.1-1
 Config: devel/gettext-0.18.3.1-1.cfg
 Summary:
  GetText offers to programmers, translators, and even users, a well
  integrated set of tools and documentation.
 URL:
  http://www.gnu.org/software/gettext/
 Version:
  0.18.3.1
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
       sha256: 0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
  Patches: 0
 Preparation:
  build_top=$(pwd)
  source_dir_gettext="gettext-0.18.3.1"
  %setup source gettext -q -n gettext-0.18.3.1
  %setup patch gettext -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "" -o "x86_64-freebsd12.1" == "" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gettext}/configure  --prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --bindir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin  --exec_prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --includedir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/include  --libdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib  --libexecdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/libexec  --mandir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man  --infodir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info  --datadir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1
  gmake -j 4 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue May  5 01:41:35 2020
==============================================================================
Report: devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
 Version: 5.0.0-m2005-1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gettext-0.18.3.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
Package: gettext-0.18.3.1-x86_64-freebsd12.1-1
 Config: devel/gettext-0.18.3.1-1.cfg
 Summary:
  GetText offers to programmers, translators, and even users, a well
  integrated set of tools and documentation.
 URL:
  http://www.gnu.org/software/gettext/
 Version:
  0.18.3.1
 Release:
  1
  Sources: 1
    1: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
       sha256: 0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
  Patches: 0
 Preparation:
  build_top=$(pwd)
  source_dir_gettext="gettext-0.18.3.1"
  %setup source gettext -q -n gettext-0.18.3.1
  %setup patch gettext -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "" -o "x86_64-freebsd12.1" == "" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_gettext}/configure  --prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --bindir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin  --exec_prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --includedir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/include  --libdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib  --libexecdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/libexec  --mandir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man  --infodir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info  --datadir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1
  gmake -j 4 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue May  5 01:41:43 2020
==============================================================================
Report: devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
 Version: 5.0.0-m2005-1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/libffi-3.0.13-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
Package: libffi-3.0.13-x86_64-freebsd12.1-1
 Config: devel/libffi-3.0.13-1.cfg
 Summary:
  LibFFI provides a portable, high level programming interface to
  various calling conventions.
 URL:
  https://sourceware.org/libffi/
 Version:
  3.0.13
 Release:
  1
  Sources: 1
    1: https://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
       sha256: 1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c
  Patches: 1
    1: http://git.rtems.org/rtems-tools/plain/tools//libffi/libffi-pkg-config-lib64-fix.diff
       sha256: f858658b7b57db13002987b7d6bb0293f181519032bf4dd36969ccb79d6b16a3
 Preparation:
  build_top=$(pwd)
  source_dir_libffi="libffi-3.0.13"
  %setup source libffi -q -n libffi-3.0.13
  %setup patch libffi -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "" -o "x86_64-freebsd12.1" == "" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_libffi}/configure  --prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --bindir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin  --exec_prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --includedir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/include  --libdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib  --libexecdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/libexec  --mandir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man  --infodir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info  --datadir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1
  gmake -j 4 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue May  5 01:41:43 2020
==============================================================================
Report: devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
 Version: 5.0.0-m2005-1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/libffi-3.0.13-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
Package: libffi-3.0.13-x86_64-freebsd12.1-1
 Config: devel/libffi-3.0.13-1.cfg
 Summary:
  LibFFI provides a portable, high level programming interface to
  various calling conventions.
 URL:
  https://sourceware.org/libffi/
 Version:
  3.0.13
 Release:
  1
  Sources: 1
    1: https://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
       sha256: 1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c
  Patches: 1
    1: http://git.rtems.org/rtems-tools/plain/tools//libffi/libffi-pkg-config-lib64-fix.diff
       sha256: f858658b7b57db13002987b7d6bb0293f181519032bf4dd36969ccb79d6b16a3
 Preparation:
  build_top=$(pwd)
  source_dir_libffi="libffi-3.0.13"
  %setup source libffi -q -n libffi-3.0.13
  %setup patch libffi -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross-build (Xc) if no target or the host and target match.
    # Canadian-cross (Cxc) if build, host and target are all different.
    if test -z "" -o "x86_64-freebsd12.1" == "" ; then
      build_dir="build-xc"
    else
      build_dir="build-cxc"
    fi
  else
    build_dir="build"
  fi
  mkdir -p ${build_dir}
  cd ${build_dir}
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # Host
    CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
    CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
    LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
    CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    # Build
    CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
    LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ../${source_dir_libffi}/configure  --prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --bindir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/bin  --exec_prefix=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5  --includedir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/include  --libdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/lib  --libexecdir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/libexec  --mandir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/man  --infodir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share/info  --datadir=/home/joel/rtems-cron-5.0.0-m2005-1/tools/5/share  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1
  gmake -j 4 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}


More information about the build mailing list