Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 155348

Summary: openoffice-2.0.4 fails to build (chown in src_install fails)
Product: Gentoo Linux Reporter: Leonardo Ferreira Fontenelle <leonardof>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-t-515111.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Leonardo Ferreira Fontenelle 2006-11-16 04:30:21 UTC
I'm trying to emerge app-office/openoffice-2.0.4 (2006-11-10 version) but it dies after compiling everything. This is the end of my emerge log; if you need the hole one just ask me.

Cleaning up lists of files...
Fixing permissions...
Checking for DESTDIR inside installed files...
Packaging succeeded
chown: mudando permiss
Comment 1 Leonardo Ferreira Fontenelle 2006-11-16 04:30:21 UTC
I'm trying to emerge app-office/openoffice-2.0.4 (2006-11-10 version) but it dies after compiling everything. This is the end of my emerge log; if you need the hole one just ask me.

Cleaning up lists of files...
Fixing permissions...
Checking for DESTDIR inside installed files...
Packaging succeeded
chown: mudando permissões de `/var/tmp/portage/openoffice-2.0.4/image/usr/bin/so
ffice': Arquivo ou diretório não encontrado

!!! ERROR: app-office/openoffice-2.0.4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_install
  ebuild.sh, line 1020:   Called src_install
  openoffice-2.0.4.ebuild, line 287:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if rel
evant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

Looking at the ebuild, src_package contains a single chown command:
chown -R root:root ${D} || die

"${D}/usr/bin/soffice", the "unexistant" file, is a symlink to /usr/lib/openoffice/program/soffice. This is an absolute (rather than relative) link, and it is broken at the time the ebuild fails. Could this be relevant?

Last but not least, my emerge --info:

Portage 2.1.1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Sempron(tm)   2400+
Gentoo Base System version 1.12.6
Last Sync: Thu, 16 Nov 2006 05:00:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pt_BR.UTF-8"
LC_ALL="pt_BR.UTF-8"
LINGUAS="en_US pt_BR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local /usr/portage/local/layman/sunrise /usr/portage/local/layman/musicbrainz"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 asf audiofile avahi bash-completion berkdb bitmap-fonts bluetooth cairo cddb cdr cli cracklib crypt cups dbus dlloader dri dts dvd dvdr eds elibc_glibc emboss encode esd exif fam firefox fortran ftp gdbm gif glitz gnome gnutls gpm gstreamer gtk hal iconv idn input_devices_keyboard input_devices_mouse isdnlog java javascript jpeg kernel_linux lcms libg++ libnotify linguas_en_US linguas_pt_BR mad mikmod mmx mono mp3 mpeg ncurses nls normalize nptl nptlonly nsplugin ogg opengl pam pcre pdf perl png ppds pppd python quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_via vorbis win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-16 04:35:04 UTC

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