Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251273 - app-editors/vim-7.2.021: signal.h:174: error: two or more data types in declaration specifiers
Summary: app-editors/vim-7.2.021: signal.h:174: error: two or more data types in decla...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Interix
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-17 02:15 UTC by john
Modified: 2008-12-19 07:53 UTC (History)
0 users

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


Attachments
vim-7.2.021 config.log file (config.log,175.42 KB, text/plain)
2008-12-19 02:47 UTC, john
Details

Note You need to log in before you can comment on or make changes to this bug.
Description john 2008-12-17 02:15:37 UTC
When I try to emerge vim, the build fails with an error in signal.h.

Reproducible: Always

Steps to Reproduce:
1.emerge app-editors/vim

Actual Results:  
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 `/opt/gentoo/var/tmp/portage/app-editors/vim-7.2.021
/work/vim72/src'
i586-pc-interix6.0-gcc -c -I. -Iproto -DHAVE_CONFIG_H     -D_ALL_SOURCE     -I/o
pt/gentoo/usr/include/python2.5 -pthread    -o objects/buffer.o buffer.c
i586-pc-interix6.0-gcc -c -I. -Iproto -DHAVE_CONFIG_H     -D_ALL_SOURCE     -I/o
pt/gentoo/usr/include/python2.5 -pthread    -o objects/charset.o charset.c
i586-pc-interix6.0-gcc -c -I. -Iproto -DHAVE_CONFIG_H     -D_ALL_SOURCE     -I/o
pt/gentoo/usr/include/python2.5 -pthread    -o objects/diff.o diff.c
i586-pc-interix6.0-gcc -c -I. -Iproto -DHAVE_CONFIG_H     -D_ALL_SOURCE     -I/o
pt/gentoo/usr/include/python2.5 -pthread    -o objects/digraph.o digraph.c
i586-pc-interix6.0-gcc -c -I. -Iproto -DHAVE_CONFIG_H     -D_ALL_SOURCE     -I/o
pt/gentoo/usr/include/python2.5 -pthread    -o objects/edit.o edit.c
i586-pc-interix6.0-gcc: unrecognized option '-pthread'
i586-pc-interix6.0-gcc: unrecognized option '-pthread'
i586-pc-interix6.0-gcc: unrecognized option '-pthread'
i586-pc-interix6.0-gcc: unrecognized option '-pthread'
i586-pc-interix6.0-gcc: unrecognized option '-pthread'
In file included from os_unix.h:163,
                 from vim.h:245,
                 from diff.c:14:
/usr/include/signal.h:174: error: two or more data types in declaration specifie
rs
In file included from os_unix.h:163,
                 from vim.h:245,
                 from digraph.c:14:
/usr/include/signal.h:174: error: two or more data types in declaration specifie
rs
In file included from os_unix.h:163,
                 from vim.h:245,
                 from charset.c:10:
/usr/include/signal.h:174: error: two or more data types in declaration specifie
rs
In file included from os_unix.h:163,
                 from vim.h:245,
                 from edit.c:14:
/usr/include/signal.h:174: error: two or more data types in declaration specifie
rs
In file included from os_unix.h:163,
                 from vim.h:245,
                 from buffer.c:28:
/usr/include/signal.h:174: error: two or more data types in declaration specifie
rs
make[1]: *** [objects/charset.o] Error 1

Expected Results:  
success!

 emerge --info
Portage 2.2.00.12182-prefix (default-prefix/windows/interix/6.0/x86, gcc-4.2.4,
unavailable, 6.0 x86)
=================================================================
System uname: Interix-6.0-x86-32bit
Timestamp of tree: Tue, 16 Dec 2008 23:48:05 +0000
app-shells/bash:     3.2_p48
dev-lang/python:     2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r4
sys-devel/gcc-config: 1.4.0-r04.5
sys-devel/libtool:   1.5.26
ACCEPT_KEYWORDS="~x86-interix"
CBUILD="i586-pc-interix6.0"
CFLAGS=""
CHOST="i586-pc-interix6.0"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS=""
DISTDIR="/opt/gentoo/usr/portage/distfiles"
EPREFIX="/opt/gentoo"
FEATURES="collision-protect distlocks fixpackages nostrip parallel-fetch preserv
e-libs protect-owned sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at"
LDFLAGS=""
MAKEOPTS="-j5"
PKGDIR="/opt/gentoo/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu
de=/local --exclude=/packages"
PORTAGE_TMPDIR="/opt/gentoo/var/tmp"
PORTDIR="/opt/gentoo/usr/portage"
SYNC="svn://overlays.gentoo.org/proj/alt/trunk/prefix-overlay"
USE="7zip X bash-completion bzip2 cairo cracklib cscope curl esd exif fontconfig
 gtk jpeg mad midi mng mp3 ncurses netpbm pdf png prefix python readline ssl svg
 threads truetype vorbis x86-interix xpm zlib" ALSA_PCM_PLUGINS="adpcm alaw asym
 copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat li
near meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2
_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_defaul
t authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner auth
z_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ex
t_filter file_cache filter headers include info log_config logio mem_cache mime
mime_magic negotiation rewrite setenvif speling status unique_id userdir usertra
ck vhost_alias" ELIBC="Interix" INPUT_DEVICES="keyboard mouse" KERNEL="Interix"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses te
xt" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_A
LL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
 PORTDIR_OVERLAY

Administrator@SPROUT /opt/gentoo/var/tmp/portage/app-editors/vim-7.2.021/temp $
Comment 1 Markus Duft (RETIRED) gentoo-dev 2008-12-17 07:56:24 UTC
strange, i fixed that problem once before IIRC... i'll have a look at it.
Comment 2 Markus Duft (RETIRED) gentoo-dev 2008-12-17 08:01:03 UTC
just curious: did you bootstrap that prefix yourself, or did you use the interix setup CD? not that it'd change anything ... :)
Comment 3 Markus Duft (RETIRED) gentoo-dev 2008-12-17 08:27:15 UTC
hmm... i was able to merge vim without any problem:

>>> Installing app-editors/vim-7.2.021
* checking 5 files for package collisions
--- /opt/gentoo.system/usr/
--- /opt/gentoo.system/usr/bin/
>>> /opt/gentoo.system/usr/bin/rview -> vim
>>> /opt/gentoo.system/usr/bin/rvim -> vim
>>> /opt/gentoo.system/usr/bin/vim
>>> /opt/gentoo.system/usr/bin/vimdiff -> vim
--- /opt/gentoo.system/usr/share/
--- /opt/gentoo.system/usr/share/bash-completion/
>>> /opt/gentoo.system/usr/share/bash-completion/vim
>>> Safely unmerging already-installed instance...

i should have a very similar setup. at least system, interix and compiler versions match. could you post a "env | sort -u > xx"? maybe i can see something suspicious ;)

another question that just came to my mind: do you use configure caches? can you post the config.log?
Comment 4 john 2008-12-17 23:56:16 UTC
(In reply to comment #2)
> just curious: did you bootstrap that prefix yourself, or did you use the
> interix setup CD? not that it'd change anything ... :)
> 

I used your setup CD.
Comment 5 john 2008-12-18 00:00:59 UTC
> i should have a very similar setup. at least system, interix and compiler
> versions match. could you post a "env | sort -u > xx"? maybe i can see
> something suspicious ;)

ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\John\AppData\Roaming
CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\Program Files\Java\jdk1.6.0_10\lib\tools.jar
COMMONPROGRAMFILES=C:\Program Files\Common Files
COMPUTERNAME=SPROUT
COMSPEC=C:\Windows\system32\cmd.exe
CONFIG_PROTECT_MASK=/etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/ca-certificates.conf /etc/revdep-rebuild
CVS_RSH=ssh
DISPLAY=localhost:0
EPREFIX=/opt/gentoo
FP_NO_HOST_CHECK=NO
GCC_SPECS=
GDK_USE_XFT=1
HOME=/net/./../home/Administrator
HOMEDRIVE=C:
HOMEPATH=\Users\John
INFOPATH=/opt/gentoo/usr/share/info:/opt/gentoo/usr/share/binutils-data/i586-pc-interix6.0/2.18/info:/opt/gentoo/usr/share/gcc-data/i586-pc-interix6.0/4.2.4/info
INTERIX_ROOT=/dev/fs/C/Windows/SUA/
INTERIX_ROOT_WIN=C:\Windows\SUA\
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10
LESS=-R -M --shift 5
LESSOPEN=|lesspipe.sh %s
LOCALAPPDATA=C:\Users\John\AppData\Local
LOGNAME=Administrator
LOGONSERVER=\\SPROUT
MANPATH=/opt/gentoo/usr/share/man:/opt/gentoo/usr/share/binutils-data/i586-pc-interix6.0/2.18/man:/opt/gentoo/usr/share/gcc-data/i586-pc-interix6.0/4.2.4/man:/usr/share/man
MSSDK=C:\Program Files\Microsoft SDKs\Windows\v6.1
NUMBER_OF_PROCESSORS=4
OLDPWD=/opt/gentoo/var/tmp/portage/dev-lang/python-2.5.2-r8/temp
OPENNT_ROOT=/dev/fs/C/Windows/SUA/
OS=Windows_NT
PAGER=/opt/gentoo/usr/bin/less
PATH=/opt/gentoo/usr/bin:/opt/gentoo/bin:/opt/gentoo/opt/bin:/opt/gentoo/usr/sbin:/opt/gentoo/sbin:/opt/gentoo/usr/i586-pc-interix6.0/binutils-bin/2.18:/opt/gentoo/usr/i586-pc-interix6.0/gcc-bin/4.2.4:/usr/bin:/bin:/usr/contrib/bin:/usr/contrib/win32/bin:/dev/fs/C/Program Files/Microsoft Visual Studio 9.0/Common7/Tools:/dev/fs/C/Program Files/Microsoft Visual Studio 9.0/Common7/IDE:/dev/fs/C/Program Files/Microsoft Visual Studio 9.0/VC/bin:/dev/fs/C/Program Files/Microsoft SDKs/Windows/v6.1/bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PKG_CONFIG_PATH=/opt/gentoo/usr/lib/pkgconfig:/opt/gentoo/usr/share/pkgconfig
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 16 Model 2 Stepping 3, AuthenticAMD
PROCESSOR_LEVEL=16
PROCESSOR_REVISION=0203
PROGRAMDATA=C:\ProgramData
PROGRAMFILES=C:\Program Files
PS1=\u@\h \w \$ 
PUBLIC=C:\Users\Public
PWD=/home/Administrator
PYTHONPATH=/opt/gentoo/usr/lib/portage/pym
QTJAVA=C:\Program Files\Java\jre6\lib\ext\QTJava.zip
SESSIONNAME=Console
SFUDIR=C:\Windows\SUA\
SFUDIR_INTERIX=/dev/fs/C/Windows/SUA/
SHELL=/opt/gentoo/bin/bash
SHLVL=2
SUA_ROOT=/dev/fs/C/Windows/SUA/
SUA_ROOT_WIN=C:\Windows\SUA\
SYSTEMDRIVE=C:
SYSTEMROOT=C:\Windows
TEMP=C:\Users\John\AppData\Local\Temp
TERM=interix
TMP=C:\Users\John\AppData\Local\Temp
TMPDIR=/tmp
USER=Administrator
USERDOMAIN=SPROUT
USERNAME=John
USERPROFILE=C:\Users\John
VISUAL=/opt/gentoo/usr/bin/vim
VS90COMNTOOLS=C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\
WINDIR=C:\Windows
XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults
XCMSDB=/usr/X11R6/lib/X11/Xcms.txt
XDG_DATA_DIRS=/opt/gentoo/usr/share
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
XNAGSSHARED=C:\Program Files\Common Files\Microsoft Shared\XNA\
XNAGSV3=C:\Program Files\Microsoft XNA\XNA Game Studio\v3.0\
XNLSPATH=/usr/X11R6/lib/X11/locale
_=/opt/gentoo/usr/bin/env
_PSXLIBPATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\TortoiseSVN\bin;C:\Windows\SUA\common\;C:\Windows\SUA\usr\lib\

> another question that just came to my mind: do you use configure caches? can
> you post the config.log?

Where would the config.log be located?  The find and locate commmands did not find or locate this file :)
Comment 6 Markus Duft (RETIRED) gentoo-dev 2008-12-18 07:31:44 UTC
(In reply to comment #5)
> > i should have a very similar setup. at least system, interix and compiler
> > versions match. could you post a "env | sort -u > xx"? maybe i can see
> > something suspicious ;)
[snip]

environment looks good so far...

> > another question that just came to my mind: do you use configure caches? can
> > you post the config.log?
> Where would the config.log be located?  The find and locate commmands did not
> find or locate this file :)

lol. look in /opt/gentoo/var/tmp/portage/... there shouldn't be too many directories there, you should be able to find the build dir for vim easely.
Comment 7 john 2008-12-19 02:47:58 UTC
Created attachment 175828 [details]
vim-7.2.021 config.log file

here is the file you requested
Comment 8 john 2008-12-19 05:17:31 UTC
(In reply to comment #7)
> Created an attachment (id=175828) [edit]
> vim-7.2.021 config.log file
> 
> here is the file you requested
> 

So I tried the fix you mentioned from bug 251418, and now I'm able to successfully build a few more packages, including this one.
Comment 9 Markus Duft (RETIRED) gentoo-dev 2008-12-19 07:53:33 UTC
wow, this one was a parallel build problem too? it really didn't look like one...

i must say that i'm building parallel too, and it seems that this worked a little better on server 2003r2 with SUA 5.2. SUA 6.0 has some problems... whenever something fails, the first thing i try is to fall back to only one job...

so, if this works now, i'll mark this bug invalid.