[arch-general] Shouldn't libreoffice-fresh also depend on libxinerama?

Marcel Korpel marcel.korpel at gmail.com
Mon Oct 13 19:34:28 UTC 2014


Hi all,

As an experiment in building packages in a clean way, I tried to build
libreoffice-extension-writer2latex [1] using makechrootpkg according to
the wiki [2]. First I created a new chroot in ~/chroot using

mkarchroot $CHROOT/root base-devel

Then I made sure the chroot was up to date using

arch-nspawn $CHROOT/root pacman -Syu

After this I ran makechrootpkg with the following options

makechrootpkg -ncr $CHROOT

When the build function calls libreoffice to convert an .odt document
to a pdf file, I got the following error:

/usr/lib/libreoffice/program/oosplash: error while loading shared
libraries: libXinerama.so.1: cannot open shared object file: No such
file or directory

Apparently the splash screen needs libxinerama. After running

makechrootpkg -ncr $CHROOT
-I /var/cache/pacman/pkg/libxinerama-1.1.3-2-x86_64.pkg.tar.xz 

I got another error, i.e.

/usr/lib/libreoffice/program/soffice.bin: error while loading shared
libraries: libcups.so.2: cannot open shared object file: No such file
or directory

However, I think this is rather an edge case, as we're trying to
convert a document (but don't we do this once in a while, anyway?).

After also adding libcups, the package built correctly.

This leads to my question: shouldn't libreoffice-fresh also depend on
libxinerama? And perhaps also on libcups? If so, I'll file a bug report.

Regards,
Marcel

[1]https://aur.archlinux.org/packages/libreoffice-extension-writer2latex/
[2]https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20141013/4140c105/attachment.bin>


More information about the arch-general mailing list