Created
July 23, 2018 14:56
-
-
Save karolhrdina/b3b702d529d66502698dd509ea1906e8 to your computer and use it in GitHub Desktop.
zproject PR#1101 revert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kj@vrrr:~/temp/zproject_test> gsl project.xml | |
GSL/4.1.5 Copyright (c) 1996-2016 iMatix Corporation | |
GSL Developers 2016-2017 | |
gsl/4 I: Processing project.xml... | |
gsl/4 M: Generating skeleton for src/gerald_selftest.c | |
gsl/4 M: Generating skeleton for include/gerald.h | |
gsl/4 M: Generating skeleton for include/util.h | |
gsl/4 M: Generating skeleton for src/util.c | |
gsl/4 M: NOT regenerating an existing .gitignore file; you might want to move yours out of the way and re-generate the project again to get updated settings | |
gsl/4 M: NOT regenerating an existing .gitattributes file; you might want to move yours out of the way and re-generate the project again to get updated settings | |
gsl/4 M: NOT regenerating an existing .editorconfig file; you might want to move yours out of the way and re-generate the project again to get updated settings | |
gsl/4 M: Building GNU build system (autotools) | |
gsl/4 M: NOT regenerating an existing .clang-format file; you might want to move yours out of the way and re-generate the project again to get updated settings | |
gsl/4 M: Please remember to use 'src/selftest-ro/' to store SCM-tracked selftest fixtures, and 'src/selftest-rw/' for files your selftest might create | |
gsl/4 M: Do not forget to manually update and SCM-track the doc/gerald.adoc project overview document | |
gsl/4 M: Building CMake build system (cmake) | |
kj@vrrr:~/temp/zproject_test> ./autogen.sh && ./configure && make | |
autogen.sh: generating a dummy src/Makemodule-local.am to fulfill dependencies. | |
autoreconf: Entering directory `.' | |
autoreconf: configure.ac: not using Gettext | |
autoreconf: running: aclocal -I config --force -I config | |
autoreconf: configure.ac: tracing | |
autoreconf: running: libtoolize --copy --force | |
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. | |
libtoolize: copying file 'config/ltmain.sh' | |
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'. | |
libtoolize: copying file 'config/libtool.m4' | |
libtoolize: copying file 'config/ltoptions.m4' | |
libtoolize: copying file 'config/ltsugar.m4' | |
libtoolize: copying file 'config/ltversion.m4' | |
libtoolize: copying file 'config/lt~obsolete.m4' | |
autoreconf: running: /usr/bin/autoconf --include=config --force | |
autoreconf: running: /usr/bin/autoheader --include=config --force | |
autoreconf: running: automake --add-missing --copy --force-missing | |
configure.ac:55: installing 'config/compile' | |
configure.ac:58: installing 'config/config.guess' | |
configure.ac:58: installing 'config/config.sub' | |
configure.ac:21: installing 'config/install-sh' | |
configure.ac:21: installing 'config/missing' | |
Makefile.am: installing 'config/depcomp' | |
parallel-tests: installing 'config/test-driver' | |
autoreconf: Leaving directory `.' | |
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p | |
checking for gawk... gawk | |
checking whether make sets $(MAKE)... yes | |
checking whether make supports nested variables... yes | |
checking whether UID '1000' is supported by ustar format... yes | |
checking whether GID '100' is supported by ustar format... yes | |
checking how to create a ustar tar archive... gnutar | |
checking whether make supports nested variables... (cached) yes | |
checking for gcc... gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether gcc accepts -g... yes | |
checking for gcc option to accept ISO C89... none needed | |
checking whether gcc understands -c and -o together... yes | |
checking whether make supports the include directive... yes (GNU style) | |
checking dependency style of gcc... gcc3 | |
checking for gcc option to accept ISO C99... none needed | |
checking build system type... x86_64-pc-linux-gnu | |
checking host system type... x86_64-pc-linux-gnu | |
checking how to print strings... printf | |
checking for a sed that does not truncate output... /usr/bin/sed | |
checking for grep that handles long lines and -e... /usr/bin/grep | |
checking for egrep... /usr/bin/grep -E | |
checking for fgrep... /usr/bin/grep -F | |
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld | |
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes | |
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B | |
checking the name lister (/usr/bin/nm -B) interface... BSD nm | |
checking whether ln -s works... yes | |
checking the maximum length of command line arguments... 1572864 | |
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop | |
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop | |
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r | |
checking for objdump... objdump | |
checking how to recognize dependent libraries... pass_all | |
checking for dlltool... dlltool | |
checking how to associate runtime and link libraries... printf %s\n | |
checking for ar... ar | |
checking for archiver @FILE support... @ | |
checking for strip... strip | |
checking for ranlib... ranlib | |
checking command to parse /usr/bin/nm -B output from gcc object... ok | |
checking for sysroot... no | |
checking for a working dd... /usr/bin/dd | |
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 | |
checking for mt... mt | |
checking if mt is a manifest tool... no | |
checking how to run the C preprocessor... gcc -E | |
checking for ANSI C header files... yes | |
checking for sys/types.h... yes | |
checking for sys/stat.h... yes | |
checking for stdlib.h... yes | |
checking for string.h... yes | |
checking for memory.h... yes | |
checking for strings.h... yes | |
checking for inttypes.h... yes | |
checking for stdint.h... yes | |
checking for unistd.h... yes | |
checking for dlfcn.h... yes | |
checking for objdir... .libs | |
checking if gcc supports -fno-rtti -fno-exceptions... no | |
checking for gcc option to produce PIC... -fPIC -DPIC | |
checking if gcc PIC flag -fPIC -DPIC works... yes | |
checking if gcc static flag -static works... no | |
checking if gcc supports -c -o file.o... yes | |
checking if gcc supports -c -o file.o... (cached) yes | |
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes | |
checking whether -lc should be explicitly linked in... no | |
checking dynamic linker characteristics... GNU/Linux ld.so | |
checking how to hardcode library paths into programs... immediate | |
checking whether stripping libraries is possible... yes | |
checking if libtool supports shared libraries... yes | |
checking whether to build shared libraries... yes | |
checking whether to build static libraries... yes | |
checking for a sed that does not truncate output... (cached) /usr/bin/sed | |
checking for gawk... (cached) gawk | |
checking for pkg-config... /usr/bin/pkg-config | |
checking pkg-config is at least version 0.9.0... yes | |
checking whether byte ordering is bigendian... no | |
checking for cppcheck... false | |
checking whether to enable GCov... no | |
checking whether to enable ASan... no | |
checking for clang-format... no | |
checking for asciidoc... no | |
checking for xmlto... no | |
configure: WARNING: You are building an unreleased version of GERALD and asciidoc or xmlto are not installed. | |
configure: WARNING: Documentation will not be built and manual pages will not be installed. | |
checking whether to build documentation... no | |
checking whether to install manpages... no | |
checking for ANSI C header files... (cached) yes | |
checking errno.h usability... yes | |
checking errno.h presence... yes | |
checking for errno.h... yes | |
checking arpa/inet.h usability... yes | |
checking arpa/inet.h presence... yes | |
checking for arpa/inet.h... yes | |
checking netinet/tcp.h usability... yes | |
checking netinet/tcp.h presence... yes | |
checking for netinet/tcp.h... yes | |
checking netinet/in.h usability... yes | |
checking netinet/in.h presence... yes | |
checking for netinet/in.h... yes | |
checking stddef.h usability... yes | |
checking stddef.h presence... yes | |
checking for stddef.h... yes | |
checking for stdlib.h... (cached) yes | |
checking for string.h... (cached) yes | |
checking sys/socket.h usability... yes | |
checking sys/socket.h presence... yes | |
checking for sys/socket.h... yes | |
checking sys/time.h usability... yes | |
checking sys/time.h presence... yes | |
checking for sys/time.h... yes | |
checking for unistd.h... (cached) yes | |
checking limits.h usability... yes | |
checking limits.h presence... yes | |
checking for limits.h... yes | |
checking ifaddrs.h usability... yes | |
checking ifaddrs.h presence... yes | |
checking for ifaddrs.h... yes | |
checking for net/if.h... yes | |
checking for net/if_media.h... no | |
checking for linux/wireless.h... yes | |
checking for stdbool.h that conforms to C99... yes | |
checking for _Bool... yes | |
checking for an ANSI C-conforming const... yes | |
checking for inline... inline | |
checking for size_t... yes | |
checking for ssize_t... yes | |
checking whether time.h and sys/time.h may both be included... yes | |
checking for uint32_t... yes | |
checking for working volatile... yes | |
checking whether byte ordering is bigendian... (cached) no | |
checking for presence of CMake recipes... checking for ./CMakeLists.txt... yes | |
yes | |
configure: ENABLE_GERALD_SELFTEST defined | |
checking return type of signal handlers... void | |
checking for perror... yes | |
checking for gettimeofday... yes | |
checking for memset... yes | |
checking for getifaddrs... yes | |
checking for ./.git... no | |
checking running under a git repository workspace... no | |
configure: Building stable and legacy API (no draft API) | |
checking that generated files are newer than configure... done | |
configure: creating ./config.status | |
config.status: creating Makefile | |
config.status: creating doc/Makefile | |
config.status: creating include/Makefile | |
config.status: creating src/libgerald.pc | |
config.status: creating src/platform.h | |
config.status: executing depfiles commands | |
config.status: executing libtool commands | |
########################################################################## | |
# SUMMARY # | |
########################################################################## | |
Package version............... : gerald-0.0.0 | |
C compiler.................... : gcc | |
C compiler flags.............. : -g -O2 | |
C++ compiler.................. : | |
C++ compiler flags............ : | |
Configure date................ : 2018-07-23 16:51 | |
Build architecture............ : x86_64-pc-linux-gnu | |
Build docs.................... : no | |
Build host.................... : vrrr | |
Build user.................... : kj | |
Draft API..................... : no | |
Install dir................... : /usr/local | |
Install man pages............. : no | |
Help: | |
Use the Draft API (default = yes): | |
--enable-drafts=(yes|no) | |
Build the docs and install the man pages (default = yes): | |
--with-docs=(yes|no) *requires asciidoc and xmlto | |
########################################################################## | |
Configure complete! Now proceed with: | |
- 'make' compile the project | |
- 'make check' run the project's selftest | |
- 'make install' install the project to /usr/local | |
Further options are: | |
- 'make callcheck' run the project's selftest with valgrind to | |
check for performance leaks | |
- 'make check-verbose' run the project's selftest in verbose mode | |
- 'make code' generate code from models in src directory | |
(requires zproject and zproto) | |
- 'make debug' run the project's selftest under gdb | |
- 'make memcheck' run the project's selftest with valgrind to | |
check for memory leaks | |
- 'make coverage' generate project's selftest coverage report | |
expects --with-gcov option for configure | |
- 'make clang-format-check' check if project sources conform | |
to style requirements | |
- 'make clang-format' modify project sources to conform | |
to style requirements | |
- 'make clang-format-diff' modify as above and print 'git diff' | |
Making all in doc | |
make[1]: Entering directory '/home/kj/temp/zproject_test/doc' | |
SKIPPING documentation generation and formatting (BUILD_DOC was not required and/or tools are missing) | |
make[1]: Leaving directory '/home/kj/temp/zproject_test/doc' | |
Making all in include | |
make[1]: Entering directory '/home/kj/temp/zproject_test/include' | |
make[1]: Nothing to be done for 'all'. | |
make[1]: Leaving directory '/home/kj/temp/zproject_test/include' | |
make[1]: Entering directory '/home/kj/temp/zproject_test' | |
CC src/gerald_selftest-gerald_selftest.o | |
In file included from src/../include/gerald_library.h:65, | |
from src/../include/gerald.h:12, | |
from src/gerald_classes.h:19, | |
from src/gerald_selftest.c:16: | |
src/../include/util.h:26:16: error: unknown type name ‘bool’; did you mean ‘_Bool’? | |
util_test (bool verbose); | |
^~~~ | |
_Bool | |
In file included from src/gerald_selftest.c:16: | |
src/gerald_classes.h:33:30: error: unknown type name ‘bool’; did you mean ‘_Bool’? | |
gerald_private_selftest (bool verbose, const char *subtest); | |
^~~~ | |
_Bool | |
src/gerald_selftest.c:31:5: warning: parameter names (without types) in function declaration | |
void (*test) (bool); // function to run the test (or NULL for private tests) | |
^~~~ | |
src/gerald_selftest.c:32:5: error: unknown type name ‘bool’ | |
bool stable; // true if class is declared as stable | |
^~~~ | |
src/gerald_selftest.c:33:5: error: unknown type name ‘bool’ | |
bool pub; // true if class is declared as public | |
^~~~ | |
src/gerald_selftest.c:40:15: error: ‘util_test’ undeclared here (not in a function); did you mean ‘util_new’? | |
{ "util", util_test, true, true, NULL }, | |
^~~~~~~~~ | |
util_new | |
src/gerald_selftest.c:40:26: error: ‘true’ undeclared here (not in a function); did you mean ‘strsep’? | |
{ "util", util_test, true, true, NULL }, | |
^~~~ | |
strsep | |
src/gerald_selftest.c:65:14: error: unknown type name ‘bool’; did you mean ‘_Bool’? | |
test_runall (bool verbose) | |
^~~~ | |
_Bool | |
src/gerald_selftest.c: In function ‘test_list’: | |
src/gerald_selftest.c:87:5: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration] | |
puts ("Available tests:"); | |
^~~~ | |
src/gerald_selftest.c:89:9: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] | |
printf (" %-40s - %s %s\n", | |
^~~~~~ | |
src/gerald_selftest.c:89:9: warning: incompatible implicit declaration of built-in function ‘printf’ | |
src/gerald_selftest.c:89:9: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’ | |
src/gerald_selftest.c:26:1: | |
+#include <stdio.h> | |
#define streq(s1,s2) (!strcmp ((s1), (s2))) | |
src/gerald_selftest.c:89:9: | |
printf (" %-40s - %s %s\n", | |
^~~~~~ | |
src/gerald_selftest.c: In function ‘test_number’: | |
src/gerald_selftest.c:105:5: warning: incompatible implicit declaration of built-in function ‘printf’ | |
printf ("%d\n", n); | |
^~~~~~ | |
src/gerald_selftest.c:105:5: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’ | |
src/gerald_selftest.c: In function ‘main’: | |
src/gerald_selftest.c:111:5: error: unknown type name ‘bool’; did you mean ‘_Bool’? | |
bool verbose = false; | |
^~~~ | |
_Bool | |
src/gerald_selftest.c:111:20: error: ‘false’ undeclared (first use in this function) | |
bool verbose = false; | |
^~~~~ | |
src/gerald_selftest.c:111:20: note: each undeclared identifier is reported only once for each function it appears in | |
src/gerald_selftest.c:111:20: warning: initialization of ‘int’ from ‘test_item_t *’ {aka ‘struct <anonymous> *’} makes integer from pointer without a cast [-Wint-conversion] | |
src/gerald_selftest.c:127:21: warning: assignment to ‘int’ from ‘test_item_t *’ {aka ‘struct <anonymous> *’} makes integer from pointer without a cast [-Wint-conversion] | |
verbose = true; | |
^ | |
src/gerald_selftest.c:145:17: warning: implicit declaration of function ‘fprintf’ [-Wimplicit-function-declaration] | |
fprintf (stderr, "--test needs an argument\n"); | |
^~~~~~~ | |
src/gerald_selftest.c:145:17: warning: incompatible implicit declaration of built-in function ‘fprintf’ | |
src/gerald_selftest.c:145:17: note: include ‘<stdio.h>’ or provide a declaration of ‘fprintf’ | |
src/gerald_selftest.c:145:26: error: ‘stderr’ undeclared (first use in this function) | |
fprintf (stderr, "--test needs an argument\n"); | |
^~~~~~ | |
src/gerald_selftest.c:145:26: note: ‘stderr’ is defined in header ‘<stdio.h>’; did you forget to ‘#include <stdio.h>’? | |
src/gerald_selftest.c:150:17: warning: incompatible implicit declaration of built-in function ‘fprintf’ | |
fprintf (stderr, "%s not valid, use --list to show tests\n", argv [argn]); | |
^~~~~~~ | |
src/gerald_selftest.c:150:17: note: include ‘<stdio.h>’ or provide a declaration of ‘fprintf’ | |
src/gerald_selftest.c:163:13: warning: incompatible implicit declaration of built-in function ‘printf’ | |
printf ("Unknown option: %s\n", argv [argn]); | |
^~~~~~ | |
src/gerald_selftest.c:163:13: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’ | |
src/gerald_selftest.c:174:9: warning: incompatible implicit declaration of built-in function ‘printf’ | |
printf ("Running gerald test '%s'...\n", test->testname); | |
^~~~~~ | |
src/gerald_selftest.c:174:9: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’ | |
src/gerald_selftest.c:183:9: warning: implicit declaration of function ‘test_runall’; did you mean ‘test_number’? [-Wimplicit-function-declaration] | |
test_runall (verbose); | |
^~~~~~~~~~~ | |
test_number | |
make[1]: *** [Makefile:962: src/gerald_selftest-gerald_selftest.o] Error 1 | |
make[1]: Leaving directory '/home/kj/temp/zproject_test' | |
make: *** [Makefile:1013: all-recursive] Error 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project | |
name = "gerald" | |
script = "zproject.gsl" | |
email = "zeromq-dev@lists.zeromq.org" | |
license = "MPL-2.0" | |
> | |
<class name = "util" state = "stable">Some class</class> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment