Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401507 - app-office/libreoffice-3.5.0.3 - ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.5.0.1/work/libreoffice-core-3.5.0.1/icc
Summary: app-office/libreoffice-3.5.0.3 - ERROR: error 65280 occurred while making /va...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 407649
  Show dependency tree
 
Reported: 2012-01-30 13:30 UTC by Michele Ciacci
Modified: 2013-04-26 18:34 UTC (History)
0 users

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


Attachments
emerge --info =app-office/libreoffice-3.5.0.1 (libreoffice-3.5.0.1,17.41 KB, text/plain)
2012-01-30 13:32 UTC, Michele Ciacci
Details
build-log.tar.bz2 (build-log.tar.bz2,55.46 KB, application/x-bzip)
2012-01-31 11:49 UTC, Michele Ciacci
Details
emerge log (libreoffice-3.5.0.1:20120131-104705.log,545.88 KB, text/plain)
2012-02-01 11:46 UTC, Michele Ciacci
Details
emerge log (libreoffice-3.5.0.1:20120131-104705.log,545.88 KB, text/plain)
2012-02-01 11:47 UTC, Michele Ciacci
Details
requested tg_ext.mk file (tg_ext.mk,16.24 KB, text/plain)
2012-04-18 13:12 UTC, Michele Ciacci
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Ciacci 2012-01-30 13:30:35 UTC
emerge libreoffice-3.5.0.1 fail 

I have this issue since libreoffice-3.5.0 




Reproducible: Always

Steps to Reproduce:
1.emerge libreoffice
2.
3.
Actual Results:  
lingucomponent deliver
Module 'lingucomponent' delivered successfully. 12 files copied, 2 files unchanged

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.5.0.1/work/libreoffice-core-3.5.0.1/icc

 it seems that the error is inside 'icc', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.5.0.1/work/libreoffice-core-3.5.0.1
source ./Env.Host.sh
cd icc
rm -Rf /var/tmp/portage/app-office/libreoffice-3.5.0.1/work/libreoffice-core-3.5.0.1/icc/unxlngx6.pro # optional module 'clean'
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
make[1]: *** [build] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.5.0.1/work/libreoffice-core-3.5.0.1'
make: *** [source-env-and-recurse] Error 2
 * ERROR: app-office/libreoffice-3.5.0.1 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 8816:  Called die
 * The specific snippet of code:
 *       make build || die
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.5.0.1',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.5.0.1'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-6  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-6.1.10.4"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/log/portage/app-office:libreoffice-3.5.0.1:20120130-125805.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.5.0.1/temp/environment'.
 * S: '/var/tmp/portage/app-office/libreoffice-3.5.0.1/work/libreoffice-core-3.5.0.1'
Comment 1 Michele Ciacci 2012-01-30 13:32:28 UTC
Created attachment 300385 [details]
emerge --info =app-office/libreoffice-3.5.0.1
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-30 20:26:43 UTC
Please attach the entire build log to this bug report (compress it if need be, but attach singular compressed files and do not put them in tar or other archives).
Comment 3 Michele Ciacci 2012-01-31 11:49:41 UTC
Created attachment 300527 [details]
build-log.tar.bz2
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-31 20:51:22 UTC
(In reply to comment #2)

> attach singular compressed files and do not put them in tar or other archives).

Thank you for reading the entire thing next time.
Comment 5 Michele Ciacci 2012-02-01 11:46:04 UTC
Created attachment 300615 [details]
emerge log
Comment 6 Michele Ciacci 2012-02-01 11:47:23 UTC
Created attachment 300617 [details]
emerge log
Comment 7 Michele Ciacci 2012-02-01 11:47:56 UTC
sorry I was in the rush 

fixed
Comment 8 Daniele 2012-02-06 11:54:21 UTC
Same issue here.
On AMD64 and GCC 4.5.3
Comment 9 Robert Cabrera 2012-02-09 05:39:48 UTC
I've had this exact same issue with all libreoffice builds in portage since 3.4.9999 on my ~amd64 laptop. All libreoffice-3.4.x versions have built without errors.

My emerge --info:
Portage 2.1.10.45 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.2, glibc-2.14.1-r2, 3.2.3-pf x86_64)
=================================================================
System uname: Linux-3.2.3-pf-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Thu, 09 Feb 2012 04:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo sunrise lcd-filtering my_local_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="!* /etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="!* /etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy collision-protect distlocks fail-clean fixlafiles multilib-strict news parallel-fetch parallel-install protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.wetzlmayr.com/ http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.hoobly.com/ ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/lcd-filtering /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 attica avahi berkdb bidi bittorrent bluetooth bluray branding bzip2 cairo cdda cddb cdr chm cli consolekit cracklib crypt cups curl cxx dbus declarative dell designer-plugin desktopglobe djvu dri dts dvd dvdr ebook emboss emovix encode exif fam fbcondecor fbsplash ffmpeg firefox fits flac fortran gdbm gdu gif glibc-omitfp gnutls gphoto2 groupwise httpd iconv ieee1394 imagemagick indi ipv6 java java6 javascript jce jpeg jpeg2k kde kipi lame laptop latex lcdfilter lcms ldap libnotify live lm_sensors lto lzma lzo mad matroska mdnsresponder-compat meanwhile mjpeg mms mmx mng modplug modules mp3 mp4 mpeg msn mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly nsplugin ntp nvidia ogg openexr opengl openmp oscar otr pam pango parse-clocks pcre pdf plasma png policykit postproc ppds pppd ps python3 qalculate qt3support qt4 quicktime qwt rdesktop readline samba scanner schroedinger scim sdl semantic-desktop session skype smp sms sndfile solver sox spell sqlite sse sse2 sse3 ssl ssse3 startup-notification stream svg symlink sysfs taglib tcpd templates theora thumbnail tidy tiff timidity truetype twolame udev unicode upnp usb v4l vcd vcdx video vlc vlm vnc vorbis wavpack webpresence wicd wifi winpopup x264 xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 stage tables krita karbon braindump" 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="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nv" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Robert Cabrera 2012-02-13 21:05:21 UTC
Is there anybody at all looking into this issue? It is still listed as "unconfirmed" despite at least 3 of us who have posted on this thread reporting the issue.

I completely recompiled my system this past weekend and tried again yesterday to install libreoffice-3.5.0.1 with the same result.

This is an important app I use all of the time, but the only one on my system I currently can't upgrade.

I've tried compiling with every conceivable combination of available "use" flags, but no matter what I select I end up with this error and the compilation fails.

As I said in my previous post, this has been an issue for me since the pre-release 3.5 betas crept into the tree.

Prior to this, I never had any issues compiling any version of either libreoffice or openoffice.

Any help resolving this would be greatly appreciated. TIA
Comment 11 Michele Ciacci 2012-02-14 13:11:45 UTC
Same here I did rebuild my system to but the issue still there 

and I'm stuck with libreoffice-bin-3.4.3.2-r1 ad this is not the best
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2012-02-14 19:25:28 UTC
Actual error message:


dmake:  /var/tmp/portage/app-office/libreoffice-3.5.0.1/work/libreoffice-core-3.5.0.1/solenv/inc/tg_ext.mk:  line 106:  Error: -- A %-target must not be mixed with non-%-targets, offending target [glibc-omitfp/%.unpack]
Comment 13 Robert Cabrera 2012-02-16 10:40:52 UTC
This is still an issue with libreoffice-3.5.0.3

I tried to upgrade today since this newer version was in the tree, hoping this issue had been resolved. Unfortunately, it still fails at the same point am I'm at my wits end at this point.

My build failed with the following:
Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/lingucomponent/source/thesaurus/libnth

Compiling: lingucomponent/unxlngx6.pro/misc/lnth_dflt_version.c
Compiling: lingucomponent/source/thesaurus/libnth/nthesdta.cxx
Compiling: lingucomponent/source/thesaurus/libnth/ntreg.cxx
Compiling: lingucomponent/source/thesaurus/libnth/nthesimp.cxx
Making:    spell.lib
Making:    libspelllo.so
Making:    hyphen_lib.lib
Making:    libhyphenlo.so
/usr/bin/xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$LO_LIB_DIR/liblnthlo.so' -o ../../../unxlngx6.pro/misc/lnth.component \
        /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/solenv/bin/createcomponent.xslt lnth.component
Making:    lnth.lib
Making:    liblnthlo.so
lingucomponent deliver
Module 'lingucomponent' delivered successfully. 12 files copied, 2 files unchanged

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc

 it seems that the error is inside 'icc', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3
source ./Env.Host.sh
cd icc
rm -Rf /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/unxlngx6.pro # optional module 'clean'
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
make[1]: *** [build] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3'
make: *** [source-env-and-recurse] Error 2
 * ERROR: app-office/libreoffice-3.5.0.3 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 8810:  Called die
 * The specific snippet of code:
 *       make build || die
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.5.0.3',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.5.0.3'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-6  CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea6"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""

I hope this helps
Comment 14 Pacho Ramos gentoo-dev 2012-02-16 10:56:15 UTC
  15 Feb 2012; Tomáš Chvátal <scarabeus@gentoo.org> metadata.xml:
  Not m-n package
Comment 15 Robert Cabrera 2012-03-06 21:01:32 UTC
Any word on progress for a fix or workaround for this issue? It was first reported here over 5 weeks ago, wasn't marked as a confirmed bug until 3 weeks ago, and there hasn't been any updates or comments by maintainers or Devs in over 2 weeks.

No one wants to be orphaned. It would be nice to at least get a status update.

Is there a fix in the works? Or those of us with this issue doomed to use version-3.4.x indefinitely?

Please post back with info. TIA

Ciao
Comment 16 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-06 21:22:09 UTC
I still have problem reproducing it thus finding the culprit.

As i posted previously the error mesage i still have no clue why it says that target/nontarget do not match.

I will try to rebuild the glib with the glibc-omitfp and see if it fails for me too.
Comment 17 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-06 21:37:22 UTC
Hm, looks like it passed for me.

Could you please run this on your failed isntall and see if the error is pesistent?

/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.5.0.1/work/libreoffice-core-3.5.0.1
source ./Env.Host.sh
cd icc
build
Comment 18 Robert Cabrera 2012-03-08 22:02:37 UTC
(In reply to comment #17)
> Hm, looks like it passed for me.
> 
> Could you please run this on your failed isntall and see if the error is
> pesistent?
> 
> /bin/sh
> cd
> /var/tmp/portage/app-office/libreoffice-3.5.0.1/work/libreoffice-core-3.5.0.1
> source ./Env.Host.sh
> cd icc
> build

OK I did as instructed except I substituted 3.5.0.3 instead of 3.5.0.1.

This is the output from konsole:
=============
(1/1) Building module icc
=============
Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc

Using system SampleICC, nothing to do here.
Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile

Compiling: icc/source/create_sRGB_profile/create_sRGB_profile.cpp
In file included from /usr/include/SampleICC/IccTag.h:84:0,
                 from /usr/include/SampleICC/CAT.h:75,
                 from /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp:83:
/usr/include/SampleICC/IccIO.h:104:25: warning: unused parameter 'pBuf8' [-Wunused-parameter]
/usr/include/SampleICC/IccIO.h:104:25: warning: unused parameter 'nNum' [-Wunused-parameter]
/usr/include/SampleICC/IccIO.h:105:25: warning: unused parameter 'pBuf8' [-Wunused-parameter]
/usr/include/SampleICC/IccIO.h:105:25: warning: unused parameter 'nNum' [-Wunused-parameter]
/usr/include/SampleICC/IccIO.h:129:25: warning: unused parameter 'nOffset' [-Wunused-parameter]
/usr/include/SampleICC/IccIO.h:129:25: warning: unused parameter 'pos' [-Wunused-parameter]
In file included from /usr/include/SampleICC/IccTag.h:88:0,
                 from /usr/include/SampleICC/CAT.h:75,
                 from /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp:83:
/usr/include/SampleICC/IccTagBasic.h:160:16: warning: unused parameter 'size' [-Wunused-parameter]
/usr/include/SampleICC/IccTagBasic.h:160:16: warning: unused parameter 'pIO' [-Wunused-parameter]
/usr/include/SampleICC/IccTagBasic.h:173:16: warning: unused parameter 'pIO' [-Wunused-parameter]
In file included from /usr/include/SampleICC/IccTag.h:89:0,
                 from /usr/include/SampleICC/CAT.h:75,
                 from /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp:83:
/usr/include/SampleICC/IccTagLut.h:97:16: warning: unused parameter 'sDescription' [-Wunused-parameter]
/usr/include/SampleICC/IccTagLut.h:97:16: warning: unused parameter 'szName' [-Wunused-parameter]
/usr/include/SampleICC/IccTagLut.h:97:16: warning: unused parameter 'csSig' [-Wunused-parameter]
/usr/include/SampleICC/IccTagLut.h:97:16: warning: unused parameter 'nIndex' [-Wunused-parameter]
In file included from /usr/include/SampleICC/IccTag.h:90:0,
                 from /usr/include/SampleICC/CAT.h:75,
                 from /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp:83:
/usr/include/SampleICC/IccTagMPE.h:249:16: warning: unused parameter 'nIterp' [-Wunused-parameter]
/usr/include/SampleICC/IccTagMPE.h:249:16: warning: unused parameter 'pMPE' [-Wunused-parameter]
/usr/include/SampleICC/IccTagMPE.h:251:16: warning: unused parameter 'pApply' [-Wunused-parameter]
/usr/include/SampleICC/IccTagMPE.h:251:16: warning: unused parameter 'pDestPixel' [-Wunused-parameter]
/usr/include/SampleICC/IccTagMPE.h:251:16: warning: unused parameter 'pSrcPixel' [-Wunused-parameter]
/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp: In function 'void dumpProfile(FILE*, const char*)':
/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp:224:87: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'icUInt32Number {aka unsigned int}' [-Wformat]
/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp:224:87: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'icUInt32Number {aka unsigned int}' [-Wformat]
/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp:259:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'icUInt32Number {aka unsigned int}' [-Wformat]
/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp:259:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'icUInt32Number {aka unsigned int}' [-Wformat]
/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp:207:22: warning: unused variable 'nStatus' [-Wunused-variable]
/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp: In function 'int main(int, char**)':
/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp:514:85: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat]
/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp: At global scope:
/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp:268:5: warning: unused parameter 'argc' [-Wunused-parameter]
/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp: In function 'void dumpTag(FILE*, CIccProfile*, icTagSignature)':
/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/icc/source/create_sRGB_profile/create_sRGB_profile.cpp:198:64: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
Making:    create_sRGB_profile
cd ../..//unxlngx6.pro/bin/ && : &&     LD_LIBRARY_PATH=/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/solver/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} ../..//unxlngx6.pro/bin/create_sRGB_profile
Profile validation warning
Warning! -  - Unknown 'none' = 6E6F6E65: Unregisterd CMM signature.

I hope this helps! TIA
Comment 19 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-09 10:51:09 UTC
Sadly it does not :( as the build actually passed for you, so no error this time.

Could you try to:

cd /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3
source ./Env.Host.sh
make

Lets see if it fails again. I really hope we will nail it and it aint just build system hickup :)
Comment 20 Robert Cabrera 2012-03-11 02:24:27 UTC
(In reply to comment #19)
> Sadly it does not :( as the build actually passed for you, so no error this
> time.
> 
> Could you try to:
> 
> cd
> /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3
> source ./Env.Host.sh
> make
> 
> Lets see if it fails again. I really hope we will nail it and it aint just
> build system hickup :)

I did as instructed and the build died again. However, this time it failed for the for the first in a different spot.

Output from konsole:

--- creating locale dependent entries
/usr/bin/xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$LO_LIB_DIR/updchk.uno.so' -o ../../../unxlngx6.pro/misc/updchk.uno.component \
        /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/solenv/bin/createcomponent.xslt updchk.uno.component
Compiling: extensions/source/propctrlr/newdatatype.cxx
Compiling: extensions/source/propctrlr/propeventtranslation.cxx
Compiling: extensions/source/propctrlr/objectinspectormodel.cxx
Compiling: extensions/source/propctrlr/inspectorhelpwindow.cxx
Compiling: extensions/source/propctrlr/defaulthelpprovider.cxx
Compiling: extensions/source/propctrlr/MasterDetailLinkDialog.cxx
Compiling: extensions/source/propctrlr/inspectormodelbase.cxx
Compiling: extensions/source/propctrlr/propertycontrolextender.cxx
Making:    upden-US.res
Compiling: rsc_upd
Making:    updchk.uno.so
Compiling: extensions/source/propctrlr/formgeometryhandler.cxx
Making:    pcr.srs
/usr/bin/xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$LO_LIB_DIR/libpcrlo.so' -o ../../unxlngx6.pro/misc/pcr.component \
        /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/solenv/bin/createcomponent.xslt pcr.component
Making:    pcren-US.res
Compiling: rsc_pcr
Making:    pcr.lib
Making:    libpcrlo.so
Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/extensions/util

extensions deliver
Module 'extensions' delivered successfully. 50 files copied, 10 files unchanged

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/fpicker/source/unx/kde4

 it seems that the error is inside 'fpicker', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3
source ./Env.Host.sh
cd fpicker
rm -Rf /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/fpicker/unxlngx6.pro # optional module 'clean'
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
make[1]: *** [build] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3'
make: *** [source-env-and-recurse] Error 2
sh-4.2#
Comment 21 Robert Cabrera 2012-03-11 03:29:43 UTC
Well after failing above earlier today I noticed an updated version-3.5.1.2 in the tree. This again fails to build with the "icc" error.

Entering /var/tmp/portage/app-office/libreoffice-3.5.1.2/work/libreoffice-core-3.5.1.2/lingucomponent/source/languageguessing

Compiling: lingucomponent/unxlngx6.pro/misc/guesslang_dflt_version.c
Compiling: lingucomponent/source/languageguessing/altstrfunc.cxx
Compiling: lingucomponent/source/languageguessing/guess.cxx
Compiling: lingucomponent/source/languageguessing/guesslang.cxx
Entering /var/tmp/portage/app-office/libreoffice-3.5.1.2/work/libreoffice-core-3.5.1.2/lingucomponent/source/spellcheck/spell

Compiling: lingucomponent/unxlngx6.pro/misc/spell_dflt_version.c
Compiling: lingucomponent/source/spellcheck/spell/sreg.cxx
Compiling: lingucomponent/source/spellcheck/spell/sspellimp.cxx
/usr/bin/xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$LO_LIB_DIR/libspelllo.so' -o ../../../unxlngx6.pro/misc/spell.component \
        /var/tmp/portage/app-office/libreoffice-3.5.1.2/work/libreoffice-core-3.5.1.2/solenv/bin/createcomponent.xslt spell.component
Compiling: lingucomponent/source/languageguessing/simpleguesser.cxx
/usr/bin/xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$LO_LIB_DIR/libguesslanglo.so' -o ../../unxlngx6.pro/misc/guesslang.component \
        /var/tmp/portage/app-office/libreoffice-3.5.1.2/work/libreoffice-core-3.5.1.2/solenv/bin/createcomponent.xslt guesslang.component
Making:    guesslang.lib
Making:    libguesslanglo.so
Entering /var/tmp/portage/app-office/libreoffice-3.5.1.2/work/libreoffice-core-3.5.1.2/lingucomponent/source/spellcheck/macosxspell

 Nothing to build for GUIBASE=unx
Making:    spell.lib
Making:    libspelllo.so
lingucomponent deliver
Module 'lingucomponent' delivered successfully. 12 files copied, 2 files unchanged

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.5.1.2/work/libreoffice-core-3.5.1.2/icc

 it seems that the error is inside 'icc', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.5.1.2/work/libreoffice-core-3.5.1.2
source ./Env.Host.sh
cd icc
rm -Rf /var/tmp/portage/app-office/libreoffice-3.5.1.2/work/libreoffice-core-3.5.1.2/icc/unxlngx6.pro # optional module 'clean'
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
make[1]: *** [build] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.5.1.2/work/libreoffice-core-3.5.1.2'
make: *** [source-env-and-recurse] Error 2
 * ERROR: app-office/libreoffice-3.5.1.2 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 8586:  Called die
 * The specific snippet of code:
 *       make build || die
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.5.1.2',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.5.1.2'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-6  CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea6"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
Comment 22 Robert Cabrera 2012-03-11 05:35:50 UTC
As an additional note. I just finished successfully recompiling libreoffice-3.4.5.2 without issues. I can't for the life of me figure out why all of the 3.5.x versions are failing for me , but 3.4.x emerge perfectly.

There has to be an answer to this.
Comment 23 Robert Cabrera 2012-03-29 11:33:53 UTC
Update:
(In reply to comment #17)
> Hm, looks like it passed for me.
> 
> Could you please run this on your failed isntall and see if the error is
> pesistent?
> 
> /bin/sh
> cd
> /var/tmp/portage/app-office/libreoffice-3.5.0.1/work/libreoffice-core-3.5.0.1
> source ./Env.Host.sh
> cd icc
> build

Update:
Tomáš, yesterday I tried again to update to 3.5.1.2 and again it failed at this spot. Then again I tried issuing the commands above to see if I could get it to build.

This time it got almost to the end where it once more failed. The build failed at something called "tail_build". However the output mentioned issuing 'export $(dbus-launch)' and building again from tail_build. I did this then attempted a top level make once more.

This time = success!!!!

So now I have the completed build of libreoffice-core-3.5.1.2 in /var. Now what do I do? Is there some way to have portage install it? Where do I go from here? TIA

Ciao
Comment 24 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-29 11:41:24 UTC
sure, just as root write

ebuild /blabla/libreoffice-3.5.1.2.ebuild qmerge

and then wipe the /var/tmp/blabla/

Hmm about that dbus it means that yet another fcking build test relies on running dbus on the system.
Comment 25 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-29 11:47:01 UTC
Also please POST here the error you had after the first manual try.

Oh and when thinking about what you have there,

try to run:
ebuild blabla/libreoffice.ebuild install before the qmerge one if it fails.
Comment 26 Michele Ciacci 2012-03-29 15:13:51 UTC
over here it keep failing even with the suggested actions 

will at least libreoffice-3.5.x 

get a binary version? 
since I can't compile it
Comment 27 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-29 15:57:44 UTC
(In reply to comment #26)
> over here it keep failing even with the suggested actions 
> 
> will at least libreoffice-3.5.x 
> 
> get a binary version? 
> since I can't compile it

There will be binary version when it goes stable, which I hope will be soon when I manage to wrangle all the issues around.
Comment 28 Michele Ciacci 2012-03-29 16:00:48 UTC
ok I'll wait 
I also hope to be able to compile it :D

how can I help you?
Comment 29 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-30 12:59:16 UTC
Hmm, only think that could cause this is failing test,

so maybe last attempt from lubos to make them headless could make this thing work.

Could you try this patch and let me know if it works?

http://cgit.freedesktop.org/libreoffice/core/patch/?id=61d6d08667e03271604007fe602063c08e0e8608
Comment 30 Michele Ciacci 2012-04-02 13:36:02 UTC
how should I apply that patch?
Comment 31 Robert Cabrera 2012-04-03 02:20:28 UTC
Tomáš,
I need you to clarify how I can install the compiled libreoffice-core from /var/tmp/portage/app-office/libreoffice-3.5.2.2 into my system.

When I try using 'qmerge' the way you instructed I get an error about it not being installed and when I use 'ebuild blabla/libreoffice.ebuild install' as instructed, everything already compiled is deleted/erased from /var/tmp/portage/ and it begins to compile fresh. So I must be doing something wrong.

BTW, Here is the output from when the compilation fails the after resolving the above mentioned error we are all dealing with in this report:

[ build MOD ] reportdesign
[ build MOD ] sc
[ build MOD ] chart2
[ build MOD ] sd
[ build MOD ] writerfilter
[ build CUT ] writerfilter_rtftok
/bin/sh: line 1: 20199 Aborted                 LD_LIBRARY_PATH="$O/lib":$O/lib/sqlite DBGSV_ERROR_OUT=shell STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_writerfilter_rtftok.so --protector unoexceptionprotector.so unoexceptionprotector "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry" "-env:UNO_TYPES= file://$O/bin/udkapi.rdb  file://$O/bin/types.rdb" "-env:UNO_SERVICES=file://$O/xml/ure/services.rdb  file://$O/xml/component/writerfilter/util/writerfilter.component  file://$O/xml/configmgr.component  file://$O/xml/ucb1.component  file://$O/xml/ucpfile1.component" -env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:LO_LIB_DIR=file://$O/lib > $W/CppunitTest/writerfilter_rtftok.test.log 2>&1
LibreOffice(20199)/kdeui (kdelibs): Session bus not found 
To circumvent this problem try the following command (with Linux and bash) 
export $(dbus-launch) 

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching
export GDBCPPUNITTRACE="gdb --args" # for interactive debugging
export VALGRIND=memcheck            # for memory checking
and retry.
make[2]: *** [/var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/workdir/unxlngx6.pro/CppunitTest/writerfilter_rtftok.test] Error 1
make[2]: *** Waiting for unfinished jobs....
dmake:  Error code 2, while making 'all'

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/tail_build/prj

 it seems that the error is inside 'tail_build', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2
source ./Env.Host.sh
cd tail_build
make clean # optional
make -r

when the problem is isolated and fixed exit and re-run 'make' from the top-level
make[1]: *** [build] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2'
make: *** [source-env-and-recurse] Error 2
sh-4.2#

I hope this helps
Comment 32 Robert Cabrera 2012-04-03 02:23:08 UTC
As I mentioned previously, I'm able to resolve this and finish compiling by issuing 'export $(dbus-launch)'

I hope this helps
Comment 33 Tomáš Chvátal (RETIRED) gentoo-dev 2012-04-03 12:35:07 UTC
(In reply to comment #32)
> As I mentioned previously, I'm able to resolve this and finish compiling by
> issuing 'export $(dbus-launch)'
> 
> I hope this helps

I commited one patch to 3.5.2.2 which could solve this issue by passing --headless to all testcalls, could you try again?

For your previous question in c#31:
ebuild /usr/portage/app-office/libreoffice-3.5.2.2.ebuild install && ebuild /usr/portage/app-office/libreoffice-3.5.2.2.ebuild qmerge
Comment 34 Michele Ciacci 2012-04-03 13:24:05 UTC
ebuild /usr/portage/app-office/libreoffice/libreoffice-3.5.2.2.ebuild install 
 * libreoffice-branding-gentoo-0.4.tar.xz RMD160 SHA1 SHA256 size ;-) ...                                                                                                             [ ok ]
 * libreoffice-core-3.5.2.2.tar.xz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                    [ ok ]
 * libreoffice-binfilter-3.5.2.2.tar.xz RMD160 SHA1 SHA256 size ;-) ...                                                                                                               [ ok ]
 * ea91f2fb4212a21d708aced277e6e85a-vigra1.4.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                 [ ok ]
 * 1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                [ ok ]
 * Checking for at least 512 mebibytes RAM ...                                                                                                                                        [ ok ]
 * Checking for at least 6 gibibytes disk space at "/var/tmp/portage/app-office/libreoffice-3.5.2.2/temp" ...                                                                         [ ok ]
 * Checking for at least 512 mebibytes RAM ...                                                                                                                                        [ ok ]
 * Checking for at least 6 gibibytes disk space at "/var/tmp/portage/app-office/libreoffice-3.5.2.2/temp" ...                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking libreoffice-branding-gentoo-0.4.tar.xz to /var/tmp/portage/app-office/libreoffice-3.5.2.2/work
>>> Unpacking libreoffice-core-3.5.2.2.tar.xz to /var/tmp/portage/app-office/libreoffice-3.5.2.2/work
>>> Unpacking libreoffice-binfilter-3.5.2.2.tar.xz to /var/tmp/portage/app-office/libreoffice-3.5.2.2/work
>>> Source unpacked in /var/tmp/portage/app-office/libreoffice-3.5.2.2/work
>>> Preparing source in /var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2 ...
 * Applying libreoffice-system-pyuno.patch ...                                                                                                                                        [ ok ]
 * Applying libreoffice-3.5-propagate-gb_FULLDEPS.patch ...                                                                                                                           [ ok ]
 * Applying libreoffice-3.5.2-icu-49.patch ...                                                                                                                                        [ ok ]
 * Applying libreoffice-3.5.2-icu-49-part2.patch ...

 * Failed Patch: libreoffice-3.5.2-icu-49-part2.patch !
 *  ( /usr/portage/app-office/libreoffice/files/libreoffice-3.5.2-icu-49-part2.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-office/libreoffice-3.5.2.2/temp/libreoffice-3.5.2-icu-49-part2.patch.out

 * ERROR: app-office/libreoffice-3.5.2.2 failed (prepare phase):
 *   Failed Patch: libreoffice-3.5.2-icu-49-part2.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 8684:  Called base_src_prepare
 *   environment, line 1832:  Called epatch '/usr/portage/app-office/libreoffice/files/libreoffice-3.5.2-icu-49-part2.patch'
 *   environment, line 3331:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.5.2.2',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.5.2.2'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/log/portage/app-office:libreoffice-3.5.2.2:20120403-132210.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.5.2.2/temp/environment'.
 * S: '/var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2'
Comment 35 Michele Ciacci 2012-04-03 13:27:27 UTC
after I run a 
ebuild /usr/portage/app-office/libreoffice/libreoffice-3.5.2.2.ebuild digest


ebuild /usr/portage/app-office/libreoffice/libreoffice-3.5.2.2.ebuild install 
>>> Existing ${T}/environment for 'libreoffice-3.5.2.2' will be sourced.
>>> Run 'clean' to start with a fresh environment.
>>> Checking libreoffice-binfilter-3.5.2.2.tar.xz's mtime...
>>> Checking libreoffice-branding-gentoo-0.4.tar.xz's mtime...
>>> Checking ea91f2fb4212a21d708aced277e6e85a-vigra1.4.0.tar.gz's mtime...
>>> Checking 1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz's mtime...
>>> Checking libreoffice-core-3.5.2.2.tar.xz's mtime...
>>> WORKDIR is up-to-date, keeping...
 * checking ebuild checksums ;-) ...                                                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                [ ok ]
>>> It appears that 'pretend' has already executed for 'libreoffice-3.5.2.2'; skipping.
>>> Remove '/var/tmp/portage/app-office/libreoffice-3.5.2.2/.pretended' to force pretend.
>>> It appears that 'setup' has already executed for 'libreoffice-3.5.2.2'; skipping.
>>> Remove '/var/tmp/portage/app-office/libreoffice-3.5.2.2/.setuped' to force setup.
>>> It appears that 'unpack' has already executed for 'libreoffice-3.5.2.2'; skipping.
>>> Remove '/var/tmp/portage/app-office/libreoffice-3.5.2.2/.unpacked' to force unpack.
>>> Preparing source in /var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2 ...
 * Applying libreoffice-system-pyuno.patch ...

 * Failed Patch: libreoffice-system-pyuno.patch !
 *  ( /usr/portage/app-office/libreoffice/files/libreoffice-system-pyuno.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-office/libreoffice-3.5.2.2/temp/libreoffice-system-pyuno.patch-11656.out

 * ERROR: app-office/libreoffice-3.5.2.2 failed (prepare phase):
 *   Failed Patch: libreoffice-system-pyuno.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 8684:  Called base_src_prepare
 *   environment, line 1832:  Called epatch '/usr/portage/app-office/libreoffice/files/libreoffice-system-pyuno.patch'
 *   environment, line 3331:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.5.2.2',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.5.2.2'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/log/portage/app-office:libreoffice-3.5.2.2:20120403-132210.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.5.2.2/temp/environment'.
 * S: '/var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2'
Comment 36 Tomáš Chvátal (RETIRED) gentoo-dev 2012-04-03 13:32:28 UTC
Damn, it is probably broken because of the changes I did to the ebuild...

It relies on not altering the ebuild during the phases -> you would have to run it against the ebuild you started with and now it probably broke beyond repair, sorry. (something to remember for next time)

But If you as root run the

ebuild blabla.ebuild clean
ebuild blabla.ebuild install

# crash

cd /var/tmp.../ make

cd ~

ebuild blabla.ebuild install
ebuild blabla.ebuild qmerge

It should simply now work if you run it from scratch.

For that not applying icu-patch2 patch I will update those two with one patch in moment, i probably broke it when i copied it to cvs.
Comment 37 Robert Cabrera 2012-04-09 13:31:05 UTC
Tomáš,
I have some good news and bad news to report.

First the good. I was finally able to build and install libreoffice-3.5.2.2 over the weekend, but it was a struggle!

Which brings me to the bad news. I don't know what I'm doing wrong, but every time I invoke 'ebuild /usr/portage/app-office/libreoffice/libreoffice-3.5.2.2.ebuild install' to install the completed libreoffice build it begins to recompile again from scratch.

Always just before deleting the existing build directories portage complains about a "checksum error" then starts the entire process as though I'd never completed the build.

However, if I just let 'ebuild /usr/portage/app-office/libreoffice/libreoffice-3.5.2.2.ebuild install' run its course, it runs completely without crashing, even in the above mentioned spot this bug report targets.

So there needs to be further investigation as to why the emerge fails in this spot when emerge -1av libreoffice-3.5.x is invoked, but builds and installs successfully when 'ebuild /usr/portage/app-office/libreoffice/libreoffice-3.5.2.2.ebuild install' and 'ebuild /usr/portage/app-office/libreoffice/libreoffice-3.5.2.2.ebuild qmerge' are used instead.

BTW this phenomenon occurs with both 2.1.x and 2.2.x versions of portage. When I started this process a few months ago I was using 2.1.x portage. I switched last week to 2.2.x in an attempt to see if this would alleviate the issue, but with the same results.

So again, for some reason this crash while building "icc" only occurs when using the 'emerge' command and does not take place at all when 'ebuild install' and 'ebuild qmerge' are used instead.

I hope this helps isolate the issue. TIA
Comment 38 Michele Ciacci 2012-04-12 05:21:05 UTC
(In reply to comment #36)
> Damn, it is probably broken because of the changes I did to the ebuild...
> 
> It relies on not altering the ebuild during the phases -> you would have to
> run it against the ebuild you started with and now it probably broke beyond
> repair, sorry. (something to remember for next time)
> 
> But If you as root run the
> 
> ebuild blabla.ebuild clean
> ebuild blabla.ebuild install
> 
> # crash
> 
> cd /var/tmp.../ make
> 
> cd ~
> 
> ebuild blabla.ebuild install
> ebuild blabla.ebuild qmerge
> 
> It should simply now work if you run it from scratch.
> 
> For that not applying icu-patch2 patch I will update those two with one
> patch in moment, i probably broke it when i copied it to cvs.

up to make step all was perfect libreoffice did build with no isuue 

last 2 steps did fail to me 

ebuild /usr/portage/app-office/libreoffice/libreoffice-3.5.2.2.ebuild install

...
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/icc

 it seems that the error is inside 'icc', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

and obviusly 

ebuild /usr/portage/app-office/libreoffice/libreoffice-3.5.2.2.ebuild qmerge
>>> Existing ${T}/environment for 'libreoffice-3.5.2.2' will be sourced.
>>> Run 'clean' to start with a fresh environment.
 * checking ebuild checksums ;-) ...                                                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                [ ok ]
!!! mydo=qmerge, but the install phase has not been run


the funny part is that if a issue a make install 

with /usr/lib64/libreoffice/program/soffice

I'm able to run libreoffice
Comment 39 Tomáš Chvátal (RETIRED) gentoo-dev 2012-04-12 06:37:20 UTC
(In reply to comment #38)
Does it again fail with the same error?

dmake:  /var/tmp/portage/app-office/libreoffice-3.5.0.1/work/libreoffice-core-3.5.0.1/solenv/inc/tg_ext.mk:  line 106:  Error: -- A %-target must not be mixed with non-%-targets, offending target [glibc-omitfp/%.unpack]
Comment 40 Michele Ciacci 2012-04-12 10:11:13 UTC
thew only message I can find in logs is the one above
Comment 41 Robert Cabrera 2012-04-13 21:16:07 UTC
Tomáš,
I have an update that might shed some light as to what may (or may not) be causing this issue.

I purchased a new larger hard drive this weekend. I decided to change my partitioning scheme primarily because of the new udev versions wanting /usr and /var to reside in / unless an initramfs is used.

I tryout and update my kernels frequently and don't feel like making an initramfs every time I do so. Previously /usr and /var resided on different partitions. In my new configuration only /boot /home and /usr/portage are on different partitions. 

Wednesday I decided to update to the latest kernel headers and began rebuilding my system with them. I'm happy to report that for the first time any version of libreoffice-3.5.x emerged without any outside intervention.

This leads me to believe that perhaps this problem may be associated with having /var and or /usr on different partitions than /. I don't have another machine to try this out on to confirm, but it seems odd that it would now emerge cleanly with my new configuration, but had this "icc" issue with the old one.

Just an idea.

I hope this helps

Rob
Comment 42 Tomáš Chvátal (RETIRED) gentoo-dev 2012-04-16 16:02:46 UTC
One more thing I need you guys to attach:

 /var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/solenv/inc/tg_ext.mk

Check the versions to whatever you are having the issue with.

Thanks
Comment 43 Michele Ciacci 2012-04-18 13:12:30 UTC
Created attachment 309409 [details]
requested tg_ext.mk file
Comment 44 Michele Ciacci 2012-05-11 12:10:17 UTC
any news?
Comment 45 Tomáš Chvátal (RETIRED) gentoo-dev 2012-05-11 12:51:21 UTC
I simply have no more ideas how to solve this :-(

If you take look on the offending line:

$(MISC)/%.unpack : $(TARFILE_LOCATION2)/%.tar.bz2

It has properly % on both sides so it should not ever show the error you seen.

Also if one take look on the 3.4 tarballs the file is exactly same:

$(MISC)/%.unpack : $(TARFILE_LOCATION2)/%.tar.bz2

There might be some possibility that MISC or TARFILE_LOCATION2 are poluted from your environment? But then it should break also on 3.4... Try checking your enviroment variables.

The bright side is that we phase out dmake quite fast, now 70% of modules are using nomal makefiles so this problem should go away with 3.6 if everything is done in time.

But still I would really like to know why it is not working for you...
Comment 46 Michele Ciacci 2012-05-11 12:59:06 UTC
(In reply to comment #45)
> I simply have no more ideas how to solve this :-(
> 
> If you take look on the offending line:
> 
> $(MISC)/%.unpack : $(TARFILE_LOCATION2)/%.tar.bz2
> 
> It has properly % on both sides so it should not ever show the error you
> seen.
> 
> Also if one take look on the 3.4 tarballs the file is exactly same:
> 
> $(MISC)/%.unpack : $(TARFILE_LOCATION2)/%.tar.bz2
> 
> There might be some possibility that MISC or TARFILE_LOCATION2 are poluted
> from your environment? But then it should break also on 3.4... Try checking
> your enviroment variables.
> 
> The bright side is that we phase out dmake quite fast, now 70% of modules
> are using nomal makefiles so this problem should go away with 3.6 if
> everything is done in time.
> 
> But still I would really like to know why it is not working for you...

as much as I know no environment variables :(

I can wait for 3.6 than but I would like to understand why is not working
Comment 47 Tomáš Chvátal (RETIRED) gentoo-dev 2012-05-11 13:00:33 UTC
Try to paste Env.Host.sh and config.log. But I don't think I will be able to look something out of them.
Comment 48 Tomáš Chvátal (RETIRED) gentoo-dev 2013-04-26 18:34:20 UTC
This should work in 4.0 as it is gbuildified. Please reopen or fill a new bug if you happen to trigger it with that version.