cicku / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
1 stars 0 forks source link

libproxy doesn't build pacrunner_mozjs with current components #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to build pacrunner_mozjs.cpp
2.
3.

What is the expected output? What do you see instead?
cd /builddir/build/BUILD/libproxy-0.4.7/libproxy && /usr/lib64/ccache/c++   
-Dpacrunner_webkit_EXPORTS -D_POSIX_C_SOURCE=1 -D_BSD_SOURCE 
-DLIBEXECDIR=\"/usr/libexec\" -fvisibility=hidden -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4  -m64 -mtune=generic  -Wnon-virtual-dtor 
-Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W 
-Wpointer-arith -Wformat-security -DQT_NO_EXCEPTIONS -fno-check-new -fno-common 
-Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden 
-Werror=return-type -fvisibility-inlines-hidden -O2 -g -DNDEBUG -DQT_NO_DEBUG 
-fPIC -I/builddir/build/BUILD/libproxy-0.4.7/libproxy -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/include/kde4 -I/usr/include/kde4/KDE 
-I/usr/include/KDE -I/usr/include/phonon -I/usr/include/QtXmlPatterns 
-I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools 
-I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql 
-I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL 
-I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp 
-I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus 
-I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore 
-I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default 
-I/usr/include/NetworkManager -I/usr/include/dbus-1.0 
-I/usr/lib64/dbus-1.0/include -I/usr/include/xulrunner-2 -I/usr/include/nspr4 
-I/usr/include/webkitgtk-3.0 -I/usr/include/gtk-3.0 -I/usr/include/libsoup-2.4 
-I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 
-I/usr/include/gio-unix-2.0 -I/usr/include/pixman-1 -I/usr/include/libpng15 
-I/usr/include/libxml2    -o 
CMakeFiles/pacrunner_webkit.dir/modules/pacrunner_webkit.cpp.o -c 
/builddir/build/BUILD/libproxy-0.4.7/libproxy/modules/pacrunner_webkit.cpp
In file included from 
/builddir/build/BUILD/libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp:35:0:
/usr/include/xulrunner-2/jsapi.h:448:10: warning: unused parameter 'why' 
[-Wunused-parameter]
In file included from 
/builddir/build/BUILD/libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp:35:0:
/usr/include/xulrunner-2/jsapi.h:1528:1: warning: unused parameter 'cx' 
[-Wunused-parameter]
In file included from 
/builddir/build/BUILD/libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp:35:0:
/usr/include/xulrunner-2/jsapi.h:2056:5: warning: unused parameter 'cx' 
[-Wunused-parameter]
In file included from 
/builddir/build/BUILD/libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp:35:0:
/usr/include/xulrunner-2/jsapi.h:4887:1: warning: unused parameter 'cx' 
[-Wunused-parameter]
In file included from 
/builddir/build/BUILD/libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp:35:0:
/usr/include/xulrunner-2/jsapi.h:4924:1: warning: unused parameter 'cx' 
[-Wunused-parameter]
/builddir/build/BUILD/libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp: In 
function 'JSBool myIpAddress(JSContext*, uintN, jsval*)':
/builddir/build/BUILD/libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp:89:33:
 error: could not convert '1' from 'int' to 'jsval {aka JS::Value}'
/builddir/build/BUILD/libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp: At 
global scope:
/builddir/build/BUILD/libproxy-0.4.7/libproxy/modules/pacrunner_mozjs.cpp:103:1:
 warning: missing initializer for member 'JSClass::reserved' 
[-Wmissing-field-initializers]
make[2]: Leaving directory `/builddir/build/BUILD/libproxy-0.4.7'
make[2]: *** 
[libproxy/CMakeFiles/pacrunner_mozjs.dir/modules/pacrunner_mozjs.cpp.o] Error 1
make[1]: *** [libproxy/CMakeFiles/pacrunner_mozjs.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

What version of the product are you using? On what operating system?
0.4.7, but trunk doesn't have new commit on this.

Please provide any additional information below.

Original issue reported on code.google.com by kwiz...@gmail.com on 27 Feb 2012 at 5:32

GoogleCodeExporter commented 9 years ago
What does "with current components" mean? Can you please list the version of 
libmozjs you're using?

Original comment by dominiqu...@gmail.com on 1 Mar 2012 at 8:40

GoogleCodeExporter commented 9 years ago
I just see: This might actually be a DUP of issue 171.
Would you mind verifying that?

Original comment by dominiqu...@gmail.com on 1 Mar 2012 at 8:53

GoogleCodeExporter commented 9 years ago

Original comment by dominiqu...@gmail.com on 9 Mar 2012 at 5:42