Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23188 - emerge gaim fails on missing .o file in gtkspell
Summary: emerge gaim fails on missing .o file in gtkspell
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-20 11:56 UTC by Rick Jenkins
Modified: 2003-07-02 08:59 UTC (History)
0 users

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


Attachments
build log of failed gaim ebuild (gaim_log.txt,6.26 KB, text/plain)
2003-06-23 16:08 UTC, Rick Jenkins
Details
build log of successful gaim ebuild (gaim_log2.txt,16.99 KB, text/plain)
2003-06-25 09:16 UTC, Rick Jenkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Jenkins 2003-06-20 11:56:16 UTC
when attempting:-

emerge gaim

the build fails while making gtkspell:-

Making all in gtkspell
make[1]: Entering directory
`/home/portage_tmp/portage/gtkspell-2.0.2/work/gtkspell-2.0.2/gtkspell'
source='gtkspell.c' object='libgtkspell_la-gtkspell.lo' libtool=yes \
depfile='.deps/libgtkspell_la-gtkspell.Plo'
tmpdepfile='.deps/libgtkspell_la-gtkspell.TPlo' \
.
.
.
gcc -DPACKAGE_NAME=\"gtkspell\" -DPACKAGE_TARNAME=\"gtkspell\"
-DPACKAGE_VERSION=\"2.0.2\" "-DPACKAGE_STRING=\"gtkspell 2.0.2\""
-DPACKAGE_BUGREPORT=\"martine@cs.washington.edu\" -DPACKAGE=\"gtkspell\"
-DVERSION=\"2.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I.
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_LOG_DOMAIN=\"gtkspell\"
-march=athlon -O3 -pipe -c gtkspell.c -MT libgtkspell_la-gtkspell.lo -MD -MP -MF
.deps/libgtkspell_la-gtkspell.TPlo  -fPIC -DPIC
mv -f libgtkspell_la-gtkspell.o .libs/libgtkspell_la-gtkspell.lo
mv: cannot stat `libgtkspell_la-gtkspell.o': No such file or directory
make[1]: *** [libgtkspell_la-gtkspell.lo] Error 1
make[1]: Leaving directory
`/home/portage_tmp/portage/gtkspell-2.0.2/work/gtkspell-2.0.2/gtkspell'
make: *** [all-recursive] Error 1

!!! ERROR: app-text/gtkspell-2.0.2 failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! compile failure

root@triffid distfiles #


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




root@triffid rick # emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.21 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo
ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo http://distro.ibiblio.org/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage_tmp"
PORTDIR_OVERLAY=""
USE="tetex java guile esd imlib scanner x86 oss 3dfx 3dnow acpi alsa apm arts
avi berkdb cdr crypt cups encode gdbm gif gpm gtk imlibjava jpeg kde -gnome
libg++ libwww mikmod mmx motif mpeg mozilla ncurses nls oggvorbis opengl pam
perl pdflib png python qt qtmt quicktime readline sdl slang spell sse ssl svga
tcltk tcpd truetype usb X xml2 xmms xv zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe"
CXXFLAGS="-march=athlon -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage/"
FEATURES="sandbox ccache distcc userpriv"

root@triffid rick #
Comment 1 Rick Jenkins 2003-06-20 12:09:54 UTC
Tried it on an older system using a pentium II and it works well, no problems.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-20 15:46:58 UTC
are you using distcc?
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-06-21 09:19:38 UTC
try MAKEOPTS="-j1" emerge gtkspell

if that fails, please attach the full build log
Comment 4 Rick Jenkins 2003-06-23 08:26:22 UTC
Good point, both the successful and the unsuccessful systems use distcc and are 
part of the same compile farm, I'll try further tests with -j1. 
Comment 5 Rick Jenkins 2003-06-23 16:08:08 UTC
Created attachment 13745 [details]
build log of failed gaim ebuild
Comment 6 Rick Jenkins 2003-06-23 16:09:42 UTC
Fails just the same with no distcc, full log attached.
Comment 7 Paul Kronenwetter 2003-06-24 20:12:28 UTC
Try re-emerging aspell before doing emerge gaim again.  I documented some trials in bug# 23277.

After I did emerge aspell, I had to disable distcc before gtkspell would compile.  After that, emerge gaim works fine.

It's a work-around but that's what it takes sometimes.
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2003-06-25 03:47:24 UTC
initially it looked like a parallel make problem, but there seems to be something else wrong .. according to your log, the whole command that compiles libgtkspell_la-gtkspell.o is missing. according to my build:

/bin/sh ../libtool --mode=compile gcc -DPACKAGE_NAME=\"gtkspell\" -DPACKAGE_TARNAME=\"gtkspell\" -DPACKAGE_VERSION=\"2.0.2\" -DPACKAGE_STRING=\"gtkspell\ 2.0.2\" -DPACKAGE_BUGREPORT=\"martine@cs.washington.edu\" -DPACKAGE=\"gtkspell\" -DVERSION=\"2.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1  -I. -I.    -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DG_LOG_DOMAIN=\"gtkspell\" -march=pentium2 -O3 -pipe -g -c -o libgtkspell_la-gtkspell.lo `test -f 'gtkspell.c' || echo './'`gtkspell.c
mkdir .libs
gcc -DPACKAGE_NAME=\"gtkspell\" -DPACKAGE_TARNAME=\"gtkspell\" -DPACKAGE_VERSION=\"2.0.2\" "-DPACKAGE_STRING=\"gtkspell 2.0.2\"" -DPACKAGE_BUGREPORT=\"martine@cs.washington.edu\" -DPACKAGE=\"gtkspell\" -DVERSION=\"2.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_LOG_DOMAIN=\"gtkspell\" -march=pentium2 -O3 -pipe -g -c gtkspell.c -MT libgtkspell_la-gtkspell.lo -MD -MP -MF .deps/libgtkspell_la-gtkspell.TPlo  -fPIC -DPIC -o .libs/libgtkspell_la-gtkspell.lo
gcc -DPACKAGE_NAME=\"gtkspell\" -DPACKAGE_TARNAME=\"gtkspell\" -DPACKAGE_VERSION=\"2.0.2\" "-DPACKAGE_STRING=\"gtkspell 2.0.2\"" -DPACKAGE_BUGREPORT=\"martine@cs.washington.edu\" -DPACKAGE=\"gtkspell\" -DVERSION=\"2.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_LOG_DOMAIN=\"gtkspell\" -march=pentium2 -O3 -pipe -g -c gtkspell.c -MT libgtkspell_la-gtkspell.lo -MD -MP -MF .deps/libgtkspell_la-gtkspell.TPlo -o libgtkspell_la-gtkspell.o >/dev/null 2>&1
mv -f .libs/libgtkspell_la-gtkspell.lo libgtkspell_la-gtkspell.lo

^^^ the second last line 

can you try:

MAKEOPTS="-j1" FEATURES="-distcc -ccache" emerge gtkspell

and what version of libtool ?

Comment 9 Rick Jenkins 2003-06-25 09:13:33 UTC
merge with  
 
MAKEOPTS="-j1" FEATURES="-distcc -ccache" emerge gtkspell 
 
runs to completion with no problems, so it looks as though the ccache may be the 
problem. Successful build log attached. I deliberately did not resync before this test. 
 
rick@triffid rick $ libtool --version 
ltmain.sh (GNU libtool) 1.4.1 (1.922.2.34 2001/09/03 01:22:13) 
rick@triffid rick $ 
 
 
Comment 10 Rick Jenkins 2003-06-25 09:16:31 UTC
Created attachment 13838 [details]
build log of successful gaim ebuild
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2003-07-02 02:45:22 UTC
hmm .. i can't reproduce it on my side with or without ccache. maybe your ccache is corrupt or something. 
Comment 12 Rick Jenkins 2003-07-02 08:59:57 UTC
It's possible this interacts with bug #23052. At the time of the failed build I had 
incorrect support for my hard disc at kernel level. Gaim now compiles well with ccache 
- have not tried with distcc. 
 
Thanks for all your efforts, I'm sorry this looks as though it was a chimera.