pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

C++ issues with games/enigma and textproc/xerces-c?



During the "careful mode" period preceeding the pkgsrc-2017Q3 branch,
I updated to pkgsrc-HEAD (and now pkgsrc-2017Q3) and started building
packages.

Among these, "games/enigma" built without problems on my big amd64-8.0_BETA
build host w/native Xorg.  I can rebuild it at will without problems on
that host.

Since then, I have built on other hosts:  i386-8.0_BETA w/native Xorg,
i386-7.1_STABLE w/native Xorg and another amd64-8.0_BETA w/native Xorg
system and all fail to build "games/enigma" beginning with the following:

[...]
if c++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2  -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/SDL -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -DENABLE_ASSERT -g -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/pkg/share/enigma\" -DLOCALEDIR=\"/usr/pkg/share/locale\" -I../lib-src/zipios++ -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core -I../lib-src/enet/include -I../lib-src -I../intl -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -MT file.o -MD -MP -MF ".deps/file.Tpo" -c -o file.o file.cc; \
then mv -f ".deps/file.Tpo" ".deps/file.Po"; else rm -f ".deps/file.Tpo"; exit 1; fi
In file included from /usr/include/g++/cstdint:35:0,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/util/Xerces_autoconf_config.hpp:90,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/util/XercesDefs.hpp:46,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/util/XMLException.hpp:25,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/util/ArrayIndexOutOfBoundsException.hpp:25,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/util/BaseRefVectorOf.hpp:25,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/util/XMLString.hpp:25,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/dom/DOMConfiguration.hpp:25,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/dom/DOMLSParser.hpp:26,
                 from DOMSchemaResolver.hh:27,
                 from DOMSchemaResolver.cc:20:
/usr/include/g++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
[...]

And several more errors like it for other source files.  This is followed
soon by an avalanche of errors of the form:

[...]
In file included from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/util/XercesDefs.hpp:46:0,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/util/XMLException.hpp:25,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/util/ArrayIndexOutOfBoundsException.hpp:25,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/util/BaseRefVectorOf.hpp:25,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/util/XMLString.hpp:25,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/dom/DOMConfiguration.hpp:25,
                 from /d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/dom/DOMLSParser.hpp:26,
                 from DOMSchemaResolver.hh:27,
                 from DOMSchemaResolver.cc:20:
/d0/build/pkgsrc/games/enigma/work/.buildlink/include/xercesc/util/Xerces_autoconf_config.hpp:67:24: error: 'char16_t' does not name a type
 #define XERCES_XMLCH_T char16_t
                        ^
[...]


The original amd64-8.0_BETA build host (which works) and the two i386
build hosts (which don't) all share the same NFS-mounted pkgsrc tree.
The auxiliary amd64-8.0_BETA host is off-site and has it's own independent
pkgsrc tree.

All have essentially the same "/etc/mk.conf" files which do not change
any options/settings of the affected packages.  The only material
difference I can think of is that the working amd64 host has "/tmp" on
"tmpfs" and puts WRKOBJDIR on "/tmp", while all the others have WRKOBJDIR
on local spinning rust.

The i386-8.0_BETA build host has a separate system disk for building
with modular/pkgsrc Xorg.  It built "games/enigma" without problems.


What's going on here and is anyone else seeing this?

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index