Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710852 - app-office/libreoffice-9999 needs skia and fails after adding skia
Summary: app-office/libreoffice-9999 needs skia and fails after adding skia
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-02-26 08:45 UTC by andy
Modified: 2020-03-19 20:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sepples-is-a-sin.patch (file_710852.txt,405 bytes, patch)
2020-02-26 22:21 UTC, andy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description andy 2020-02-26 08:45:59 UTC
hi 

I am trying to build app-office/libreoffice-9999.The ebuild need:
${ADDONS_URI}/skia-m81-3e98c0e1d11516347ecc594959af2c1da4d04fc9.tar.xz
to star compiling.after adding the addon it will fail

Reproducible: Always

Steps to Reproduce:
1.emerge =app-office/libreoffice-9999
2.
3.
Comment 1 andy 2020-02-26 22:19:08 UTC
i have manage to build it by making this :

1. adding ${ADDONS_URI}/skia-m81-3e98c0e1d11516347ecc594959af2c1da4d04fc9.tar.xz
to the ebuild
2.installed dev-util/mdds-1.5.0
3.installed dev-libs/libixion-0.15.0
4.installed dev-libs/liborcus-0.15.3
5.patched liborcus-0.15.3
Comment 2 andy 2020-02-26 22:21:59 UTC
Created attachment 616172 [details, diff]
sepples-is-a-sin.patch

patch for building app-office/libreoffice-9999
Comment 3 Andreas Sturmlechner gentoo-dev 2020-03-19 18:02:39 UTC
(In reply to andy from comment #2)
> Created attachment 616172 [details, diff] [details, diff]
> sepples-is-a-sin.patch
> 
> patch for building app-office/libreoffice-9999

Content doesn't make sense for libreoffice. Did you pick the wrong file?
Comment 4 andy 2020-03-19 19:31:27 UTC
I had/have to patch dev-libs/liborcus-0.15.3 to build app-office/libreoffice-9999. Dont ask me why. It was some time ago now. If you want to i can remove it and recompile?. app-office/libreoffice-9999 is now using skia-m82 and i have update my overlay and can confirm it compiles fine.there is some more fine tuning 
to do with the ebuild like fixing some useflags and local myeconfargs as i have seen but thats an other story.
Comment 5 andy 2020-03-19 19:32:55 UTC
mya51 / # emerge --info =app-office/libreoffice-9999 
Portage 2.3.94 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.0.1, glibc-2.30-r5, 5.5.10-xanmod2-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.5.10-xanmod2-x86_64-x86_64-Intel-R-_Core-TM-_i7-9700_CPU_@_3.00GHz-with-gentoo-2.7
KiB Mem:    32684964 total,  26557468 free
KiB Swap:    2047996 total,   2047996 free
Head commit of repository nvidia-vulkan: 0cfeddc0624573bf566dcbca2dc9462bf8e31109

Timestamp of repository poly-c: Thu, 19 Mar 2020 11:26:57 +0000
Timestamp of repository gentoo: Thu, 19 Mar 2020 14:38:32 +0000
Head commit of repository gentoo: 57102ef9d1cb627374af4c26d64866102b8df71e

sh bash 5.0_p16
ld GNU ld (Gentoo 2.34 p1) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [enabled]
ccache version 3.7.8 [enabled]
app-shells/bash:          5.0_p16::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10-r1::lto-overlay, 3.7.7::gentoo, 3.8.2::gentoo
dev-util/ccache:          3.7.8::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            10.0.1_pre9999::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r5::gentoo
Repositories:

nvidia-vulkan
    location: /var/db/repos/nvidia-vulkan
    sync-type: git
    sync-uri: https://github.com/kakra/nvidia-vulkan.git
    masters: gentoo

x-hedmo
    location: /var/lib/local/hedmo
    masters: gentoo
    priority: 0

hedmos-overlay
    location: /var/lib/layman/hedmos-overlay
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

lto-overlay
    location: /var/lib/layman/lto-overlay
    masters: gentoo mv
    priority: 50

mv
    location: /var/lib/layman/mv
    masters: gentoo
    priority: 50

poly-c
    location: /var/lib/layman/poly-c
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: 1000

Installed sets: @llvm, @steam, @telephony
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake  -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=9 -fuse-linker-plugin  -falign-functions=32 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/sddm/scripts/Xsetup"
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"
CXXFLAGS="-march=skylake  -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=9 -fuse-linker-plugin  -falign-functions=32 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 5 --load-average 8"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=skylake  -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=9 -fuse-linker-plugin  -falign-functions=32 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake  -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=9 -fuse-linker-plugin  -falign-functions=32 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j41 -l9"
PKGDIR="/var/cache/binpkgs"
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 a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups cxx dbus declarative dri dts dvd dvdr egl elogind emboss encode exif ffmpeg flac fortran gdbm gif glamor gles gpm gstreamer gtk iconv icu ipv6 joystick jpeg kde kipi kwallet lcms ldap libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ofono-headset ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt4 qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics joystick" 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="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="nvidia intel i965" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

app-office/libreoffice-9999::hedmos-overlay was built with the following:
USE="bluetooth branding cups dbus gstreamer gtk java kde ldap mariadb skia -accessibility -coinmp -debug -eds -firebird -googledrive -odk -pdfimport -postgres -test" ABI_X86="(64)" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8"
CFLAGS="-march=skylake -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fuse-linker-plugin -falign-functions=32 -pipe -Wl,-O1 -Wl,--as-needed"
CXXFLAGS="-march=skylake -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fuse-linker-plugin -falign-functions=32 -pipe -Wl,-O1 -Wl,--as-needed"
FEATURES="parallel-fetch assume-digests config-protect-if-modified multilib-strict unknown-features-warn unmerge-logs ebuild-locks fixlafiles userpriv xattr distlocks preserve-libs ccache strict usersandbox usersync qa-unresolved-soname-deps network-sandbox news ipc-sandbox sfperms unmerge-orphans pid-sandbox sandbox binpkg-dostrip binpkg-docompress protect-owned binpkg-logs userfetch merge-sync"

mya51 / #
Comment 6 Larry the Git Cow gentoo-dev 2020-03-19 20:53:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72457259528f27a9b2b05460f25eb17a5832c3b2

commit 72457259528f27a9b2b05460f25eb17a5832c3b2
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-03-19 18:21:33 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-03-19 20:52:52 +0000

    app-office/libreoffice: Add skia tarball
    
    Closes: https://bugs.gentoo.org/710852
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-office/libreoffice/Manifest                | 1 +
 app-office/libreoffice/libreoffice-9999.ebuild | 2 ++
 2 files changed, 3 insertions(+)
Comment 7 Andreas Sturmlechner gentoo-dev 2020-03-19 20:56:30 UTC
(In reply to andy from comment #4)
> there is some more fine tuning to do with the ebuild like fixing some
> useflags and local myeconfargs as i have seen but thats an other story.

Always good to know if there are any fixes to do, for now this bug is resolved.