Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479604 - app-office/libreoffice-4.1.0.4 fails to build with net-libs/neon-0.30.0
Summary: app-office/libreoffice-4.1.0.4 fails to build with net-libs/neon-0.30.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 480462 480690 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-03 07:37 UTC by Patrick Lauer
Modified: 2013-09-07 03:32 UTC (History)
33 users (show)

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


Attachments
Workaround (libreoffice-4.1.0.4-neon_remove_SSPI_support.patch,1017 bytes, patch)
2013-08-03 09:09 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2013-08-03 07:37:46 UTC
S=/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4 && O=$S/solver/unxlngx6.pro && W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CxxObject/ucb/source/ucp/webdav-neon/ $W/Dep/CxxObject/ucb/source/ucp/webdav-neon/ && cd /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4 &&  x86_64-pc-linux-gnu-g++ -DCPPU_ENV=gcc3 -DLIBO_INTERNAL_ONLY -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DSUPD=410 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT  -DRTL_USING   -DSYSTEM_LIBXML  -DNEON_VERSION=0x0300   -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden   -Wall -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe  -fvisibility-inlines-hidden -DLIBO_MERGELIBS -fPIC -Wshadow -Woverloaded-virtual  -Wnon-virtual-dtor -std=gnu++0x  -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -O2 -pipe -march=native  -c $S/ucb/source/ucp/webdav-neon/webdavservices.cxx -o $W/CxxObject/ucb/source/ucp/webdav-neon/webdavservices.o  -I$S/ucb/source/ucp/webdav-neon/  -I$S/include -I$O/inc/external -I$O/inc   -I$S/config_host  -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal -I/usr/include   -I/usr/include/libxml2    -I/usr/include/neon        
/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/ucb/source/ucp/webdav-neon/NeonSession.cxx: In member function ‘void webdav_ucp::NeonSession::Init()’:
/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/ucb/source/ucp/webdav-neon/NeonSession.cxx:793:85: error: invalid conversion from ‘int (*)(void*, const char*, const char*, int, char*, char*)’ to ‘ne_auth_creds {aka int (*)(void*, const char*, int, char*, char*)}’ [-fpermissive]
         ne_add_server_auth( m_pHttpSession, NE_AUTH_ALL, NeonSession_NeonAuth, this );
                                                                                     ^
In file included from /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/ucb/source/ucp/webdav-neon/NeonSession.cxx:37:0:
/usr/include/neon/ne_auth.h:132:6: error:   initializing argument 3 of ‘void ne_add_server_auth(ne_session*, unsigned int, ne_auth_creds, void*)’ [-fpermissive]
 void ne_add_server_auth(ne_session *sess, unsigned protocol, 
      ^
/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/ucb/source/ucp/webdav-neon/NeonSession.cxx:794:85: error: invalid conversion from ‘int (*)(void*, const char*, const char*, int, char*, char*)’ to ‘ne_auth_creds {aka int (*)(void*, const char*, int, char*, char*)}’ [-fpermissive]
         ne_add_proxy_auth ( m_pHttpSession, NE_AUTH_ALL, NeonSession_NeonAuth, this );
                                                                                     ^
In file included from /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/ucb/source/ucp/webdav-neon/NeonSession.cxx:37:0:
/usr/include/neon/ne_auth.h:134:6: error:   initializing argument 3 of ‘void ne_add_proxy_auth(ne_session*, unsigned int, ne_auth_creds, void*)’ [-fpermissive]
 void ne_add_proxy_auth(ne_session *sess, unsigned protocol, 
      ^
S=/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4 && O=$S/solver/unxlngx6.pro && W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/ExternalHeaders/Library/ && touch $W/ExternalHeaders/Library/libstringresourcelo.so && mkdir -p $W/LinkTarget/pdb/Library/
S=/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4 && O=$S/solver/unxlngx6.pro && W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/ExternalHeaders/Library/ && touch $W/ExternalHeaders/Library/libscriptframe.so && mkdir -p $W/LinkTarget/pdb/Library/
S=/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4 && O=$S/solver/unxlngx6.pro && W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/ExternalHeaders/Executable/ && touch $W/ExternalHeaders/Executable/lngconvex && mkdir -p $W/LinkTarget/pdb/Executable/
S=/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4 && O=$S/solver/unxlngx6.pro && W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/ExternalHeaders/Library/ && touch $W/ExternalHeaders/Library/libsmoketest.so && mkdir -p $W/LinkTarget/pdb/Library/
[build CXX] unotest/source/cpp/bootstrapfixturebase.cxx
S=/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4 && O=$S/solver/unxlngx6.pro && W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CxxObject/unotest/source/cpp/ $W/Dep/CxxObject/unotest/source/cpp/ && cd /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4 &&  x86_64-pc-linux-gnu-g++ -DCPPU_ENV=gcc3 -DLIBO_INTERNAL_ONLY -DLINUX -DNDEBUG -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DSUPD=410 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT  -DRTL_USING   -DOOO_DLLIMPLEMENTATION_UNOTEST   -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden   -Wall -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe  -fvisibility-inlines-hidden -DLIBO_MERGELIBS -fPIC -Wshadow -Woverloaded-virtual  -Wnon-virtual-dtor -std=gnu++0x  -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -O2 -pipe -march=native  -c $S/unotest/source/cpp/bootstrapfixturebase.cxx -o $W/CxxObject/unotest/source/cpp/bootstrapfixturebase.o  -I$S/unotest/source/cpp/  -I$S/include -I$O/inc/external -I$O/inc   -I$S/config_host  -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal -I/usr/include       
[build CXX] unotest/source/cpp/filters-test.cxx
make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CxxObject/ucb/source/ucp/webdav-neon/NeonSession.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word_he.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word_hu.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/count_word_fi.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/ExternalHeaders/StaticLibrary/libxmlsec1-nss.a /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/ExternalHeaders/StaticLibrary/libxmlsec1.a /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/char_in.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/line.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/count_word.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/char_in.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word_he.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/char.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/char.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_fi.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_fi.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/sent.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_hu.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/line.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/sent.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/edit_word_hu.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/count_word_fi.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/count_word.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_he.brk /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_he.txt /var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4/workdir/unxlngx6.pro/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-4.1.0.4/work/libreoffice-4.1.0.4'
make: *** [build] Error 2
 * ERROR: app-office/libreoffice-4.1.0.4::gentoo failed (compile phase):
 *   (no error message)

Portage 2.2.0_alpha191 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.1, glibc-2.17, 3.10.3-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.10.3-gentoo-r1-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    32922288 total,  11719728 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Unknown
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3, 4.8.1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo kde
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x PUEL skype-eula ut2003 skype-4.0.0.7-copyright Intel-SDP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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 -march=native"
DISTDIR="/chroot/distfiles"
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"
INSTALL_MASK="/usr/lib/systemd"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/pal/code/gentoo-x86"
PORTDIR_OVERLAY="/home/pal/code/kde"
USE="X a52 aac accessibility acl acpi alsa amd64 apng berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cpudetection cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm iconv icu ipv6 jabber jpeg kde kipi kmod lcms ldap lto mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds python qemu qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl svg tcpd threads tiff tk truetype udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" 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-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga vesa 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Juergen Rose 2013-08-03 08:02:33 UTC
I have the same issue.
Comment 2 Arfrever Frehtes Taifersar Arahesis 2013-08-03 09:09:08 UTC
Created attachment 355004 [details, diff]
Workaround

The errors are caused by a Windows-specific code. A workaround is to remove this code. Please test this patch.
Comment 3 Juergen Rose 2013-08-04 08:56:47 UTC
The patch worked for me.
Comment 4 Cyril 2013-08-04 09:13:31 UTC
Me too, works fine with the patch, thanks.
Comment 5 Dominique Michel 2013-08-09 02:02:15 UTC
Thamks. it did it also for me on ~amd64
Comment 6 Sander Sweers 2013-08-09 11:33:42 UTC
I can confirm the workaround solves the issue.
Comment 7 Tolga Dalman 2013-08-10 08:26:29 UTC
So, what are the next actions ? Will there be a -r1 ? Is this libreoffice version going to be masked until the issue is solved ? Has the problem been reported to upstream ?
Comment 8 Andrea Arteaga (RETIRED) gentoo-dev 2013-08-10 15:08:53 UTC
*** Bug 480462 has been marked as a duplicate of this bug. ***
Comment 9 Andrea Arteaga (RETIRED) gentoo-dev 2013-08-10 23:39:05 UTC
The patch worked for me too.
Comment 10 Tolga Dalman 2013-08-11 00:20:12 UTC
Downgrading to neon-0.29 works perfectly. neon-0.30 could be masked for libreoffice until the issue is resolved by upstream (reported, anyone ?).
Comment 11 Arfrever Frehtes Taifersar Arahesis 2013-08-11 00:58:04 UTC
Masking of Neon does not make sense. The patch can be safely applied in Gentoo and we can wait for LibreOffice Windows developers finding proper solution.

(NE_FEATURE_SSPI is not defined in vanilla Neon <0.30. LibreOffice source code for Windows is written for a fork of older version of Neon, with added SSPI support. SSPI support has been accepted by Neon upstream for Neon 0.30, but in a different form than it was in a fork.)
Comment 12 merwan kashouty 2013-08-11 12:44:17 UTC
same here and i think what tolga was getting at is it was easier to downgrade, which i did before looking into this, then it is to create and overlay and edit an ebuild etc. nice catch though arfrever
Comment 13 PaX Team 2013-08-11 16:12:52 UTC
(In reply to merwan kashouty from comment #12)
> same here and i think what tolga was getting at is it was easier to
> downgrade, which i did before looking into this, then it is to create and
> overlay and edit an ebuild etc.

there's no need for an overlay and all that stuff, just save the patch into /etc/portage/patches/app-office/libreoffice/libreoffice-4.1.0.4.patch .

> nice catch though arfrever

exactly, and IMHO there's zero reason to force a systemwide downgrade of the library just because one app's windows specific code doesn't compile with it.
Comment 14 Tolga Dalman 2013-08-11 16:32:18 UTC
(In reply to PaX Team from comment #13)
> there's no need for an overlay and all that stuff, just save the patch into
> /etc/portage/patches/app-office/libreoffice/libreoffice-4.1.0.4.patch .

Neither is, in my eyes, a proper solution.
 
> > nice catch though arfrever
> 
> exactly, and IMHO there's zero reason to force a systemwide downgrade of the
> library just because one app's windows specific code doesn't compile with it.

I disagree. Only if all users of that library (i.e., neon) are compatible with the new version, the upgrade should be performed. The other way round breaks software for people like me.

There are two correct approaches:
1. make an -r1 of libreoffice, thus, fixing it until upstream catches up
2. mask neon 0.30.

I prefer 1.
Comment 15 Arfrever Frehtes Taifersar Arahesis 2013-08-11 16:34:31 UTC
(In reply to Tolga Dalman from comment #14)

Build fixes do not need revision bump.
Comment 16 Tomáš Chvátal (RETIRED) gentoo-dev 2013-08-11 16:38:02 UTC
Nice bug guys.
Nobody reported this upstream yet so it seems we are first one updating to neon-0.30.

Never the less the patch is technically correct the policy for patches is that they should be at minimum submitted to gerrit.libreoffice.org in order to commit them to cvs. (we had few patches in cvs for ages otherwise)

I could look to it in ~10 days but if you want it sooner feel free to create the submit (it is pretty trivial).
Comment 17 PaX Team 2013-08-11 19:07:26 UTC
(In reply to Tolga Dalman from comment #14)
> (In reply to PaX Team from comment #13)
> > there's no need for an overlay and all that stuff, just save the patch into
> > /etc/portage/patches/app-office/libreoffice/libreoffice-4.1.0.4.patch .
> 
> Neither is, in my eyes, a proper solution.

obviously. but it's also not true that downgrading is easier than applying this patch in the interim which is what #12 was saying.

> I disagree. Only if all users of that library (i.e., neon) are compatible
> with the new version, the upgrade should be performed. The other way around
> breaks software for people like me.

you should realize that we're talking about ~arch packages here (both neon and openoffice), so breakage like this is expected. if you want that kind of stability go with the arch versions (0.29.6-r2 and 4.0.4.2, respectively, at the moment).
Comment 18 Ben Kohler gentoo-dev 2013-08-12 21:54:33 UTC
*** Bug 480690 has been marked as a duplicate of this bug. ***
Comment 19 Patrick Lauer gentoo-dev 2013-08-13 05:26:33 UTC
+  13 Aug 2013; Patrick Lauer <patrick@gentoo.org>
+  +files/libreoffice-4.1.0.4-neon-build.patch, libreoffice-4.1.0.4.ebuild:
+  Build fix for neon-0.30 #479604

I have no idea how this gerrit thing is supposed to be operated (and it lacks documentation), so I'll just leave this bug open instead.
Comment 20 Bernard Tremblay 2013-08-13 13:41:00 UTC
Since this bug, I can't emerge libreoffice and I can't emerge libreoffice-bin because of conflict between version of boost and 3 or 4 other libraries.

I find libreoffice and libreoffice are becoming a pain to compile and install...

But I have successfully unmerge libreoffice and installed openoffice-bin ...

Waiting for this @#! to resolve.


Regards,
            BT
Comment 21 Tomáš Chvátal (RETIRED) gentoo-dev 2013-08-13 13:51:11 UTC
(In reply to Bernard Tremblay from comment #20)
> Since this bug, I can't emerge libreoffice and I can't emerge
> libreoffice-bin because of conflict between version of boost and 3 or 4
> other libraries.
> 
> I find libreoffice and libreoffice are becoming a pain to compile and
> install...
> 

libreoffice-bin is exclusively for stable arch unless you volunteer to rebuild it for testing all the time, nobody was willing to do that last time I checked.
Comment 22 Lev Krainov 2013-08-25 14:48:59 UTC
Not sure if this is relevant because of branches mixing, but libreoffice-4.0.4.2 is also affected by this. Downgrading to neon-0.29 solved the problem for me.
Comment 23 Tomáš Chvátal (RETIRED) gentoo-dev 2013-08-30 08:38:53 UTC
Fixed properly in 4.1.1.2 and 4.0.5.2.
Comment 24 Bernard Tremblay 2013-09-07 03:32:45 UTC
(In reply to Tomáš Chvátal from comment #23)
> Fixed properly in 4.1.1.2 and 4.0.5.2.

Thanks a lot! I confirm I have compiled openoffice 4.1.1.2 and confirm that it did compiled  successfully without any trouble.

Keep on the good work and thanks again!

Regards,

          BT