Hi Rene!

BTW, the upgrade-reports where I discovered this bug is #606924.  Two
     days before I did another lenny->squeeze upgrade and the error was
     already there, but on powerpc, as you can read in #607060.

On Mon, 13 Dec 2010 10:06:34 +0100, Rene Engelhard wrote:
> On Mon, Dec 13, 2010 at 01:01:27AM +0100, Luca Capello wrote:
>>  Enabling: writer2latex-filter.jar
>> libgcj failure: gcj linkage error.
>> Incorrect library ABI version detected.  Aborting.
>
> Hrmpf.
>
>> This latter should be caused by openoffice.org-java-common not being
>> upgraded as well, given that openoffice.org-writer2latex:
>> 
>>   Depends: openoffice.org-core (>= 1:2.3.0~oog680m1),
>>            openoffice.org-java-common (>= 1:2.3.0~oog680m1)
>
> Nah, this sounds like a ABI mismatch. And this baffles me, as -writer2latex
> doesn't contain compiled-to-native code, but a "pure" jar, this has no
> .sos, thus there is no ABI.
>
> Sure your gcj stuff is in sync and this isn't a gcj  bug?

I do not know, but all my tests were done on a fresh lenny installation
(either a real/physical one or a cowbuilder chroot), and the error is
there even with OpenJDK (no output pasted since it is the same as with
GCJ, but I can send it upon request).

>> However, I am quite sure this is the cause for the bug I experienced:
>
> I am not :)

Well, you know better than me ;-)

>> while I still think a Pre-Depends: should be the right way (but
>> remember, I am not a OO.o expert nor a Java one), it seems that simply
>
> It is the right way, but then you cannot upgrade it. BDTD...
>
>> diff -u writer2latex-1.0/debian/control writer2latex-1.0/debian/control
[...]
> Even if this works, are you sure this isn't just by chance?
> I don't like this at all, the dependency is correct in w2ls sense
> (it doesn't need something newer than 2.3)

Chance is something I would exclude after all tests I made: I could
reproduce this bug (NB, not the missing unopkg one) on amd64, i386 and
powerpc (all cowbuilder chroots).  And every time I used the NMU above
instead everything worked (again, the missing unopkg error was always
there).

BTW, I am even more convinced this is an openoffice.org-java-common
problem because I discovered that upgrading openoffice.org-java-common
*before* openoffice.org-writer2latex does not trigger the error:
=====
(lenny)r...@gismo:/# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  apt aptitude bash binutils build-essential cowdancer cpio cpp cpp-4.3 
debianutils diff dpkg dpkg-dev e2fsprogs fastjar
  findutils g++ g++-4.3 gcc gcc-4.3 gcc-4.3-base gij gnupg gpgv grep libc6 
libc6-dev libcups2 libcurl3 libgcc1 libgcj-bc
  libgcj-common libgdbm3 libglib2.0-0 libgomp1 libgstreamer-plugins-base0.10-0 
libgstreamer0.10-0 libgtk2.0-0 libkrb53
  liblocale-gettext-perl libneon27 libpam-modules libpam-runtime libpango1.0-0 
libsasl2-2 libstdc++6 libstdc++6-4.3-dev
  libthai-data libthai0 libts-0.0-0 libx11-6 libxcb1 libxi6 
openoffice.org-common openoffice.org-core
  openoffice.org-style-andromeda openoffice.org-writer2latex perl perl-base 
perl-modules readline-common sed sysv-rc
  util-linux wget
The following packages will be upgraded:
  base-files base-passwd bsdutils bsh bzip2 ca-certificates ccache cdebootstrap 
coreutils debconf debconf-i18n
  debian-archive-keyring defoma dictionaries-common e2fslibs fakeroot file 
fontconfig fontconfig-config gzip hostname
  initscripts java-common libacl1 libasound2 libatk1.0-0 libattr1 libbcel-java 
libblkid1 libbz2-1.0 libcairo2 libcomerr2
  libcwidget3 libdb4.6 libdebian-installer-extra4 libdebian-installer4 
libexpat1 libfontconfig1 libfreetype6 libgcrypt11
  libgmp3c2 libgnutls26 libgpg-error0 libgtk2.0-common libhunspell-1.2-0 
libhyphen0 libice6 libidn11 libjaxp1.3-java
  libjline-java libjpeg62 libkeyutils1 libldap-2.4-2 liblog4j1.2-java libmagic1 
libmx4j-java libncurses5 libncursesw5
  libnewt0.52 libnspr4-0d libnss3-1d libpam0g libpango1.0-common libpcre3 
libpixman-1-0 libpng12-0 libpopt0 libreadline5
  libregexp-java libselinux1 libsepol1 libsigc++-2.0-0c2a libslang2 libsm6 
libsqlite3-0 libss2 libssh2-1 libssl0.9.8
  libsysfs2 libtasn1-3 libtext-charwidth-perl libtext-iconv-perl 
libtext-wrapi18n-perl libtiff4 libtimedate-perl libusb-0.1-4
  libuuid1 libx11-data libxalan2-java libxau6 libxaw7 libxcb-render-util0 
libxcb-render0 libxcomposite1 libxcursor1
  libxdamage1 libxdmcp6 libxerces2-java libxext6 libxfixes3 libxft2 
libxinerama1 libxml2 libxmu6 libxpm4 libxrandr2
  libxrender1 libxslt1.1 libxt6 libxtst6 linux-libc-dev login lsb-base make 
mawk mktemp mount ncurses-base ncurses-bin
  openoffice.org-java-common openssl passwd patch pbuilder sysvinit 
sysvinit-utils tar ttf-dejavu ttf-dejavu-core
  ttf-dejavu-extra ttf-opensymbol tzdata ucf whiptail x11-common zlib1g
136 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
Need to get 54.5MB of archives.
After this operation, 17.9MB of additional disk space will be used.
Do you want to continue [Y/n]? y
[...]

(lenny)r...@gismo:/# apt-get install openoffice.org-writer2latex
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libts-0.0-0 libjaxp1.3-java ttf-dejavu-extra libneon27 libxerces2-java 
libicu38 libxalan2-java libdirectfb-1.0-0 bsh
  libcurl3 libssh2-1 ttf-dejavu libsysfs2 dictionaries-common libjline-java
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  binutils gcc-4.4-base libc-bin libc-dev-bin libc6 libc6-dev libcurl3-gnutls 
libdb4.8 libgraphite3 libgssapi-krb5-2 libicu44
  libk5crypto3 libkrb5-3 libkrb53 libkrb5support0 libmythes-1.2-0 
libneon27-gnutls libraptor1 librasqal2 librdf0 libstdc++6
  openoffice.org-common openoffice.org-core openoffice.org-style-andromeda 
procps uno-libs3 ure
Suggested packages:
  binutils-doc glibc-doc locales krb5-doc krb5-user raptor-utils rasqal-utils 
librdf-storage-postgresql librdf-storage-mysql
  librdf-storage-sqlite redland-utils openoffice.org-style-industrial 
openoffice.org-style-hicontrast
  openoffice.org-style-tango openoffice.org-style-crystal 
openoffice.org-style-oxygen cli-uno-bridge
Recommended packages:
  manpages-dev xfonts-mathml libtextcat-data-utf8 psmisc
The following NEW packages will be installed:
  gcc-4.4-base libc-bin libc-dev-bin libcurl3-gnutls libdb4.8 libgraphite3 
libgssapi-krb5-2 libicu44 libk5crypto3 libkrb5-3
  libkrb5support0 libmythes-1.2-0 libneon27-gnutls libraptor1 librasqal2 
librdf0 procps uno-libs3 ure
The following packages will be upgraded:
  binutils libc6 libc6-dev libkrb53 libstdc++6 openoffice.org-common 
openoffice.org-core openoffice.org-style-andromeda
  openoffice.org-writer2latex
9 upgraded, 19 newly installed, 0 to remove and 56 not upgraded.
Need to get 96.5MB of archives.
After this operation, 72.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y
[...]

Setting up openoffice.org-common (1:3.2.1-9) ...
Installing new version of config file /etc/bash_completion.d/ooffice.sh ...
Installing new version of config file /etc/openoffice/sofficerc ...
Setting up openoffice.org-core (1:3.2.1-9) ...
Setting up openoffice.org-writer2latex (1.0-12) ...
Disabling: writer2latex.uno.pkg
 Disabling: w2l_filters.xcu
 Disabling: w2l_types.xcu
 Disabling: writer2latex.jar

unopkg done.
Copying: writer2latex.oxt
Enabling: Writer2LaTeX export filters
 Enabling: writer2latex.rdb
 Enabling: W2LDialogs
 Enabling: Options.xcs
 Enabling: writer2latex-filter.jar
 Enabling: w2l_types.xcu
 Enabling: w2l_filters.xcu
 Enabling: Options.xcu

unopkg done.
(lenny)r...@gismo:/#
=====

I do not know why this did not happen on my i386 test upgrade: as you
can see from the log at #606924, in the `apt-get upgrade` run
openoffice.org-java-common was kept on hold and not upgraded.  When I
did an `apt-get dist-upgrade`, openoffice.org-java-common is unpacked
*after* openoffice.org-writer2latex.

Thx, bye,
Gismo / Luca

Attachment: pgp6rxYmy2WrT.pgp
Description: PGP signature

Reply via email to