hi i try to compile pike for fedora 25 and it fails as below:
... precompile: /usr/local/bin/pike80 /tmp/Pike- v8.0.404/bin/precompile.pike --base=FSEvents /tmp/Pike- v8.0.404/src/modules/FSEvents/fsevents.cmod (method=QQQQQQ) Compiling modules/FSEvents/fsevents.c Linking FSEvents #### Making dynamic: modules/Fuse Compiling modules/Fuse/fuse.c Linking Fuse Making module.pmod #### Making dynamic: modules/Gdbm Compiling modules/Gdbm/gdbmmod.c /tmp/Pike-v8.0.404/src/pike_error.h:54:34: error: expected ‘)’ before string constant (fprintf(stderr,msg_fatal_error,__FILE__,(long)__LINE__),debug_fatal) ^ In file included from /tmp/Pike-v8.0.404/src/threads.h:11:0, from /tmp/Pike-v8.0.404/src/modules/Gdbm/gdbmmod.c:9: /tmp/Pike-v8.0.404/src/pike_error.h:54:58: error: expected ‘)’ before ‘,’ token (fprintf(stderr,msg_fatal_error,__FILE__,(long)__LINE__),debug_fatal) ^ Compilation command was: /tmp/Pike-v8.0.404/build/linux-4.10.8-200.fc25.x86_64-x86_64/smartlink gcc -I. -I/tmp/Pike-v8.0.404/src/modules/Gdbm -I/tmp/Pike- v8.0.404/build/linux-4.10.8-200.fc25.x86_64-x86_64 -I/tmp/Pike- v8.0.404/src -I/usr/local/include -DHAVE_CONFIG_H -g -ggdb -m64 - mrdrnd -fvisibility=hidden -O3 -pipe -fvar-tracking-assignments -funswitch-loops -W -Wall -Wno-unused -Wcomment -Wformat -Wimplicit- function-declaration -Wmultichar -Wunused-function -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts -Wno-long-long -Wdeclaration-after-statement -fPIC -DDYNAMIC_MODULE -c /tmp/Pike- v8.0.404/src/modules/Gdbm/gdbmmod.c -o gdbmmod.o Makefile:167: recipe for target 'gdbmmod.o' failed make[6]: *** [gdbmmod.o] Error 1 Makefile:100: recipe for target 'all' failed make[5]: *** [all] Error 2 Makefile:100: recipe for target 'Gdbm' failed make[4]: *** [Gdbm] Error 1 Makefile:1175: recipe for target 'dynamic_module_objects' failed make[3]: *** [dynamic_module_objects] Error 1 Makefile:1195: recipe for target 'module_objects' failed make[2]: *** [module_objects] Error 2 Makefile:149: recipe for target '_make_in_builddir' failed make[1]: *** [_make_in_builddir] Error 2 Makefile:66: recipe for target 'compile' failed make: *** [compile] Error 2
Hi,
There is issue with gdbm in version 1.13. I downgraded back to 1.12 and all is fine. Don't know what exactly causes problems with that version.
~Paweł
On April 29, 2017 1:40:34 PM GMT+02:00, josef radinger cheese@nosuchhost.net wrote:
hi i try to compile pike for fedora 25 and it fails as below:
... precompile: /usr/local/bin/pike80 /tmp/Pike- v8.0.404/bin/precompile.pike --base=FSEvents /tmp/Pike- v8.0.404/src/modules/FSEvents/fsevents.cmod (method=QQQQQQ) Compiling modules/FSEvents/fsevents.c Linking FSEvents #### Making dynamic: modules/Fuse Compiling modules/Fuse/fuse.c Linking Fuse Making module.pmod #### Making dynamic: modules/Gdbm Compiling modules/Gdbm/gdbmmod.c /tmp/Pike-v8.0.404/src/pike_error.h:54:34: error: expected ‘)’ before string constant (fprintf(stderr,msg_fatal_error,__FILE__,(long)__LINE__),debug_fatal) ^ In file included from /tmp/Pike-v8.0.404/src/threads.h:11:0, from /tmp/Pike-v8.0.404/src/modules/Gdbm/gdbmmod.c:9: /tmp/Pike-v8.0.404/src/pike_error.h:54:58: error: expected ‘)’ before ‘,’ token (fprintf(stderr,msg_fatal_error,__FILE__,(long)__LINE__),debug_fatal) ^ Compilation command was: /tmp/Pike-v8.0.404/build/linux-4.10.8-200.fc25.x86_64-x86_64/smartlink gcc -I. -I/tmp/Pike-v8.0.404/src/modules/Gdbm -I/tmp/Pike- v8.0.404/build/linux-4.10.8-200.fc25.x86_64-x86_64 -I/tmp/Pike- v8.0.404/src -I/usr/local/include -DHAVE_CONFIG_H -g -ggdb -m64 - mrdrnd -fvisibility=hidden -O3 -pipe -fvar-tracking-assignments -funswitch-loops -W -Wall -Wno-unused -Wcomment -Wformat -Wimplicit- function-declaration -Wmultichar -Wunused-function -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts -Wno-long-long -Wdeclaration-after-statement -fPIC -DDYNAMIC_MODULE -c /tmp/Pike- v8.0.404/src/modules/Gdbm/gdbmmod.c -o gdbmmod.o Makefile:167: recipe for target 'gdbmmod.o' failed make[6]: *** [gdbmmod.o] Error 1 Makefile:100: recipe for target 'all' failed make[5]: *** [all] Error 2 Makefile:100: recipe for target 'Gdbm' failed make[4]: *** [Gdbm] Error 1 Makefile:1175: recipe for target 'dynamic_module_objects' failed make[3]: *** [dynamic_module_objects] Error 1 Makefile:1195: recipe for target 'module_objects' failed make[2]: *** [module_objects] Error 2 Makefile:149: recipe for target '_make_in_builddir' failed make[1]: *** [_make_in_builddir] Error 2 Makefile:66: recipe for target 'compile' failed make: *** [compile] Error 2
indeeddowngrade of gdbm 1.13 to gdbm 1.12 solves that problem.as far as i can see gdbm has lots of changes in error-handling, but i'm not too experienced in that.
On Sat, 2017-04-29 at 15:09 +0200, Paweł Tomak wrote:
Hi,
There is issue with gdbm in version 1.13. I downgraded back to 1.12 and all is fine. Don't know what exactly causes problems with that version.
~Paweł
On April 29, 2017 1:40:34 PM GMT+02:00, josef radinger <cheese@nosuch host.net> wrote:
hi i try to compile pike for fedora 25 and it fails as below:
... precompile: /usr/local/bin/pike80 /tmp/Pike- v8.0.404/bin/precompile.pike --base=FSEvents /tmp/Pike- v8.0.404/src/modules/FSEvents/fsevents.cmod (method=QQQQQQ) Compiling modules/FSEvents/fsevents.c Linking FSEvents #### Making dynamic: modules/Fuse Compiling modules/Fuse/fuse.c Linking Fuse Making module.pmod #### Making dynamic: modules/Gdbm Compiling modules/Gdbm/gdbmmod.c /tmp/Pike-v8.0.404/src/pike_error.h:54:34: error: expected ‘)’ before string constant (fprintf(stderr,msg_fatal_error,__FILE__,(long)__LINE__),debug_fata l) ^ In file included from /tmp/Pike-v8.0.404/src/threads.h:11:0, from /tmp/Pike- v8.0.404/src/modules/Gdbm/gdbmmod.c:9: /tmp/Pike-v8.0.404/src/pike_error.h:54:58: error: expected ‘)’ before ‘,’ token (fprintf(stderr,msg_fatal_error,__FILE__,(long)__LINE__),debug_fata l) ^ Compilation command was: /tmp/Pike-v8.0.404/build/linux-4.10.8-200.fc25.x86_64- x86_64/smartlink gcc -I. -I/tmp/Pike-v8.0.404/src/modules/Gdbm -I/tmp/Pike- v8.0.404/build/linux-4.10.8-200.fc25.x86_64-x86_64 -I/tmp/Pike- v8.0.404/src -I/usr/local/include -DHAVE_CONFIG_H -g -ggdb -m64 - mrdrnd -fvisibility=hidden -O3 -pipe -fvar-tracking-assignments -funswitch-loops -W -Wall -Wno-unused -Wcomment -Wformat -Wimplicit- function-declaration -Wmultichar -Wunused-function -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts -Wno-long-long -Wdeclaration-after-statement -fPIC -DDYNAMIC_MODULE -c /tmp/Pike- v8.0.404/src/modules/Gdbm/gdbmmod.c -o gdbmmod.o Makefile:167: recipe for target 'gdbmmod.o' failed make[6]: *** [gdbmmod.o] Error 1 Makefile:100: recipe for target 'all' failed make[5]: *** [all] Error 2 Makefile:100: recipe for target 'Gdbm' failed make[4]: *** [Gdbm] Error 1 Makefile:1175: recipe for target 'dynamic_module_objects' failed make[3]: *** [dynamic_module_objects] Error 1 Makefile:1195: recipe for target 'module_objects' failed make[2]: *** [module_objects] Error 2 Makefile:149: recipe for target '_make_in_builddir' failed make[1]: *** [_make_in_builddir] Error 2 Makefile:66: recipe for target 'compile' failed make: *** [compile] Error 2
there is now a fix: https://github.com/pikelang/Pike/commit/f3ce9030daa6be01bd16d9b88fd4c34 4af1816b8
yours josef
On Sat, 2017-04-29 at 15:09 +0200, Paweł Tomak wrote:
Hi,
There is issue with gdbm in version 1.13. I downgraded back to 1.12 and all is fine. Don't know what exactly causes problems with that version.
~Paweł
On April 29, 2017 1:40:34 PM GMT+02:00, josef radinger <cheese@nosuch host.net> wrote:
hi i try to compile pike for fedora 25 and it fails as below:
... precompile: /usr/local/bin/pike80 /tmp/Pike- v8.0.404/bin/precompile.pike --base=FSEvents /tmp/Pike- v8.0.404/src/modules/FSEvents/fsevents.cmod (method=QQQQQQ) Compiling modules/FSEvents/fsevents.c Linking FSEvents #### Making dynamic: modules/Fuse Compiling modules/Fuse/fuse.c Linking Fuse Making module.pmod #### Making dynamic: modules/Gdbm Compiling modules/Gdbm/gdbmmod.c /tmp/Pike-v8.0.404/src/pike_error.h:54:34: error: expected ‘)’ before string constant (fprintf(stderr,msg_fatal_error,__FILE__,(long)__LINE__),debug_fata l) ^ In file included from /tmp/Pike-v8.0.404/src/threads.h:11:0, from /tmp/Pike- v8.0.404/src/modules/Gdbm/gdbmmod.c:9: /tmp/Pike-v8.0.404/src/pike_error.h:54:58: error: expected ‘)’ before ‘,’ token (fprintf(stderr,msg_fatal_error,__FILE__,(long)__LINE__),debug_fata l) ^ Compilation command was: /tmp/Pike-v8.0.404/build/linux-4.10.8-200.fc25.x86_64- x86_64/smartlink gcc -I. -I/tmp/Pike-v8.0.404/src/modules/Gdbm -I/tmp/Pike- v8.0.404/build/linux-4.10.8-200.fc25.x86_64-x86_64 -I/tmp/Pike- v8.0.404/src -I/usr/local/include -DHAVE_CONFIG_H -g -ggdb -m64 - mrdrnd -fvisibility=hidden -O3 -pipe -fvar-tracking-assignments -funswitch-loops -W -Wall -Wno-unused -Wcomment -Wformat -Wimplicit- function-declaration -Wmultichar -Wunused-function -Wswitch -Wuninitialized -Wpointer-arith -Wchar-subscripts -Wno-long-long -Wdeclaration-after-statement -fPIC -DDYNAMIC_MODULE -c /tmp/Pike- v8.0.404/src/modules/Gdbm/gdbmmod.c -o gdbmmod.o Makefile:167: recipe for target 'gdbmmod.o' failed make[6]: *** [gdbmmod.o] Error 1 Makefile:100: recipe for target 'all' failed make[5]: *** [all] Error 2 Makefile:100: recipe for target 'Gdbm' failed make[4]: *** [Gdbm] Error 1 Makefile:1175: recipe for target 'dynamic_module_objects' failed make[3]: *** [dynamic_module_objects] Error 1 Makefile:1195: recipe for target 'module_objects' failed make[2]: *** [module_objects] Error 2 Makefile:149: recipe for target '_make_in_builddir' failed make[1]: *** [_make_in_builddir] Error 2 Makefile:66: recipe for target 'compile' failed make: *** [compile] Error 2
pike-devel@lists.lysator.liu.se