Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699128 - app-office/libreoffice-6.3.3.2 - ld: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::zlib::sync_flush'
Summary: app-office/libreoffice-6.3.3.2 - ld: /usr/lib/liborcus-0.14.so.0: undefined r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard: dev-libs/liborcus should depend on de...
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-02 06:27 UTC by CaptainBlood
Modified: 2019-11-02 15:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2019-11-02 06:27:09 UTC
TEMPFILE=/var/no-tmpfs/portage/app-office/libreoffice-6.3.3.2/temp/gbuild.UUJx8h &&  mv ${TEMPFILE} /var/no-tmpfs/portage/app-office/libreoffice-6.3.3.2/work/libreoffice-6.3.3.2/workdir/LinkTarget/Library/libcairocanvaslo.so.objectlist
S=/var/no-tmpfs/portage/app-office/libreoffice-6.3.3.2/work/libreoffice-6.3.3.2 && I=$S/instdir && W=$S/workdir &&  x86_64-pc-linux-gnu-g++ -pthread -shared -Wl,-z,noexecstack   -Wl,-z,origin '-Wl,-rpath,$ORIGIN' -Wl,-rpath-link,$I/program -Wl,-z,defs -fstack-protector-strong -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc  -Wl,--hash-style=gnu  -Wl,-Bsymbolic-functions -L$W/LinkTarget/StaticLibrary -L$I/sdk/lib  -L$I/program  -L$I/program -Wl,-O1       -Wl,-fuse-ld=bfd  -Wl,--enable-new-dtags  -march=skylake -mtune=skylake  -O2             -pipe     $W/CxxObject/connectivity/source/drivers/component/CColumns.o $W/CxxObject/connectivity/source/drivers/component/CDatabaseMetaData.o $W/CxxObject/connectivity/source/drivers/component/CPreparedStatement.o $W/CxxObject/connectivity/source/drivers/component/CResultSet.o $W/CxxObject/connectivity/source/drivers/component/CStatement.o $W/CxxObject/connectivity/source/drivers/component/CTable.o $W/CxxObject/connectivity/source/drivers/file/FCatalog.o $W/CxxObject/connectivity/source/drivers/file/FColumns.o $W/CxxObject/connectivity/source/drivers/file/FConnection.o $W/CxxObject/connectivity/source/drivers/file/FDatabaseMetaData.o $W/CxxObject/connectivity/source/drivers/file/FDateFunctions.o $W/CxxObject/connectivity/source/drivers/file/FDriver.o $W/CxxObject/connectivity/source/drivers/file/FNoException.o $W/CxxObject/connectivity/source/drivers/file/FNumericFunctions.o $W/CxxObject/connectivity/source/drivers/file/FPreparedStatement.o $W/CxxObject/connectivity/source/drivers/file/FResultSet.o $W/CxxObject/connectivity/source/drivers/file/FResultSetMetaData.o $W/CxxObject/connectivity/source/drivers/file/FStatement.o $W/CxxObject/connectivity/source/drivers/file/FStringFunctions.o $W/CxxObject/connectivity/source/drivers/file/FTable.o $W/CxxObject/connectivity/source/drivers/file/FTables.o $W/CxxObject/connectivity/source/drivers/file/fanalyzer.o $W/CxxObject/connectivity/source/drivers/file/fcode.o $W/CxxObject/connectivity/source/drivers/file/fcomp.o $W/CxxObject/connectivity/source/drivers/file/quotedstring.o      -Wl,--start-group     -Wl,--end-group -Wl,--no-as-needed -lmergedlo -luno_cppu -luno_cppuhelpergcc3 -luno_sal -luno_salhelpergcc3  -o $I/program/libfilelo.so
[LNK] Library/libdbpool2.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::zlib::sync_flush'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::zlib::deflated'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::detail::gzip_footer::reset()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::detail::zlib_base::before(char const*&, char const*, char*&, char*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::zlib::default_compression'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::detail::zlib_base::do_init(boost::iostreams::zlib_params const&, bool, void* (*)(void*, unsigned int, unsigned int), void (*)(void*, void*), void*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::detail::zlib_base::zlib_base()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::zlib::default_strategy'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::detail::zlib_base::reset(bool, bool)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::detail::zlib_base::xinflate(int)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::detail::gzip_header::process(char)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::detail::gzip_header::reset()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::detail::gzip_footer::process(char)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::zlib_error::check(int)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::zlib::stream_end'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::detail::zlib_base::~zlib_base()'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::detail::zlib_base::after(char const*&, char*&, bool)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /usr/lib/liborcus-0.14.so.0: undefined reference to `boost::iostreams::zlib::okay'
collect2: error: ld returned 1 exit status
make[1]: *** [/var/no-tmpfs/portage/app-office/libreoffice-6.3.3.2/work/libreoffice-6.3.3.2/solenv/gbuild/LinkTarget.mk:636: /var/no-tmpfs/portage/app-office/libreoffice-6.3.3.2/work/libreoffice-6.3.3.2/workdir/LinkTarget/Executable/canvasdemo] Error 1

Reproducible: Always

Steps to Reproduce:
tested here with app-office/libreoffice-6.3.3.2
Comment 1 Tomáš Mózes 2019-11-02 07:48:49 UTC
Try rebuilding boost and then libreoffice.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-11-02 07:53:00 UTC
(In reply to Tomáš Mózes from comment #1)
> Try rebuilding boost and then libreoffice.

That wouldn't help as liborcus is already installed.
Comment 3 CaptainBlood 2019-11-02 09:04:58 UTC
USE=zlib emerge -1 dev-libs/boost ; emerge -1 dev-libs/liborcus : emerge -1 libreoffice
fiwes it. That how I did it, the liborcus step might be superfluous though;
Comment 4 Larry the Git Cow gentoo-dev 2019-11-02 15:23:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ce457bd7c36639364dae655ecf0e9c5ef66c8be

commit 8ce457bd7c36639364dae655ecf0e9c5ef66c8be
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-11-02 09:40:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-11-02 15:22:29 +0000

    dev-libs/liborcus: Add missing USEDEP on dev-libs/boost[zlib]
    
    Closes: https://bugs.gentoo.org/699128
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/liborcus/{liborcus-0.14.1.ebuild => liborcus-0.14.1-r1.ebuild} | 2 +-
 dev-libs/liborcus/liborcus-9999.ebuild                                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)