Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128202 - wine-0.9.10 fails to build with error about in.h
Summary: wine-0.9.10 fails to build with error about in.h
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-30 22:34 UTC by Perry Wolf
Modified: 2006-04-10 23:12 UTC (History)
0 users

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 Perry Wolf 2006-03-30 22:34:07 UTC
I've actually tried wine-0.9.8-r1, 0.9.9, and 0.9.10, and all are failing with the same message.  Suspect it may not be wine related, but wine is the only package I've had trouble building so far.  I have also tried with MAKEOPTS="-j1".  wine-0.9.7 is currently installed:

[ebuild     U ] app-emulation/wine-0.9.10 [0.9.7] USE="X alsa cups gif jpeg nas ncurses opengl truetype -arts -debug -esd* -glut* -jack -lcms* -ldap -oss -scanner -xml2*" 0 kB

I think that this is the relevant error message, but can attach the output of "emerge wine > wine.txt 2>&1" if necessary.

LD_LIBRARY_PATH="../libs/unicode:$LD_LIBRARY_PATH" ../tools/sfnt2fnt system.ttf 16 1250 96 128 7
In file included from /usr/include/netinet/in.h:4,
                 from kthread.c:47:
/usr/include/gentoo-multilib/x86/netinet/in.h:431: error: syntax error before '~' token
kthread.c:93: error: field `res_state' has incomplete type
make[1]: *** [kthread.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/wine-0.9.10/work/wine-0.9.10/loader'
make: *** [loader] Error 2
make: *** Waiting for unfinished jobs....
LD_LIBRARY_PATH="../libs/unicode:$LD_LIBRARY_PATH" ../tools/sfnt2fnt system.ttf 16 1253 96 128 7
Missing glyph for char 0020


emerge --info:
Portage 2.1_pre7-r2 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo x86_64)
=================================================================
System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
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-r2
sys-devel/binutils:  2.16.1-r2
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=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.seren.com/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X alsa arts avi berkdb bitmap-fonts browserplugin cdr crypt cups divx4linux dri dvd dvdr dvdread eds emboss encode exif fam ffmpeg foomaticdb fortran freetype gif gphoto2 gpm gtk gtk2 imlib ipv6 java jpeg kde kdeenablefinal lirc lm_sensors lzw lzw-tiff mozilla mozsvg mp3 mpeg nas ncurses nls nptl nptlonly nsplugin offensive ogg opengl pam pdflib perl png python qt quicktime readline real sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts usb v4l xmms xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LINGUAS
Comment 1 SpanKY gentoo-dev 2006-04-10 19:17:17 UTC
builds fine for me

run `MAKEOPTS=-j1 emerge ~wine-0.9.11 >& log` and post the log as an attachment
Comment 2 Perry Wolf 2006-04-10 23:12:09 UTC
Still did the same thing on 0.9.11, 10, 9, and 8.

But, I re-emerged glibc-2.4-r1 and 11 compiled just fine.  Quite odd.  Thanks for responding!