Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
boost:app-office/libreoffice-6.2.8.2 rebuild fails [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3640

PostPosted: Sat Nov 02, 2019 12:23 am    Post subject: boost:app-office/libreoffice-6.2.8.2 rebuild fails [solved] Reply with quote

dev-libs/boost forced liborcus & libreoffice to rebuild:
Code:
 eix boost -I
[I] dev-libs/boost
     Installed versions:  1.71.0(0/1.71.0)^t(17:28:46 01/11/2019)(nls threads -bzip2 -context -debug -doc -icu -lzma -mpi -numpy -python -static-libs -tools -zlib -zstd ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" PYTHON_TARGETS="-python2_7 -python3_5 -python3_6 -python3_7")
Code:
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
Am I the only one?
Thks 4 ur attention.


Last edited by CaptainBlood on Sat Nov 02, 2019 6:19 am; edited 3 times in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3640

PostPosted: Sat Nov 02, 2019 1:27 am    Post subject: Reply with quote

Currently investigating # between:
Code:
euse dev-libs/boost-1.65.0
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-libs/boost-1.65.0:
 U I
 - - abi_x86_32               : 32-bit (x86) libraries
 - - context                  : Build and install the Boost.Context (and
                                Boost.Fiber) library and all other Boost
                                libraries that depend on it
 - - debug                    : Build and install only the debug version of
                                the Boost libraries. Only enable this flag if
                                you're developing against boost.
 - - doc                      : Install the full API documentation
                                documentation. This takes over 200MB of extra
                                disk space.
 - - icu                      : Enable ICU (Internationalization Components
                                for Unicode) support, using dev-libs/icu
 - - mpi                      : Add MPI (Message Passing Interface) layer to
                                the apps that support it
 + - nls                      : Build libboost_locale. This library requires
                                compatible C library interfaces, which might
                                not be provided by uClibc or other embedded
                                libraries.
 - - python                   : Add optional support/bindings for the Python
                                language
 - + python_targets_python2_7 : Build with Python 2.7
 - - python_targets_python3_5 : Build with Python 3.5
 - + python_targets_python3_6 : Build with Python 3.6
 - - static-libs              : Build static versions of dynamic libraries as
                                well
 + - threads                  : Build multi-thread-compatible libraries
                                instead of single-threaded only.
 - - tools                    : Build and install the boost tools (bcp,
                                quickbook, inspect, wave)
Code:
euse boost
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for dev-libs/boost-1.71.0:
 U I
...
 - - bzip2                    : Use the bzlib compression library
...
...
...
...
 - - lzma                     : Support for LZMA (de)compression algorithm
...
...
...
...
...
...
...
...
...
...
 - - zlib                     : Add support for zlib (de)compression
 - - zstd                     : Enable support for ZSTD compression
Thks 4 ur attention, interest & support
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Sat Nov 02, 2019 4:27 am    Post subject: Reply with quote

I am able to build app-office/libreoffice-6.3.3.2 with dev-libs/boost-1.71.0 but I have diffent USE flags for boost.
Code:
    Installed versions:  1.71.0(0/1.71.0)^t(02:29:08 PM 10/30/2019)(bzip2 icu nls python threads zlib -context -debug -doc -lzma -mpi -numpy -static-libs -tools -zstd ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7")


Try building boost with the zlib USE flag.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3640

PostPosted: Sat Nov 02, 2019 6:18 am    Post subject: Reply with quote

zlib activation fixes it.
Thks 4 ur attention.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum