[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: edbrowse

Le samedi 23 juillet 2011 à 11:34 +0200, Samuel Thibault a écrit :
> Hello,

Hi, I hope debconf is good and you enjoy :) and work well ^^

> Jean-Philippe MENGUAL, le Sat 23 Jul 2011 06:54:59 +0200, a écrit :
> > But I've a problem doing dpkg-buildpackage. Here's attached the log, and
> > the rules file. this file is similar as the original one in edbrowse
> > 3.4.1. I attach also rulejp, which is my rules file, I changed. But I
> > got a similar error with the ipsas.h (in /usr/include/mozjs).
> I can't check it now with my crappy connection, but I guess it is
> #631027. You'll probably also have to fix fix #554316 by adding -l
> flags. 

-l flags? Where? how? with some arguments? I don't really understand.

> Also, please try to reproduce #506613 and #570054 and close them
> if they're fixed by the new release. If not, forward upstream.

570054 is fixed (was reported before 3.4.1). I guess the others will be fixed if I manage to build.

Here's my new rules and my new log (log2.txt). I'm going to report upstream, but I'd like first to understand why gcc passes -I/usr/include/js, in dh_auto_build I instruct it to search for /usr/lib/icedove (I was advised that upstream). I changed then makefile by hand and it doesn't work, so I'll report upstream, but 1st I'd like to send a proper log with the proper arguments passed to cc, and that's related to debhelper I think.

> Regards,
> Samuel
Jean-Philippe MENGUAL

#!/usr/bin/make -f
	dh $@

	dh_auto_build -- CFLAGS="-I/usr/lib/icedove -DXP_UNIX" LIBS="-lpcre -lssl -lmozjs -lcurl" JSLIBS="-lmozjs" LFLAGS="" edbrowse
	sed -e's;^\.\.\(.\);.\1;' -e's;^ \.;.;' < doc/man-edbrowse-debian.1 > debian/edbrowse.1

	-rm -f debian/edbrowse.1

	dh_installchangelogs -k CHANGES 
Script started on sam. 23 juil. 2011 19:07:34 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 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 build
make[1]: entrant dans le répertoire « /home/jp/packages/edbrowse/edbrowse-3.4.7 »
cd src ; make
make[2]: entrant dans le répertoire « /home/jp/packages/edbrowse/edbrowse-3.4.7/src »
cc -g -O2 -DXP_UNIX -DX86_LINUX -I/usr/include/js  -c -o jsloc.o jsloc.c
In file included from jsloc.c:8:0:
eb.h:42:19: fatal error: jsapi.h: Aucun fichier ou dossier de ce type
compilation terminated.
make[2]: *** [jsloc.o] Erreur 1
make[2]: quittant le répertoire « /home/jp/packages/edbrowse/edbrowse-3.4.7/src »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /home/jp/packages/edbrowse/edbrowse-3.4.7 »
dh_auto_build: make -j1 returned exit code 2
make: *** [build] 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$ quitexit

Script done on sam. 23 juil. 2011 19:07:52 CEST

Reply to: