Build of palp with musl toolchain

The build took 00h 01m 53s and was SUCCESSFUL.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
16,692 ansic
37 makefile
16,729 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

Log

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:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

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: palp 2.1-1 (Tue Apr 4 23:58:52 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o poly.o poly.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Coord.o Coord.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Rat.o Rat.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Vertex.o Vertex.c
# Coord.c:136:38: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# Coord.c:136:38: note: put the semicolon on a separate line to silence this warning
# Coord.c:228:38: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# Coord.c:228:38: note: put the semicolon on a separate line to silence this warning
# Coord.c:274:38: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# Coord.c:274:38: note: put the semicolon on a separate line to silence this warning
# Coord.c:341:54: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds]
# fprintf(outFILE," [%d]",48+6*(_BH->h1[1]-_BH->h1[2]+_BH->h1[3]));}}
# ^ ~
# ./Global.h:147:17: note: array 'h1' declared here
# typedef struct {int mp, mv, np, nv, n, pic, cor, h22, h1[POLY_Dmax-1];}
# ^
# Coord.c:486:39: warning: while loop has empty body [-Wempty-body]
# while(--i) {while(!B.x[i-1][--j]); Amin[i]=++j;}
# ^
# Coord.c:486:39: note: put the semicolon on a separate line to silence this warning
# Coord.c:597:39: warning: while loop has empty body [-Wempty-body]
# while(--i) {while(!B.x[i-1][--j]); Amin[i]=++j;}
# ^
# Coord.c:597:39: note: put the semicolon on a separate line to silence this warning
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Polynf.o Polynf.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o LG.o LG.c
# LG.c:40:37: warning: while loop has empty body [-Wempty-body]
# { while(' '==(C=fgetc(inFILE))); ungetc(C,inFILE);
# ^
# LG.c:40:37: note: put the semicolon on a separate line to silence this warning
# Polynf.c:189:29: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# { for(j=0;j<*d;j++) if(abs(X[j][i])>X_Limit) err=X[j][i];
# ^
# Polynf.c:189:29: note: use function 'labs' instead
# { for(j=0;j<*d;j++) if(abs(X[j][i])>X_Limit) err=X[j][i];
# ^~~
# labs
# Polynf.c:190:23: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for(j=0;j<*f;j++) if(abs(x[j][i])>VPM_Limit) err=x[j][i];
# ^
# Polynf.c:190:23: note: use function 'labs' instead
# for(j=0;j<*f;j++) if(abs(x[j][i])>VPM_Limit) err=x[j][i];
# ^~~
# labs
# LG.c:184:37: warning: while loop has empty body [-Wempty-body]
# { while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE);
# ^
# LG.c:184:37: note: put the semicolon on a separate line to silence this warning
# LG.c:645:40: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds]
# V->h[0][i]=V->h[3][i]=b01; V->h[i][0]=V->h[i][3]=b01;
# ^ ~
# ./LG.h:30:30: note: array 'h' declared here
# typedef struct {int D,E,sts; int h[POLY_Dmax-1][POLY_Dmax-1];} VaHo;
# ^
# LG.c:646:35: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds]
# V->h[0][0]=V->h[3][3]=V->h[3][0]=V->h[0][3]=1;
# ^ ~
# ./LG.h:30:30: note: array 'h' declared here
# typedef struct {int D,E,sts; int h[POLY_Dmax-1][POLY_Dmax-1];} VaHo;
# ^
# LG.c:646:13: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds]
# V->h[0][0]=V->h[3][3]=V->h[3][0]=V->h[0][3]=1;
# ^ ~
# ./LG.h:30:30: note: array 'h' declared here
# typedef struct {int D,E,sts; int h[POLY_Dmax-1][POLY_Dmax-1];} VaHo;
# ^
# Polynf.c:892:70: warning: variable 'p' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis]
# if(e==N) return 0; if(e>p+1){Long *X=R[e];R[e]=R[p+1];R[p+1]=X;} p++;}
# ^
# Polynf.c:891:15: note: incremented here
# for(p=0;p
# ^
# 6 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o class.o class.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Subpoly.o Subpoly.c
# Subpoly.c:594:33: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for (j=0;j<*d;j++) abs_sum+=abs(perm_vec_out[j]);
# ^
# Subpoly.c:594:33: note: use function 'labs' instead
# for (j=0;j<*d;j++) abs_sum+=abs(perm_vec_out[j]);
# ^~~
# labs
# Subpoly.c:869:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(ctime(&_NFL->TIME));
# ^~~~~~~~~~~~~~~~~~
# 5 warnings generated.
# Subpoly.c:975:7: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[i][i])==1) return 0;
# ^
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Subadd.o Subadd.c
# Subpoly.c:975:7: note: use function 'llabs' instead
# if (abs(x[i][i])==1) return 0;
# ^~~
# llabs
# Subpoly.c:1055:24: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (!lin_gcd) lin_gcd=abs(x[lin][col]);
# ^
# Subpoly.c:1055:24: note: use function 'llabs' instead
# if (!lin_gcd) lin_gcd=abs(x[lin][col]);
# ^~~
# llabs
# Subpoly.c:1057:6: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^
# Subpoly.c:1057:6: note: use function 'llabs' instead
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^~~
# llabs
# Subpoly.c:1057:40: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^
# Subpoly.c:1057:40: note: use function 'llabs' instead
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^~~
# llabs
# Subpoly.c:1069:33: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if(x[chosen_lin][col]) if(abs(x[chosen_lin][col])<=min_entry){
# ^
# Subpoly.c:1069:33: note: use function 'llabs' instead
# if(x[chosen_lin][col]) if(abs(x[chosen_lin][col])<=min_entry){
# ^~~
# llabs
# Subpoly.c:1071:30: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for (lin=i;lincol_max)
# ^
# Subpoly.c:1071:30: note: use function 'llabs' instead
# for (lin=i;lincol_max)
# ^~~
# llabs
# Subpoly.c:1072:12: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# col_max=abs(x[lin][col]);
# ^
# Subpoly.c:1072:12: note: use function 'llabs' instead
# col_max=abs(x[lin][col]);
# ^~~
# llabs
# Subpoly.c:1074:25: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if ((chosen_col==-1)||(abs(x[chosen_lin][col])
# ^
# Subpoly.c:1074:25: note: use function 'llabs' instead
# if ((chosen_col==-1)||(abs(x[chosen_lin][col])
# ^~~
# llabs
# Subpoly.c:1075:8: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# ((abs(x[chosen_lin][col])==min_entry)&&(col_max
# ^
# Subpoly.c:1075:8: note: use function 'llabs' instead
# ((abs(x[chosen_lin][col])==min_entry)&&(col_max
# ^~~
# llabs
# Subpoly.c:1082:11: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# while(abs(x[i][i])>rem_gcd){
# ^
# Subpoly.c:1082:11: note: use function 'llabs' instead
# while(abs(x[i][i])>rem_gcd){
# ^~~
# llabs
# Subpoly.c:1086:11: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[i][i])<=rem_gcd) break;
# ^
# Subpoly.c:1086:11: note: use function 'llabs' instead
# if (abs(x[i][i])<=rem_gcd) break;
# ^~~
# llabs
# Subpoly.c:1106:37: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for (j=0;j
# ^
# Subpoly.c:1106:37: note: use function 'llabs' instead
# for (j=0;j
# ^~~
# llabs
# Subpoly.c:1192:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# _NFL->TIME=time(NULL); printf(ctime(&_NFL->TIME));
# ^~~~~~~~~~~~~~~~~~
# Subadd.c:98:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# L->TIME= L->SAVE= time(NULL); printf(ctime(&L->TIME)); L->CLOCK= clock();
# ^~~~~~~~~~~~~~~
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Subdb.o Subdb.c
# Subdb.c:1753:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# _L->TIME=time(NULL); printf(ctime(&_L->TIME));
# ^~~~~~~~~~~~~~~~
# 15 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o cws.o cws.c
# cws.c:411:37: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# cws.c:411:37: note: put the semicolon on a separate line to silence this warning
# cws.c:1747:44: warning: while loop has empty body [-Wempty-body]
# while((fscanf(outFILE,"%d",&tmp))!=EOF);fclose(outFILE); return tmp;
# ^
# cws.c:1747:44: note: put the semicolon on a separate line to silence this warning
# 1 warning generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o nef.o nef.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o E_Poly.o E_Poly.c
# 1 warning generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Nefpart.o Nefpart.c
# E_Poly.c:1450:9: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# abs(_E_D->e[0].a[_P->n]), *_codim);
# ^
# E_Poly.c:1450:9: note: use function 'labs' instead
# abs(_E_D->e[0].a[_P->n]), *_codim);
# ^~~
# labs
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o mori.o mori.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o MoriCone.o MoriCone.c
# MoriCone.c:114:62: warning: while loop has empty body [-Wempty-body]
# int MaxBit(Inci64 I,int p){assert(I!=0);while(0==getN(--p,I));return p;}
# ^
# MoriCone.c:114:62: note: put the semicolon on a separate line to silence this warning
# MoriCone.c:1419:35: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); return n;
# ^
# MoriCone.c:1419:35: note: put the semicolon on a separate line to silence this warning
# MoriCone.c:1426:32: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE);
# ^
# MoriCone.c:1426:32: note: put the semicolon on a separate line to silence this warning
# 2 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o SingularInput.o SingularInput.c
# 1 warning generated.
# 3 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o poly.x poly.o Coord.o Rat.o Vertex.o Polynf.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o class.x class.o Coord.o Rat.o Vertex.o Polynf.o Subpoly.o Subadd.o Subdb.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o cws.x cws.o Coord.o Rat.o Vertex.o Polynf.o LG.o
# 3 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o nef.x nef.o Coord.o Rat.o Vertex.o Polynf.o E_Poly.o Nefpart.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o mori.x mori.o Coord.o Rat.o Vertex.o Polynf.o MoriCone.o SingularInput.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o poly.o poly.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Coord.o Coord.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Rat.o Rat.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Vertex.o Vertex.c
# Coord.c:136:38: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# Coord.c:136:38: note: put the semicolon on a separate line to silence this warning
# Coord.c:228:38: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# Coord.c:228:38: note: put the semicolon on a separate line to silence this warning
# Coord.c:274:38: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# Coord.c:274:38: note: put the semicolon on a separate line to silence this warning
# Coord.c:486:39: warning: while loop has empty body [-Wempty-body]
# while(--i) {while(!B.x[i-1][--j]); Amin[i]=++j;}
# ^
# Coord.c:486:39: note: put the semicolon on a separate line to silence this warning
# Coord.c:597:39: warning: while loop has empty body [-Wempty-body]
# while(--i) {while(!B.x[i-1][--j]); Amin[i]=++j;}
# ^
# Coord.c:597:39: note: put the semicolon on a separate line to silence this warning
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Polynf.o Polynf.c
# Polynf.c:189:29: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# { for(j=0;j<*d;j++) if(abs(X[j][i])>X_Limit) err=X[j][i];
# ^
# Polynf.c:189:29: note: use function 'labs' instead
# { for(j=0;j<*d;j++) if(abs(X[j][i])>X_Limit) err=X[j][i];
# ^~~
# labs
# Polynf.c:190:23: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for(j=0;j<*f;j++) if(abs(x[j][i])>VPM_Limit) err=x[j][i];
# ^
# Polynf.c:190:23: note: use function 'labs' instead
# for(j=0;j<*f;j++) if(abs(x[j][i])>VPM_Limit) err=x[j][i];
# ^~~
# labs
# Polynf.c:892:70: warning: variable 'p' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis]
# if(e==N) return 0; if(e>p+1){Long *X=R[e];R[e]=R[p+1];R[p+1]=X;} p++;}
# ^
# Polynf.c:891:15: note: incremented here
# for(p=0;p
# ^
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o LG.o LG.c
# LG.c:40:37: warning: while loop has empty body [-Wempty-body]
# { while(' '==(C=fgetc(inFILE))); ungetc(C,inFILE);
# ^
# LG.c:40:37: note: put the semicolon on a separate line to silence this warning
# LG.c:184:37: warning: while loop has empty body [-Wempty-body]
# { while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE);
# ^
# LG.c:184:37: note: put the semicolon on a separate line to silence this warning
# 5 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o class.o class.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Subpoly.o Subpoly.c
# Subpoly.c:594:33: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for (j=0;j<*d;j++) abs_sum+=abs(perm_vec_out[j]);
# ^
# Subpoly.c:594:33: note: use function 'labs' instead
# for (j=0;j<*d;j++) abs_sum+=abs(perm_vec_out[j]);
# ^~~
# labs
# Subpoly.c:869:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(ctime(&_NFL->TIME));
# ^~~~~~~~~~~~~~~~~~
# Subpoly.c:975:7: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[i][i])==1) return 0;
# ^
# Subpoly.c:975:7: note: use function 'llabs' instead
# if (abs(x[i][i])==1) return 0;
# ^~~
# llabs
# Subpoly.c:1055:24: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (!lin_gcd) lin_gcd=abs(x[lin][col]);
# ^
# Subpoly.c:1055:24: note: use function 'llabs' instead
# if (!lin_gcd) lin_gcd=abs(x[lin][col]);
# ^~~
# llabs
# Subpoly.c:1057:6: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^
# Subpoly.c:1057:6: note: use function 'llabs' instead
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^~~
# llabs
# Subpoly.c:1057:40: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^
# Subpoly.c:1057:40: note: use function 'llabs' instead
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^~~
# llabs
# Subpoly.c:1069:33: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if(x[chosen_lin][col]) if(abs(x[chosen_lin][col])<=min_entry){
# ^
# Subpoly.c:1069:33: note: use function 'llabs' instead
# if(x[chosen_lin][col]) if(abs(x[chosen_lin][col])<=min_entry){
# ^~~
# llabs
# Subpoly.c:1071:30: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for (lin=i;lincol_max)
# ^
# Subpoly.c:1071:30: note: use function 'llabs' instead
# for (lin=i;lincol_max)
# ^~~
# llabs
# Subpoly.c:1072:12: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# col_max=abs(x[lin][col]);
# ^
# Subpoly.c:1072:12: note: use function 'llabs' instead
# col_max=abs(x[lin][col]);
# ^~~
# llabs
# Subpoly.c:1074:25: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if ((chosen_col==-1)||(abs(x[chosen_lin][col])
# ^
# Subpoly.c:1074:25: note: use function 'llabs' instead
# if ((chosen_col==-1)||(abs(x[chosen_lin][col])
# ^~~
# llabs
# Subpoly.c:1075:8: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# ((abs(x[chosen_lin][col])==min_entry)&&(col_max
# ^
# Subpoly.c:1075:8: note: use function 'llabs' instead
# ((abs(x[chosen_lin][col])==min_entry)&&(col_max
# ^~~
# llabs
# Subpoly.c:1082:11: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# while(abs(x[i][i])>rem_gcd){
# ^
# Subpoly.c:1082:11: note: use function 'llabs' instead
# while(abs(x[i][i])>rem_gcd){
# ^~~
# llabs
# Subpoly.c:1086:11: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[i][i])<=rem_gcd) break;
# ^
# Subpoly.c:1086:11: note: use function 'llabs' instead
# if (abs(x[i][i])<=rem_gcd) break;
# ^~~
# llabs
# Subpoly.c:1106:37: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for (j=0;j
# ^
# Subpoly.c:1106:37: note: use function 'llabs' instead
# for (j=0;j
# ^~~
# llabs
# Subpoly.c:1192:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# _NFL->TIME=time(NULL); printf(ctime(&_NFL->TIME));
# ^~~~~~~~~~~~~~~~~~
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Subadd.o Subadd.c
# Subadd.c:98:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# L->TIME= L->SAVE= time(NULL); printf(ctime(&L->TIME)); L->CLOCK= clock();
# ^~~~~~~~~~~~~~~
# 2 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Subdb.o Subdb.c
# Subdb.c:1753:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# _L->TIME=time(NULL); printf(ctime(&_L->TIME));
# ^~~~~~~~~~~~~~~~
# 15 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o cws.o cws.c
# cws.c:411:37: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# cws.c:411:37: note: put the semicolon on a separate line to silence this warning
# cws.c:1747:44: warning: while loop has empty body [-Wempty-body]
# while((fscanf(outFILE,"%d",&tmp))!=EOF);fclose(outFILE); return tmp;
# ^
# cws.c:1747:44: note: put the semicolon on a separate line to silence this warning
# 1 warning generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o nef.o nef.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o E_Poly.o E_Poly.c
# E_Poly.c:1450:9: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# abs(_E_D->e[0].a[_P->n]), *_codim);
# ^
# E_Poly.c:1450:9: note: use function 'labs' instead
# abs(_E_D->e[0].a[_P->n]), *_codim);
# ^~~
# labs
# 1 warning generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Nefpart.o Nefpart.c
# 2 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o mori.o mori.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o MoriCone.o MoriCone.c
# MoriCone.c:114:62: warning: while loop has empty body [-Wempty-body]
# int MaxBit(Inci64 I,int p){assert(I!=0);while(0==getN(--p,I));return p;}
# ^
# MoriCone.c:114:62: note: put the semicolon on a separate line to silence this warning
# MoriCone.c:1419:35: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); return n;
# ^
# MoriCone.c:1419:35: note: put the semicolon on a separate line to silence this warning
# MoriCone.c:1426:32: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE);
# ^
# MoriCone.c:1426:32: note: put the semicolon on a separate line to silence this warning
# 1 warning generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o SingularInput.o SingularInput.c
# 3 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o poly.x poly.o Coord.o Rat.o Vertex.o Polynf.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o class.x class.o Coord.o Rat.o Vertex.o Polynf.o Subpoly.o Subadd.o Subdb.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o cws.x cws.o Coord.o Rat.o Vertex.o Polynf.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o nef.x nef.o Coord.o Rat.o Vertex.o Polynf.o E_Poly.o Nefpart.o LG.o
# 3 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o mori.x mori.o Coord.o Rat.o Vertex.o Polynf.o MoriCone.o SingularInput.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o poly.o poly.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Coord.o Coord.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Rat.o Rat.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Vertex.o Vertex.c
# Coord.c:136:38: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# Coord.c:136:38: note: put the semicolon on a separate line to silence this warning
# Coord.c:228:38: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# Coord.c:228:38: note: put the semicolon on a separate line to silence this warning
# Coord.c:274:38: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# Coord.c:274:38: note: put the semicolon on a separate line to silence this warning
# Coord.c:486:39: warning: while loop has empty body [-Wempty-body]
# while(--i) {while(!B.x[i-1][--j]); Amin[i]=++j;}
# ^
# Coord.c:486:39: note: put the semicolon on a separate line to silence this warning
# Coord.c:597:39: warning: while loop has empty body [-Wempty-body]
# while(--i) {while(!B.x[i-1][--j]); Amin[i]=++j;}
# ^
# Coord.c:597:39: note: put the semicolon on a separate line to silence this warning
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Polynf.o Polynf.c
# Polynf.c:189:29: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# { for(j=0;j<*d;j++) if(abs(X[j][i])>X_Limit) err=X[j][i];
# ^
# Polynf.c:189:29: note: use function 'labs' instead
# { for(j=0;j<*d;j++) if(abs(X[j][i])>X_Limit) err=X[j][i];
# ^~~
# labs
# Polynf.c:190:23: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for(j=0;j<*f;j++) if(abs(x[j][i])>VPM_Limit) err=x[j][i];
# ^
# Polynf.c:190:23: note: use function 'labs' instead
# for(j=0;j<*f;j++) if(abs(x[j][i])>VPM_Limit) err=x[j][i];
# ^~~
# labs
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o LG.o LG.c
# LG.c:40:37: warning: while loop has empty body [-Wempty-body]
# { while(' '==(C=fgetc(inFILE))); ungetc(C,inFILE);
# ^
# LG.c:40:37: note: put the semicolon on a separate line to silence this warning
# Polynf.c:892:70: warning: variable 'p' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis]
# if(e==N) return 0; if(e>p+1){Long *X=R[e];R[e]=R[p+1];R[p+1]=X;} p++;}
# ^
# Polynf.c:891:15: note: incremented here
# for(p=0;p
# ^
# LG.c:184:37: warning: while loop has empty body [-Wempty-body]
# { while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE);
# ^
# LG.c:184:37: note: put the semicolon on a separate line to silence this warning
# 5 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o class.o class.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Subpoly.o Subpoly.c
# Subpoly.c:594:33: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for (j=0;j<*d;j++) abs_sum+=abs(perm_vec_out[j]);
# ^
# Subpoly.c:594:33: note: use function 'labs' instead
# for (j=0;j<*d;j++) abs_sum+=abs(perm_vec_out[j]);
# ^~~
# labs
# Subpoly.c:869:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(ctime(&_NFL->TIME));
# ^~~~~~~~~~~~~~~~~~
# Subpoly.c:975:7: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[i][i])==1) return 0;
# ^
# Subpoly.c:975:7: note: use function 'llabs' instead
# if (abs(x[i][i])==1) return 0;
# ^~~
# llabs
# Subpoly.c:1055:24: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (!lin_gcd) lin_gcd=abs(x[lin][col]);
# ^
# Subpoly.c:1055:24: note: use function 'llabs' instead
# if (!lin_gcd) lin_gcd=abs(x[lin][col]);
# ^~~
# llabs
# Subpoly.c:1057:6: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^
# Subpoly.c:1057:6: note: use function 'llabs' instead
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^~~
# llabs
# Subpoly.c:1057:40: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^
# Subpoly.c:1057:40: note: use function 'llabs' instead
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^~~
# llabs
# Subpoly.c:1069:33: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if(x[chosen_lin][col]) if(abs(x[chosen_lin][col])<=min_entry){
# ^
# Subpoly.c:1069:33: note: use function 'llabs' instead
# if(x[chosen_lin][col]) if(abs(x[chosen_lin][col])<=min_entry){
# ^~~
# llabs
# Subpoly.c:1071:30: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for (lin=i;lincol_max)
# ^
# Subpoly.c:1071:30: note: use function 'llabs' instead
# for (lin=i;lincol_max)
# ^~~
# llabs
# Subpoly.c:1072:12: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# col_max=abs(x[lin][col]);
# ^
# Subpoly.c:1072:12: note: use function 'llabs' instead
# col_max=abs(x[lin][col]);
# ^~~
# llabs
# Subpoly.c:1074:25: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if ((chosen_col==-1)||(abs(x[chosen_lin][col])
# ^
# Subpoly.c:1074:25: note: use function 'llabs' instead
# if ((chosen_col==-1)||(abs(x[chosen_lin][col])
# ^~~
# llabs
# Subpoly.c:1075:8: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# ((abs(x[chosen_lin][col])==min_entry)&&(col_max
# ^
# Subpoly.c:1075:8: note: use function 'llabs' instead
# ((abs(x[chosen_lin][col])==min_entry)&&(col_max
# ^~~
# llabs
# Subpoly.c:1082:11: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# while(abs(x[i][i])>rem_gcd){
# ^
# Subpoly.c:1082:11: note: use function 'llabs' instead
# while(abs(x[i][i])>rem_gcd){
# ^~~
# llabs
# Subpoly.c:1086:11: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[i][i])<=rem_gcd) break;
# ^
# Subpoly.c:1086:11: note: use function 'llabs' instead
# if (abs(x[i][i])<=rem_gcd) break;
# ^~~
# llabs
# Subpoly.c:1106:37: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for (j=0;j
# ^
# Subpoly.c:1106:37: note: use function 'llabs' instead
# for (j=0;j
# ^~~
# llabs
# Subpoly.c:1192:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# _NFL->TIME=time(NULL); printf(ctime(&_NFL->TIME));
# ^~~~~~~~~~~~~~~~~~
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Subadd.o Subadd.c
# Subadd.c:98:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# L->TIME= L->SAVE= time(NULL); printf(ctime(&L->TIME)); L->CLOCK= clock();
# ^~~~~~~~~~~~~~~
# 2 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Subdb.o Subdb.c
# 15 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o cws.o cws.c
# cws.c:411:37: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# cws.c:411:37: note: put the semicolon on a separate line to silence this warning
# Subdb.c:1753:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# _L->TIME=time(NULL); printf(ctime(&_L->TIME));
# ^~~~~~~~~~~~~~~~
# cws.c:1747:44: warning: while loop has empty body [-Wempty-body]
# while((fscanf(outFILE,"%d",&tmp))!=EOF);fclose(outFILE); return tmp;
# ^
# cws.c:1747:44: note: put the semicolon on a separate line to silence this warning
# 1 warning generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o nef.o nef.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o E_Poly.o E_Poly.c
# E_Poly.c:1450:9: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# abs(_E_D->e[0].a[_P->n]), *_codim);
# ^
# E_Poly.c:1450:9: note: use function 'labs' instead
# abs(_E_D->e[0].a[_P->n]), *_codim);
# ^~~
# labs
# 1 warning generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Nefpart.o Nefpart.c
# 2 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o mori.o mori.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o MoriCone.o MoriCone.c
# MoriCone.c:114:62: warning: while loop has empty body [-Wempty-body]
# int MaxBit(Inci64 I,int p){assert(I!=0);while(0==getN(--p,I));return p;}
# ^
# MoriCone.c:114:62: note: put the semicolon on a separate line to silence this warning
# MoriCone.c:1419:35: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); return n;
# ^
# MoriCone.c:1419:35: note: put the semicolon on a separate line to silence this warning
# MoriCone.c:1426:32: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE);
# ^
# MoriCone.c:1426:32: note: put the semicolon on a separate line to silence this warning
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o SingularInput.o SingularInput.c
# 1 warning generated.
# 3 warnings generated.
# 3 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o poly.x poly.o Coord.o Rat.o Vertex.o Polynf.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o class.x class.o Coord.o Rat.o Vertex.o Polynf.o Subpoly.o Subadd.o Subdb.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o cws.x cws.o Coord.o Rat.o Vertex.o Polynf.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o nef.x nef.o Coord.o Rat.o Vertex.o Polynf.o E_Poly.o Nefpart.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o mori.x mori.o Coord.o Rat.o Vertex.o Polynf.o MoriCone.o SingularInput.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o poly.o poly.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Coord.o Coord.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Rat.o Rat.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Vertex.o Vertex.c
# Coord.c:136:38: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# Coord.c:136:38: note: put the semicolon on a separate line to silence this warning
# Coord.c:228:38: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# Coord.c:228:38: note: put the semicolon on a separate line to silence this warning
# Coord.c:274:38: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# Coord.c:274:38: note: put the semicolon on a separate line to silence this warning
# Coord.c:486:39: warning: while loop has empty body [-Wempty-body]
# while(--i) {while(!B.x[i-1][--j]); Amin[i]=++j;}
# ^
# Coord.c:486:39: note: put the semicolon on a separate line to silence this warning
# Coord.c:597:39: warning: while loop has empty body [-Wempty-body]
# while(--i) {while(!B.x[i-1][--j]); Amin[i]=++j;}
# ^
# Coord.c:597:39: note: put the semicolon on a separate line to silence this warning
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Polynf.o Polynf.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o LG.o LG.c
# Polynf.c:189:29: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# { for(j=0;j<*d;j++) if(abs(X[j][i])>X_Limit) err=X[j][i];
# ^
# Polynf.c:189:29: note: use function 'labs' instead
# { for(j=0;j<*d;j++) if(abs(X[j][i])>X_Limit) err=X[j][i];
# ^~~
# labs
# Polynf.c:190:23: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for(j=0;j<*f;j++) if(abs(x[j][i])>VPM_Limit) err=x[j][i];
# ^
# Polynf.c:190:23: note: use function 'labs' instead
# for(j=0;j<*f;j++) if(abs(x[j][i])>VPM_Limit) err=x[j][i];
# ^~~
# labs
# LG.c:40:37: warning: while loop has empty body [-Wempty-body]
# { while(' '==(C=fgetc(inFILE))); ungetc(C,inFILE);
# ^
# LG.c:40:37: note: put the semicolon on a separate line to silence this warning
# LG.c:184:37: warning: while loop has empty body [-Wempty-body]
# { while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE);
# ^
# LG.c:184:37: note: put the semicolon on a separate line to silence this warning
# Polynf.c:892:70: warning: variable 'p' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis]
# if(e==N) return 0; if(e>p+1){Long *X=R[e];R[e]=R[p+1];R[p+1]=X;} p++;}
# ^
# Polynf.c:891:15: note: incremented here
# for(p=0;p
# ^
# 5 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o class.o class.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Subpoly.o Subpoly.c
# Subpoly.c:594:33: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for (j=0;j<*d;j++) abs_sum+=abs(perm_vec_out[j]);
# ^
# Subpoly.c:594:33: note: use function 'labs' instead
# for (j=0;j<*d;j++) abs_sum+=abs(perm_vec_out[j]);
# ^~~
# labs
# Subpoly.c:869:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# printf(ctime(&_NFL->TIME));
# ^~~~~~~~~~~~~~~~~~
# Subpoly.c:975:7: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[i][i])==1) return 0;
# ^
# Subpoly.c:975:7: note: use function 'llabs' instead
# if (abs(x[i][i])==1) return 0;
# ^~~
# llabs
# Subpoly.c:1055:24: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (!lin_gcd) lin_gcd=abs(x[lin][col]);
# ^
# Subpoly.c:1055:24: note: use function 'llabs' instead
# if (!lin_gcd) lin_gcd=abs(x[lin][col]);
# ^~~
# llabs
# Subpoly.c:1057:6: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^
# Subpoly.c:1057:6: note: use function 'llabs' instead
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^~~
# llabs
# Subpoly.c:1057:40: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^
# Subpoly.c:1057:40: note: use function 'llabs' instead
# if (abs(x[lin][col])>lin_max) lin_max=abs(x[lin][col]);}
# ^~~
# llabs
# Subpoly.c:1069:33: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if(x[chosen_lin][col]) if(abs(x[chosen_lin][col])<=min_entry){
# ^
# Subpoly.c:1069:33: note: use function 'llabs' instead
# if(x[chosen_lin][col]) if(abs(x[chosen_lin][col])<=min_entry){
# ^~~
# llabs
# Subpoly.c:1071:30: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for (lin=i;lincol_max)
# ^
# Subpoly.c:1071:30: note: use function 'llabs' instead
# for (lin=i;lincol_max)
# ^~~
# llabs
# Subpoly.c:1072:12: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# col_max=abs(x[lin][col]);
# ^
# Subpoly.c:1072:12: note: use function 'llabs' instead
# col_max=abs(x[lin][col]);
# ^~~
# llabs
# Subpoly.c:1074:25: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if ((chosen_col==-1)||(abs(x[chosen_lin][col])
# ^
# Subpoly.c:1074:25: note: use function 'llabs' instead
# if ((chosen_col==-1)||(abs(x[chosen_lin][col])
# ^~~
# llabs
# Subpoly.c:1075:8: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# ((abs(x[chosen_lin][col])==min_entry)&&(col_max
# ^
# Subpoly.c:1075:8: note: use function 'llabs' instead
# ((abs(x[chosen_lin][col])==min_entry)&&(col_max
# ^~~
# llabs
# Subpoly.c:1082:11: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# while(abs(x[i][i])>rem_gcd){
# ^
# Subpoly.c:1082:11: note: use function 'llabs' instead
# while(abs(x[i][i])>rem_gcd){
# ^~~
# llabs
# Subpoly.c:1086:11: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# if (abs(x[i][i])<=rem_gcd) break;
# ^
# Subpoly.c:1086:11: note: use function 'llabs' instead
# if (abs(x[i][i])<=rem_gcd) break;
# ^~~
# llabs
# Subpoly.c:1106:37: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# for (j=0;j
# ^
# Subpoly.c:1106:37: note: use function 'llabs' instead
# for (j=0;j
# ^~~
# llabs
# Subpoly.c:1192:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# _NFL->TIME=time(NULL); printf(ctime(&_NFL->TIME));
# ^~~~~~~~~~~~~~~~~~
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Subadd.o Subadd.c
# Subadd.c:98:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# L->TIME= L->SAVE= time(NULL); printf(ctime(&L->TIME)); L->CLOCK= clock();
# ^~~~~~~~~~~~~~~
# 2 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Subdb.o Subdb.c
# Subdb.c:1753:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# _L->TIME=time(NULL); printf(ctime(&_L->TIME));
# ^~~~~~~~~~~~~~~~
# 15 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o cws.o cws.c
# cws.c:411:37: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE ))); ungetc(c,inFILE); /* read blanks */
# ^
# cws.c:411:37: note: put the semicolon on a separate line to silence this warning
# cws.c:1747:44: warning: while loop has empty body [-Wempty-body]
# while((fscanf(outFILE,"%d",&tmp))!=EOF);fclose(outFILE); return tmp;
# ^
# cws.c:1747:44: note: put the semicolon on a separate line to silence this warning
# 1 warning generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o nef.o nef.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o E_Poly.o E_Poly.c
# E_Poly.c:1450:9: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
# abs(_E_D->e[0].a[_P->n]), *_codim);
# ^
# E_Poly.c:1450:9: note: use function 'labs' instead
# abs(_E_D->e[0].a[_P->n]), *_codim);
# ^~~
# labs
# 1 warning generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o Nefpart.o Nefpart.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o mori.o mori.c
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o MoriCone.o MoriCone.c
# 2 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o SingularInput.o SingularInput.c
# MoriCone.c:114:62: warning: while loop has empty body [-Wempty-body]
# int MaxBit(Inci64 I,int p){assert(I!=0);while(0==getN(--p,I));return p;}
# ^
# MoriCone.c:114:62: note: put the semicolon on a separate line to silence this warning
# MoriCone.c:1419:35: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE); return n;
# ^
# MoriCone.c:1419:35: note: put the semicolon on a separate line to silence this warning
# MoriCone.c:1426:32: warning: while loop has empty body [-Wempty-body]
# while(' '==(c=fgetc(inFILE))); ungetc(c,inFILE);
# ^
# MoriCone.c:1426:32: note: put the semicolon on a separate line to silence this warning
# 1 warning generated.
# 3 warnings generated.
# 3 warnings generated.
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o poly.x poly.o Coord.o Rat.o Vertex.o Polynf.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o class.x class.o Coord.o Rat.o Vertex.o Polynf.o Subpoly.o Subadd.o Subdb.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o cws.x cws.o Coord.o Rat.o Vertex.o Polynf.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o nef.x nef.o Coord.o Rat.o Vertex.o Polynf.o E_Poly.o Nefpart.o LG.o
# gcc -O3 -g -W -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -o mori.x mori.o Coord.o Rat.o Vertex.o Polynf.o MoriCone.o SingularInput.o LG.o
# ==> Entering fakeroot environment...
# ==> Starting package()...
# /tmp/palp/src/palp-2.1/bin /tmp/palp/src/palp-2.1
# /tmp/palp/src/palp-2.1
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "palp"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: palp 2.1-1 (Tue Apr 4 23:59:23 UTC 2017)

CMD: pacman --query --file palp-2.1-1-x86_64.pkg.tar.xz
# palp 2.1-1

Creating hybrid package for 'palp'

Trying to find vanilla package 'palp'...

CMD: pacman --query --file /mirror/palp-2.1-1.pkg.tar.xz
# palp 2.1-1

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/cws-5d.x
# /usr/bin/class-4d.x
# /usr/bin/poly-6d.x
# /usr/bin/class-5d.x
# /usr/bin/cws.x
# /usr/bin/cws-11d.x
# /usr/bin/mori-4d.x
# /usr/bin/class-6d.x
# /usr/bin/mori.x
# /usr/bin/mori-11d.x
# /usr/bin/cws-6d.x
# /usr/bin/class.x
# /usr/bin/nef-5d.x
# /usr/bin/mori-6d.x
# /usr/bin/poly-5d.x
# /usr/bin/nef-4d.x
# /usr/bin/cws-4d.x
# /usr/bin/nef.x
# /usr/bin/poly.x
# /usr/bin/poly-4d.x
# /usr/bin/poly-11d.x
# /usr/bin/mori-5d.x
# /usr/bin/nef-6d.x
# /usr/bin/class-11d.x
# /usr/bin/nef-11d.x

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr .MTREE | xz -c -z

CMD: bsdtar -tqf palp.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/palp.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/palp.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/palp.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'