[tlbuild] Bug in libpng affecting Solaris 10

Apostolos Syropoulos asyropoulos at gmail.com
Sat Jan 13 14:43:07 CET 2018


Hello,

This bug does affect even newer version of Solaris. I am running the latest
version of
Illumos and I cannot compile libpng:


​make[5]: Entering directory
'/container/source/texlive/source/Work/libs/libpng'
depbase=`echo libpng-src/png.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc64 -D_STDC_C99 -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../libs/libpng
-I../../../libs/libpng/libpng-src
-I/container/source/texlive/source/Work/libs/zlib/include
-DPNG_CONFIGURE_LIBPNG -DPNG_NO_MMX_CODE  -fvisibility=hidden -Wimplicit
-Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -g -O2 -MT
libpng-src/png.o -MD -MP -MF $depbase.Tpo -c -o libpng-src/png.o
../../../libs/libpng/libpng-src/png.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from /usr/include/iso/stdlib_iso.h:49:0,
                 from /usr/include/stdlib.h:37,
                 from ../../../libs/libpng/libpng-src/pngpriv.h:44,
                 from ../../../libs/libpng/libpng-src/png.c:14:
/usr/include/sys/feature_tests.h:396:2: error: #error "Compiler or options
invalid for pre-UNIX 03 X/Open applications  and pre-2001 POSIX
applications"
 #error "Compiler or options invalid for pre-UNIX 03 X/Open applications \
  ^

And I am using gcc 4.9.4

A.S.​



-- 
Apostolos Syropoulos
Xanthi, GREECE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tlbuild/attachments/20180113/8134cded/attachment.html>


More information about the tlbuild mailing list