Skip to content

Instantly share code, notes, and snippets.

@rzezeski
Created June 3, 2019 15:28
Show Gist options
  • Save rzezeski/ffe788bf64cd86d3dbdbc8b52751baac to your computer and use it in GitHub Desktop.
Save rzezeski/ffe788bf64cd86d3dbdbc8b52751baac to your computer and use it in GitHub Desktop.
vtfontcvt failed
/root/smartos-live-tmp/projects/illumos/usr/src/tools/vtfontcvt
/root/smartos-live-tmp/projects/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/cw --primary gcc4,/root/smartos-live-tmp/proto.strap/usr/gcc/4/bin/gcc,gnu --shadow gcc7,/root/smartos-live-tmp/proto.strap/usr/gcc/7/bin/gcc,gnu -- -O -_gcc=-fno-inline-small-functions -_gcc=-fno-inline-functions-called-once -m32 -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_EMPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -_gcc=-Wno-missing-braces -_gcc=-Wno-sign-compare -_gcc=-Wno-unknown-pragmas -_gcc=-Wno-unused-parameter -_gcc=-Wno-missing-field-initializers -_gcc=-Wno-array-bounds -_smatch=-p=illumos_user -_smatch=--disable=uninitialized,check_check_deref,unreachable -_smatch=-Wno-vla -_smatch=-Wno-one-bit-signed-bitfield -_smatch=-Wno-external-function-has-definition -_smatch=-Wno-old-style-definition -_smatch=-Wno-strict-prototypes -_smatch=off -xc99=%all -W0,-xglobalstatic -_gcc=-fno-inline-small-functions -_gcc=-fno-inline-functions-called-once -_gcc=-fno-ipa-cp -_gcc7=-fno-ipa-icf -_gcc8=-fno-ipa-icf -_gcc7=-fno-clone-functions -_gcc8=-fno-clone-functions -_gcc7=-fno-reorder-functions -_gcc8=-fno-reorder-functions -D_TS_ERRNO -c -o vtfontcvt.o /root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c
+ /root/smartos-live-tmp/proto.strap/usr/gcc/4/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -fdiagnostics-show-option -nodefaultlibs -D__sun -O -fno-inline-small-functions -fno-inline-functions-called-once -m32 -Wall -Wextra -Werror -Wno-missing-braces -Wno-sign-compare -Wno-unknown-pragmas -Wno-unused-parameter -Wno-missing-field-initializers -Wno-array-bounds -std=gnu99 -fno-inline-small-functions -fno-inline-functions-called-once -fno-ipa-cp -D_TS_ERRNO -c -o vtfontcvt.o /root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c
cc1: warnings being treated as errors
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c: In function 'dedup_mapping':
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c:251: error: implicit declaration of function 'TAILQ_FOREACH_SAFE' [-Wimplicit-function-declaration]
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c:251: error: 'm_list' undeclared (first use in this function)
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c:251: error: (Each undeclared identifier is reported only once
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c:251: error: for each function it appears in.)
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c:251: error: expected ';' before '{' token
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c:266: error: no return statement in function returning non-void [-Wreturn-type]
+ /root/smartos-live-tmp/proto.strap/usr/gcc/7/bin/gcc -fident -finline -fno-inline-functions -fno-builtin -fno-asm -fdiagnostics-show-option -nodefaultlibs -D__sun -O -fno-inline-small-functions -fno-inline-functions-called-once -m32 -Wall -Wextra -Werror -Wno-missing-braces -Wno-sign-compare -Wno-unknown-pragmas -Wno-unused-parameter -Wno-missing-field-initializers -Wno-array-bounds -std=gnu99 -fno-inline-small-functions -fno-inline-functions-called-once -fno-ipa-cp -fno-ipa-icf -fno-clone-functions -fno-reorder-functions -D_TS_ERRNO -c -o /tmp/cw.9tWKx6/cw9tqLx6.o /root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c: In function 'dedup_mapping':
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c:251:2: error: implicit declaration of function 'TAILQ_FOREACH_SAFE'; did you mean 'TAILQ_FOREACH'? [-Werror=implicit-function-declaration]
TAILQ_FOREACH_SAFE(mp_bold, &maps[map_idx], m_list, tmp) {
^~~~~~~~~~~~~~~~~~
TAILQ_FOREACH
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c:251:46: error: 'm_list' undeclared (first use in this function); did you mean 's_list'?
TAILQ_FOREACH_SAFE(mp_bold, &maps[map_idx], m_list, tmp) {
^~~~~~
s_list
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c:251:46: note: each undeclared identifier is reported only once for each function it appears in
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c:251:59: error: expected ';' before '{' token
TAILQ_FOREACH_SAFE(mp_bold, &maps[map_idx], m_list, tmp) {
^
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c:246:34: error: variable 'mp_normal' set but not used [-Werror=unused-but-set-variable]
struct mapping *tmp, *mp_bold, *mp_normal;
^~~~~~~~~
/root/smartos-live-tmp/projects/illumos/usr/src/cmd/vtfontcvt/vtfontcvt.c:266:1: error: no return statement in function returning non-void [-Werror=return-type]
}
^
cc1: all warnings being treated as errors
*** Error code 1
make: Fatal error: Command failed for target `vtfontcvt.o'
Current working directory /root/smartos-live-tmp/projects/illumos/usr/src/tools/vtfontcvt
*** Error code 1
make: Fatal error: Command failed for target `vtfontcvt'
Current working directory /root/smartos-live-tmp/projects/illumos/usr/src/tools
Waiting for 1 job to finish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment