The build took 00h 01m 06s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
38,617 |
ansic |
2,499 |
pascal |
170 |
makefile |
101 |
perl |
41,387 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
To avoid scrolling, you may jump to the last line of the
invocation of makepkg
that was used to build this
package.
Removed vanilla repositories from pacman.conf and added:
There were existing files in /sysroot, using those
CMD: sudo -u tuscan PATH=/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: p2c 1.21alpha2-11 (Tue Apr 4 23:52:17 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
cc makeproto.c -o makeproto
cc -c -DHASDUMPS -DP2C_HOME=\"/usr/lib/p2c\" trans.c
cc -c -o stuff.o stuff.c
cc -c -o out.o out.c
In file included from stuff.c:21:
./trans.h:1776:42:In file included from errorout.c: :redefinition of 'logf' as different kind of symbol31
:
./trans.h:1776:42: error: redefinition of 'logf' as different kind of symbol
extern FILE *inf, *outf, *codef, *hdrf, *logf;extern FILE *inf, *outf, *codef, *hdrf, *logf;
^ ^
./trans.h./trans.h::17761776::4242:: notenote: previous definition is here:
previous definition is here
In file included from trans.c:23:
./trans.h:1776:42: error: redefinition of 'logf' as different kind of symbol
extern FILE *inf, *outf, *codef, *hdrf, *logf;
^
./trans.h:1776:42: note: previous definition is here
makeproto.c:137:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
exit(1);
^
makeproto.c:137:5: note: include the header or explicitly provide a declaration for 'exit'
makeproto.c:171:23: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
typetab = atoi(argv[1] + 2);
^
trans.c:158:32: warning: 'break' is bound to current loop, GCC binds it to the enclosing loop [-Wgcc-compat]
while (--i >= 0 && strcmp(rctable[i].name, cp)) ;
^
./trans.h:92:34: note: expanded from macro 'strcmp'
{ _diff = _aa[-1] - _bb[-1]; break; } \
^
out.c:117:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
trans.c:591:10: error: non-object type 'float (float)' is not assignable
logf = fopen(name, "w");
~~~~ ^
trans.c:592:9: warning: address of function 'logf' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (logf) {
~~ ^~~~
trans.c:592:9: note: prefix with the address-of operator to silence this warning
if (logf) {
^
&
trans.c:593:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') [-Wincompatible-pointer-types]
fprintf(logf, "\nTranslation of %s to %s by p2c %s\n",
^~~~
/sysroot/include/stdio.h:103:29: note: passing argument to parameter here
int fprintf(FILE *__restrict, const char *__restrict, ...);
^
trans.c:595:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') [-Wincompatible-pointer-types]
fprintf(logf, "Translated");
^~~~
/sysroot/include/stdio.h:103:29: note: passing argument to parameter here
int fprintf(FILE *__restrict, const char *__restrict, ...);
^
trans.c:598:14: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') [-Wincompatible-pointer-types]
fprintf(logf, " by %s", uname);
^~~~
/sysroot/include/stdio.h:103:29: note: passing argument to parameter here
int fprintf(FILE *__restrict, const char *__restrict, ...);
^
trans.c:600:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') [-Wincompatible-pointer-types]
fprintf(logf, " on %s", ctime(&starting_time));1
error ^~~~ generated.
/sysroot/include/stdio.h:103:29: note: passing argument to parameter here
int fprintf(FILE *__restrict, const char *__restrict, ...);
^
trans.c:601:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') [-Wincompatible-pointer-types]
fprintf(logf, "\n\n");
^~~~
/sysroot/include/stdio.h:103:29: note: passing argument to parameter here
int fprintf(FILE *__restrict, const char *__restrict, ...);
^
trans.c:613:9: warning: address of function 'logf' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (logf) {
~~ ^~~~
trans.c:613:9: note: prefix with the address-of operator to silence this warning
if (logf) {
^
&
trans.c:614:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') [-Wincompatible-pointer-types]
fprintf(logf, "\n\n");
^~~~
/sysroot/include/stdio.h:103:29: note: passing argument to parameter here
int fprintf(FILE *__restrict, const char *__restrict, ...);
^
trans.c:616:57: warning: implicit declaration of function 'sbrk' is invalid in C99 [-Wimplicit-function-declaration]
fprintf(logf, "Total memory used: %ld bytes.\n", (long)sbrk(0));
^
trans.c:616:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') [-Wincompatible-pointer-types]
fprintf(logf, "Total memory used: %ld bytes.\n", (long)sbrk(0));
^~~~
/sysroot/include/stdio.h:103:29: note: passing argument to parameter here
int fprintf(FILE *__restrict, const char *__restrict, ...);
^
trans.c:619:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') [-Wincompatible-pointer-types]
fprintf(logf, "Processed %d source lines in %ld:%ld seconds.\n",
^~~~
/sysroot/include/stdio.h:103:29: note: passing argument to parameter here
int fprintf(FILE *__restrict, const char *__restrict, ...);
^
trans.c:623:10: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') [-Wincompatible-pointer-types]
fprintf(logf, "\n\nTranslation completed on %s", ctime(&ending_time));
^~~~
/sysroot/include/stdio.h:103:29: note: passing argument to parameter here
int fprintf(FILE *__restrict, const char *__restrict, ...);
^
trans.c:624:9: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') [-Wincompatible-pointer-types]
fclose(logf);
^~~~
/sysroot/include/stdio.h:65:18: note: passing argument to parameter here
int fclose(FILE *);
^
trans.c:782:10: warning: implicit truncation from 'int' to bitfield changes value from 65535 to -1 [-Wbitfield-constant-conversion]
bft.f1 = 0xffff;
^ ~~~~~~
make: *** [: stuff.o] Error 1
make: *** Waiting for unfinished jobs....
trans.c:952:10: error: non-object type 'float (float)' is not assignable
logf = NULL;
~~~~ ^
out.c:1197:15: warning: incompatible pointer types passing 'float (float)' to parameter of type 'FILE *' (aka 'struct _IO_FILE *') [-Wincompatible-pointer-types]
fprintf(logf, "%s, %d/%d: Line breaker spent %ld tries\n",
^~~~
/sysroot/include/stdio.h:103:29: note: passing argument to parameter here
int fprintf(FILE *__restrict, const char *__restrict, ...);
^
15 warnings and 3 errors generated.
2 warnings and 1 error generated.
make: *** [Makefile:89: trans.o] Error 1
make: *** [: out.o] Error 1
2 warnings generated.
==> ERROR: A failure occurred in build().
Aborting...