Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119023 - gvim-7.0_alpha20060113 fails compile in gui_gtk_x11.c
Summary: gvim-7.0_alpha20060113 fails compile in gui_gtk_x11.c
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:
Depends on:
Blocks:
 
Reported: 2006-01-14 13:39 UTC by Seemant Kulleen (RETIRED)
Modified: 2006-01-17 14:37 UTC (History)
4 users (show)

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


Attachments
gvim-work.patch (gvim-work.patch,314 bytes, patch)
2006-01-14 14:05 UTC, Bret Towe
Details | Diff
gvim-7.0_alpha20060113.ebuild-deadly_exit.patch (gvim-7.0_alpha20060113.ebuild-deadly_exit.patch,306 bytes, patch)
2006-01-15 17:16 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen (RETIRED) gentoo-dev 2006-01-14 13:39:25 UTC
x86_64-pc-linux-gnu-gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2     -O2 -march=athlon64 -pipe -fomit-frame-pointer -ftracer     -I/usr/include/python2.4 -pthread    -o objects/gui_gtk_x11.o gui_gtk_x11.c
gui_gtk_x11.c: In function `sm_client_die':
gui_gtk_x11.c:2331: error: `deadly_exit' undeclared (first use in this function)gui_gtk_x11.c:2331: error: (Each undeclared identifier is reported only once
gui_gtk_x11.c:2331: error: for each function it appears in.)
make[1]: *** [objects/gui_gtk_x11.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/gvim-7.0_alpha20060113/work/vim7/src'
make: *** [first] Error 2
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2006-01-14 13:40:00 UTC
Portage 2.1_pre3-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo x86_64)
=================================================================
System uname: 2.6.15-gentoo x86_64 AMD Athlon(tm) 64 FX-55 Processor
Gentoo Base System version 1.12.0_pre14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache digest distlocks fixpackages parallel-fetch sandbox sfperms test userpriv verify-rdepend"
GENTOO_MIRRORS="http://mirror http://distfiles.gentoo.org"
LC_ALL="en_US.utf8"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentopia"
SYNC="rsync://mirror/gentoo-portage"
USE="amd64 X a52 acl alsa apache2 apm artwork-extra audiofile avi bash-completion bitmap-fonts bonobo bzip2 cairo cdb cdr crypt cscope cups curl dbus dts dvd dvdr dvi dynagraph eds emboss encode esd exif expat fam ffmpeg firefox foomaticdb fortran gd ggi gif glitz glut gnome gnutls graphviz gtk gtk2 gtkhtml guile hal idn imagemagick imlib jpeg justify kerberos lcms ldap libcaca libclamav libwww live lzo lzw lzw-tiff mailwrapper matroska md5sum mng mozcalendar mozilla mozsvg mp3 mpeg ncurses nptl nptlonly nsplugin nvidia oav ogg openal opengl openntpd pam pam_chroot pam_timestamp pcre pdflib plotutils png postgres pwdb python quicktime quotas readline recode rtc samba sdl skey spell sqlite ssl svg t1lib tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vim-pager vorbis winbind wmf xine xinerama xml xml2 xpm xscreensaver xv xvid zlib elibc_glibc kernel_linux linguas_en userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS
Comment 2 Bret Towe 2006-01-14 14:04:16 UTC
i hit this bug a few minutes also, i made a patch that removes
this reference that doenst seem to exist anywhere else
in the code ill attach it in a few 
Comment 3 Bret Towe 2006-01-14 14:05:44 UTC
Created attachment 77113 [details, diff]
gvim-work.patch

patch to remove single reference to deadly_exit
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2006-01-15 16:21:18 UTC
(In reply to comment #3)
> Created an attachment (id=77113) [edit]
> gvim-work.patch
> 
> patch to remove single reference to deadly_exit

That patch works for me.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2006-01-15 17:16:22 UTC
Created attachment 77217 [details, diff]
gvim-7.0_alpha20060113.ebuild-deadly_exit.patch

Patch for the ebuild.
Comment 6 Ciaran McCreesh 2006-01-15 17:21:27 UTC
Comment on attachment 77217 [details, diff]
gvim-7.0_alpha20060113.ebuild-deadly_exit.patch

Erm. No.
Comment 7 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-01-16 13:25:16 UTC
Also happens on x86, not amd64 specific.
Comment 8 Ciaran McCreesh 2006-01-17 09:02:22 UTC
Ok, there's a temporary fix in vim.eclass. Could someone please confirm that it works? I don't have the CPU power or the inclination to install half of Gnome unless I really have to...
Comment 9 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-01-17 14:26:04 UTC
Works for me, thanks for fixing this.
Comment 10 Ciaran McCreesh 2006-01-17 14:37:03 UTC
Fixed locally, and upstream informed.