* [Edbrowse-dev] I cannot package edbrowse 3.4.7
@ 2011-07-23 7:18 Jean-Philippe MENGUAL
2011-07-23 11:39 ` Chris Brannon
0 siblings, 1 reply; 2+ messages in thread
From: Jean-Philippe MENGUAL @ 2011-07-23 7:18 UTC (permalink / raw)
To: Edbrowse-dev
[-- Attachment #1: Type: text/plain, Size: 897 bytes --]
Hi,
I'm trying packaging edbrowse 3.4.7 for Debian. But while I learnt
packaging, I'm not a developper and don't know really the code. So I
have problems when things don't happen how they are expected to.
My main problem is with jsapi.h dependency. In debian, it is present in
two packages: libmozjs-dev and icedove-dev (headers of icedove and
libmozjs). If I point -I to /usr/include/icedove, I get make1
(attached). If I use /usr/include/mozjs, I get make2 (attached). And I
don't understand the output and what I've to do.
I use icedove-dev (headers of icedove) 3.1.11, and libmozjs-dev 5.0.
Thanks very much for your help, about a problem about building the
package (and not packaging tools on Debian),. With your answer I'll
learn more about makefile, I've already learnt more about -I option
thanks to the packaging of edbrowse.
Thanks very much.
Best regards,
Jean-Philippe MENGUAL
[-- Attachment #2: make1.txt --]
[-- Type: text/plain, Size: 4270 bytes --]
Script started on sam. 23 juil. 2011 09:11:11 CEST
jp@sid:~/packages/edbrowse/edbrowse-3.4.7$ dpkg-buildpackage
dpkg-buildpackage: export de CFLAGS depuis dpkg-buildflags (origine : vendor): -g -O2
dpkg-buildpackage: export de CPPFLAGS depuis dpkg-buildflags (origine : vendor):
dpkg-buildpackage: export de CXXFLAGS depuis dpkg-buildflags (origine : vendor): -g -O2
dpkg-buildpackage: export de FFLAGS depuis dpkg-buildflags (origine : vendor): -g -O2
dpkg-buildpackage: export de LDFLAGS depuis dpkg-buildflags (origine : vendor):
dpkg-buildpackage: paquet source edbrowse
dpkg-buildpackage: version source 3.4.7-1
dpkg-buildpackage: source changé par jp <jp@medion>
dpkg-buildpackage: architecture hÃŽte i386
dpkg-source --before-build edbrowse-3.4.7
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
rm -f debian/edbrowse.1
/usr/bin/make -C src clean
make[1]: entrant dans le répertoire « /home/jp/packages/edbrowse/edbrowse-3.4.7/src »
rm -f *.o edbrowse edbrowseinf edbrowseodbc edbrowse.static
make[1]: quittant le répertoire « /home/jp/packages/edbrowse/edbrowse-3.4.7/src »
dh_clean
dpkg-source -b edbrowse-3.4.7
dpkg-source: avertissement: aucun format source indiqué dans debian/source/format, voir dpkg-source(1)
dpkg-source: info: utilisation du format source « 1.0 »
dpkg-source: info: construction de edbrowse dans edbrowse_3.4.7-1.tar.gz
dpkg-source: info: construction de edbrowse dans edbrowse_3.4.7-1.dsc
debian/rules build
dh_testdir
/usr/bin/make -C src CFLAGS="-g -O2 -I/usr/include/icedove -DXP_UNIX" LIBS="-lpcre -lssl -lmozjs -lcurl " LFLAGS="""" edbrowse
make[1]: entrant dans le répertoire « /home/jp/packages/edbrowse/edbrowse-3.4.7/src »
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o main.o main.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o buffers.o buffers.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o url.o url.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o auth.o auth.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o http.o http.c
http.c: In function âhttpConnectâ:
http.c:639:2: warning: call to â_curl_easy_getinfo_err_longâ declared with attribute warning: curl_easy_getinfo expects a pointer to long for this info [enabled by default]
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o sendmail.o sendmail.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o fetchmail.o fetchmail.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o html.o html.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o format.o format.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o cookies.o cookies.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o stringfile.o stringfile.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o jsdom.o jsdom.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o jsloc.o jsloc.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o messages.o messages.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o tcp.o tcp.c
cc -g -O2 -I/usr/include/icedove -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o dbstubs.o dbstubs.c
cc -s main.o buffers.o url.o auth.o http.o sendmail.o fetchmail.o html.o format.o cookies.o stringfile.o jsdom.o jsloc.o messages.o tcp.o dbstubs.o -lpcre -lm -lssl -ljs -lcurl -lreadline -lcrypto -o edbrowse
/usr/bin/ld: cannot find -ljs
collect2: ld returned 1 exit status
make[1]: *** [edbrowse] Erreur 1
make[1]: quittant le répertoire « /home/jp/packages/edbrowse/edbrowse-3.4.7/src »
make: *** [build-stamp] Erreur 2
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de type 2
jp@sid:~/packages/edbrowse/edbrowse-3.4.7$ exit
exit
Script done on sam. 23 juil. 2011 09:12:05 CEST
[-- Attachment #3: make2.txt --]
[-- Type: text/plain, Size: 25288 bytes --]
Script started on sam. 23 juil. 2011 09:12:43 CEST
jp@sid:~/packages/edbrowse/edbrowse-3.4.7$ exit\b\b\b\bdpkg-buildpackage
dpkg-buildpackage: export de CFLAGS depuis dpkg-buildflags (origine : vendor): -g -O2
dpkg-buildpackage: export de CPPFLAGS depuis dpkg-buildflags (origine : vendor):
dpkg-buildpackage: export de CXXFLAGS depuis dpkg-buildflags (origine : vendor): -g -O2
dpkg-buildpackage: export de FFLAGS depuis dpkg-buildflags (origine : vendor): -g -O2
dpkg-buildpackage: export de LDFLAGS depuis dpkg-buildflags (origine : vendor):
dpkg-buildpackage: paquet source edbrowse
dpkg-buildpackage: version source 3.4.7-1
dpkg-buildpackage: source changé par jp <jp@medion>
dpkg-buildpackage: architecture hÃŽte i386
dpkg-source --before-build edbrowse-3.4.7
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
rm -f debian/edbrowse.1
/usr/bin/make -C src clean
make[1]: entrant dans le répertoire « /home/jp/packages/edbrowse/edbrowse-3.4.7/src »
rm -f *.o edbrowse edbrowseinf edbrowseodbc edbrowse.static
make[1]: quittant le répertoire « /home/jp/packages/edbrowse/edbrowse-3.4.7/src »
dh_clean
dpkg-source -b edbrowse-3.4.7
dpkg-source: avertissement: aucun format source indiqué dans debian/source/format, voir dpkg-source(1)
dpkg-source: info: utilisation du format source « 1.0 »
dpkg-source: info: construction de edbrowse dans edbrowse_3.4.7-1.tar.gz
dpkg-source: info: construction de edbrowse dans edbrowse_3.4.7-1.dsc
debian/rules build
dh_testdir
/usr/bin/make -C src CFLAGS="-g -O2 -I/usr/include/mozjs -DXP_UNIX" LIBS="-lpcre -lssl -lmozjs -lcurl " LFLAGS="""" edbrowse
make[1]: entrant dans le répertoire « /home/jp/packages/edbrowse/edbrowse-3.4.7/src »
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o main.o main.c
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o buffers.o buffers.c
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o url.o url.c
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o auth.o auth.c
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o http.o http.c
http.c: In function âhttpConnectâ:
http.c:639:2: warning: call to â_curl_easy_getinfo_err_longâ declared with attribute warning: curl_easy_getinfo expects a pointer to long for this info [enabled by default]
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o sendmail.o sendmail.c
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o fetchmail.o fetchmail.c
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o html.o html.c
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o format.o format.c
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o cookies.o cookies.c
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o stringfile.o stringfile.c
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o jsdom.o jsdom.c
jsdom.c: In function âtranscode_get_js_bytesâ:
jsdom.c:122:29: warning: initialization makes pointer from integer without a cast [enabled by default]
jsdom.c: At top level:
jsdom.c:160:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:160:5: warning: (near initialization for âwindow_class.setPropertyâ) [enabled by default]
jsdom.c: In function âwindow_ctorâ:
jsdom.c:172:9: warning: assignment makes pointer from integer without a cast [enabled by default]
jsdom.c: At top level:
jsdom.c:364:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:364:5: warning: (near initialization for âtimer_class.setPropertyâ) [enabled by default]
jsdom.c: In function âsetTimeoutâ:
jsdom.c:383:2: warning: return makes pointer from integer without a cast [enabled by default]
jsdom.c:406:22: warning: initialization makes pointer from integer without a cast [enabled by default]
jsdom.c:431:5: warning: return makes pointer from integer without a cast [enabled by default]
jsdom.c: At top level:
jsdom.c:449:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:449:5: warning: (near initialization for âwindow_methods[0].callâ) [enabled by default]
jsdom.c:449:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:449:5: warning: (near initialization for âwindow_methods[0]â) [enabled by default]
jsdom.c:450:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:450:5: warning: (near initialization for âwindow_methods[1].callâ) [enabled by default]
jsdom.c:450:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:450:5: warning: (near initialization for âwindow_methods[1]â) [enabled by default]
jsdom.c:451:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:451:5: warning: (near initialization for âwindow_methods[2].callâ) [enabled by default]
jsdom.c:451:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:451:5: warning: (near initialization for âwindow_methods[2]â) [enabled by default]
jsdom.c:452:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:452:5: warning: (near initialization for âwindow_methods[3].callâ) [enabled by default]
jsdom.c:452:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:452:5: warning: (near initialization for âwindow_methods[3]â) [enabled by default]
jsdom.c:453:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:453:5: warning: (near initialization for âwindow_methods[4].callâ) [enabled by default]
jsdom.c:453:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:453:5: warning: (near initialization for âwindow_methods[4]â) [enabled by default]
jsdom.c:454:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:454:5: warning: (near initialization for âwindow_methods[5].callâ) [enabled by default]
jsdom.c:454:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:454:5: warning: (near initialization for âwindow_methods[5]â) [enabled by default]
jsdom.c:455:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:455:5: warning: (near initialization for âwindow_methods[6].callâ) [enabled by default]
jsdom.c:455:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:455:5: warning: (near initialization for âwindow_methods[6]â) [enabled by default]
jsdom.c:456:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:456:5: warning: (near initialization for âwindow_methods[7].callâ) [enabled by default]
jsdom.c:456:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:456:5: warning: (near initialization for âwindow_methods[7]â) [enabled by default]
jsdom.c:457:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:457:5: warning: (near initialization for âwindow_methods[8].callâ) [enabled by default]
jsdom.c:457:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:457:5: warning: (near initialization for âwindow_methods[8]â) [enabled by default]
jsdom.c:458:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:458:5: warning: (near initialization for âwindow_methods[9].callâ) [enabled by default]
jsdom.c:458:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:458:5: warning: (near initialization for âwindow_methods[9]â) [enabled by default]
jsdom.c:465:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:465:5: warning: (near initialization for âdoc_class.setPropertyâ) [enabled by default]
jsdom.c: In function âsetter_innerTextâ:
jsdom.c:525:7: warning: assignment makes pointer from integer without a cast [enabled by default]
jsdom.c: At top level:
jsdom.c:540:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:540:5: warning: (near initialization for âdoc_methods[0].callâ) [enabled by default]
jsdom.c:540:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:540:5: warning: (near initialization for âdoc_methods[0]â) [enabled by default]
jsdom.c:541:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:541:5: warning: (near initialization for âdoc_methods[1].callâ) [enabled by default]
jsdom.c:541:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:541:5: warning: (near initialization for âdoc_methods[1]â) [enabled by default]
jsdom.c:542:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:542:5: warning: (near initialization for âdoc_methods[2].callâ) [enabled by default]
jsdom.c:542:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:542:5: warning: (near initialization for âdoc_methods[2]â) [enabled by default]
jsdom.c:543:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:543:5: warning: (near initialization for âdoc_methods[3].callâ) [enabled by default]
jsdom.c:543:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:543:5: warning: (near initialization for âdoc_methods[3]â) [enabled by default]
jsdom.c:544:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:544:5: warning: (near initialization for âdoc_methods[4].callâ) [enabled by default]
jsdom.c:544:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:544:5: warning: (near initialization for âdoc_methods[4]â) [enabled by default]
jsdom.c:545:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:545:5: warning: (near initialization for âdoc_methods[5].callâ) [enabled by default]
jsdom.c:545:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:545:5: warning: (near initialization for âdoc_methods[5]â) [enabled by default]
jsdom.c:552:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:552:5: warning: (near initialization for âelement_class.setPropertyâ) [enabled by default]
jsdom.c:557:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:557:5: warning: (near initialization for âelement_methods[0].callâ) [enabled by default]
jsdom.c:557:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:557:5: warning: (near initialization for âelement_methods[0]â) [enabled by default]
jsdom.c:558:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:558:5: warning: (near initialization for âelement_methods[1].callâ) [enabled by default]
jsdom.c:558:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:558:5: warning: (near initialization for âelement_methods[1]â) [enabled by default]
jsdom.c:565:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:565:5: warning: (near initialization for âform_class.setPropertyâ) [enabled by default]
jsdom.c:586:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:586:5: warning: (near initialization for âform_methods[0].callâ) [enabled by default]
jsdom.c:586:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:586:5: warning: (near initialization for âform_methods[0]â) [enabled by default]
jsdom.c:587:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:587:5: warning: (near initialization for âform_methods[1].callâ) [enabled by default]
jsdom.c:587:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:587:5: warning: (near initialization for âform_methods[1]â) [enabled by default]
jsdom.c:594:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:594:5: warning: (near initialization for âbody_class.setPropertyâ) [enabled by default]
jsdom.c:599:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:599:5: warning: (near initialization for âbody_methods[0].callâ) [enabled by default]
jsdom.c:599:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:599:5: warning: (near initialization for âbody_methods[0]â) [enabled by default]
jsdom.c:600:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:600:5: warning: (near initialization for âbody_methods[1].callâ) [enabled by default]
jsdom.c:600:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:600:5: warning: (near initialization for âbody_methods[1]â) [enabled by default]
jsdom.c:607:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:607:5: warning: (near initialization for âhead_class.setPropertyâ) [enabled by default]
jsdom.c:612:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:612:5: warning: (near initialization for âhead_methods[0].callâ) [enabled by default]
jsdom.c:612:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:612:5: warning: (near initialization for âhead_methods[0]â) [enabled by default]
jsdom.c:613:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:613:5: warning: (near initialization for âhead_methods[1].callâ) [enabled by default]
jsdom.c:613:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:613:5: warning: (near initialization for âhead_methods[1]â) [enabled by default]
jsdom.c:620:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:620:5: warning: (near initialization for âmeta_class.setPropertyâ) [enabled by default]
jsdom.c:628:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:628:5: warning: (near initialization for âlink_class.setPropertyâ) [enabled by default]
jsdom.c:633:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:633:5: warning: (near initialization for âlink_methods[0].callâ) [enabled by default]
jsdom.c:633:5: warning: excess elements in struct initializer [enabled by default]
jsdom.c:633:5: warning: (near initialization for âlink_methods[0]â) [enabled by default]
jsdom.c:640:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:640:5: warning: (near initialization for âimage_class.setPropertyâ) [enabled by default]
jsdom.c:647:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:647:5: warning: (near initialization for âframe_class.setPropertyâ) [enabled by default]
jsdom.c:654:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:654:5: warning: (near initialization for âanchor_class.setPropertyâ) [enabled by default]
jsdom.c:661:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:661:5: warning: (near initialization for âtable_class.setPropertyâ) [enabled by default]
jsdom.c:668:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:668:5: warning: (near initialization for âtrow_class.setPropertyâ) [enabled by default]
jsdom.c:675:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:675:5: warning: (near initialization for âcell_class.setPropertyâ) [enabled by default]
jsdom.c:682:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:682:5: warning: (near initialization for âdiv_class.setPropertyâ) [enabled by default]
jsdom.c:689:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:689:5: warning: (near initialization for âspan_class.setPropertyâ) [enabled by default]
jsdom.c:696:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:696:5: warning: (near initialization for âarea_class.setPropertyâ) [enabled by default]
jsdom.c:703:5: warning: initialization from incompatible pointer type [enabled by default]
jsdom.c:703:5: warning: (near initialization for âoption_class.setPropertyâ) [enabled by default]
jsdom.c: In function âcreateJavaContextâ:
jsdom.c:816:8: warning: passing argument 5 of âJS_InitClassâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2113:1: note: expected âJSNativeâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)â
jsdom.c:849:5: warning: passing argument 5 of âJS_InitClassâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2113:1: note: expected âJSNativeâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)â
jsdom.c:901:5: warning: passing argument 4 of âJS_DefineFunctionâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2640:1: note: expected âJSNativeâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)â
jsdom.c:902:5: warning: passing argument 4 of âJS_DefineFunctionâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2640:1: note: expected âJSNativeâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)â
jsdom.c:974:5: warning: passing argument 4 of âJS_DefineFunctionâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2640:1: note: expected âJSNativeâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)â
jsdom.c:975:5: warning: passing argument 4 of âJS_DefineFunctionâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2640:1: note: expected âJSNativeâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)â
jsdom.c:976:5: warning: passing argument 4 of âJS_DefineFunctionâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2640:1: note: expected âJSNativeâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)â
jsdom.c: In function âestablish_innerHTMLâ:
jsdom.c:1007:8: warning: passing argument 6 of âJS_DefinePropertyâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2226:1: note: expected âJSStrictPropertyOpâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, jsval, jsval *)â
jsdom.c:1011:5: warning: passing argument 6 of âJS_DefinePropertyâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2226:1: note: expected âJSStrictPropertyOpâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, jsval, jsval *)â
jsdom.c: In function âdomLinkâ:
jsdom.c:1139:3: warning: passing argument 4 of âJS_DefineFunctionâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2640:1: note: expected âJSNativeâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)â
jsdom.c:1140:3: warning: passing argument 4 of âJS_DefineFunctionâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2640:1: note: expected âJSNativeâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)â
cc -g -O2 -I/usr/include/mozjs -DXP_UNIX -DXP_UNIX -DX86_LINUX -I/usr/include/js -c -o jsloc.o jsloc.c
jsloc.c: In function âstringizeâ:
jsloc.c:39:2: warning: return makes pointer from integer without a cast [enabled by default]
jsloc.c:47:6: error: invalid type argument of unary â*â (have âjsdoubleâ)
jsloc.c: At top level:
jsloc.c:62:5: warning: initialization from incompatible pointer type [enabled by default]
jsloc.c:62:5: warning: (near initialization for âurl_class.setPropertyâ) [enabled by default]
jsloc.c: In function âloc_def_setâ:
jsloc.c:234:2: warning: passing argument 6 of âJS_DefinePropertyâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2226:1: note: expected âJSStrictPropertyOpâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, jsval, jsval *)â
jsloc.c: In function âloc_def_set_nâ:
jsloc.c:248:2: warning: passing argument 6 of âJS_DefinePropertyâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2226:1: note: expected âJSStrictPropertyOpâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, jsval, jsval *)â
jsloc.c: In function âloc_def_set_partâ:
jsloc.c:265:2: warning: passing argument 6 of âJS_DefinePropertyâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2226:1: note: expected âJSStrictPropertyOpâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, jsval, jsval *)â
jsloc.c: At top level:
jsloc.c:512:5: warning: initialization from incompatible pointer type [enabled by default]
jsloc.c:512:5: warning: (near initialization for âurl_methods[0].callâ) [enabled by default]
jsloc.c:512:5: warning: excess elements in struct initializer [enabled by default]
jsloc.c:512:5: warning: (near initialization for âurl_methods[0]â) [enabled by default]
jsloc.c: In function âinitLocationClassâ:
jsloc.c:520:8: warning: passing argument 5 of âJS_InitClassâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2113:1: note: expected âJSNativeâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)â
jsloc.c: In function âestablish_property_stringâ:
jsloc.c:664:8: warning: passing argument 5 of âJS_DefinePropertyâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2226:1: note: expected âJSPropertyOpâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, jsval, jsval *)â
jsloc.c:664:8: warning: passing argument 6 of âJS_DefinePropertyâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2226:1: note: expected âJSStrictPropertyOpâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, jsval, jsval *)â
jsloc.c: In function âestablish_property_numberâ:
jsloc.c:678:8: warning: passing argument 6 of âJS_DefinePropertyâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2226:1: note: expected âJSStrictPropertyOpâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, jsval, jsval *)â
jsloc.c: In function âestablish_property_boolâ:
jsloc.c:694:8: warning: passing argument 6 of âJS_DefinePropertyâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2226:1: note: expected âJSStrictPropertyOpâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, jsval, jsval *)â
jsloc.c: In function âestablish_property_urlâ:
jsloc.c:728:8: warning: passing argument 6 of âJS_DefinePropertyâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2226:1: note: expected âJSStrictPropertyOpâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, jsval, jsval *)â
jsloc.c:737:2: warning: passing argument 4 of âJS_DefineFunctionâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2640:1: note: expected âJSNativeâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)â
jsloc.c:738:2: warning: passing argument 4 of âJS_DefineFunctionâ from incompatible pointer type [enabled by default]
/usr/include/mozjs/jsapi.h:2640:1: note: expected âJSNativeâ but argument is of type âJSBool (*)(struct JSContext *, struct JSObject *, uintN, jsval *, jsval *)â
jsloc.c: At top level:
jsloc.c:902:5: warning: initialization from incompatible pointer type [enabled by default]
jsloc.c:902:5: warning: (near initialization for âoption_class.setPropertyâ) [enabled by default]
make[1]: *** [jsloc.o] Erreur 1
make[1]: quittant le répertoire « /home/jp/packages/edbrowse/edbrowse-3.4.7/src »
make: *** [build-stamp] Erreur 2
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de type 2
jp@sid:~/packages/edbrowse/edbrowse-3.4.7$ exit
exit
Script done on sam. 23 juil. 2011 09:13:51 CEST
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Edbrowse-dev] I cannot package edbrowse 3.4.7
2011-07-23 7:18 [Edbrowse-dev] I cannot package edbrowse 3.4.7 Jean-Philippe MENGUAL
@ 2011-07-23 11:39 ` Chris Brannon
0 siblings, 0 replies; 2+ messages in thread
From: Chris Brannon @ 2011-07-23 11:39 UTC (permalink / raw)
To: Edbrowse-dev
Jean-Philippe MENGUAL <mengualjeanphi@free.fr> writes:
> My main problem is with jsapi.h dependency. In debian, it is present in
> two packages: libmozjs-dev and icedove-dev (headers of icedove and
> libmozjs).
Hi.
When you build with the libmozjs package, it appears that you are
building against the brand-new 1.8.5 version. This is the one that is
causing all of the trouble for us on ArchLinux.
Hence, all of these errors in make2.txt. The APIs are incompatible.
I'd suggest building against icedove, whatever that is, because it at
least appears to provide Spidermonkey headers that are older than
version 1.8.5.
Also, when you build the executable, you probably need to override the
setting of JSLIB in the makefile under src/. E.G., the following should
work:
cd src ; make JSLIB=-lmozjs
I'm assuming that libmozjs.so is the name of the library. Maybe that
assumption isn't correct.
Hope this helps,
-- Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-23 11:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-23 7:18 [Edbrowse-dev] I cannot package edbrowse 3.4.7 Jean-Philippe MENGUAL
2011-07-23 11:39 ` Chris Brannon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).