kiwix: my first look at the package

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Thu May 31 06:44:00 UTC 2012


Hi Vasudev, hi Renaud,

I have taken a first look at the kiwix package.

Summary of changes, already committed to Git:

  o cherry-picked the version change in debian/changelog to master branch
  o committed maintainer change to working branch
    (-> debian-edu-pkg-team at l.a.d.o)
    -> needs your confirmation and then cherry-picking to master branch
  o set the package state to ,,UNRELEASED'' in debian/changelog to meet
    heuristic requirements of debchange (DEBCHANGE_RELEASE_HEURISTIC=changelog)

Currently, the package does not successfully build with  
git-buildpackage as the dh_clean task removes files from the package  
source folder that are actually in Git. git-buildpackage stops with  
complaining that there are uncommitted changes. Can you fix that? Or  
shall I?

I have also tested a pbuilder run in a Debian sid chroot (amd64 arch).  
(@Renaud: pbuilder is a tool to build packages in clean Debian chroots  
to verify that all package dependencies are properly met).  
Unfortunately, this fails with this message tail... (see below).

Any ideas???

@Vasudev: about the maintainer field in the package... Team-maintained  
in the way I and others understand it means that the Maintainer: field  
of a package holds a mailing list as e-Mail address. People on the  
package are marked as uploaders. Is that ok for you?

Greets,
Mike

"""
[...]
mv -f .deps/libXapianAccessor_la-xapianSearcher.Tpo  
.deps/libXapianAccessor_la-xapianSearcher.Plo
/bin/bash ../../../libtool --tag=CXX   --mode=link g++  
-I/var/cache/pbuilder/pbuilder-mnt/kiwix-0.9-beta5.1/src/ctpp2/include  
-I/usr/include/nspr -I/usr/include/xulrunner-10.0    -g -O2 -fPIE  
-fstack-protector --param=ssp-buffer-size=4 -Wformat  
-Werror=format-security -W -Wall -ansi -pedantic -Wpointer-arith  
-Wwrite-strings -Wno-long-long    -fno-rtti -fPIC  
-I/../../../src/common/ -D GECKO_VERSION=10  -g -O2 -fstack-protector  
--param=ssp-buffer-size=4 -Wformat -Werror=format-security  
-std=gnu++0x -fexceptions -DMOZ_CPP_EXCEPTIONS   
-L/usr/lib/xulrunner-devel-10.0/lib -lxpcomglue_s -lxul -lxpcom  
-lmozalloc -lplds4 -lplc4 -lnspr4 -lpthread -ldl   -lxapian -fPIE -pie  
-Wl,-z,relro -Wl,-z,now  -ldl -lm   -L/usr/lib/x86_64-linux-gnu  
-licui18n -licuuc -licudata  -ldl -lm    -Xcompiler -shared  
-Wl,-rpath-link,/usr/lib/xulrunner-devel-10.0/bin  -Wl,-z,relro -o  
libXapianAccessor.la -rpath /usr/local/lib/kiwix/components  
libXapianAccessor_la-xapianAccessor.lo  
libXapianAccessor_la-splitString.lo libXapianAccessor_la-unaccent.lo  
libXapianAccessor_la-searcher.lo  
libXapianAccessor_la-xapianSearcher.lo  
../../../src/ctpp2/src/libctpp2.la -llzma -lmicrohttpd -lz
libtool: link: g++ -shared -nostdlib  
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o  
/usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o   
.libs/libXapianAccessor_la-xapianAccessor.o  
.libs/libXapianAccessor_la-splitString.o  
.libs/libXapianAccessor_la-unaccent.o  
.libs/libXapianAccessor_la-searcher.o  
.libs/libXapianAccessor_la-xapianSearcher.o  -Wl,--whole-archive  
../../../src/ctpp2/src/.libs/libctpp2.a -Wl,--no-whole-archive   
-L/usr/lib/xulrunner-devel-10.0/lib -lxpcomglue_s -lxul -lxpcom  
-lmozalloc -lplds4 -lplc4 -lnspr4 -lpthread /usr/lib/libxapian.so  
-L/usr/lib/x86_64-linux-gnu -licui18n -licuuc -licudata -ldl -llzma  
-lmicrohttpd -lz -L/usr/lib/gcc/x86_64-linux-gnu/4.6  
-L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu  
-L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib  
-L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/../lib  
-L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../.. -lstdc++ -lm -lc -lgcc_s  
/usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o  
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o   
-Wl,-z -Wl,relro -Wl,-z -Wl,now -shared -Wl,-rpath-link  
-Wl,/usr/lib/xulrunner-devel-10.0/bin -Wl,-z -Wl,relro   -Wl,-soname  
-Wl,libXapianAccessor.so.0 -o .libs/libXapianAccessor.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libXapianAccessor.so.0" && ln -s  
"libXapianAccessor.so.0.0.0" "libXapianAccessor.so.0")
libtool: link: (cd ".libs" && rm -f "libXapianAccessor.so" && ln -s  
"libXapianAccessor.so.0.0.0" "libXapianAccessor.so")
libtool: link: ( cd ".libs" && rm -f "libXapianAccessor.la" && ln -s  
"../libXapianAccessor.la" "libXapianAccessor.la" )
make[5]: Leaving directory  
`/var/cache/pbuilder/pbuilder-mnt/kiwix-0.9-beta5.1/src/components/xapianAccessor'
make[4]: Leaving directory  
`/var/cache/pbuilder/pbuilder-mnt/kiwix-0.9-beta5.1/src/components/xapianAccessor'
Making all in zimAccessor
make[4]: Entering directory  
`/var/cache/pbuilder/pbuilder-mnt/kiwix-0.9-beta5.1/src/components/zimAccessor'
/usr/bin/python /usr/lib/xulrunner-devel-10.0/sdk/bin/typelib.py  
--cachedir=/tmp -o zimAccessor.xpt -I /usr/share/idl/xulrunner-10.0  
../../../src/components/zimAccessor/IZimAccessor.idl
make  all-am
make[5]: Entering directory  
`/var/cache/pbuilder/pbuilder-mnt/kiwix-0.9-beta5.1/src/components/zimAccessor'
/bin/bash ../../../libtool  --tag=CXX   --mode=compile g++  
-DHAVE_CONFIG_H -I. -I../../../src/zimlib/src  -I../../../src/common  
-I../../../src/zimlib/include -D_FORTIFY_SOURCE=2 -I/usr/lib  
-I/usr/lib64 -I/usr/include/nspr -I/usr/include/xulrunner-10.0     
-fno-rtti -fPIC -D GECKO_VERSION=10 -I../../common/ -g -O2  
-fstack-protector --param=ssp-buffer-size=4 -Wformat  
-Werror=format-security -std=gnu++0x -fexceptions -DMOZ_CPP_EXCEPTIONS  
-MT libZimAccessor_la-zimAccessor.lo -MD -MP -MF  
.deps/libZimAccessor_la-zimAccessor.Tpo -c -o  
libZimAccessor_la-zimAccessor.lo `test -f 'zimAccessor.cpp' || echo  
'./'`zimAccessor.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../src/zimlib/src  
-I../../../src/common -I../../../src/zimlib/include  
-D_FORTIFY_SOURCE=2 -I/usr/lib -I/usr/lib64 -I/usr/include/nspr  
-I/usr/include/xulrunner-10.0 -fno-rtti -fPIC -D GECKO_VERSION=10  
-I../../common/ -g -O2 -fstack-protector --param=ssp-buffer-size=4  
-Wformat -Werror=format-security -std=gnu++0x -fexceptions  
-DMOZ_CPP_EXCEPTIONS -MT libZimAccessor_la-zimAccessor.lo -MD -MP -MF  
.deps/libZimAccessor_la-zimAccessor.Tpo -c zimAccessor.cpp  -fPIC  
-DPIC -o .libs/libZimAccessor_la-zimAccessor.o
zimAccessor.cpp:93:15: error: prototype for 'nsresult  
ZimAccessor::LoadFile(const nsAString&, bool*)' does not match any in  
class 'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::LoadFile(const nsAString&, PRBool*)
zimAccessor.cpp:110:15: error: prototype for 'nsresult  
ZimAccessor::Unload(bool*)' does not match any in class 'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::Unload(PRBool*)
zimAccessor.cpp:120:15: error: prototype for 'nsresult  
ZimAccessor::Reset(bool*)' does not match any in class 'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::Reset(PRBool*)
zimAccessor.cpp:134:15: error: prototype for 'nsresult  
ZimAccessor::GetArticleCount(PRUint32*, bool*)' does not match any in  
class 'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::GetArticleCount(PRUint32*, PRBool*)
zimAccessor.cpp:150:15: error: prototype for 'nsresult  
ZimAccessor::GetId(nsACString&, bool*)' does not match any in class  
'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::GetId(nsACString&, PRBool*)
zimAccessor.cpp:167:15: error: prototype for 'nsresult  
ZimAccessor::GetRandomPageUrl(nsACString&, bool*)' does not match any  
in class 'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::GetRandomPageUrl(nsACString&, PRBool*)
zimAccessor.cpp:184:15: error: prototype for 'nsresult  
ZimAccessor::GetPageUrlFromTitle(const nsACString&, nsACString&,  
bool*)' does not match any in class 'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::GetPageUrlFromTitle(const nsACString&, nsACString&,  
PRBool*)
zimAccessor.cpp:205:15: error: prototype for 'nsresult  
ZimAccessor::GetMainPageUrl(nsACString&, bool*)' does not match any in  
class 'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::GetMainPageUrl(nsACString&, PRBool*)
zimAccessor.cpp:222:15: error: prototype for 'nsresult  
ZimAccessor::GetMetatag(const nsACString&, nsACString&, bool*)' does  
not match any in class 'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::GetMetatag(const nsACString&, nsACString&, PRBool*)
zimAccessor.cpp:243:15: error: prototype for 'nsresult  
ZimAccessor::GetContent(nsIURI*, nsACString&, PRUint32*, nsACString&,  
bool*)' does not match any in class 'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::GetContent(nsIURI*, nsACString&, PRUint32*, nsACString&,  
PRBool*)
zimAccessor.cpp:279:15: error: prototype for 'nsresult  
ZimAccessor::SearchSuggestions(const nsACString&, PRUint32, bool*)'  
does not match any in class 'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::SearchSuggestions(const nsACString&, PRUint32, PRBool*)
zimAccessor.cpp:298:15: error: prototype for 'nsresult  
ZimAccessor::GetNextSuggestion(nsACString&, bool*)' does not match any  
in class 'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::GetNextSuggestion(nsACString&, PRBool*)
zimAccessor.cpp:318:15: error: prototype for 'nsresult  
ZimAccessor::CanCheckIntegrity(bool*)' does not match any in class  
'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::CanCheckIntegrity(PRBool*)
zimAccessor.cpp:333:15: error: prototype for 'nsresult  
ZimAccessor::IsCorrupted(bool*)' does not match any in class  
'ZimAccessor'
zimAccessor.cpp:70:3: error: candidate is: virtual nsresult  
ZimAccessor::IsCorrupted(PRBool*)
make[5]: *** [libZimAccessor_la-zimAccessor.lo] Error 1
make[5]: Leaving directory  
`/var/cache/pbuilder/pbuilder-mnt/kiwix-0.9-beta5.1/src/components/zimAccessor'
make[4]: *** [all] Error 2
make[4]: Leaving directory  
`/var/cache/pbuilder/pbuilder-mnt/kiwix-0.9-beta5.1/src/components/zimAccessor'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory  
`/var/cache/pbuilder/pbuilder-mnt/kiwix-0.9-beta5.1/src/components'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory  
`/var/cache/pbuilder/pbuilder-mnt/kiwix-0.9-beta5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory  
`/var/cache/pbuilder/pbuilder-mnt/kiwix-0.9-beta5.1'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

   -> received termination message from inside qemu with exit-code 0,  
killing child process (qemu:25776)
    -> successfully killed qemu
   forking: mount -o loop /var/cache/pbuilder/build//qemu.25725.dev  
/var/cache/pbuilder/build//qemu.25725
  -> running post-run process
running host command: cp -p  
"/var/cache/pbuilder/build//qemu.25725"/*_*  
"/home/nwt-admin/pkg-dist/nightly/kiwix/debian/sid/amd64" 2>/dev/null  
|| true
   forking: umount /var/cache/pbuilder/build//qemu.25725
  -> clean up COW device files
+ '[' yes = yes ']'
+ unset DEBSIGN_PARAM
+ '[' -n 4DC41CF116990FF8 ']'
+ DEBSIGN_PARAM[1]=-k4DC41CF116990FF8
+  
DEBSIGN_PARAM[2]=/home/nwt-admin/pkg-dist/nightly/kiwix/debian/sid/amd64/kiwix_0.9-beta5.1-1+sid~nightly~20120531~36~build1_amd64.changes
+ debsign -k4DC41CF116990FF8  
/home/nwt-admin/pkg-dist/nightly/kiwix/debian/sid/amd64/kiwix_0.9-beta5.1-1+sid~nightly~20120531~36~build1_amd64.changes
debsign: Can't find or can't read changes file  
/home/nwt-admin/pkg-dist/nightly/kiwix/debian/sid/amd64/kiwix_0.9-beta5.1-1+sid~nightly~20120531~36~build1_amd64.changes!
"""


-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0xB588399B
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.alioth.debian.org/pipermail/debian-edu-pkg-team/attachments/20120531/90a1b014/attachment-0001.pgp>


More information about the Debian-edu-pkg-team mailing list