Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32589 - gvim-6.2-r5 compile fails with "gcc: objects/buffer.o: No such file or directory" and "gcc: objects/charset.o: No such file or directory"
Summary: gvim-6.2-r5 compile fails with "gcc: objects/buffer.o: No such file or direct...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
: 33601 (view as bug list)
Depends on: 32526
Blocks:
  Show dependency tree
 
Reported: 2003-11-02 18:34 UTC by Andrea Cerrito
Modified: 2003-11-30 09:28 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Cerrito 2003-11-02 18:34:23 UTC
Emerging gvim-6.2-r5 fails with file not found during compile.
This is the output:

make: Entering directory `/home/portage/gvim-6.2-r5/work/vim62/src'
CC="gcc -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -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     -march=pentium3 -mfpmath=sse -O2 -pipe
-fomit-frame-pointer -mmmx -msse -falign-functions=32 -fforce-addr 
-I/usr/X11R6/include  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/lib/perl5/5.8.1/i686-linux/CORE  -I/usr/include/python2.2 -pthread  -I "
srcdir=. sh ./osdef.sh
mkdir objects
make: Leaving directory `/home/portage/gvim-6.2-r5/work/vim62/src'
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make first
make[1]: Entering directory `/home/portage/gvim-6.2-r5/work/vim62/src'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -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     -march=pentium3 -mfpmath=sse -O2 -pipe
-fomit-frame-pointer -mmmx -msse -falign-functions=32 -fforce-addr 
-I/usr/X11R6/include  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/lib/perl5/5.8.1/i686-linux/CORE  -I/usr/include/python2.2 -pthread  -I 
-o objects/buffer.o buffer.c
gcc: objects/buffer.o: No such file or directory
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -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     -march=pentium3 -mfpmath=sse -O2 -pipe
-fomit-frame-pointer -mmmx -msse -falign-functions=32 -fforce-addr 
-I/usr/X11R6/include  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/lib/perl5/5.8.1/i686-linux/CORE  -I/usr/include/python2.2 -pthread  -I 
-o objects/charset.o charset.c
gcc: objects/charset.o: No such file or directory
make[1]: *** [objects/charset.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [objects/buffer.o] Error 1
make[1]: Leaving directory `/home/portage/gvim-6.2-r5/work/vim62/src'
make: *** [first] Error 2

!!! ERROR: app-editors/gvim-6.2-r5 failed.
!!! Function src_compile, Line 236, Exitcode 2
!!! emake failed

The dir objects/ is empty.

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

Actual Results:  
See above (emerge fails)

Expected Results:  
Compile successfully.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer -mmmx -msse
-falign-functions=32 -fforce-addr"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/home/portdir/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://mi.mirror.garr.it/mirrors/gentoo
http://212.219.56.162/sites/www.ibiblio.org/gentoo/
http://194.83.57.2/sites/www.ibiblio.org/gentoo/
http://194.83.57.3/sites/www.ibiblio.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.flashnet.it/mirror/12/sunsite.unc.edu/Gentoo
http://ibiblio.org/pub/Linux/ftp.edisontel.com/pub/Sunsite_Mirror
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo
ftp://sunsite.cnlab-switch.ch/mirror/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://gentoo.oregonstate.edu "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home"
PORTDIR="/home/portdir"
PORTDIR_OVERLAY="/home/portoverlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="oss foomaticdb gnome mad mikmod aalib tcltk guile ruby sdl perl esd gtk qt
x86 acpi acl alsa apm avi berkdb bluetooth bonobo cdr crypt cups directfb dga
dvd encode gdbm gif gpm fbcon irda krb4 kerberos imlib java jpeg gtk2 gtkhtml
ldap libg++ libwww miknod mmx mng motif mozilla mpeg ncurses nls oggvorbis
opengl pam pcmcia pdflib png pnp python quicktime radeon readline samba slang
spell sse ssl svga tcpd truetype usb X xml2 xmms xv zlib kde arts -doc"
Comment 1 Pär Karlsson 2003-11-03 05:36:02 UTC
If you have emerged ruby-1.8.1_pre2 (possibly valid for ruby-1.8.0 also)
and have older versions of ruby installed, emerging vim and gvim will fail,
as the emerge of ruby tells you right at the end.

Solution: unmerge ruby, emerge ruby again, emerge vim/gvim.
Comment 2 Andrea Cerrito 2003-11-03 11:15:53 UTC
It does work :)
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-11-05 15:32:53 UTC
Marking dependent on bug 32526 because the real problem here is that Ruby
is screwed up.
Comment 4 Veiko Kukk 2003-11-09 09:03:41 UTC
I can confirm this bug.
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2003-11-16 15:08:31 UTC
*** Bug 33601 has been marked as a duplicate of this bug. ***
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2003-11-30 09:28:12 UTC
Bug 32526 is resolved, so closing this one