unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: 59519@debbugs.gnu.org
Subject: bug#59519: LibreOffice 7.3.5.2 fails to build on i686-linux
Date: Thu, 24 Nov 2022 19:37:21 +0100	[thread overview]
Message-ID: <87mt8gmc2y.fsf@elephly.net> (raw)
In-Reply-To: <87mt8hfwp0.fsf@inria.fr>

I tried building with ld-gold-wrapper, but it didn’t fix it:

--8<---------------cut here---------------start------------->8---
ld: /tmp/guix-build-libreoffice-7.3.5.2.drv-0/libreoffice-7.3.5.2/workdir/CxxObject/svtools/source/misc/imageresourceaccess.o: warning: relocation against `_ZThn20_N4cppu21ImplInheritanceHelperIN3utl19OInputStreamWrapperEJN3com3sun4star2io9XSeekableEEE7acquireEv' in read-only section `.text'
[build CXX] reportdesign/source/ui/dlg/DateTime.cxx
ld: /tmp/guix-build-libreoffice-7.3.5.2.drv-0/libreoffice-7.3.5.2/workdir/CxxObject/svtools/source/misc/imageresourceaccess.o: in function `svt::GraphicAccess::getImageStream(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, rtl::OUString const&)':
imageresourceaccess.cxx:(.text+0xabb): undefined reference to `non-virtual thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper, com::sun::star::io::XSeekable>::acquire()'
ld: /tmp/guix-build-libreoffice-7.3.5.2.drv-0/libreoffice-7.3.5.2/workdir/CxxObject/svtools/source/misc/imageresourceaccess.o: in function `svt::GraphicAccess::getImageXStream(com::sun::star
::uno::Reference<com::sun::star::uno::XComponentContext> const&, rtl::OUString const&)':
imageresourceaccess.cxx:(.text+0x100e): undefined reference to `non-virtual thunk to cppu::ImplInheritanceHelper<utl::OInputStreamWrapper, com::sun::star::io::XSeekable>::acquire()'
ld: warning: creating DT_TEXTREL in a shared object
collect2: error: ld returned 1 exit status
make[1]: *** [/tmp/guix-build-libreoffice-7.3.5.2.drv-0/libreoffice-7.3.5.2/svtools/Library_svt.mk:20: /tmp/guix-build-libreoffice-7.3.5.2.drv-0/libreoffice-7.3.5.2/instdir/program/libsvtlo.
so] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:289: build] Error 2
--8<---------------cut here---------------end--------------->8---

Here’s the command I used:

  guix build --system=i686-linux -e "(begin (import (guix)) (let ((p (@ (gnu packages libreoffice) libreoffice))) (package (inherit p) (native-inputs (modify-inputs (package-native-inputs p) (prepend (module-ref (resolve-interface '(gnu packages commencement)) 'ld-gold-wrapper)))))))"

-- 
Ricardo




  reply	other threads:[~2022-11-24 18:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23 16:43 bug#59519: LibreOffice 7.3.5.2 fails to build on i686-linux Ludovic Courtès
2022-11-24 18:37 ` Ricardo Wurmus [this message]
2022-11-25  9:18   ` Ricardo Wurmus
2022-11-25 19:50 ` Kaelyn via Bug reports for GNU Guix
2022-11-25 19:54 ` Kaelyn via Bug reports for GNU Guix
2022-11-26  2:02 ` Kaelyn via Bug reports for GNU Guix
2022-11-26 22:15   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mt8gmc2y.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=59519@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).