[blfs-book] [BLFS Trac] #4670: IcedTea-Web-1.4.2 does not compile against Xulrunner-27

BLFS Trac trac at linuxfromscratch.org
Fri Feb 7 13:15:32 PST 2014


#4670: IcedTea-Web-1.4.2 does not compile against Xulrunner-27
---------------------+-------------------------
 Reporter:  merlock  |      Owner:  blfs-book@…
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  current
Component:  BOOK     |    Version:  SVN
 Severity:  normal   |   Keywords:
---------------------+-------------------------
 (B)LFS-7.4 (except for minor updates from BLFS-SVN.  Built and installed
 Xulrunner/Firefox 27.  Attempted to update IcedTea-Web from V4.1 (built
 against Xulrunner 23.0.1).  OpenJDK-1.7.0.51/IcedTea-2.4.5 is installed.

 {{{
 Make output:

 In file included from /sources/blfs/build/icedtea-
 web-1.4.2/plugin/icedteanp/IcedTeaScriptablePluginObject.h:43:0,
                  from /sources/blfs/build/icedtea-
 web-1.4.2/plugin/icedteanp/IcedTeaScriptablePluginObject.cc:41:
 /sources/blfs/build/icedtea-
 web-1.4.2/plugin/icedteanp/IcedTeaScriptablePluginObject.cc: In static
 member function 'static bool
 IcedTeaScriptableJavaObject::getProperty(NPObject*, NPIdentifier,
 NPVariant*)':
 /usr/include/xulrunner-27.0/npruntime.h:140:30: error: 'nullptr' was not
 declared in this scope
      (_v).value.objectValue = nullptr;
 \
                               ^
 /sources/blfs/build/icedtea-
 web-1.4.2/plugin/icedteanp/IcedTeaScriptablePluginObject.cc:688:17: note:
 in expansion of macro 'VOID_TO_NPVARIANT'
                  VOID_TO_NPVARIANT(*result);
                  ^
 make: *** [/sources/blfs/build/icedtea-
 web-1.4.2/plugin/icedteanp/IcedTeaScriptablePluginObject.o] Error 1
 }}}

 There is no difference between /usr/lib/xulrunner-
 devel-23.0.1/include/npruntime.h and /usr/lib/xulrunner-
 devel-26.0/include/npruntime.h.

 However:
 {{{
 merell [ ~ ]$ diff -n /usr/lib/xulrunner-devel-26.0/include/npruntime.h
 /usr/lib/xulrunner-devel-27.0/include/npruntime.h
 d140 1
 a140 1
     (_v).value.objectValue = nullptr;
 \
 d146 1
 a146 1
     (_v).value.objectValue = nullptr;
 \
 d219 1
 a219 1
     NPIdentifier(s) will be nullptr. NPIdentifier lifetime is controlled
 d286 3
 a288 3
     will typically return immediately, with 0 or nullptr, from an
     attempt to dispatch to a NPObject, but this behavior should not
     be depended upon.)
 }}}

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4670>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list