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/reflection.uno.so
/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngi6.pro/CxxObject/stoc/source/corereflection/crenum.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/workdir/unxlngi6.pro/LinkTarget/Library/reflection.uno.so] Error 1

-----------------------------------------------------------------------
        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 512 occurred while making /var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3/stoc/prj

 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-3.6.4.3/work/libreoffice-core-3.6.4.3'
make: *** [build] Error 2
 * ERROR: app-office/libreoffice-3.6.4.3 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, 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-3.6.4.3'`,
 * the complete build log and the output of `emerge -pqv '=app-office/libreoffice-3.6.4.3'`.
!!! 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/tmp/portage/app-office/libreoffice-3.6.4.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.6.4.3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3'
 * S: '/var/tmp/portage/app-office/libreoffice-3.6.4.3/work/libreoffice-core-3.6.4.3'

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 http://fossdev.blogspot.fr/2011/08/file-not-recognized-file-truncated.html


Wednesday, December 26, 2012

Technorati

Hi,

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 :  http://wiki.gentoo.org/wiki/KDE




Wednesday, December 19, 2012

Block openrc-0.9.9.3

Problème :

During update, I have the following problem :

[blocks B      ] <sys-apps/openrc-0.9.9.3 ("<sys-apps/openrc-0.9.9.3" 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-0.9.8.4::gentoo, 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):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

Solution :

Some package (net-tools) ask a new version of openrc. However, in my system, there is an old version installed (openrc-0.9.9.3). 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