Hi,
I checked the logs of openSUSE_…_PowerPC at
https://build.opensuse.org/package/show?package=grass&project=Application%3AGeo
and found a few compilation issues - any ideas how to fix them?
Markus
cd lib/db/dbmi_base/
[ 109s] error.c: In function ‘db_noproc_error’:
[ 109s] gcc -O2 -fPIC -I/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/include -I/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPACKAGE="“grasslibs”" -I/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/include -I/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/include -DRELDIR="lib/db/dbmi_base" -o OBJ.powerpc-unknown-linux-gnu/value.o -c value.c
[ 109s] error.c:159:6: warning: type of ‘procnum’ defaults to ‘int’ [-Wimplicit-int]
[ 109s] void db_noproc_error(procnum)
[ 109s] ^
[ 109s]
[ 139s] GISRC=/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/demolocation/.grassrc70 GISBASE=/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu PATH=“/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/bin:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/bin:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/scripts:$PATH” PYTHONPATH=“/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/etc/python:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/gui/wxpython:$PYTHONPATH” LD_LIBRARY_PATH=“/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/bin:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/scripts:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/lib:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/lib:” LC_ALL=C ./ctypesgen.py --cpp “gcc -E -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/include -I/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/include -D__GLIBC_HAVE_LONG_LONG” -lgrass_display.7.0.1 /home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/include/grass/display.h /home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/include/grass/defs/display.h -o OBJ.powerpc-unknown-linux-gnu/display.py
[ 139s] Status: Preprocessing /tmp/tmpPcZ3UU.h
[ 139s] Status: gcc -E -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/include -I/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/include -D__GLIBC_HAVE_LONG_LONG -U GNUC -dD “-Dinline=” “-D__inline__=” “-D__extension__=” “-D_Bool=uint8_t” “-D__const=const” “-D__asm__(x)=” “-D__asm(x)=” “-DCTYPESGEN=1” /tmp/tmpPcZ3UU.h
[ 139s] Status: Parsing /tmp/tmpPcZ3UU.h
[ 139s] Error: /usr/lib/gcc/powerpc64-suse-linux/5/include/stddef.h:427: Syntax error at ‘attribute’
[ 139s] Error: /usr/lib/gcc/powerpc64-suse-linux/5/include/stddef.h:427: Syntax error at ‘(’
[ 139s] Error: /usr/lib/gcc/powerpc64-suse-linux/5/include/stddef.h:428: Syntax error at ‘attribute’
[ 139s] Error: /usr/lib/gcc/powerpc64-suse-linux/5/include/stddef.h:428: Syntax error at ‘(’
[ 139s] Status: Processing description list.
[ 139s] Status: Writing to OBJ.powerpc-unknown-linux-gnu/gmath.py.
[ 139s] Status: Wrapping complete.
[ 141s] Status: Preprocessing /tmp/tmpPQ7enI.h
[ 141s] Status: gcc -E -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/include -I/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/include -D__GLIBC_HAVE_LONG_LONG -U GNUC -dD “-Dinline=” “-D__inline__=” “-D__extension__=” “-D_Bool=uint8_t” “-D__const=const” “-D__asm__(x)=” “-D__asm(x)=” “-DCTYPESGEN=1” /tmp/tmpPQ7enI.h
[ 141s] Status: Parsing /tmp/tmpPQ7enI.h
[ 141s] Status: Processing description list.
[ 141s] Warning: Member “from” of Struct “DateTime” has been renamed to “_from” because it has the same name as a Python keyword.
[ 141s] Warning: Member “def” of Struct “Option” has been renamed to “_def” because it has the same name as a Python keyword.
[ 141s] Warning: Could not parse macro “#define serialize_int32_le(buf,x) do { ( buf ) [ i0 ] = ( ( x ) >> i0 ) & i255 ; ( buf ) [ i1 ] = ( ( x ) >> i8 ) & i255 ; ( buf ) [ i2 ] = ( ( x ) >> i16 ) & i255 ; ( buf ) [ i3 ] = ( ( x ) >> i24 ) & i255 ; } while ( i0 )”
[ 141s] Warning: Could not parse macro “#define serialize_int32_be(buf,x) do { ( buf ) [ i0 ] = ( ( x ) >> i24 ) & i255 ; ( buf ) [ i1 ] = ( ( x ) >> i16 ) & i255 ; ( buf ) [ i2 ] = ( ( x ) >> i8 ) & i255 ; ( buf ) [ i3 ] = ( ( x ) >> i0 ) & i255 ; } while ( i0 )”
[ 141s] Status: Writing to OBJ.powerpc-unknown-linux-gnu/gis.py.
[ 141s] Status: Wrapping complete.
[ 268s] Fatal Error: Mismatch between the program and library build versions detected.
[ 268s] The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1008,STL containers,compatible with 2.6),
[ 268s] and wxPython used 2.8 (no debug,Unicode,compiler with C++ ABI 1009,STL containers,compatible with 2.6).
[ 268s] …/…/include/Make/Html.make:14: recipe for target ‘d.rast.edit.tmp.html’ failed
[ 268s] make[3]: *** [d.rast.edit.tmp.html] Error 1
[ 268s] rm d.rast.edit.tmp.html
[ 268s] make[3]: Leaving directory ‘/home/abuild/rpmbuild/BUILD/grass-7.0.1/scripts/d.rast.edit’
[ 298s] GISRC=/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/demolocation/.grassrc70 GISBASE=/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu PATH=“/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/bin:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/bin:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/scripts:$PATH” PYTHONPATH=“/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/etc/python:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/gui/wxpython:$PYTHONPATH” LD_LIBRARY_PATH=“/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/bin:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/scripts:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/lib:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/lib:” LC_ALL=C python core/toolboxes.py > xml/menudata.xml
[ 299s] Fatal Error: Mismatch between the program and library build versions detected.
[ 299s] The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1008,STL containers,compatible with 2.6),
[ 299s] and wxPython used 2.8 (no debug,Unicode,compiler with C++ ABI 1009,STL containers,compatible with 2.6).
[ 299s] /bin/sh: line 1: 5235 Aborted GISRC=/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/demolocation/.grassrc70 GISBASE=/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu PATH=“/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/bin:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/bin:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/scripts:$PATH” PYTHONPATH=“/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/etc/python:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/gui/wxpython:$PYTHONPATH” LD_LIBRARY_PATH=“/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/bin:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/scripts:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/lib:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/lib:” LC_ALL=C python core/toolboxes.py > xml/menudata.xml
[ 299s] Makefile:40: recipe for target ‘xml/menudata.xml’ failed
[ 299s] make[4]: *** [xml/menudata.xml] Error 134
[ 299s] make[4]: Leaving directory ‘/home/abuild/rpmbuild/BUILD/grass-7.0.1/gui/wxpython’
[ 299s] Makefile:29: recipe for target ‘default’ failed
[ 299s] make[3]: [default] Error 2 (ignored)
[ 299s] make xml/module_tree_menudata.xml
[ 299s] make[4]: Entering directory ‘/home/abuild/rpmbuild/BUILD/grass-7.0.1/gui/wxpython’
[ 299s] GISRC=/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/demolocation/.grassrc70 GISBASE=/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu PATH=“/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/bin:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/bin:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/scripts:$PATH” PYTHONPATH=“/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/etc/python:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/gui/wxpython:$PYTHONPATH” LD_LIBRARY_PATH=“/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/bin:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/scripts:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/lib:/home/abuild/rpmbuild/BUILD/grass-7.0.1/dist.powerpc-unknown-linux-gnu/lib:” LC_ALL=C python core/toolboxes.py “module_tree” > xml/module_tree_menudata.xml
[ 299s] Fatal Error: Mismatch between the program and library build versions detected.
[ 299s] The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1008,STL containers,compatible with 2.6),
[ 299s] and wxPython used 2.8 (no debug,Unicode,compiler with C++ ABI 1009,STL containers,compatible with 2.6).
[ 299s] /bin/sh: line 1: 5241 Aborted