Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575108 - app-office/libreoffice-5.1.9999 and libreoffice-5.1.x version bump
Summary: app-office/libreoffice-5.1.9999 and libreoffice-5.1.x version bump
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:
Depends on:
Blocks:
 
Reported: 2016-02-18 22:25 UTC by jospezial
Modified: 2016-02-25 16:51 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,31.80 KB, text/x-log)
2016-02-23 17:49 UTC, Derk W te Bokkel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2016-02-18 22:25:01 UTC
I copied libreoffice-5.0.9999.ebuild to libreoffice-5.1.9999.ebuild.

libreoffice-5.1.9999 now depends on >=liborcus-0.9.2

Compiling now ...
Comment 1 Andreas Sturmlechner gentoo-dev 2016-02-19 00:00:47 UTC
See also: https://github.com/gentoo/gentoo/pull/807
Comment 2 jospezial 2016-02-19 01:07:35 UTC
This warning I had with my ebuild:

config.status: creating config_host/config_python.h
config.status: creating config_host/config_writerperfect.h
configure: WARNING: unrecognized options: --disable-gnome-vfs, --disable-kdeab, --disable-kde, --disable-gconf, --disable-lockdown
****************************************************************************

Btw, it compiled without problem. Version: 5.1.2.0.0+

Lets see what happens when the patches in the pull get merged in the Gentoo tree.
Comment 3 Derk W te Bokkel 2016-02-23 16:18:32 UTC
be aware that an error in the make files is triggered when  gtk3 flag is used without gtk flag  .. make fails to find rule for gtktiledviewer ..

the necessary make rule is active when gtk flag is used with gtk3 flag an build proceeds .. I'm in the middle of this build at the moment for libreoffice-5.1.0.3

will submit failure logs later
Comment 4 jospezial 2016-02-23 17:02:43 UTC
I had problem with https://bugs.gentoo.org/show_bug.cgi?id=575476 .

But I emerged dev-libs/libixion-0.9.0 and with that
libreoffice-5.1.9999 and liborcus-0.9.2-r1 deps were happy.
Comment 5 jospezial 2016-02-23 17:05:10 UTC
no unrecognized options now in libreoffice-5.1.9999
Comment 6 jospezial 2016-02-23 17:32:49 UTC
[CXX] xmloff/source/draw/ximpgrp.cxx
/var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/xmloff/source/draw/ximp3dscene.cxx: In constructor ‘SdXML3DLightContext::SdXML3DLightContext(SvXMLImport&, sal_uInt16, const rtl::OUString&, const com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList>&)’:
/var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/xmloff/source/draw/ximp3dscene.cxx:69:39: error: ‘isnan’ was not declared in this scope
                 if (!isnan(aVal.getX()) && !isnan(aVal.getY()) && !isnan(aVal.getZ()))
                                       ^
/var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/xmloff/source/draw/ximp3dscene.cxx:69:39: note: suggested alternative:
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/random:38:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/bits/stl_algo.h:66,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/algorithm:62,
                 from /usr/include/boost/optional/optional.hpp:21,
                 from /var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/include/sax/tools/converter.hxx:25,
                 from /var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/xmloff/source/draw/ximp3dscene.cxx:20:
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/cmath:641:5: note:   ‘std::isnan’
     isnan(_Tp __x)
     ^
/var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/solenv/gbuild/LinkTarget.mk:189: recipe for target '/var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/workdir/CxxObject/xmloff/source/draw/ximp3dscene.o' failed
make[1]: *** [/var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/workdir/CxxObject/xmloff/source/draw/ximp3dscene.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Comment 7 Derk W te Bokkel 2016-02-23 17:49:14 UTC
Created attachment 426340 [details]
build.log

libreoffice-5.1.0.3 build with -gtk gtk3 flags set

build is successful with gtk gtk3 flags set
Comment 8 Derk W te Bokkel 2016-02-23 17:51:41 UTC
Build failure fragment for -gtk +gtk3:

>>> Compiling source in /var/tmp/portage/app-office/libreoffice-5.1.0.3/work/libreoffice-5.1.0.3 ...
perl "/var/tmp/portage/app-office/libreoffice-5.1.0.3/work/libreoffice-5.1.0.3/helpcontent2/helpers/create_ilst.pl" -dir=icon-themes/galaxy/res/helpimg > "/var/tmp/portage/app-office/libreoffice-5.1.0.3/work/helpcontent2/source/auxiliary//helpimg.ilst"
Automatic fetching of external tarballs is disabled.
mkdir -p /var/tmp/portage/app-office/libreoffice-5.1.0.3/work/libreoffice-5.1.0.3/instdir
/var/tmp/portage/app-office/libreoffice-5.1.0.3/work/libreoffice-5.1.0.3/solenv/bin/install-gdb-printers -a /var/tmp/portage/app-office/libreoffice-5.1.0.3/work/libreoffice-5.1.0.3/instdir -c
make -j 4  -j4 -f /var/tmp/portage/app-office/libreoffice-5.1.0.3/work/libreoffice-5.1.0.3/Makefile.gbuild  build  
make[1]: Entering directory '/var/tmp/portage/app-office/libreoffice-5.1.0.3/work/libreoffice-5.1.0.3'
[info  ALL] Currently known executables: HelpIndexer HelpLinker bestreversemap cfgex concat-deps cpp cppumaker cppunittester fftester gencoll_rule genconv_dict gendict gengal genindex_data helpex icontest idlc idxdict javaldx javamaker langsupport libtest lngconvex localize makedepend mork_helper mtfdemo oosplash osl_process_child outdevgrind pdf2xml pdfunzip pixelctl pluginapp.bin pocheck propex regcompare regmerge regsvrex regview rsc saxparser soffice_bin sp2bv svdemo svg2odf svidl svpclient svptest tiledrendering transex3 treex ui-previewer uiex ulfex uno unoidl-check unoidl-read unoidl-write unopkg_bin uri-encode vcldemo xpdfimport xrmex
/var/tmp/portage/app-office/libreoffice-5.1.0.3/work/libreoffice-5.1.0.3/libreofficekit/Executable_gtktiledviewer.mk:10: *** Executable gtktiledviewer must be registered in Repository.mk or RepositoryExternal.mk.  Stop.
make[1]: Leaving directory '/var/tmp/portage/app-office/libreoffice-5.1.0.3/work/libreoffice-5.1.0.3'
Makefile:244: recipe for target 'build' failed
make: *** [build] Error 2
 * ERROR: app-office/libreoffice-5.1.0.3::gentoo failed (compile phase):








 emerge --info libreoffice
Portage 2.2.27 (python 3.5.1-final-0, default/linux/amd64/13.0, gcc-5.3.0, glibc-2.22-r2, 4.4.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.2-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
KiB Mem:     4046880 total,   1260712 free
KiB Swap:   16383996 total,  16183528 free
Timestamp of repository gentoo: Tue, 23 Feb 2016 00:45:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.7.4::gentoo, 4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

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

brother-overlay
    location: /usr/local/overlay/brother-overlay
    sync-type: git
    sync-uri: git://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo

xfce-dev
    location: /var/lib/layman/xfce-dev
    masters: gentoo
    priority: 50

derk-personal-zwift0
    location: /home/derk/portage
    masters: gentoo
    priority: 80

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask --autounmask-write --quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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 alsa amd64 apng archive bzip2 cairo cdda cddb cli consolekit corefonts cracklib crypt cups cxx dbus dri egl encode ffmpeg flac fortran fuse gdbm gles1 gles2 gnutls gpm gstreamer gtk iconv id3tag introspection ipv6 java jpeg jpeg2k lame lcms libnotify live mad mmx mmxext modules mp3 mpeg multilib ncurses nfs nls nptl ntp ogg opengl openmp opus pam pcre pdf png policykit postproc ppds qt3support qt4 readline samba sdl seccomp session smbclient sqlite sse sse2 ssl startup-notification svg tcpd theora threads tiff truetype twolame udev udisks unicode upower vorbis wma wma-fixed xattr xinerama zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver" LINGUAS="en en_GB en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="ati 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"
USE_PYTHON="2.7 3.4 3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

app-office/libreoffice-5.1.0.3::gentoo was built with the following:
USE="branding cups dbus gstreamer gtk gtk3 java (-aqua) -bluetooth -coinmp -collada -debug -eds (-firebird) -gltf -gnome -jemalloc -kde -libressl -mysql -odk -postgres (-telepathy) -test -vlc" ABI_X86="64" LIBREOFFICE_EXTENSIONS="nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_5 -python3_4" PYTHON_TARGETS="python3_4 python3_5"
Comment 9 jospezial 2016-02-24 01:11:14 UTC
(In reply to jospezial from comment #6)
> [CXX] xmloff/source/draw/ximpgrp.cxx
> /var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/
> xmloff/source/draw/ximp3dscene.cxx: In constructor
> ‘SdXML3DLightContext::SdXML3DLightContext(SvXMLImport&, sal_uInt16, const
> rtl::OUString&, const
> com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList>&)’:
> /var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/
> xmloff/source/draw/ximp3dscene.cxx:69:39: error: ‘isnan’ was not declared in
> this scope
>                  if (!isnan(aVal.getX()) && !isnan(aVal.getY()) &&
> !isnan(aVal.getZ()))
>                                        ^
> /var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/
> xmloff/source/draw/ximp3dscene.cxx:69:39: note: suggested alternative:
> In file included from
> /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/random:38:0,
>                  from
> /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/bits/stl_algo.h:66,
>                  from
> /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/algorithm:62,
>                  from /usr/include/boost/optional/optional.hpp:21,
>                  from
> /var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/
> include/sax/tools/converter.hxx:25,
>                  from
> /var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/
> xmloff/source/draw/ximp3dscene.cxx:20:
> /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/cmath:641:5: note:  
> ‘std::isnan’
>      isnan(_Tp __x)
>      ^
> /var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/
> solenv/gbuild/LinkTarget.mk:189: recipe for target
> '/var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/
> workdir/CxxObject/xmloff/source/draw/ximp3dscene.o' failed
> make[1]: ***
> [/var/tmp/portage/app-office/libreoffice-5.1.9999/work/libreoffice-5.1.9999/
> workdir/CxxObject/xmloff/source/draw/ximp3dscene.o] Error 1
> make[1]: *** Waiting for unfinished jobs....


The same with app-office/libreoffice-9999
Comment 10 jospezial 2016-02-24 03:42:18 UTC
app-office/libreoffice-5.1.0.3 has the same bug
Comment 11 Andreas Sturmlechner gentoo-dev 2016-02-24 21:31:55 UTC
What version of glibc do you have installed?
Comment 12 jospezial 2016-02-24 23:15:57 UTC
(In reply to Andreas Sturmlechner from comment #11)
> What version of glibc do you have installed?


This could be the cause.

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

sys-libs/glibc-2.23::gentoo was built with the following:
USE="gd (multilib) -debug (-hardened) -nscd -profile (-selinux) -suid -systemtap -vanilla" ABI_X86="64"
CFLAGS="-march=native -pipe -O2 -fno-strict-aliasing -fno-stack-protector"
CXXFLAGS="-march=native -pipe -O2 -fno-strict-aliasing -fno-stack-protector"

without 00_all_0009-sys-types.h-drop-sys-sysmacros.h-include.patch
https://bugs.gentoo.org/show_bug.cgi?id=575232
Comment 13 Andreas K. Hüttel archtester gentoo-dev 2016-02-25 04:32:21 UTC
(In reply to jospezial from comment #12)
> (In reply to Andreas Sturmlechner from comment #11)
> > What version of glibc do you have installed?
> 
> sys-libs/glibc-2.23::gentoo was built with the following:

OK that's not even keyworded, so I won't bother. Just Mike breaking things that others then have to fix.
Comment 14 Andreas K. Hüttel archtester gentoo-dev 2016-02-25 16:51:58 UTC
Bumped and fix applied