Debian packages, Squeeze and updated libyaz
Recently Debian updated their zebra-related stuff in Squeeze, and dropped libyaz3 in favour of libyaz4. This meant that I spent some time trying to work out why zebra would work on the production system (which I was being conservative about updating) and not my newer test systems. It turns out that the version combinations currently in Debian make Zebra quite unhappy, and it will segfault. You won't see this happen if you run the rebuild_zebra.pl script, but you will get this if you run it with -v: 11:18:31-02/08 zebraidx(12790) [log] enabling shadow spec=/var/lib/koha/library/biblios/shadow:4G 11:18:31-02/08 zebraidx(12790) [log] cache_fname = /var/lib/koha/library/biblios/shadow/cache 11:18:31-02/08 zebraidx(12790) [log] dir /tmp/qKmpRDFzQd/biblio 11:18:31-02/08 zebraidx(12791) [log] zebra_start 2.0.43 abd433d1a315576cf1f4a53f2c70365f9a76477f (the segfault occurs where the PID changes from 12790 to 12791.) And then, several lines later: 11:18:31-02/08 zebraidx(12791) [warn] previous transaction didn't reach commit and nothing in zebra will have been updated. Fortunately, the version in the indexdata.dk repository doesn't suffer from this, so if you're using the Debian Koha packages I suggest performing the steps outlined here: http://wiki.koha-community.org/wiki/Koha_3.2_on_Debian_Squeeze#What_about_Ze... The Debian bug I filed for this is here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591307 -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
Hi, On 02/08/2010 04:17, Robin Sheat wrote:
Recently Debian updated their zebra-related stuff in Squeeze, and dropped libyaz3 in favour of libyaz4. This meant that I spent some time trying to work out why zebra would work on the production system (which I was being conservative about updating) and not my newer test systems.
It turns out that the version combinations currently in Debian make Zebra quite unhappy, and it will segfault. You won't see this happen if you run the rebuild_zebra.pl script, but you will get this if you run it with -v: [...]
I'm the Debian maintainer of idzebra an yaz in Debian. squeeze is frozen but I would like to fix this bug. Can someone check and report if using yaz 4.0.11-1 and idzebra 2.0.44-1 fix this bug ? Please, CC me on reply as I do not read regularly the mailing list (or better, cc the bug report) These packages can be found on my repo (see my signature below) Note for Adam : I do not try to package yaz 4.0.12 for squeeze as there is an ABI regression (sigterm and statserv_must_terminate are missing). Even if these are internal use only symbols (are they ?), it will be harder to make them accepted by the release-team. If you want I apply some bug-fix only commit, just point me on the relevant git commit. Regards, Vincent -- Vincent Danjean GPG key ID 0x9D025E87 vdanjean@debian.org GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87 Unofficial packages: http://moais.imag.fr/membres/vincent.danjean/deb.html APT repo: deb http://perso.debian.org/~vdanjean/debian unstable main
Op woensdag 18-08-2010 om 13:59 uur [tijdzone +0200], schreef Vincent Danjean:
I'm the Debian maintainer of idzebra an yaz in Debian. squeeze is frozen but I would like to fix this bug. Can someone check and report if using yaz 4.0.11-1 and idzebra 2.0.44-1 fix this bug ? Please, CC me on reply as I do not read regularly the mailing list (or better, cc the bug report) These packages can be found on my repo (see my signature below)
These are the details for what I'm currently running that works: (note that it's not the most up-to-date, but conveniently matches the versions you're asking about:) robin@kohadev:~$ apt-cache policy yaz yaz: Installed: 4.0.11-1indexdata Candidate: 4.0.12-1indexdata Version table: 4.0.12-1indexdata 0 500 http://ftp.indexdata.dk squeeze/main Packages *** 4.0.11-1indexdata 0 500 http://ftp.indexdata.dk squeeze/main Packages 100 /var/lib/dpkg/status robin@kohadev:~$ apt-cache policy idzebra-2.0 idzebra-2.0: Installed: 2.0.44-1indexdata Candidate: 2.0.44-1indexdata Version table: *** 2.0.44-1indexdata 0 500 http://ftp.indexdata.dk squeeze/main Packages 100 /var/lib/dpkg/status 2.0.43-2 0 500 http://ftp.nz.debian.org squeeze/main Packages 2.0.43-1indexdata 0 500 http://ftp.indexdata.dk squeeze/main Packages -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
On 19/08/2010 01:28, Robin Sheat wrote:
Op woensdag 18-08-2010 om 13:59 uur [tijdzone +0200], schreef Vincent Danjean:
I'm the Debian maintainer of idzebra an yaz in Debian. squeeze is frozen but I would like to fix this bug. Can someone check and report if using yaz 4.0.11-1 and idzebra 2.0.44-1 fix this bug ? Please, CC me on reply as I do not read regularly the mailing list (or better, cc the bug report) These packages can be found on my repo (see my signature below)
These are the details for what I'm currently running that works: (note that it's not the most up-to-date, but conveniently matches the versions you're asking about:)
Can you try with my packages ? I need the confirmation that they really fix the bug in order to ask a freeze exception to add them in squeeze. It seems that the version should be ok but I would like to be sure that the bug came from the too old version currently in Debian and and from a internal packaging difference between indexdata packaging and Debian packaging. Thanks in advance Vincent
robin@kohadev:~$ apt-cache policy yaz yaz: Installed: 4.0.11-1indexdata Candidate: 4.0.12-1indexdata Version table: 4.0.12-1indexdata 0 500 http://ftp.indexdata.dk squeeze/main Packages *** 4.0.11-1indexdata 0 500 http://ftp.indexdata.dk squeeze/main Packages 100 /var/lib/dpkg/status robin@kohadev:~$ apt-cache policy idzebra-2.0 idzebra-2.0: Installed: 2.0.44-1indexdata Candidate: 2.0.44-1indexdata Version table: *** 2.0.44-1indexdata 0 500 http://ftp.indexdata.dk squeeze/main Packages 100 /var/lib/dpkg/status 2.0.43-2 0 500 http://ftp.nz.debian.org squeeze/main Packages 2.0.43-1indexdata 0 500 http://ftp.indexdata.dk squeeze/main Packages
-- Vincent Danjean GPG key ID 0x9D025E87 vdanjean@debian.org GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87 Unofficial packages: http://moais.imag.fr/membres/vincent.danjean/deb.html APT repo: deb http://perso.debian.org/~vdanjean/debian unstable main
Op donderdag 19-08-2010 om 18:06 uur [tijdzone +0200], schreef Vincent Danjean:
Can you try with my packages ? I need the confirmation that they really fix the bug in order to ask a freeze exception to add them in squeeze. It seems that the version should be ok but I would like to be sure that the bug came from the too old version currently in Debian and and from a internal packaging difference between indexdata packaging and Debian packaging.
Sure, but where do I find them? -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
On 20/08/2010 00:21, Robin Sheat wrote:
Op donderdag 19-08-2010 om 18:06 uur [tijdzone +0200], schreef Vincent Danjean:
Can you try with my packages ? I need the confirmation that they really fix the bug in order to ask a freeze exception to add them in squeeze. It seems that the version should be ok but I would like to be sure that the bug came from the too old version currently in Debian and and from a internal packaging difference between indexdata packaging and Debian packaging.
Sure, but where do I find them?
On my repo : APT repo: deb http://people.debian.org/~vdanjean/debian unstable main Or manually : http://people.debian.org/~vdanjean/debian/pool/main/i/idzebra/ http://people.debian.org/~vdanjean/debian/pool/main/y/yaz/ [I just see there was a typo in my signature since a very long time...] Regards, Vincent -- Vincent Danjean GPG key ID 0x9D025E87 vdanjean@debian.org GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87 Unofficial packages: http://moais.imag.fr/membres/vincent.danjean/deb.html APT repo: deb http://people.debian.org/~vdanjean/debian unstable main
Op vrijdag 20-08-2010 om 01:34 uur [tijdzone +0200], schreef Vincent Danjean:
On my repo : APT repo: deb http://people.debian.org/~vdanjean/debian unstable main Or manually : http://people.debian.org/~vdanjean/debian/pool/main/i/idzebra/ http://people.debian.org/~vdanjean/debian/pool/main/y/yaz/
12:32:39-23/08 /usr/bin/zebraidx(18802) [log] zebra_start 2.0.44 419ad759807269fdfa379799a051ed3a551c6541 ... 12:32:43-23/08 /usr/bin/zebraidx(18802) [log] Dict: inserts/updates/deletions: 164/573/0 [Thread 0x7ffff09da710 (LWP 18805) exited] 12:32:43-23/08 /usr/bin/zebraidx(18802) [log] Records: 2 i/u/d 2/0/0 12:32:43-23/08 /usr/bin/zebraidx(18802) [log] zebra_stop: 4.10 0.05 0.22 Program exited normally. (gdb) Looks good to me :) -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
participants (3)
-
Robin Sheat -
Vincent Danjean -
Vincent Danjean