Skip Menu |
 

This queue is for tickets about the Net-Z3950-ZOOM CPAN distribution.

Report information
The Basics
Id: 19214
Status: open
Priority: 0/
Queue: Net-Z3950-ZOOM

People
Owner: Nobody in particular
Requestors: gregor+debian [...] comodo.priv.at
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.06
Fixed in: (no value)



Subject: "make test" fails with "undefined symbol"
Download (untitled) / with headers
text/plain 957b
Trying to do a "make test" on Net::Z3950::ZOOM 1.06 i get tons of errors like the following: # Failed test 'use Net::Z3950::ZOOM;' # in t/1-Net-Z3950-ZOOM.t at line 9. # Tried to use 'Net::Z3950::ZOOM'. # Error: Can't load '/tmp/buildd/libnet-z3950-zoom-perl-1.06/blib/arch/auto /Net/Z3950/ZOOM/ZOOM.so' for module Net::Z3950::ZOOM: /tmp/buildd/libnet-z3950-z oom-perl-1.06/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so: undefined symbol: ZOOM_resu ltset_sort1 at /usr/lib/perl/5.8/DynaLoader.pm line 225. # at (eval 3) line 2 # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at t/1-Net-Z3950-ZOOM.t line 9. My system: Debian GNU/Linux unstable $ perl -v This is perl, v5.8.8 built for i486-linux-gnu-thread-multi $ gcc --version gcc (GCC) 4.0.4 20060507 (prerelease) (Debian 4.0.3-3) (Using gcc-4.1 gives the same errors.) Feel free to contact me for further information or other tests. Regards, gregor
From: Mike Taylor
Download (untitled) / with headers
text/plain 919b
Show quoted text
> # Failed test 'use Net::Z3950::ZOOM;' > # in t/1-Net-Z3950-ZOOM.t at line 9. > # Tried to use 'Net::Z3950::ZOOM'. > # Error: Can't load > '/tmp/buildd/libnet-z3950-zoom-perl-1.06/blib/arch/auto > /Net/Z3950/ZOOM/ZOOM.so' for module Net::Z3950::ZOOM: > /tmp/buildd/libnet-z3950-z > oom-perl-1.06/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so: undefined symbol: > ZOOM_resu > ltset_sort1 at /usr/lib/perl/5.8/DynaLoader.pm line 225.
What version of YAZ do you have? yaz-config --version will tell you. You need at least version 2.0.10, as that is the version that introduced ZOOM_resultset_sort1(). In fact, you need at least 2.0.11, as that introduced the yaz_version() interface. The README explains this, but I guess I should have Makefile.PL shout about it, too. Thanks for bringing it to my attention. I'd appreciate it if you'd upgrade your YAZ and confirm to me that ZOOM-Perl builds alright with it.
From: Mike Taylor
Download (untitled) / with headers
text/plain 245b
OK, I have now released v1.07, which complains at Makefile.PL time if the necessary YAZ isn't around. Please check that this correctly refuses to build on your system. Thanks. (I uploaded to CPAN, but also attach here since CPAN is so slow.)
Download Net-Z3950-ZOOM-1.07.tar.gz
application/x-gzip 53.9k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #19214] "make test" fails with "undefined symbol"
Date: Thu, 11 May 2006 21:53:57 +0200
To: Guest via RT <bug-Net-Z3950-ZOOM [...] rt.cpan.org>
From: gregor herrmann <gregor+debian [...] comodo.priv.at>
Download (untitled) / with headers
text/plain 964b
On Thu, May 11, 2006 at 12:09:35PM -0400, Guest via RT wrote: Thanks for your quick response! Show quoted text
> > # Error: Can't load > > '/tmp/buildd/libnet-z3950-zoom-perl-1.06/blib/arch/auto > > /Net/Z3950/ZOOM/ZOOM.so' for module Net::Z3950::ZOOM: > > /tmp/buildd/libnet-z3950-z > > oom-perl-1.06/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so: undefined symbol: > > ZOOM_resu > > ltset_sort1 at /usr/lib/perl/5.8/DynaLoader.pm line 225.
> > What version of YAZ do you have? > yaz-config --version will tell you.
$ yaz-config --version 2.1.8 Show quoted text
> The README explains this, but I guess I should have Makefile.PL > shout about it, too.
Good point, but I don't think that this is the problem in that case. Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: John Zorn & Masada: Mochin
Subject: Re: [rt.cpan.org #19214] "make test" fails with "undefined symbol"
Date: Thu, 11 May 2006 22:05:13 +0200
To: Guest via RT <bug-Net-Z3950-ZOOM [...] rt.cpan.org>
From: gregor herrmann <gregor+debian [...] comodo.priv.at>
Download (untitled) / with headers
text/plain 26.6k

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #19214] "make test" fails with "undefined symbol"
Date: Thu, 11 May 2006 22:47:41 +0100
To: bug-Net-Z3950-ZOOM [...] rt.cpan.org
From: mike [...] miketaylor.org.uk (Mike Taylor)
Download (untitled) / with headers
text/plain 1.2k
gregor+debian@comodo.priv.at via RT writes: Show quoted text
> > OK, I have now released v1.07, which complains at Makefile.PL time > > if the necessary YAZ isn't around. Please check that this correctly > > refuses to build on your system. Thanks.
> > Thanks. > [...] > # Error: Can't load '/tmp/Net-Z3950-ZOOM-1.07/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so' for module Net::Z3950::ZOOM: /tmp/Net-Z3950-ZOOM-1.07/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so: undefined symbol: ZOOM_resultset_sort1 at /usr/lib/perl/5.8/DynaLoader.pm line 225.
Ugh. I am so lame. You need version 2.1.11 or better, not 2.0.11. I have now uploaded release 1.08, which correctly asserts this. (Attached.) Please verify that this complains appropriately, then go ahead and upgrade YAZ and see if everything works as it should. Sorry for this dumb interlude. _/|_ ___________________________________________________________________ /o ) \/ Mike Taylor <mike@miketaylor.org.uk> http://www.miketaylor.org.uk )_v__/\ "I enjoyed _Chocolat_ on its own sweet level, while musing idly on the box-office prospects of a film in which the glowing, life-affirming local Christians prevailed over glowering, prejudiced, puritan and bitter Druid worshippers" -- Roger Ebert.
Download Net-Z3950-ZOOM-1.08.tar.gz
application/octet-stream 53.9k

Message body not shown because it is not plain text.

Subject: (Fwd) Re: [rt.cpan.org #19214] "make test" fails with "undefined symbol"
Date: Sat, 13 May 2006 16:45:52 +0200
To: bug-Net-Z3950-ZOOM [...] rt.cpan.org
From: gregor herrmann <gregor+debian [...] comodo.priv.at>
Download (untitled) / with headers
text/plain 5.3k
[resending because the message doesn't show up on http://rt.cpan.org/Public/Bug/Display.html?id=19214] gregor ----- Forwarded message from gregor herrmann <gregor+debian@comodo.priv.at> ----- From: gregor herrmann <gregor+debian@comodo.priv.at> To: "(Mike Taylor) via RT" <bug-Net-Z3950-ZOOM@rt.cpan.org> Subject: Re: [rt.cpan.org #19214] "make test" fails with "undefined symbol" Date: Fri, 12 May 2006 14:59:54 +0200 On Thu, May 11, 2006 at 05:48:51PM -0400, (Mike Taylor) via RT wrote: Show quoted text
> > > OK, I have now released v1.07, which complains at Makefile.PL time > > > if the necessary YAZ isn't around. Please check that this correctly > > > refuses to build on your system. Thanks.
> > # Error: Can't load '/tmp/Net-Z3950-ZOOM-1.07/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so' for module Net::Z3950::ZOOM: /tmp/Net-Z3950-ZOOM-1.07/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so: undefined symbol: ZOOM_resultset_sort1 at /usr/lib/perl/5.8/DynaLoader.pm line 225.
> Ugh. I am so lame. You need version 2.1.11 or better, not 2.0.11.
Well, such things happen ;-) Show quoted text
> I > have now uploaded release 1.08, which correctly asserts this. > (Attached.) Please verify that this complains appropriately,
Works as intended: $ perl Makefile.PL *** WARNING! ZOOM-Perl requires at least version 2.1.11 of YAZ, but is currently you only have version 2.1.8. Show quoted text
> then go > ahead and upgrade YAZ and see if everything works as it should.
Uh, the yaz version in Debian is unfortunately 2.1.8 * getting packages from http://ftp.indexdata.dk/pub/yaz/debian/etch/ * * installing 2.1.18 * [* writing bug report against Debian package *] Let's try: $ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Net::Z3950::ZOOM $ make cp lib/Net/Z3950/ZOOM.pm blib/lib/Net/Z3950/ZOOM.pm cp lib/ZOOM.pod blib/lib/ZOOM.pod cp lib/ZOOM.pm blib/lib/ZOOM.pm cp lib/Net/Z3950.pm blib/lib/Net/Z3950.pm /usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ ExtUtils/typemap -typemap typemap ZOOM.xs > ZOOM.xsc && mv ZOOM.xsc ZOOM.c cc -c -DYAZ_POSIX_THREADS=1 -D_REENTRANT -D_REENTRANT -D_GNU_SOURCE -DTHREADS_H AVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_S OURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPI C "-I/usr/lib/perl/5.8/CORE" ZOOM.c Running Mkbootstrap for Net::Z3950::ZOOM () chmod 644 ZOOM.bs rm -f blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so cc -shared -L/usr/local/lib ZOOM.o -o blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so \ -lyaz -L/usr/lib -lxml2 -lz -lm -lssl -lcrypto -lwrap -lnsl -lpthread \ chmod 755 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so cp ZOOM.bs blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs chmod 644 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs Manifying blib/man3/Net::Z3950::ZOOM.3pm Manifying blib/man3/ZOOM.3pm $ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1-Net-Z3950-ZOOM......ok t/10-options............ok t/11-option-callback....ok t/12-query..............ok t/13-resultset..........ok t/14-sorting............ok t/15-scan...............ok t/16-packages...........ok t/17-logging............ok t/18-charset............ok t/19-events.............ok t/2-ZOOM................ok t/20-options............ok t/21-option-callback....ok t/22-query..............ok t/23-resultset..........ok t/24-sorting............ok t/25-scan...............ok t/26-packages...........ok t/27-logging............ok t/28-charset............ok t/29-events.............ok All tests successful. Files=22, Tests=680, 23 wallclock secs ( 1.73 cusr + 0.25 csys = 1.98 CPU) Wonderful! Ok, I think you can close this bug. Show quoted text
> Sorry for this dumb interlude.
No problem, thanks for your efforts. Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: larimar: ham n eggs and bl Show quoted text
----- End forwarded message ----- -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Townes Van Zandt: The Velvet Voices
From: Mike Taylor
Show quoted text
> $ make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/1-Net-Z3950-ZOOM......ok > t/10-options............ok > t/11-option-callback....ok > t/12-query..............ok > t/13-resultset..........ok > t/14-sorting............ok > t/15-scan...............ok > t/16-packages...........ok > t/17-logging............ok > t/18-charset............ok > t/19-events.............ok > t/2-ZOOM................ok > t/20-options............ok > t/21-option-callback....ok > t/22-query..............ok > t/23-resultset..........ok > t/24-sorting............ok > t/25-scan...............ok > t/26-packages...........ok > t/27-logging............ok > t/28-charset............ok > t/29-events.............ok > All tests successful. > Files=22, Tests=680, 23 wallclock secs ( 1.73 cusr + 0.25 csys = > 1.98 CPU) > > Wonderful!
> > Ok, I think you can close this bug.
Thanks, I will. I very much appreciate your extremely clear reporting of this problem. Thank you.
CC: mike [...] miketaylor.org.uk
Subject: Re: [rt.cpan.org #19214] "make test" fails with "undefined symbol"
Date: Sun, 14 May 2006 01:16:07 +0200
To: Guest via RT <bug-Net-Z3950-ZOOM [...] rt.cpan.org>
From: gregor herrmann <gregor+debian [...] comodo.priv.at>
Download (untitled) / with headers
text/plain 779b
On Sat, May 13, 2006 at 05:37:29PM -0400, Guest via RT wrote: Show quoted text
Show quoted text
> > Wonderful! > > Ok, I think you can close this bug.
> Thanks, I will. I very much appreciate your extremely clear reporting > of this problem. Thank you.
Thanks for your feedback! I really appreciate your quick responses and your commitment to improve this module. BTW: I intend to package Net::Z3950::ZOOM for Debian as soon as yaz is upgraded in Debian and I'll keep you informed. Cheers and have a nice Sunday, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `-
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

CC: Guest via RT <bug-Net-Z3950-ZOOM [...] rt.cpan.org>
Subject: Re: [rt.cpan.org #19214] "make test" fails with "undefined symbol"
Date: Sun, 14 May 2006 09:39:03 +0100
To: gregor herrmann <gregor+debian [...] comodo.priv.at>
From: mike [...] miketaylor.org.uk (Mike Taylor)
Download (untitled) / with headers
text/plain 918b
Show quoted text
> > > Wonderful! > > > Ok, I think you can close this bug.
> > Thanks, I will. I very much appreciate your extremely clear reporting > > of this problem. Thank you.
> > Thanks for your feedback! > > I really appreciate your quick responses and your commitment to > improve this module. > > BTW: I intend to package Net::Z3950::ZOOM for Debian as soon as yaz > is upgraded in Debian and I'll keep you informed.
That's great news, thanks for seeing to that. Is there anything we at Index Data can/should be doing to encourage the Debian people to upgrade their YAZ? _/|_ ___________________________________________________________________ /o ) \/ Mike Taylor <mike@miketaylor.org.uk> http://www.miketaylor.org.uk )_v__/\ "The cladistic defintion of Aves is: an unimportant offshoot of the much cooler dinosaur family which somehow managed to survive the K/T boundry intact" -- Eric Lurio.
CC: undisclosed-recipients:;
Subject: (Fwd) Re: [rt.cpan.org #19214] "make test" fails with "undefined symbol"
Date: Sat, 13 May 2006 22:35:05 +0100
To: bug-Net-Z3950-ZOOM [...] rt.cpan.org
From: mike [...] miketaylor.org.uk (Mike Taylor)
Download (untitled) / with headers
text/plain 5.9k
Thanks for your timely and very clear reporting. If only all bug reports were like yours! Case closed. gregor+debian@comodo.priv.at via RT writes: Show quoted text
> > Queue: Net-Z3950-ZOOM > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=19214 > > > [resending because the message doesn't show up on > http://rt.cpan.org/Public/Bug/Display.html?id=19214] > > gregor > > ----- Forwarded message from gregor herrmann <gregor+debian@comodo.priv.at> ----- > > From: gregor herrmann <gregor+debian@comodo.priv.at> > To: "(Mike Taylor) via RT" <bug-Net-Z3950-ZOOM@rt.cpan.org> > Subject: Re: [rt.cpan.org #19214] "make test" fails with "undefined symbol" > Date: Fri, 12 May 2006 14:59:54 +0200 > > On Thu, May 11, 2006 at 05:48:51PM -0400, (Mike Taylor) via RT wrote: >
> > > > OK, I have now released v1.07, which complains at Makefile.PL time > > > > if the necessary YAZ isn't around. Please check that this correctly > > > > refuses to build on your system. Thanks.
> > > # Error: Can't load '/tmp/Net-Z3950-ZOOM-1.07/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so' for module Net::Z3950::ZOOM: /tmp/Net-Z3950-ZOOM-1.07/blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so: undefined symbol: ZOOM_resultset_sort1 at /usr/lib/perl/5.8/DynaLoader.pm line 225.
> > Ugh. I am so lame. You need version 2.1.11 or better, not 2.0.11.
> > Well, such things happen ;-) >
> > I > > have now uploaded release 1.08, which correctly asserts this. > > (Attached.) Please verify that this complains appropriately,
> > Works as intended: > > $ perl Makefile.PL > *** WARNING! > ZOOM-Perl requires at least version 2.1.11 of YAZ, > but is currently you only have version 2.1.8. >
> > then go > > ahead and upgrade YAZ and see if everything works as it should.
> > Uh, the yaz version in Debian is unfortunately 2.1.8 > * getting packages from http://ftp.indexdata.dk/pub/yaz/debian/etch/ * > * installing 2.1.18 * > [* writing bug report against Debian package *] > > Let's try: > > $ perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for Net::Z3950::ZOOM > $ make > cp lib/Net/Z3950/ZOOM.pm blib/lib/Net/Z3950/ZOOM.pm > cp lib/ZOOM.pod blib/lib/ZOOM.pod > cp lib/ZOOM.pm blib/lib/ZOOM.pm > cp lib/Net/Z3950.pm blib/lib/Net/Z3950.pm > /usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ > ExtUtils/typemap -typemap typemap ZOOM.xs > ZOOM.xsc && mv ZOOM.xsc ZOOM.c > cc -c -DYAZ_POSIX_THREADS=1 -D_REENTRANT -D_REENTRANT -D_GNU_SOURCE -DTHREADS_H > AVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_S > OURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPI > C "-I/usr/lib/perl/5.8/CORE" ZOOM.c > Running Mkbootstrap for Net::Z3950::ZOOM () > chmod 644 ZOOM.bs > rm -f blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so > cc -shared -L/usr/local/lib ZOOM.o -o blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so \ > -lyaz -L/usr/lib -lxml2 -lz -lm -lssl -lcrypto -lwrap -lnsl -lpthread > \ > > chmod 755 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.so > cp ZOOM.bs blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs > chmod 644 blib/arch/auto/Net/Z3950/ZOOM/ZOOM.bs > Manifying blib/man3/Net::Z3950::ZOOM.3pm > Manifying blib/man3/ZOOM.3pm > $ make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/1-Net-Z3950-ZOOM......ok > t/10-options............ok > t/11-option-callback....ok > t/12-query..............ok > t/13-resultset..........ok > t/14-sorting............ok > t/15-scan...............ok > t/16-packages...........ok > t/17-logging............ok > t/18-charset............ok > t/19-events.............ok > t/2-ZOOM................ok > t/20-options............ok > t/21-option-callback....ok > t/22-query..............ok > t/23-resultset..........ok > t/24-sorting............ok > t/25-scan...............ok > t/26-packages...........ok > t/27-logging............ok > t/28-charset............ok > t/29-events.............ok > All tests successful. > Files=22, Tests=680, 23 wallclock secs ( 1.73 cusr + 0.25 csys = 1.98 CPU) > > Wonderful! > > Ok, I think you can close this bug. >
> > Sorry for this dumb interlude.
> > No problem, thanks for your efforts. > > > Cheers, gregor > -- > .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 > : :' : debian: the universal operating system - http://www.debian.org/ > `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ > `- NP: larimar: ham n eggs and bl > > ----- End forwarded message ----- > > -- > .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 > : :' : debian: the universal operating system - http://www.debian.org/ > `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ > `- NP: Townes Van Zandt: The Velvet Voices


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.