Friday, December 28, 2012

LibreOffice File not recognized: File truncated

Problem :

I have the following problem when I build libreoffice. I've tried to delete it and emerge it an other time
but without success :

[ build CXX ] stoc/source/corereflection/crarray.cxx
[ build CXX ] stoc/source/corereflection/crbase.cxx
[ build CXX ] stoc/source/corereflection/crcomp.cxx
[ build CXX ] stoc/source/corereflection/crefl.cxx
[ build CXX ] stoc/source/corereflection/crenum.cxx
[ build CXX ] stoc/source/corereflection/criface.cxx
[ build LNK ] Library/
/var/tmp/portage/app-office/libreoffice- file not recognized: File truncated
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/app-office/libreoffice-] Error 1

        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:

  internal build errors:

ERROR: error 512 occurred while making /var/tmp/portage/app-office/libreoffice-

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

build_error.log should contain the captured output of the failed module(s)

To rebuild a specific module:

make stoc.clean # optional
make stoc

when the problem is isolated and fixed, re-run 'make'
make[1]: *** [build-packimages] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-'
make: *** [build] Error 2
 * ERROR: app-office/libreoffice- failed (compile phase):
 *   (no error message)
 * Call stack:
 *, line  93:  Called src_compile
 *   environment, line 8981:  Called die
 * The specific snippet of code:
 *       make build || die
 * If you need support, post the output of `emerge --info '=app-office/libreoffice-'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-'.
 * Working directory: '/var/tmp/portage/app-office/libreoffice-'
 * S: '/var/tmp/portage/app-office/libreoffice-'

Solution :

You just have to delete data in your cache directory.For example, if you have a CCache, it's probably set in make.conf with CCACHE_DIR="/var/tmp/ccache".
A good explanation about reason could be found on this blog

Wednesday, December 26, 2012



I reference this blog at Technorati with the reference  ZFZ6FQ3Z8PWG .

KDE informations

If you search a kde package list or other information about kde, you should see Gentoo Wiki.
For my needs, I search KDE admin package.So i found :
kde-base/kdeadmin-meta: Administrative utilities, which helps you manage your system.

For additionnal information, you should see :

Wednesday, December 19, 2012

Block openrc-

Problème :

During update, I have the following problem :

[blocks B      ] <sys-apps/openrc- ("<sys-apps/openrc-" is blocking sys-apps/net-tools-1.60_p20120127084908)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/net-tools-1.60_p20120127084908::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/net-tools required by @system

  (sys-apps/openrc-, installed) pulled in by
    sys-apps/openrc required by (dev-db/mysql-init-scripts-2.0_pre1-r2::gentoo, installed)
    sys-apps/openrc required by (sys-apps/baselayout-2.1-r1::gentoo, ebuild scheduled for merge)

For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

Solution :

Some package (net-tools) ask a new version of openrc. However, in my system, there is an old version installed (openrc- To resolv the problem, you only need to uninstall openrc :

emerge -C sys-apps/openrc

Then, install the new version of openrc :

emerge  sys-apps/openrc