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

Bug#599073: Tests of the new package



Thank you very much for the work you did.

I built with this command line :

git-buildpackage --git-debian-branch=phantez/debian/master
--git-upstream-branch=phantez/debian/master
--git-export-dir=~/projects/debian/build-area -uc -us

and I had this output :

steph@mirage:~/projects/debian/build-area$ lintian -I -E
shinken_0.6.4-1_amd64.changes
I: shinken source: debian-watch-file-is-missing
I: shinken-scheduler: hyphen-used-as-minus-sign
usr/share/man/man8/shinken-scheduler.8shinken.gz:33
I: shinken-receiver: hyphen-used-as-minus-sign
usr/share/man/man8/shinken-receiver.8shinken.gz:33
I: shinken-arbiter: hyphen-used-as-minus-sign
usr/share/man/man8/shinken-arbiter.8shinken.gz:33
I: shinken-discovery: spelling-error-in-manpage
usr/share/man/man8/shinken-discovery.8shinken.gz ouput output
I: shinken-poller: hyphen-used-as-minus-sign
usr/share/man/man8/shinken-poller.8shinken.gz:33
I: shinken-reactionner: hyphen-used-as-minus-sign
usr/share/man/man8/shinken-reactionner.8shinken.gz:33
I: shinken-broker: hyphen-used-as-minus-sign
usr/share/man/man8/shinken-broker.8shinken.gz:33

so I guess this is OK


But then I tried to install and I got this output :

steph@mirage:~/projects/debian/build-area$ sudo dpkg -i
shinken-core_0.6.4-1_all.deb
(Lecture de la base de données... 202300 fichiers et répertoires déjà
installés.)
Préparation du remplacement de shinken-core 0.6.4-1 (en utilisant
shinken-core_0.6.4-1_all.deb) ...
Dépaquetage de la mise à jour de shinken-core ...
Paramétrage de shinken-core (0.6.4-1) ...
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | SS KK]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
       update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
		-n: not really
		-f: force

The disable|enable API is not stable and might change in the future.
dpkg : erreur de traitement de shinken-core (--install) :
 le sous-processus script post-installation installé a retourné une
erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
 shinken-core

I patched the debian files (defaults instead of default for update-rc.d)

and then dpkg -i shinken-*.deb works perfectly

You can find the commits here :
git://github.com/phantez/shinken.git

But then I tried to start the process and I got this :

root@mirage:/etc/init.d# ./shinken start
cd: 105: can't cd to
/home/steph/projects/debian/build-area/shinken-0.6.4/debian/tmp/var/lib/shinken
Starting scheduler:
FAILED: did not found scheduler file
(/home/steph/projects/debian/build-area/shinken-0.6.4/debian/tmp/usr/bin/shinken-scheduler)
; are you sure shinken-scheduler is installed ? ... failed!
 failed!
Starting poller:
FAILED: did not found poller file
(/home/steph/projects/debian/build-area/shinken-0.6.4/debian/tmp/usr/bin/shinken-poller)
; are you sure shinken-poller is installed ? ... failed!
 failed!
Starting reactionner:
FAILED: did not found reactionner file
(/home/steph/projects/debian/build-area/shinken-0.6.4/debian/tmp/usr/bin/shinken-reactionner)
; are you sure shinken-reactionner is installed ? ... failed!
 failed!
Starting broker:
FAILED: did not found broker file
(/home/steph/projects/debian/build-area/shinken-0.6.4/debian/tmp/usr/bin/shinken-broker)
; are you sure shinken-broker is installed ? ... failed!
 failed!
Starting receiver:
FAILED: did not found receiver file
(/home/steph/projects/debian/build-area/shinken-0.6.4/debian/tmp/usr/bin/shinken-receiver)
; are you sure shinken-receiver is installed ? ... failed!
 failed!
Starting arbiter:
cd: 414: can't cd to
/home/steph/projects/debian/build-area/shinken-0.6.4/debian/tmp/var/lib/shinken
FAILED: did not found arbiter file
(/home/steph/projects/debian/build-area/shinken-0.6.4/debian/tmp/usr/bin/shinken-arbiter)
; are you sure shinken-arbiter is installed ? ... failed!
 failed!

I haven't time to go deeper in init.d script but obviously sthg went
wrong :).


BTW, Do you think you will join the PAPT team as this is a Python
application ? But this means you will have to use SVN.

Again thank you for your work.

--
Stéphan Gorget



Reply to: