[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#875688: libreoffice-report-builder: report builder inactive in 5.4



Hi,

On Wed, Dec 13, 2017 at 04:43:36AM +0100, Lionel Elie Mamane wrote:
> On Tue, Dec 12, 2017 at 11:35:29PM +0100, Rene Engelhard wrote:
> > On Thu, Dec 07, 2017 at 04:28:10PM +0100, Lionel Elie Mamane wrote:
> > > The Debian package of 5.4 behaves as if the optional part of
> > > LibreOffice "Report Builder" was not installed, although the packages
> > > libreoffice-report-builder and libreoffice-report-builder-bin are
> > > installed. I haven't diagnosed why.
> 
> > Interestingly, in my sid test vm, the 5.4.4 packages from 
> > https://people.debian.org/~rene/libreoffice/5.4/ do show it again *but*
> > you marked it as found in 6.0.0 beta2 and yes, I don't see it there
> > either anymore...
> 
> This starts to look like there is some non-determinism in the build
> process, and depending on more-or-less random choices made, the bug is
> there or not.
> 
> If that's the case, it will a PITA to debug... But since AFAIK that
> bug happens only on Debian, we should concentrate on the
> Debian-specific patches.

Don't believe it's the patches, see
https://anonscm.debian.org/cgit/pkg-openoffice/libreoffice.git/tree/patches.
There's nothing which I could see which might affect this..

But your mail made me think on the way to work about what could be
nondeterministic here.

This was the case since ages (3.6.1 if I am right), but maybe something in
5.4 changed wrt how it detects/runs the report builder?

Maybe it's the following:

https://anonscm.debian.org/cgit/pkg-openoffice/libreoffice.git/tree/rules#n1965
is build-arch. Due to build time (and Build-Depends:, one can move those
to -Indep) optimization we build with

-disable-ext-wiki-publisher \
		--disable-report-builder --disable-scripting-javascript \
		--disable-scripting-beanshell

here and only later
(https://anonscm.debian.org/cgit/pkg-openoffice/libreoffice.git/tree/rules#n2002)
we do the full build with the report builder. Now, the debian buildds of course
only do the build-arch parts and my hand-builds do both (and maybe the -indep
build then fixes stuff up before it comes to installing it)

So maybe the solution is to remove that --disable-report-builder, but that
also would mean to add the gazillion of Java packages it needs back to
Build-Depends:

                     libbase-java [!hppa !ia64 !mips64 !s390 !sparc],
[...]
                     libcommons-logging-java [!hppa !ia64 !mips64 !s390 !sparc],
                     libflute-java (>= 1.1.6) [!hppa !ia64 !mips64 !s390 !sparc],
                     libfonts-java (>= 1.1.6) [!hppa !ia64 !mips64 !s390 !sparc],
                     libformula-java (>= 1.1.7) [!hppa !ia64 !mips64 !s390 !sparc],
                     liblayout-java (>= 0.2.10) [!hppa !ia64 !mips64 !s390 !sparc],
                     libloader-java (>= 1.1.6) [!hppa !ia64 !mips64 !s390 !sparc],
                     libpentaho-reporting-flow-engine-java (>= 0.9.4) [!hppa !ia64 !mips64 !s390 !sparc],
                     librepository-java (>= 1.1.6) [!hppa !ia64 !mips64 !s390 !sparc],
                     libsac-java [!hppa !ia64 !mips64 !s390 !sparc],
                     libserializer-java (>= 1.1.6) [!hppa !ia64 !mips64 !s390 !sparc],
                     libxml-java (>= 1.1.6) [!hppa !ia64 !mips64 !s390 !sparc],

And of course my 6.0.0~alpha1 as that 5.4.4~rc2 was a hand build (6.0.0 alpha1
was NEW, needs binary packages uploaded) and after that beta1-2 and beta2-1
"of course" became _source.changes-uploads, thus completely buildd-built.

Will try, but might only come around to it the weekend...

Regards,

Rene


Reply to: