https://bz.apache.org/ooo/show_bug.cgi?id=128222

          Issue ID: 128222
        Issue Type: DEFECT
           Summary: cannot complete the build on slackware64-current linux
           Product: General
           Version: 4.2.0-dev
          Hardware: PC
                OS: Linux 64-bit
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I was trying to build the 'trunk' (4.5.0) on 64-bit slackware-current. There
were several problematic places in the code blocking the build successful
completion.
I have no good understanding of the problems, but I managed to 'kludge' those.
Build completes, and I'm able to launch and use the applications, at least at
the first look.
The system is 4.19.75, gcc (GCC) 9.2.0, javac 1.8.0_212, xsltproc is: 
Using libxml 20909, libxslt 10133 and libexslt 820
xsltproc was compiled against libxml 20909, libxslt 10133 and libexslt 820
libxslt 10133 was compiled against libxml 20909
libexslt 820 was compiled against libxml 20909.

./configure   \
--with-build-version="$(date +"%Y-%m-%d %H:%M") - `uname -sm`" \
--enable-verbose \
--enable-crashdump=yes  \
--enable-opengl  \
--enable-dbus  \
--with-package-format="installed" \
--with-dmake-url=https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
\
--with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
\
--without-junit \
--without-stlport \
--with-system-stdlibs \
\
--disable-gstreamer \
--disable-wiki-publisher  \
--disable-bundled-dictionaries \
--disable-category-b \
--disable-pam \
\
  --with-jdk-home=/usr/lib64/java \
\
--with-system-libs=no \
  --enable-hyphen \
  --enable-hunspell \
  --disable-graphite \
\
\
  --with-system-lucene=no \
  --with-system-hsqldb=no \
  --with-system-beanshell=no \
  --with-system-saxon=no \
  --with-system-redland=no \
  --with-system-mythes=no \
  --with-system-icu=no \
\
  --with-system-jpeg=no \
  --with-system-openssl=no \
\
--with-system-libs=no \

(some of these are redundant, I know; but that's what was actually used in the
configuration phase)

So the 1st 'kludge' is trivial:

--- basebmp/inc/basebmp/packedpixeliterator.hxx.prev<-->2019-11-05
09:14:46.448745490 +0300
+++ basebmp/inc/basebmp/packedpixeliterator.hxx>2019-11-05 14:32:44.622455058
+0300
@@ -608,7 +608,7 @@
.
     value_type get(difference_type const & d) const
     {
-        const int remainder( x(d.x) % num_intraword_positions );
+        const int remainder( (d.x) % num_intraword_positions );
.
         return (unsigned_cast<value_type>(*current(d.x,d.y) &.
                                           get_mask<value_type, bits_per_pixel,
MsbFirst>(remainder))

The 2nd one is more complicated. I'm attaching the patch, and the essence of
the problem is some of the comparisons of the values produced by 'generate-id'
fail unexpectedly at the 1st use of a template using such a comparison (all
subsequent template's uses work as expected).

I had to do that crap with bogus entry as it gets dropped from generated files
anyway, and replacing 'generate-id(.)' with 'generate-id(current())' doesn't
work here.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to