Bug#880033: src:libreoffice: FTBFS on hppa - missing symbols
On Sun, Oct 29, 2017 at 04:50:25PM -0400, John David Anglin wrote: > On 2017-10-29, at 4:48 PM, Rene Engelhard wrote: > > > No idea whether disabling --disable-database-connectivity would work > > (probably), but then > > one needs to decide whether one really wants that given Bases internal > > database and the whole > > Report Builder stuff won't work anyway (Java) > > Still, configure says it is a work in progress and shouldn't be disabled... True, but the point is that this --disable-database-connectivity only affects weird archs (and archs which don't have Java at all and thus Base is disabled - but afaicr a i386 without-java build worked for me) ) > I'm trying it. Good, you could just comment out ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS))) ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_BASE_ARCHS))) PACKAGE_BASE=n ENABLE_SDBC_POSTGRESQL=n ENABLE_MYSQLNATIVE=n ENABLE_EVO2=n ENABLE_REPORTDESIGN=n DEBHELPER_OPTIONS += -Nlibreoffice-base libreoffice-base-core -Nlibreoffice-base-drivers DEBHELPER_OPTIONS += -Nlibreoffice-evolution -Nlibreoffice-kab DEBHELPER_OPTIONS += -Nlibreoffice-sdbc-postgresql -Nlibreoffice-mysql-connector DEBHELPER_OPTIONS += -Nlibreoffice-sdbc-hsqldb -Nlibreoffice-sdbc-firebird DEBHELPER_OPTIONS += -Nlibreoffice-report-builder-bin -Nlibreoffice-report-builder CONFIGURE_FLAGS += --disable-database-connectivity endif endif (and maybe more, not sure, as we see this path is untested since no "serious" arch in Debian falls into that category...) Regards, Rene
Bug#880033: src:libreoffice: FTBFS on hppa - missing symbols
Hi, On Sun, Oct 29, 2017 at 12:01:03PM -0400, John David Anglin wrote: > I see that dbtools.o contains at least some of the undefined symbols. I see > that libsvxcorelo.so is linked against libdbtoolslo > on mips but not on hppa. Where is the library dependency list defined or > generated for libsvxcorelo.so? Hmm? grep? https://cgit.freedesktop.org/libreoffice/core/tree/svx/Library_svxcore.mk And indeed looking at the buildlog the build does --disable-database-connectivity. Because it's in OOO_NO_BASE_ARCHS which probably is because it's NOT in OOO_JAVA_ARCHS.. (Already too much time "wasted" to find that out for a oboslete arch like this...) No idea whether disabling --disable-database-connectivity would work (probably), but then one needs to decide whether one really wants that given Bases internal database and the whole Report Builder stuff won't work anyway (Java) Regards, Rene
Bug#880033: src:libreoffice: FTBFS on hppa - missing symbols
On 2017-10-29, at 4:48 PM, Rene Engelhard wrote: > No idea whether disabling --disable-database-connectivity would work > (probably), but then > one needs to decide whether one really wants that given Bases internal > database and the whole > Report Builder stuff won't work anyway (Java) Still, configure says it is a work in progress and shouldn't be disabled... I'm trying it. Dave -- John David Anglin dave.ang...@bell.net
Bug#880033: src:libreoffice: FTBFS on hppa - missing symbols
On 2017-10-28, at 7:11 PM, Rene Engelhard wrote: >> /<>/svx/Library_svxcore.mk:20: recipe for target >> '/<>/instdir/program/libsvxcorelo.so' failed >> make[2]: *** [/<>/instdir/program/libsvxcorelo.so] Error 1 > > If you want that fixed, you'll need to send a patch. Okay, I see that the problem is in linking libsvxcorelo.so, not slideshow. Sorry about the duplicate report. I see that dbtools.o contains at least some of the undefined symbols. I see that libsvxcorelo.so is linked against libdbtoolslo on mips but not on hppa. Where is the library dependency list defined or generated for libsvxcorelo.so? Regards, Dave -- John David Anglin dave.ang...@bell.net
Bug#880033: src:libreoffice: FTBFS on hppa - missing symbols
retitle 874274 libreoffice: FTBFS on hppa - undefined references linking sv forcemerge 874274 880033 thanks Hi, On Sat, Oct 28, 2017 at 01:18:31PM -0400, John David Anglin wrote: > Since 1:5.2.7-1, libreoffice has failed to build from source on hppa. The That's evidently wrong. https://buildd.debian.org/status/logs.php?pkg=libreoffice=hppa 1:5.2.7-1 (sid) Maybe-Successful2017-05-08 20:03:36 bell 21h 39m 6.55 GB so if at all since 1:5.3.0~alpha1-1 And some of these were just internal compiler errors or other toolchain issues. > following errors occurred in 1:5.4.3~rc1-2 build: How is this different to #874274 [n| | ] [src:libreoffice] libreoffice: FTBFS on hppa - undefined references linking slideshow actually even filed by yourself? More care, please. It's not hard to do a simple search for "hppa" in the buglog of src:libreoffice. (Not to mention this isn't slideshow which fails to link, you get confused by the parallel build and/or slideshow doing stuff before the svx link). > /<>/workdir/CxxObject/svx/source/fmcomp/fmgridcl.o: In function > `FmGridHeader::ExecuteDrop(ExecuteDropEvent const&)': > ././svx/source/fmcomp/fmgridcl.cxx:266: undefined reference to > `dbtools::getConnection_withFeedback(rtl::OUString const&, rtl::OUString > const&, rtl::OUString const&, > com::sun::star::uno::Reference > const&)' > /<>/workdir/CxxObject/svx/source/fmcomp/fmgridcl.o: In function > `FmGridHeader::PostExecuteColumnContextMenu(unsigned short, PopupMenu const&, > unsigned short)': > ././svx/source/fmcomp/fmgridcl.cxx:947: undefined reference to > `dbtools::TransferFormComponentProperties(com::sun::star::uno::Reference > const&, com::sun::star::uno::Reference > const&, com::sun::star::lang::Locale const&)' > /<>/workdir/CxxObject/svx/source/fmcomp/fmgridcl.o: In function > `FmGridHeader::OnAsyncExecuteDrop(void*)': > ././svx/source/fmcomp/fmgridcl.cxx:378: undefined reference to > `dbtools::getNumberFormats(com::sun::star::uno::Reference > const&, bool, > com::sun::star::uno::Reference > const&)' > /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function > `DbFormattedField::GetFormatText(com::sun::star::uno::Reference > const&, > com::sun::star::uno::Reference > const&, Color**)': > ././svx/source/fmcomp/gridcell.cxx:1486: undefined reference to > `dbtools::DBTypeConversion::getValue(com::sun::star::uno::Reference > const&, com::sun::star::util::Date const&)' > /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function > `DbFormattedField::UpdateFromField(com::sun::star::uno::Reference > const&, > com::sun::star::uno::Reference > const&)': > ././svx/source/fmcomp/gridcell.cxx:1530: undefined reference to > `dbtools::DBTypeConversion::getValue(com::sun::star::uno::Reference > const&, com::sun::star::util::Date const&)' > /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function > `FmXGridCell::getLock()': > ././svx/source/fmcomp/gridcell.cxx:3242: undefined reference to > `connectivity::checkDisposed(bool)' > /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function > `FmXGridCell::addWindowListener(com::sun::star::uno::Reference > const&)': > ././svx/source/fmcomp/gridcell.cxx:3297: undefined reference to > `connectivity::checkDisposed(bool)' > /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function > `FmXGridCell::addFocusListener(com::sun::star::uno::Reference > const&)': > ././svx/source/fmcomp/gridcell.cxx:3311: undefined reference to > `connectivity::checkDisposed(bool)' > /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function > `FmXGridCell::addKeyListener(com::sun::star::uno::Reference > const&)': > ././svx/source/fmcomp/gridcell.cxx:3325: undefined reference to > `connectivity::checkDisposed(bool)' > /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function > `FmXGridCell::addMouseListener(com::sun::star::uno::Reference > const&)': > ././svx/source/fmcomp/gridcell.cxx:3339: undefined reference to > `connectivity::checkDisposed(bool)' > /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o:././svx/source/fmcomp/gridcell.cxx:3353: > more undefined references to `connectivity::checkDisposed(bool)' follow > /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function > `DbNumericField::implAdjustGenericFieldSetting(com::sun::star::uno::Reference > const&)': > ././svx/source/fmcomp/gridcell.cxx:1902: undefined reference to > `dbtools::getConnection(com::sun::star::uno::Reference > const&)' > ././svx/source/fmcomp/gridcell.cxx:1902: undefined reference to > `dbtools::getNumberFormats(com::sun::star::uno::Reference > const&, bool, > com::sun::star::uno::Reference > const&)' > /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function > `FmXGridCell::onFocusLost(com::sun::star::awt::FocusEvent const&)': > ././svx/source/fmcomp/gridcell.cxx:3395: undefined reference to > `connectivity::checkDisposed(bool)' > /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function >
Bug#880033: src:libreoffice: FTBFS on hppa - missing symbols
Source: libreoffice Version: 1:5.4.3~rc1-2 Severity: normal Dear Maintainer, Since 1:5.2.7-1, libreoffice has failed to build from source on hppa. The following errors occurred in 1:5.4.3~rc1-2 build: mkdir -p /<>/workdir/ComponentTarget/slideshow/util/ && xsltproc --nonet --stringparam uri 'vnd.sun.star.expand:$LO_LIB_DIR/libslideshowlo.so' --stringparam cppu_env gcc3 -o /<>/workdir/ComponentTarget/slideshow/util/slideshow.component /<>/solenv/bin/createcomponent.xslt /<>/slideshow/util/slideshow.component [build BIN] slideshow S=/<> && I=$S/instdir && W=$S/workdir && mkdir -p $W/Module/nonl10n/ && touch $W/Module/nonl10n/slideshow [build MOD] slideshow S=/<> && I=$S/instdir && W=$S/workdir && mkdir -p $W/Module/ && touch $W/Module/slideshow /<>/workdir/CxxObject/svx/source/fmcomp/fmgridcl.o: In function `FmGridHeader::ExecuteDrop(ExecuteDropEvent const&)': ././svx/source/fmcomp/fmgridcl.cxx:266: undefined reference to `dbtools::getConnection_withFeedback(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference const&)' /<>/workdir/CxxObject/svx/source/fmcomp/fmgridcl.o: In function `FmGridHeader::PostExecuteColumnContextMenu(unsigned short, PopupMenu const&, unsigned short)': ././svx/source/fmcomp/fmgridcl.cxx:947: undefined reference to `dbtools::TransferFormComponentProperties(com::sun::star::uno::Reference const&, com::sun::star::uno::Reference const&, com::sun::star::lang::Locale const&)' /<>/workdir/CxxObject/svx/source/fmcomp/fmgridcl.o: In function `FmGridHeader::OnAsyncExecuteDrop(void*)': ././svx/source/fmcomp/fmgridcl.cxx:378: undefined reference to `dbtools::getNumberFormats(com::sun::star::uno::Reference const&, bool, com::sun::star::uno::Reference const&)' /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function `DbFormattedField::GetFormatText(com::sun::star::uno::Reference const&, com::sun::star::uno::Reference const&, Color**)': ././svx/source/fmcomp/gridcell.cxx:1486: undefined reference to `dbtools::DBTypeConversion::getValue(com::sun::star::uno::Reference const&, com::sun::star::util::Date const&)' /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function `DbFormattedField::UpdateFromField(com::sun::star::uno::Reference const&, com::sun::star::uno::Reference const&)': ././svx/source/fmcomp/gridcell.cxx:1530: undefined reference to `dbtools::DBTypeConversion::getValue(com::sun::star::uno::Reference const&, com::sun::star::util::Date const&)' /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function `FmXGridCell::getLock()': ././svx/source/fmcomp/gridcell.cxx:3242: undefined reference to `connectivity::checkDisposed(bool)' /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function `FmXGridCell::addWindowListener(com::sun::star::uno::Reference const&)': ././svx/source/fmcomp/gridcell.cxx:3297: undefined reference to `connectivity::checkDisposed(bool)' /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function `FmXGridCell::addFocusListener(com::sun::star::uno::Reference const&)': ././svx/source/fmcomp/gridcell.cxx:3311: undefined reference to `connectivity::checkDisposed(bool)' /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function `FmXGridCell::addKeyListener(com::sun::star::uno::Reference const&)': ././svx/source/fmcomp/gridcell.cxx:3325: undefined reference to `connectivity::checkDisposed(bool)' /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function `FmXGridCell::addMouseListener(com::sun::star::uno::Reference const&)': ././svx/source/fmcomp/gridcell.cxx:3339: undefined reference to `connectivity::checkDisposed(bool)' /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o:././svx/source/fmcomp/gridcell.cxx:3353: more undefined references to `connectivity::checkDisposed(bool)' follow /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function `DbNumericField::implAdjustGenericFieldSetting(com::sun::star::uno::Reference const&)': ././svx/source/fmcomp/gridcell.cxx:1902: undefined reference to `dbtools::getConnection(com::sun::star::uno::Reference const&)' ././svx/source/fmcomp/gridcell.cxx:1902: undefined reference to `dbtools::getNumberFormats(com::sun::star::uno::Reference const&, bool, com::sun::star::uno::Reference const&)' /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function `FmXGridCell::onFocusLost(com::sun::star::awt::FocusEvent const&)': ././svx/source/fmcomp/gridcell.cxx:3395: undefined reference to `connectivity::checkDisposed(bool)' /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function `FmXGridCell::onFocusGained(com::sun::star::awt::FocusEvent const&)': ././svx/source/fmcomp/gridcell.cxx:3388: undefined reference to `connectivity::checkDisposed(bool)' /<>/workdir/CxxObject/svx/source/fmcomp/gridcell.o: In function `DbTextField::GetFormatText(com::sun::star::uno::Reference const&, com::sun::star::uno::Reference const&, Color**)': ././svx/source/fmcomp/gridcell.cxx:1157: undefined reference to