Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32419 - gvim-6.2-r3 compile error
Summary: gvim-6.2-r3 compile error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-31 12:01 UTC by Marcus J. van Dijk, Jr.
Modified: 2003-11-10 14:53 UTC (History)
0 users

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


Attachments
output of gvim emerge (output_gvim,57.31 KB, text/plain)
2003-11-02 13:06 UTC, Marcus J. van Dijk, Jr.
Details
etcat -u dev-lang/python (etcat,734 bytes, text/plain)
2003-11-02 13:06 UTC, Marcus J. van Dijk, Jr.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus J. van Dijk, Jr. 2003-10-31 12:01:57 UTC
Normal gentoo 1.4 with accept_keywords="~x86" and makeopts="-j1"


  /usr/bin/gcc  -L/usr/X11R6/lib  -rdynamic   -L/usr/local/lib  -o gvim objects/buffer.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o objects/mark.o objects/memfile.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/syntax.o  objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/pty.o objects/gui_gtk_f.o objects/gui_beval.o objects/if_perl.o objects/if_perlsfio.o objects/if_python.o objects/py_config.o     objects/netbeans.o  objects/version.o   -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lSM -lICE -lXpm -lXt -lX11 -lSM -lICE -lnsl   -lncurses -lgpm -ldl  -rdynamic  -L/usr/local/lib /usr/lib/perl5/5.8.1/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.1/i686-linux/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -L/usr/lib/python2.2/config -lpython2.2 -ldl -lutil -lm -Xlinker -export-dynamic    
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x33cb): In function `posix_tempnam':
: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x34a5): In function `posix_tmpnam':
: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
objects/if_python.o(.text+0x1230): In function `Python_Init':
: undefined reference to `PyEval_InitThreads'
collect2: ld returned 1 exit status
make[1]: *** [gvim] Error 1
make[1]: Leaving directory `/mnt/hdf5/vartmp/portage/gvim-6.2-r3/work/vim62/src'
make: *** [first] Error 2

!!! ERROR: app-editors/gvim-6.2-r3 failed.
!!! Function src_compile, Line 236, Exitcode 2
!!! emake failed
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2003-11-01 07:28:10 UTC
Please attach output of emerge info, and output of "etcat -u dev-lang/python"
(you might need to emerge gentoolkit to get etcat).  Thanks
Comment 2 Marcus J. van Dijk, Jr. 2003-11-02 13:06:07 UTC
Created attachment 20131 [details]
output of gvim emerge
Comment 3 Marcus J. van Dijk, Jr. 2003-11-02 13:06:37 UTC
Created attachment 20132 [details]
etcat -u dev-lang/python
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2003-11-05 15:17:40 UTC
Okay, something strange here...  The vim configure doesn't believe that you
have ANSI C headers.  On my system this works fine.

You haven't posted the output of "emerge info".  Sorry if my request for
that was unclear.

I see that you're using some serious CFLAGS there.  Makes me pretty suspcious
actually.  How about doing

    CFLAGS="-march=athlon-xp -O3 -pipe" emerge python gvim

I'd like to make sure that isn't the problem before proceeding to debug this
further.  If you intend to use such souped-up CFLAGS, it's really helpful
if you're able to do some debugging yourself.  A lot of Gentoo bugs come
down to overcooked CFLAGS.
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2003-11-10 11:49:36 UTC
Mark, any results?
Comment 6 Marcus J. van Dijk, Jr. 2003-11-10 14:48:46 UTC
Slipped my mind Aron, my apoligies. I forgot all about those cflags, shame
on me. It works nicely now with the default CFlags. I will mark it as invalid
because seemingly it is not really a bug.
Comment 7 Aron Griffis (RETIRED) gentoo-dev 2003-11-10 14:53:52 UTC
Cool, thanks