Processed: retitle 591592 to xkbseldb fails (in postinst) if $HOME is not set.
Processing commands for cont...@bugs.debian.org: > retitle 591592 xkbseldb fails (in postinst) if $HOME is not set. Bug #591592 [xkbsel] xkbsel: installation fails Changed Bug title to 'xkbseldb fails (in postinst) if $HOME is not set.' from 'xkbsel: installation fails' > End of message, stopping processing here. Please contact me if you need assistance. -- 591592: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591592 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/handler.s.c.12811524597189.transcr...@bugs.debian.org
Bug#591592: Not reproducible in a debootstrap chroot, but…
retitle 591592 xkbseldb fails (in postinst) if $HOME is not set. thanks Le Fri, Aug 06, 2010 at 09:41:44PM -0400, Lucas Nussbaum a écrit : > > beothuk:/root# unset HOME > beothuk:/root# xkbseldb -R > HOME variable not set > Segmentation fault Thanks Lucas. I am not sure what xkbseldb does with $HOME when invoked by root… Possible ways to solve that bug are : - Run xkbseldb -R only if $HOME is set, and document this in a README file. - Set $HOME to /root in the postinst script: it is not a problem if it is not available. - Patch xkbseldb itself (not by me, I am not a C programmer). - Remove the package if it does not work with Squeeze's Xorg (see #564805). Have a nice day, -- Charles Plessy Tsurumi, Kanagawa, Japan -- To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100807024721.gb13...@merveille.plessy.net
Bug#591592: Not reproducible in a debootstrap chroot, but…
On 07/08/10 at 10:34 +0900, Charles Plessy wrote: > Hi Lucas, > > I created fresh sid and squeeze chroots (amd64) with debootstrap, and xkbsel > installed fine there. But there is definitely a bug somewhere, as the same > problem as found in your tests was reported two times in Ubuntu: > > https://bugs.launchpad.net/ubuntu/+source/xkbsel > > Also, the following bug (x11-xkb-utils 7.5+1) may be relevant: > > http://bugs.debian.org/564805 Setting up xkbsel (0.13-15) ... /var/lib/dpkg/info/xkbsel.postinst: line 7: 14208 Segmentation fault xkbseldb -R 2> /dev/null dpkg: error processing xkbsel (--configure): subprocess installed post-installation script returned error exit status 139 beothuk:/root# unset HOME beothuk:/root# xkbseldb -R HOME variable not set Segmentation fault L. -- To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100807014144.ga13...@xanadu.blop.info
Bug#591592: Not reproducible in a debootstrap chroot, but…
Hi Lucas, I created fresh sid and squeeze chroots (amd64) with debootstrap, and xkbsel installed fine there. But there is definitely a bug somewhere, as the same problem as found in your tests was reported two times in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/xkbsel Also, the following bug (x11-xkb-utils 7.5+1) may be relevant: http://bugs.debian.org/564805 Do you think you can run your tests on a package modified as below ? diff -u xkbsel-0.13/debian/postinst xkbsel-0.13/debian/postinst --- xkbsel-0.13/debian/postinst +++ xkbsel-0.13/debian/postinst @@ -3,7 +3,7 @@ set -e if [ "$1" = configure ]; then - xkbseldb -R 2>/dev/null + xkbseldb -R fi #DEBHELPER# diff -u xkbsel-0.13/debian/changelog xkbsel-0.13/debian/changelog --- xkbsel-0.13/debian/changelog +++ xkbsel-0.13/debian/changelog @@ -1,3 +1,9 @@ +xkbsel (0.13-15.test1) TEST; urgency=low + + * Increased verbosity. + + -- Charles Plessy Sat, 07 Aug 2010 10:33:40 +0900 + xkbsel (0.13-15) unstable; urgency=low * QA upload. -- Charles Plessy Tsurumi, Kanagawa, Japan -- To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100807013427.ga13...@merveille.plessy.net