Opened 3 months ago

Closed 3 months ago

#19221 closed enhancement (fixed)

libreoffice-24.2.0.3

Reported by: Bruce Dubbs Owned by: Douglas R. Reno
Priority: normal Milestone: 12.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New numbering scheme.

Attachments (3)

libreoffice-24.2.0.3-icu_74-1.patch (433 bytes ) - added by martyj19 3 months ago.
Previous correction for ICU 74
libreoffice-24.2.0.3-liblangtag_libxml2_2.12-1.patch (1.5 KB ) - added by martyj19 3 months ago.
Previously reported correction for libxml2 2.12 reduced to external tarball liblangtag
libreoffice-24.2.0.3-wpftdraw_build_failure-1.patch (451 bytes ) - added by martyj19 3 months ago.
Fix for build failure in link step for wpftdraw

Download all attachments as: .zip

Change History (10)

by martyj19, 3 months ago

Previous correction for ICU 74

by martyj19, 3 months ago

Previously reported correction for libxml2 2.12 reduced to external tarball liblangtag

by martyj19, 3 months ago

Fix for build failure in link step for wpftdraw

comment:1 by martyj19, 3 months ago

The ICU 74 patch is still needed. Of the patches for libxml2 2.12, the code of libreoffice itself is corrected and only one of the external tarballs remains uncorrected.

I find that a line was deleted from one of the build files causing a link failure in wpftdraw. It is present in the previous release. It surprises me that this went unnoticed by upstream.

I've attached patches for all of the above for your reference.

comment:2 by Douglas R. Reno, 3 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:3 by martyj19, 3 months ago

Arch has now released this without any adjustment for wpftdraw. I hope someone will have a clue why I am seeing an error and others are not. I observe that libwpftdrawlo.so is linked to libz on both my LFS system and my Arch system.

comment:4 by Douglas R. Reno, 3 months ago

The release notes for 24.2 can be found at https://wiki.documentfoundation.org/ReleaseNotes/24.2

comment:5 by Douglas R. Reno, 3 months ago

I'm running into the same issue that you are with regards to zlib. The issue I get is:

[build MOD] desktop
/usr/bin/ld: /sources/libreoffice-24.2.0.3/libreoffice-24.2.0.3/workdir/UnpackedTarball/libcdr/src/lib/.libs/libcdr-0.1.a(CDRInternalStream.o): in function `libcdr::CDRInternalStream::CDRInternalStream(librevenge::RVNGInputStream*, unsigned long, bool)':
CDRInternalStream.cpp:(.text+0x364): undefined reference to `inflateInit_'
/usr/bin/ld: CDRInternalStream.cpp:(.text+0x409): undefined reference to `inflate'
/usr/bin/ld: CDRInternalStream.cpp:(.text+0x546): undefined reference to `inflateEnd'
/usr/bin/ld: CDRInternalStream.cpp:(.text+0x607): undefined reference to `inflateEnd'
/usr/bin/ld: /sources/libreoffice-24.2.0.3/libreoffice-24.2.0.3/workdir/UnpackedTarball/libfreehand/src/lib/.libs/libfreehand-0.1.a(FHInternalStream.o): in function `libfreehand::FHInternalStream::FHInternalStream(librevenge::RVNGInputStream*, unsigned long, bool)':
FHInternalStream.cpp:(.text+0x2b4): undefined reference to `inflateInit_'
/usr/bin/ld: FHInternalStream.cpp:(.text+0x359): undefined reference to `inflate'
/usr/bin/ld: FHInternalStream.cpp:(.text+0x496): undefined reference to `inflateEnd'
/usr/bin/ld: FHInternalStream.cpp:(.text+0x557): undefined reference to `inflateEnd'
/usr/bin/ld: /sources/libreoffice-24.2.0.3/libreoffice-24.2.0.3/workdir/UnpackedTarball/libmspub/src/lib/.libs/libmspub-0.1.a(libmspub_utils.o): in function `libmspub::inflateData(librevenge::RVNGBinaryData)':
libmspub_utils.cpp:(.text+0x385): undefined reference to `inflateInit2_'
/usr/bin/ld: libmspub_utils.cpp:(.text+0x413): undefined reference to `inflate'
/usr/bin/ld: libmspub_utils.cpp:(.text+0x455): undefined reference to `inflateEnd'
/usr/bin/ld: libmspub_utils.cpp:(.text+0x474): undefined reference to `inflateEnd'
[build CMP] writerperfect/source/writer/wpftwriter
/usr/bin/ld: /sources/libreoffice-24.2.0.3/libreoffice-24.2.0.3/workdir/UnpackedTarball/libzmf/src/lib/.libs/libzmf-0.0.a(BMIParser.o): in function `libzmf::BMIParser::readData(unsigned int)':
BMIParser.cpp:(.text+0x50e): undefined reference to `inflateInit2_'
/usr/bin/ld: BMIParser.cpp:(.text+0x5f9): undefined reference to `inflate'
/usr/bin/ld: BMIParser.cpp:(.text+0x616): undefined reference to `inflateEnd'
collect2: error: ld returned 1 exit status
make[1]: *** [/sources/libreoffice-24.2.0.3/libreoffice-24.2.0.3/writerperfect/Library_wpftdraw.mk:20: /sources/libreoffice-24.2.0.3/libreoffice-24.2.0.3/instdir/program/libwpftdrawlo.so] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:289: build] Error 2
7005.0 Elasped Time - libreoffice-24.2.0.3

My version of zlib is 1.2.13. Upgrading to 1.3.1 seems to make no difference

comment:6 by martyj19, 3 months ago

Those symbols should be resolved by libz.so but, without the patch, the link step does not have -lz. You can verify that by rerunning after the failure with make -j1 build verbose=1.

On the plus side, I now know my way around the libreoffice build procedures much better.

comment:7 by Douglas R. Reno, 3 months ago

Resolution: fixed
Status: assignedclosed

Fixed at 51347047a06e18d552c72f493b78508cec1facaa

Thank you for the help Marty!

Note: See TracTickets for help on using tickets.