Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639980 - app-office/libreoffice-bin-5.4.2.2.0: draw cannot read in pdf files correctly
Summary: app-office/libreoffice-bin-5.4.2.2.0: draw cannot read in pdf files correctly
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-05 20:31 UTC by Michael Fothergill
Modified: 2017-12-05 22:32 UTC (History)
0 users

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 Michael Fothergill 2017-12-05 20:31:33 UTC
libreoffice bin 5.4.2.2.0+ draw cannot read in pdf files correctly.

Result is long file containing junk characters.

It works OK in debian stretch.

Same in Windows 10.

I use Gentoo amd64 stable on a kaveri box.
Comment 1 Michael Fothergill 2017-12-05 20:34:39 UTC
Emerges OK.

But does not work correctly in this respect c.f. debian and Windows 10 install.

Go figure.
Comment 2 Andreas Sturmlechner gentoo-dev 2017-12-05 20:38:09 UTC
At a bare minimum: emerge --info libreoffice-bin
Comment 3 Michael Fothergill 2017-12-05 20:42:03 UTC
(In reply to Andreas Sturmlechner from comment #2)
> At a bare minimum: emerge --info libreoffice-bin

OK,

I will re emerge libreoffice-bin and post the emerge --info output to a pastebin site and post the link here.

Regards

MF
Comment 4 Andreas Sturmlechner gentoo-dev 2017-12-05 20:45:49 UTC
No pastebin in bugzilla please. Just paste the output of emerge --info libreoffice-bin here.
Comment 5 Michael Fothergill 2017-12-05 20:48:03 UTC
Dear Sir,

Please find the output of emerge --info libreoffice-bin:

https://pastebin.com/iTTpJBsY

Regards

MF
Comment 6 Michael Fothergill 2017-12-05 20:49:54 UTC
Here is the emerge --info libreoffice-bin outout:

djt /home/mikef # emerge libreoffice-bin
Calculating dependencies -... done!


Exiting on signal 2
djt /home/mikef # emerge --info libreoffice-bin
Portage 2.3.16 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-with-gentoo-2.4.1
KiB Mem:     7143880 total,   4588400 free
KiB Swap:   14559228 total,  14559228 free
Timestamp of repository gentoo: Sat, 02 Dec 2017 20:30:01 +0000
Head commit of repository gentoo: d0a8c96a3cd9bc6765e0df0ead46b7ff63240434
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/"
LANG="aa_DJ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa alsa-plugin amd64 arping asyncns berkdb blender bluetooth bmp branding bullet bzip2 classic cli colorio consolekit cracklib crypt css cxx cycles dbus dds djvu dri dri3 eet egl elbeem examples fbcondecor ffmpeg fftw fontconfig fortran gallium game-engine gbm gdbm glamor gles glib gpl grub gtk gtk3 gui handbook hardcoded-tables hardened ico iconv icu imx introspection ipv6 jack jit jpeg kde latex ldap legacy-systray libkms llvm lock mmap modules multilib ncurses ndof network networkmanager nls npm nptl nss openal openimageio openmp orc pam pcre pdf pie plasma plymouth png policykit polkit postproc postscript ppm psd pulseaudio qtmedia readline recursion-limit sctp seccomp session snapshot sndfile sound ssl startup-notification suid symlink tcpd test threads thunar tiff truetype udev udisks unicode upower vanilla wayland webrtc-aec xattr xcb xv zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 3dnow 3dnowext aes avx avx2 fma3 fma4 mmx mmxext sse3 sse4_1 sse4_2 ssse3 xop" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-office/libreoffice-bin-5.4.2.2::gentoo was built with the following:
USE="kde -gnome -java" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 (-python3_6)" PYTHON_TARGETS="python2_7 python3_5 -python3_4 (-python3_6)"

djt /home/mikef # 




Regds

MF
Comment 7 Andreas Sturmlechner gentoo-dev 2017-12-05 20:56:59 UTC
libreoffice-bin is built without poppler support. This means lack of pdfimport support, but it also means that libreoffice-bin does not break with every update of poppler (of which there were/are many). To properly support this you would have to freeze multiple reverse-dependencies of poppler, something that does not go well with constant updates as we get them.

libreoffice-bin is already difficult to keep up with all the dependency updates that break ABI and so poppler was dropped to remove one frequent source of dependency issues for users.

Solution: Build your own app-office/libreoffice.
Comment 8 Michael Fothergill 2017-12-05 21:00:28 UTC
Please let me know if more output is required etc.

MF
Comment 9 Michael Fothergill 2017-12-05 21:05:50 UTC
Dear Mr Sturmlecher

Many thanks for your help here.


I will compile and install libreoffice from scratch instead.

Regards

MF
Comment 10 Michael Fothergill 2017-12-05 22:32:17 UTC
PS

Does either using distcc plus some extra cores from e.g. amazon cloud or alternatively ccache actually speed up compilations?

Regds

MF