Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715154 - dev-libs/liborcus-0.15.3 need a patch to build app-office/libreoffice-9999
Summary: dev-libs/liborcus-0.15.3 need a patch to build app-office/libreoffice-9999
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-28 12:09 UTC by andy
Modified: 2020-03-30 19:13 UTC (History)
0 users

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


Attachments
patch to build app-office/libreoffice-9999 (libreoffice.patch,394 bytes, patch)
2020-03-28 12:09 UTC, andy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description andy 2020-03-28 12:09:44 UTC
Created attachment 626556 [details, diff]
patch to build app-office/libreoffice-9999

dev-libs/liborcus-0.15.3 need this patch to build  app-office/libreoffice-9999
Comment 1 andy 2020-03-28 12:10:18 UTC
mya51 /home/hedmo #  emerge --info
Portage 2.3.96 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.0.1, glibc-2.30-r6, 5.5.10-xanmod2-x86_64 x86_64)
=================================================================
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,  16937980 free
KiB Swap:    2047996 total,   2047996 free
Head commit of repository nvidia-vulkan: 37106b824845209a56221e44c5df1d94ca92ab0c

Timestamp of repository poly-c: Thu, 26 Mar 2020 07:59:16 +0000
Timestamp of repository gentoo: Sat, 28 Mar 2020 03:38:47 +0000
Head commit of repository gentoo: 5ce387e3058f4934da554418e658b83ee6af163f

sh bash 5.0_p16
ld GNU ld (Gentoo 2.34 p1) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
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-r1::gentoo
dev-util/cmake:           3.17.0::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.2::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-r6::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

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

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

waebbl
    location: /var/lib/layman/waebbl
    masters: gentoo raiagent
    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 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 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

mya51 /home/hedmo #
Comment 2 Andreas Sturmlechner gentoo-dev 2020-03-28 12:15:39 UTC
We don't accept random patches to fix 9999 versions. Does it build with liborcus-9999?
Comment 3 Andreas Sturmlechner gentoo-dev 2020-03-28 12:22:54 UTC
For the record, I built libreoffice-9999 without such a patch to liborcus.
Comment 4 andy 2020-03-28 12:48:15 UTC
no..it does not build with liborcus-9999:

configure: error: Package requirements (liborcus-0.15 >= 0.15.0) were not met:

No package 'liborcus-0.15' found

mya51 /usr/src/linux # emerge -av liborcus

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   *] dev-libs/liborcus-9999:0/0.15::gentoo  USE="spreadsheet-model -python -static-libs -tools" PYTHON_SINGLE_TARGET="python3_6 -python3_7 -python3_8" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] n

Quitting.

mya51 /usr/src/linux # 

I understand that you dont accept random patches but i cannot build  app-office/libreoffice-9999 without it. If you want.I can provide you with build logs with and without the patch.
Comment 5 Andreas Sturmlechner gentoo-dev 2020-03-28 13:41:11 UTC
(In reply to andy from comment #4)
> I understand that you dont accept random patches but i cannot build 
> app-office/libreoffice-9999 without it. If you want.I can provide you with
> build logs with and without the patch.

If this patch is not from upstream, but in fact your doing, you should rather take it upstream and try to get it accepted. I suspect your issue is -flto related.
Comment 6 andy 2020-03-28 14:08:32 UTC
this patch is not my doing nor upstream.it is from  Adélie Linux.the patch is named "sepples-is-a-sin.patch".i have disabled LTO. i think it is more of a gcc-10 issue then LTO issue.that is why i am informing you about the problem because of :

#For Gcc Live
I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1

app-office/libreoffice-9999 builds fine with gcc-9 and LTO but not with gcc-10
and absolutely not with gcc-10+LTO

i dont know if :

I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1

is just for gcc-10 or any package that is failing but i cannot think this message
is only for gcc-10...
Comment 7 Andreas Sturmlechner gentoo-dev 2020-03-28 14:43:45 UTC
(In reply to andy from comment #6)
> this patch is not my doing nor upstream.it is from  Adélie Linux.
Then Adélie Linux should be compelled to do so, or at least upstream be informed of the fact and pointed at Adélie's fix.
Comment 8 andy 2020-03-28 15:12:56 UTC
(In reply to Andreas Sturmlechner from comment #7)
 
> at least upstream be informed of the fact and pointed at Adélie's fix.

done

https://gitlab.com/orcus/orcus/-/issues/114
Comment 9 andy 2020-03-29 18:23:04 UTC
it has been fixed upstream now if you like to update the ebuild

regards
Comment 10 Andreas Sturmlechner gentoo-dev 2020-03-30 19:13:38 UTC
commit 96b378c5bacc2fb61b647a18f65b73bd3d313d2d
Author: Andreas Sturmlechner <asturm@gentoo.org>
Date:   Mon Mar 30 21:09:50 2020 +0200

    dev-libs/liborcus: 0.15.4 version bump
    
    Thanks-to: andy <hedmoo@yahoo.com>
    Package-Manager: Portage-2.3.96, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>