[+cc gnulib, the selinux-at code comes from there] Thanks for the report!
On Tuesday, February 14, 2017 10:16:02 AM CET Lorinczy Zsigmond wrote: > It might be selinux (even if you didn't specify the platform you use). > You could try to disable it with configure option '--without-selinux' Yes, for some reason ./configure thinks that tar should be built with selinux support (so SELinux is working on your box?) and the build fails later. The --without-selinux really could work-around this issue. Copying the original report: > I'm trying to build GNU Tar 1.29 with the PGI 16.10 compilers, but it crashes > during `make`: I'm not familiar with this compiler, thus the errors below are not readable to me (maybe undefined symbol because of broken system header?). Perhaps others might decode better .. but I think that the best guess would be to provide a patch which fixes gnulib's SELinux module for your system/compiler. Pavel > PGC-S-0040-Illegal use of symbol, security_context_t (getfilecon.c: 36) > PGC-W-0156-Type not specified, 'int' assumed (getfilecon.c: 36) > PGC-S-0040-Illegal use of symbol, security_context_t (getfilecon.c: 37) > PGC-W-0156-Type not specified, 'int' assumed (getfilecon.c: 37) > PGC-S-0040-Illegal use of symbol, security_context_t (getfilecon.c: 38) > PGC-W-0156-Type not specified, 'int' assumed (getfilecon.c: 38) > PGC-S-0040-Illegal use of symbol, security_context_t (getfilecon.c: 49) > PGC-W-0156-Type not specified, 'int' assumed (getfilecon.c: 49) > PGC-W-0095-Type cast required for this conversion (getfilecon.c: 57) > PGC-W-0155-Pointer value created from a nonlong integral type (getfilecon.c: > 57) > PGC-W-0093-Type cast required for this conversion of constant (getfilecon.c: > 60) > PGC-S-0040-Illegal use of symbol, security_context_t (getfilecon.c: 69) > PGC-W-0156-Type not specified, 'int' assumed (getfilecon.c: 69) > PGC-S-0040-Illegal use of symbol, security_context_t (getfilecon.c: 76) > PGC-W-0156-Type not specified, 'int' assumed (getfilecon.c: 76) > PGC-S-0040-Illegal use of symbol, security_context_t (getfilecon.c: 83) > PGC-W-0156-Type not specified, 'int' assumed (getfilecon.c: 83) > PGC/x86-64 Linux 16.10-0: compilation completed with severe errors > make[4]: *** [getfilecon.o] Error 2