Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468934 - app-office/libreoffice-4.0.3.3 - .../work/libreoffice-4.0.3.3/workdir/unxlngi6.pro/CxxObject/sw/source/core/txtnode/ndhints.o: file not recognized: File truncated
Summary: app-office/libreoffice-4.0.3.3 - .../work/libreoffice-4.0.3.3/workdir/unxlngi...
Status: RESOLVED DUPLICATE of bug 459674
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 20:03 UTC by Coacher
Modified: 2013-06-20 17:30 UTC (History)
4 users (show)

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


Attachments
emerge --info libreoffice (info,5.88 KB, text/plain)
2013-05-07 20:04 UTC, Coacher
Details
build.log.gz (build.log.gz,88.70 KB, application/x-gzip)
2013-05-07 20:07 UTC, Coacher
Details
build.log.gz (build.log.gz,608.40 KB, application/x-gzip)
2013-05-07 23:01 UTC, Coacher
Details
Build.log for x86 (build.log.gz,843.87 KB, application/x-gzip)
2013-05-08 00:31 UTC, Otto A. Schell
Details
emerge --info output for libreoffice-4.0.3.3 on x86 (libreoffice-4.0.3.3-info.gz,3.74 KB, text/plain)
2013-05-08 00:33 UTC, Otto A. Schell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2013-05-07 20:03:25 UTC
libreoffice-4.0.3.3 appeared in tree and I've decided to update it. On one Gentoo machine update went smoothly, while on the other one I've got a strange message from emerge:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 51, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1044, in emerge_main
    gc_locals=locals().clear)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 3928, in run_action
    myopts, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 477, in action_build
    retval = mergetask.merge()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1010, in merge
    rval = self._merge()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1395, in _merge
    self._main_loop()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1372, in _main_loop
    self._event_loop.iteration()
  File "/usr/lib64/portage/pym/portage/util/_eventloop/EventLoop.py", line 266, in iteration
    if not x.callback(f, event, *x.args):
  File "/usr/lib64/portage/pym/portage/util/_async/PipeLogger.py", line 99, in _output_handler
    stdout_buf[os.write(stdout_fd, stdout_buf):]
  File "/usr/lib64/portage/pym/portage/__init__.py", line 246, in __call__
    rval = self._func(*wrapped_args, **wrapped_kwargs)
OSError: [Errno 5] Input/output error

Not sure why this happened. After this error, build is running in background for some short period of time according to top and dies afterwards.

I am trying to keep configuration as identical as possible on both mentioned machines and the one difference is machine that fails has MAKEOPTS="-j5", while the one that builds libreoffice fine has MAKEOPTS="-j3". I'll try again with fewer values of make jobs and provide the results. Both machines are Gentoo amd64.

P.S. according to build.log libreoffice uses such calls throught its build: `make -f Makefile -j5 -j5 all gb_PARTIALBUILD=T` Double "-j5" caught my attention. Is this normal?


Reproducible: Always
Comment 1 Coacher 2013-05-07 20:04:27 UTC
Created attachment 347638 [details]
emerge --info libreoffice
Comment 2 Coacher 2013-05-07 20:07:37 UTC
Created attachment 347640 [details]
build.log.gz

gzipped build.log
Comment 3 Coacher 2013-05-07 20:17:14 UTC
Also I am not sure if this is a libreoffice bug, but I've succesfully built and merged a load (~100) of KDE packages right before libreoffice and everything was fine.
Comment 4 Coacher 2013-05-07 20:22:07 UTC
Same error with MAKEOPTS="-j3".
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-07 22:30:26 UTC
Comment on attachment 347640 [details]
build.log.gz

This build log is incomplete.
Comment 6 Coacher 2013-05-07 23:01:26 UTC
Created attachment 347662 [details]
build.log.gz

(In reply to comment #5)
> Comment on attachment 347640 [details]
> build.log.gz
> 
> This build log is incomplete.

That is another weird thing. This log IS everything that is written. No errors, no warnings, nothing. From the symptoms I see it looks like emerge just dies while `make` task that was spawned by it is still running. I thought they should die with emerge, I am not familiar with portage internals though. 

Here is another build.log. In this case compiling went fine much further, but it failed apparently again at some point. After emerge dies nothing new is written in build.log. The attached build.log IS complete, at least it is all that I have.
Comment 7 Otto A. Schell 2013-05-08 00:31:39 UTC
Created attachment 347678 [details]
Build.log for x86
Comment 8 Otto A. Schell 2013-05-08 00:33:06 UTC
Created attachment 347680 [details]
emerge --info output for libreoffice-4.0.3.3 on x86
Comment 9 Otto A. Schell 2013-05-08 00:37:07 UTC
from build.log:
===========================
/var/tmp/portage/app-office/libreoffice-4.0.3.3/work/libreoffice-4.0.3.3/workdir/unxlngi6.pro/CxxObject/sw/source/core/txtnode/ndhints.o: file not recognized: File truncated
/var/tmp/portage/app-office/libreoffice-4.0.3.3/work/libreoffice-4.0.3.3/workdir/unxlngi6.pro/CxxObject/sw/source/core/txtnode/ndhints.o: file not recognized: File truncated
===========================
ndhints is not compiled…?
Comment 10 Coacher 2013-05-08 07:14:59 UTC
(In reply to comment #9)
> from build.log:
> ===========================
> /var/tmp/portage/app-office/libreoffice-4.0.3.3/work/libreoffice-4.0.3.3/
> workdir/unxlngi6.pro/CxxObject/sw/source/core/txtnode/ndhints.o: file not
> recognized: File truncated
> /var/tmp/portage/app-office/libreoffice-4.0.3.3/work/libreoffice-4.0.3.3/
> workdir/unxlngi6.pro/CxxObject/sw/source/core/txtnode/ndhints.o: file not
> recognized: File truncated
> ===========================
> ndhints is not compiled…?

My problem is different: no big fat warning, emerge just dies. My case looks like a portage issue, while yours is libreoffice-related. Also my build.log has no mention of ndhints file.
Comment 11 walt 2013-05-08 11:19:42 UTC
I see the same input/output error.  I re-emerged portage with the python2 useflag instead of python3, and the libreoffice build seems to be working now.

The build isn't finished yet, but it's already past the point where it stopped on my first three attempts using python3.
Comment 12 Coacher 2013-05-08 19:11:09 UTC
(In reply to comment #11)
> I see the same input/output error.  I re-emerged portage with the python2
> useflag instead of python3, and the libreoffice build seems to be working
> now.
> 
> The build isn't finished yet, but it's already past the point where it
> stopped on my first three attempts using python3.

Thanks for your report and suggestion, I'll try to rebuild portage without python3 and then rebuild libreoffice. I've been using portage's python3 USE as well.
Comment 13 Coacher 2013-05-08 19:14:28 UTC
I also would really like to understand the logic behind Jeroen's actions though. Does this new bug name somehow connected to problems that I and walt are experiencing?
Comment 14 Otto A. Schell 2013-05-08 23:12:02 UTC
This python2 flag change does not help.
Interestingly: Only on 32bit machines (two) this error with the truncated ndhints.o occures…

Thanks for Your suggestions - but compiling libraoffice is a bit time-consuming ;-)
Comment 15 Coacher 2013-05-08 23:20:41 UTC
@walt, what arch are you running?

@Otto, you've tried to build libreoffice both on amd64 and x86 and on amd64 you've got "input/output error", while on x86 it is "file truncated" error? Did I understand you right?
Comment 16 Otto A. Schell 2013-05-09 09:00:09 UTC
(In reply to comment #15)
> @walt, what arch are you running?
> 
> @Otto, you've tried to build libreoffice both on amd64 and x86 and on amd64
> you've got "input/output error", while on x86 it is "file truncated" error?
> Did I understand you right?

No, on ~amd64 libreoffice compiles without error. But - it is only one machine we tried and of course we let our production engines untouched until proven and on the mayority of amd64 and some x86 (without the ~ ) we even dont change to libreoffice 4 until now…

wbr
Comment 17 Otto A. Schell 2013-05-09 09:36:40 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > @walt, what arch are you running?
> > 
> > @Otto, you've tried to build libreoffice both on amd64 and x86 and on amd64
> > you've got "input/output error", while on x86 it is "file truncated" error?
> > Did I understand you right?
> 
> No, on ~amd64 libreoffice compiles without error. But - it is only one
> machine we tried and of course we let our production engines untouched until
> proven and on the mayority of amd64 and some x86 (without the ~ ) we even
> dont change to libreoffice 4 until now…
> 
> wbr

Sorry, machine is amd64, without the '~'. Output of 'emerge --info =app-office/libreoffice-4.0.3.3':

==========================================================

Portage 2.1.11.62 (default/linux/amd64/13.0/desktop, gcc-4.7.2, glibc-2.15-r3, 3.7.10-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.7.10-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.2
KiB Mem:     1010360 total,     77716 free
KiB Swap:    8385924 total,   8385924 free
Timestamp of tree: Thu, 09 May 2013 08:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3, 3.2.3-r2, 3.3.0-r1
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo printer-drivers science
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=atom -mcx16 -mssse3 -msahf --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=generic -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /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 -march=atom -mcx16 -mssse3 -msahf --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=generic -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=8 --load-average=8.9 --keep-going --with-bdeps=y --complete-graph --autounmask-write --autounmask=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://gentoo.osuosl.org/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ "
LANG="de_AT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--progress --delete-before --human-readable"
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/printer-drivers /var/lib/layman/science"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd64 berkdb binfilter bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell sse sse2 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="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" 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="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="canon casio casio_qv fuji samsung" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de sk en he ru el" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 ppc x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="canon630u" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================
USE="bluetooth branding cups dbus gtk opengl vba webdav (-aqua) -debug -eds -gnome -gstreamer -java -jemalloc -kde -mysql -odk -postgres -telepathy -test" LIBREOFFICE_EXTENSIONS="presenter-minimizer -nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_3" PYTHON_TARGETS="python2_7 -python3_3"

app-office/libreoffice-4.0.3.3 was built with the following:
CFLAGS="-O3 -march=atom -mcx16 -msahf -mmovbe --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=atom"
CXXFLAGS="-O3 -march=atom -mcx16 -msahf -mmovbe --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=atom"

===================================================

wbr
Comment 18 Coacher 2013-05-09 11:51:02 UTC
(In reply to comment #11)
> I see the same input/output error.  I re-emerged portage with the python2
> useflag instead of python3, and the libreoffice build seems to be working
> now.
> 
> The build isn't finished yet, but it's already past the point where it
> stopped on my first three attempts using python3.

Thanks again, your advise helped me. I was able to successfully build libreoffice using portage[python2,-python3].
Comment 19 Coacher 2013-05-09 12:03:21 UTC
(In reply to comment #16)
> No, on ~amd64 libreoffice compiles without error. But - it is only one
> machine we tried and of course we let our production engines untouched until
> proven and on the mayority of amd64 and some x86 (without the ~ ) we even
> dont change to libreoffice 4 until now…
> 
> wbr

Hmmm. You think you have exactly the same bug as me and walt? The symptoms are not the same at all.
Comment 20 walt 2013-05-10 22:27:58 UTC
(In reply to comment #15)
> @walt, what arch are you running?

~amd64
Comment 21 liva 2013-05-11 15:33:36 UTC
File "/usr/bin/emerge", line 51, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1051, in emerge_main
    gc_locals=locals().clear)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 3944, in run_action
    myopts, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 477, in action_build
    retval = mergetask.merge()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1010, in merge
    rval = self._merge()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1395, in _merge
    self._main_loop()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1372, in _main_loop
    self._event_loop.iteration()
  File "/usr/lib64/portage/pym/portage/util/_eventloop/EventLoop.py", line 266, in iteration
    if not x.callback(f, event, *x.args):
  File "/usr/lib64/portage/pym/portage/util/_async/PipeLogger.py", line 99, in _output_handler
    stdout_buf[os.write(stdout_fd, stdout_buf):]
  File "/usr/lib64/portage/pym/portage/__init__.py", line 246, in __call__
    rval = self._func(*wrapped_args, **wrapped_kwargs)
OSError: [Errno 5] Input/output error

emerge --info
Portage 2.1.11.63 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.2, glibc-2.17, 3.9.1-gentoo-r1-liva x86_64)
=================================================================
System uname: Linux-3.9.1-gentoo-r1-liva-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16308732 total,  11070036 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sat, 11 May 2013 11:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.4, 3.2.4
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
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.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
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 betagarden rion zugaina x-portage
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/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/bind"
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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"                                                                                                                                                                           
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"                                                                                                                                                  
FFLAGS="-O2 -pipe"                                                                                                                                                                            
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ ftp://ftp.df.lth.se/pub/gentoo/ http://ftp.df.lth.se/pub/gentoo/ ftp://xeon.gentoo.ru/mirrors/Gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.ovh.net/gentoo-distfiles/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://ftp.heanet.ie/pub/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://gentoo.kiev.ua/ http://gentoo.mirror.dkm.cz/pub/gentoo/"                                                    
LANG="ru_RU.utf8"                                                                                                                                                                             
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                                             
MAKEOPTS="-j17"                                                                                                                                                                               
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="/usr/local/portage/layman/betagarden /usr/local/portage/layman/rion /usr/local/portage/layman/zugaina /usr/local/portage"                                                    
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                                                                                                
USE="3dnow X a52 aac acl acpi alsa amd64 ao bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups custom-optimization cxx dbus declarative dga djvu dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran ftp gdbm gif gimp gnutls gphoto2 gpm gtk gzip handbook hddtemp iconv icu idn imap jabber jingle jpeg jpeg2k kde kipi lame lcms ldap libnotify lm_sensors lzo mad matroska mime mmap mmx mng modules mozila mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz ncurses nls nocd nptl ogg openal opengl openmp pam pango pcre pda pdf phonon plasma png policykit ppds qt3support qt4 raw rdesktop readline rss samba scanner sdl session smp sms sound speex spell sse sse2 ssl startup-notification svg syslog tcpd theora threads tiff truetype udev udisks unicode upower usb vcd video videos vnc vorbis wavpack wifi wmf wxwidgets x264 xcb xcomposite xface xinerama xml xmpp xscreensaver xv xvid zlib" ABI_X86="64" 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="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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, USE_PYTHON
Comment 22 Victor Orozco 2013-05-11 20:50:42 UTC
Same error on ~amd64, tested on portage-2.3.5-r7 with USE flags "python3 -python2" and also "python2 -python3"
======================
Traceback (most recent call last):
  File "/usr/bin/emerge", line 51, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1044, in emerge_main
    gc_locals=locals().clear)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 3616, in run_action
    myopts, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 472, in action_build
    retval = mergetask.merge()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1011, in merge
    rval = self._merge()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1396, in _merge
    self._main_loop()
  File "/usr/lib64/portage/pym/_emerge/Scheduler.py", line 1373, in _main_loop
    self._event_loop.iteration()
  File "/usr/lib64/portage/pym/portage/util/_eventloop/EventLoop.py", line 260, in iteration
    if not x.callback(f, event, *x.args):
  File "/usr/lib64/portage/pym/portage/util/_async/PipeLogger.py", line 99, in _output_handler
    stdout_buf[os.write(stdout_fd, stdout_buf):]
  File "/usr/lib64/portage/pym/portage/__init__.py", line 246, in __call__
    rval = self._func(*wrapped_args, **wrapped_kwargs)
OSError: [Errno 5] Input/output error

emerge --info

Portage 2.3.5-r7 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.6.3, glibc-2.15-r4, 3.9.1-tuxonice x86_64)
=================================================================
System uname: Linux-3.9.1-tuxonice-x86_64-Intel-R-_Core-TM-_i7-2670QM_CPU_@_2.20GHz-with-gentoo-2.2.0
KiB Mem:    16390420 total,   3011416 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Sat, 11 May 2013 05:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.2.0-r1000
dev-lang/python:          2.7.4-r1000, 3.2.4-r1000
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2.0-r4
sys-apps/openrc:          0.10.2-r9
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3, 4.7.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r4
Repositories: gentoo zugaina angelos science sunrise tuxtor gamerlay java-overlay sabayon
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula AdobeFlash-11.x google-talkplugin skype-4.0.0.7-copyright Google-TOS IBM-J1.6 Intel-SDP TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /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 /etc/udev/rules.d"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/ ftp://gentoo.c3sl.ufpr.br/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en pt pt_BR es"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/angelos /var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/tuxtor /var/lib/layman/gamerlay /var/lib/layman/java-overlay /var/lib/layman/sabayon"
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="7zip X a52 aac aalib acl acpi addbookmarks additions admin administrator alsa amarok amazon amd amd64 amrnb animation-rtl antlr apache2 apng archive ares ascii aspell autoipd automount avahi bash-completion bdf berkdb binary-drivers bluetooth branding bzip2 c++ cairo ccache cdda cddb cdio cdr cli clutter colord consolekit contentcache corba cracklib crypt css cups cursors custom-cxxflags cxx daap dbus dc1394 development directfb disk-partition divx djvu dri dts dvd dvdr dvdread eds equalizer evo fastbuild fat fbcon fbcondecor fbsplash ffmpeg flac ftp fuse gconf gdbm gdm gif git gnome gnome-keyring gnome-print gnutella gnutls gpm grub gstreamer gtk gtk2 gtk3 gtkstyle hddtemp hfs httpd icons iconv icu id3tag imagemagick injection introspection ipv6 java jpeg jpeg2k keymap lame lcms libcaca libgcrypt libmpeg2 libnotify live lm_sensors lua lxde mad mmx mmxext mng modules mp3 mp4 mpeg mpeg2 mudflap multilib musepack mysql nautilus ncurses nls nptl nsplugin ntfs nvidia objc objc++ objc-gc ogg openal openexr opengl openmp pam pcimcia pcre php plugins png policykit pppd private-headers pulseaudio python readline reflection reiser4 reiserfs resolvconf samba sdl shout simplexml skins spl sqlite srt sse sse2 sse3 sse4_1 ssl ssse3 startup-notification stream subversion svg taglib tcpd theora threads tiff tokenizer truetype udev udf unicode v4l v4l2 vcd vdpau verse vim-syntax vorbis vpx wavpack webkit wmf wxwindows x x264 xcb xcomposite xinerama xml xscreensaver xsl xulrunner xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 authn_core authz_core socache_shmcb unixd" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt pt_BR es" NETBEANS_MODULES="apisupport javafx cnd java profiler websvccommon enterprise webcommon" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_ABIS="2.7 3.2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" 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, SYNC_UMASK
Comment 23 Coacher 2013-06-05 11:38:06 UTC
Hmm. I've just hit this bug again during KDE SC upgrade from 4.10.3 to 4.10.4. I have portage[python2,-python3] now, so this combination of USE flags is not a solution. Lokks like it is a portage/emerge issue. Can someone please reassign this to portage team?
Comment 24 Tomáš Chvátal (RETIRED) gentoo-dev 2013-06-20 11:43:32 UTC
I agree this is not directly libreoffice bug.

It seems like with py3 the portage code triggers some issues or your disk gets filled with data, dunno, assigning to portage team.
Comment 25 Zac Medico gentoo-dev 2013-06-20 17:30:42 UTC

*** This bug has been marked as a duplicate of bug 459674 ***