Hi,

> 
>   # PERL_DL_NONLAZY=1 install-docs --install-changed
>   Can't load '/usr/lib/perl5/auto/UUID/UUID.so' for module UUID: 
> /usr/lib/perl5/auto/UUID/UUID.so: undefined symbol: Perl_Imarkstack_ptr_ptr 
> at /usr/lib/perl/5.14/DynaLoader.pm line 184.
>    at /usr/share/perl5/Debian/DocBase/Programs/Scrollkeeper.pm line 21
>   Compilation failed in require at 
> /usr/share/perl5/Debian/DocBase/Programs/Scrollkeeper.pm line 21.
>   BEGIN failed--compilation aborted at 
> /usr/share/perl5/Debian/DocBase/Programs/Scrollkeeper.pm line 21.

As you can see the message here is different than the one in
https://bugs.launchpad.net/ubuntu/+source/doc-base/+bug/891257


The UUID module is imported by Debian::DocBase::Programs::Scrollkeeper
inside eval block
(see
http://anonscm.debian.org/gitweb/?p=users/robert/doc-base.git;a=blob;f=install-docs.in;hb=198fa3f3e55f8d82e2807d986f50e5a699ddd1d3#l28)


If the eval block fails, install-docs creates a special
/var/lib/doc-base/info/FORCE-REREGISTER.flag file, and exits with error
code 0 so it should not affect upgrades.

The existance of the file should cause install-docs to re-register all
documents next time install-docs is called.

The message you saw if printed by 'warn $@ if $@;'. It might be a bit
misleading to users, I'm thinking about changing it in the way that make
it obvious that it's not a real error message.


> The extra dependency on uuid-runtime is unfortunate, but necessary with
> this approach (and calling out to uuidgen probably is slower with lots

scrollkeeper-gen-seriesid from rarian-compat can be used instead.
doc-base already suggests rarian-compat and won't call GenUUID() in case
the package is not installed.

However the issue is that doc-base doesn't work with rarian-compat at
all (see  #546208), so maybe dropping support for it from doc-base would
be a better option than trying to ensure the DocBase::Scrollkeeper
module remains usable on perl upgrades.


Regards,
robert



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to