Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43885 - 9libs breaks vim compile
Summary: 9libs breaks vim compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-06 09:34 UTC by Paul Hebble
Modified: 2004-03-20 20:51 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 Paul Hebble 2004-03-06 09:34:08 UTC
When you emerge 9libs, it installs /usr/include/libc.h.  If you then emerge vim, it detects that file as a NeXT header and includes it in some source files.  libc.h mentions the Rune type, but it's not defined there or in any of the other header files vim includes.  This makes the vim compile fail.

Reproducible: Always
Steps to Reproduce:
1. emerge 9libs
2. emerge vim

Actual Results:  
vim compile failed with error about Rune type not being found

Expected Results:  
vim should have compiled properly

Workaround is to unmerge 9libs -- I don't think I had any packages that needed
it anyway.  The problem also happens for gvim and kvim.

Maybe 9libs' headers could go in /usr/include/9libs instead of /usr/include? 
That would fix the vim compile.
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-03-09 06:24:15 UTC
http://linuxfromscratch.org/pipermail/lfs-dev/2001-September/019310.html
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-03-20 20:51:40 UTC
Did you edit vim.eclass?  Right now vim.eclass clearly has DEPEND="!dev-libs/9libs" and has for a while.

Anyway, I've fixed this now by filtering the libc.h check from conigure.in.  emerge --sync and enjoy.