2019-07-16 16:01 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002671NetSurfJavascriptpublic2019-06-12 10:49
ReporterMalcolm 
Assigned To 
SeverityblockReproducibilityalways 
StatusnewResolutionopen 
PlatformHP6120 laptop 1GB RAM, 32bit OSLinux - Antix 17OS Version17.x
Product Version3.8 
Target VersionFixed in Version 
Summary0002671: build - make fails with error suggesting undeclared variable in duktape/binding.c
DescriptionIn file included from ./utils/log.h:78:0,
                 from build/Linux-gtk/duktape/binding.c:18:
build/Linux-gtk/duktape/binding.c: In function ‘dukky_create_prototype’:
/home/malcolm/Downloads/netsurf/netsurf-all-3.8/inst-gtk/include/nslog/nslog.h:177:6: error: ‘__nslog_category_dukky’ undeclared (first use in this function)
     &__nslog_category_##catname, \
      ^
build/Linux-gtk/duktape/binding.c:113:3: note: in expansion of macro ‘NSLOG’
   NSLOG(dukky, WARNING, "Failed to register prototype for %s", proto_name + 2);
   ^~~~~
/home/malcolm/Downloads/netsurf/netsurf-all-3.8/inst-gtk/include/nslog/nslog.h:177:6: note: each undeclared identifier is reported only once for each function it appears in
     &__nslog_category_##catname, \
      ^
build/Linux-gtk/duktape/binding.c:113:3: note: in expansion of macro ‘NSLOG’
   NSLOG(dukky, WARNING, "Failed to register prototype for %s", proto_name + 2);
   ^~~~~
Makefile:855: recipe for target 'build/Linux-gtk/build_Linux-gtk_duktape_binding.o' failed
make[1]: *** [build/Linux-gtk/build_Linux-gtk_duktape_binding.o] Error 1
make[1]: Leaving directory '/home/malcolm/Downloads/netsurf/netsurf-all-3.8/netsurf'
Makefile:119: recipe for target '/home/malcolm/Downloads/netsurf/netsurf-all-3.8/inst-gtk/build-stamp' failed
make: *** [/home/malcolm/Downloads/netsurf/netsurf-all-3.8/inst-gtk/build-stamp] Error 2
Steps To ReproduceCompile from packaged 3.8 source code, and pull-build-install from Git
Additional Informationbuild running smoothly until this point. Tail extract from screen output attached hereto.
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
URL of problem page
Attached Files
  • txt file icon compile_error.txt (983 bytes) 2019-06-12 10:49 -
    COMPILE: build/Linux-gtk/duktape/binding.c
    In file included from ./utils/log.h:78:0,
                     from build/Linux-gtk/duktape/binding.c:18:
    build/Linux-gtk/duktape/binding.c: In function ‘dukky_create_prototype’:
    /home/mike/Downloads/netsurf/netsurf-all-3.8/inst-gtk/include/nslog/nslog.h:177:6: error: ‘__nslog_category_dukky’ undeclared (first use in this function)
         &__nslog_category_##catname,  \
          ^
    build/Linux-gtk/duktape/binding.c:113:3: note: in expansion of macro ‘NSLOG’
       NSLOG(dukky, WARNING, "Failed to register prototype for %s", proto_name + 2);
       ^~~~~
    /home/mike/Downloads/netsurf/netsurf-all-3.8/inst-gtk/include/nslog/nslog.h:177:6: note: each undeclared identifier is reported only once for each function it appears in
         &__nslog_category_##catname,  \
          ^
    build/Linux-gtk/duktape/binding.c:113:3: note: in expansion of macro ‘NSLOG’
       NSLOG(dukky, WARNING, "Failed to register prototype for %s", proto_name + 2);
       ^~~~~
    
    txt file icon compile_error.txt (983 bytes) 2019-06-12 10:49 +

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2019-06-12 10:49 Malcolm New Issue
2019-06-12 10:49 Malcolm File Added: compile_error.txt
+Issue History