Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wine fails to compile (NUL character seen) [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Tue Apr 17, 2007 5:58 pm    Post subject: Wine fails to compile (NUL character seen) [solved] Reply with quote

Hallo,

***************************************
The problem is definitely solved in this post.
***************************************

I am trying to emerge wine in my mother's ols laptop with the following specifications and it fails.

Specifications:
CPU: Celeron Coppermine 700Mhz
Memory: 186MB
Swap: 486MB
Sound: No sound support installed (alsa, oss, arts)
Error:
Code:
Makefile:471: warning: NUL character seen; rest of line ignored
Makefile:477: warning: NUL character seen; rest of line ignored
Makefile:478: warning: NUL character seen; rest of line ignored
Makefile:479: *** missing separator.  Stop.
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.29/work/wine-0.9.29/dlls/dinput'
make[1]: *** [dinput/libdinput.def] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.29/work/wine-0.9.29/dlls'
make: *** [dlls] Error 2
make: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o request.o request.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o semaphore.o semaphore.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o serial.o serial.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o signal.o signal.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o snapshot.o snapshot.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o sock.o sock.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o symlink.o symlink.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o thread.o thread.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o timer.o timer.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o token.o token.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o trace.o trace.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o unicode.o unicode.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o user.o user.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o window.o window.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o winstation.o winstation.c
sed -e 's,@bindir\@,/usr/bin,g' -e 's,@dlldir\@,/usr/lib/wine,g' -e 's,@PACKAGE_STRING\@,Wine 0.9.29,g' wineserver.man.in >wineserver.man || (rm -f wineserver.man && false)
i686-pc-linux-gnu-gcc -o wineserver atom.o change.o class.o clipboard.o console.o context_alpha.o context_i386.o context_powerpc.o context_sparc.o context_x86_64.o debugger.o directory.o event.o fd.o file.o handle.o hook.o mach.o mailslot.o main.o mapping.o mutex.o named_pipe.o object.o process.o ptrace.o queue.o region.o registry.o request.o semaphore.o serial.o signal.o snapshot.o sock.o symlink.o thread.o timer.o token.o trace.o unicode.o user.o window.o winstation.o     -Wl,--rpath,\$ORIGIN/`../tools/relpath /usr/bin /usr/lib` -L../libs/wine -lwine ../libs/port/libwine_port.a
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.29/work/wine-0.9.29/server'

!!! ERROR: app-emulation/wine-0.9.29 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3302:   Called src_compile
  wine-0.9.29.ebuild, line 107:   Called die

!!! all
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/app-emulation:wine-0.9.29:20070417-174104.log'.


Here is my emerge --info
Code:
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Celeron (Coppermine)
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 14 Apr 2007 00:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://files.gentoo.gr ftp://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.uoi.gr/mirror/OS/gentoo/"
LANG="en_GB.UTF-8"
LINGUAS="en en_GB el uk"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X berkdb bitmap-fonts bzip2 bzlib caps crypt dbus divx doc dri gdbm gif gmedia gpm hal java jbig jpeg jpeg2k jpg logrotate mmx ncurses nls nptl nsplugin pam perl png python qt3 qt4 quicktime rdesktop readline real realmedia snmp spell sse ssl startup-notification tcpd tiff truetype truetype-fonts type1-fonts unicode usb win32codecs wmp x86 xml xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB el uk" USERLAND="GNU" VIDEO_CARDS="mach64 radeon fglrx fbdev vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


I would appreciate your help.

Kind regards,
orange_juice


Last edited by orange_juice on Wed Dec 12, 2007 9:28 am; edited 6 times in total
Back to top
View user's profile Send private message
spoon-man
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2004
Posts: 86
Location: Australia W.A

PostPosted: Wed Apr 18, 2007 9:45 am    Post subject: Reply with quote

have you tried to emerge the latest wine 0.9.35
if not edit your /etc/portage/package.keywords and add "app-emulation/wine" to the file then emerge wine 0.9.35.
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Wed Apr 18, 2007 2:21 pm    Post subject: Reply with quote

Hallo,

Thank you for answering. I just tried to do that but again the build failed with the following error:

Code:
make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-0.9.35/work/wine-0.9.35/dlls/advapi32'
Makefile:474: warning: NUL character seen; rest of line ignored
Makefile:478: warning: NUL character seen; rest of line ignored
Makefile:479: warning: NUL character seen; rest of line ignored
Makefile:480: *** missing separator.  Stop.
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.35/work/wine-0.9.35/dlls/advapi32'
make[1]: *** [advapi32/libadvapi32.def] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.35/work/wine-0.9.35/dlls'
make: *** [dlls] Error 2
make: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o region.o region.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o registry.o registry.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o request.o request.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o semaphore.o semaphore.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o serial.o serial.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o signal.o signal.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o snapshot.o snapshot.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o sock.o sock.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o symlink.o symlink.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o thread.o thread.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o timer.o timer.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o token.o token.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o trace.o trace.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o unicode.o unicode.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o user.o user.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o window.o window.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o winstation.o winstation.c
sed -e 's,@bindir\@,/usr/bin,g' -e 's,@dlldir\@,/usr/lib/wine,g' -e 's,@PACKAGE_STRING\@,Wine 0.9.35,g' wineserver.man.in >wineserver.man || (rm -f wineserver.man && false)
i686-pc-linux-gnu-gcc -o wineserver async.o atom.o change.o class.o clipboard.o console.o context_alpha.o context_i386.o context_powerpc.o context_sparc.o context_x86_64.o debugger.o directory.o event.o fd.o file.o handle.o hook.o mach.o mailslot.o main.o mapping.o mutex.o named_pipe.o object.o process.o procfs.o ptrace.o queue.o region.o registry.o request.o semaphore.o serial.o signal.o snapshot.o sock.o symlink.o thread.o timer.o token.o trace.o unicode.o user.o window.o winstation.o     -Wl,--rpath,\$ORIGIN/`../tools/relpath /usr/bin /usr/lib` -L../libs/wine -lwine ../libs/port/libwine_port.a
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.35/work/wine-0.9.35/server'

!!! ERROR: app-emulation/wine-0.9.35 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3302:   Called src_compile
  wine-0.9.35.ebuild, line 107:   Called die

!!! all
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/app-emulation:wine-0.9.35:20070418-130341.log'.


Since I am totally unaware of programming issues and compiling errors, I would like to spot my speculations about what can make a difference in my gentoobox setup:

1) It is an old laptop with 186 MB memory and 486 MB swap
2) I have not installed alsa or oss or any sound support because the sound card or the speakers do not work at all!

Do you think that these clues have to do anything with this error?

*** MORE INFO ***


Following the next steps in order to cimpile wine manualy, I had the following results:
Wine-0.9.29
Code:
cd /var/tmp/portage/app-emulation/wine-0.9.29/work/wine-0.9.29
./configure 
make depend 
make 

Error:
Code:
make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-0.9.29/work/wine-0.9.29/dlls/d3dxof'
Makefile:463: warning: NUL character seen; rest of line ignored
Makefile:473: warning: NUL character seen; rest of line ignored
Makefile:474: *** missing separator.  Stop.
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.29/work/wine-0.9.29/dlls/d3dxof'
make[1]: *** [d3dxof/libd3dxof.def] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.29/work/wine-0.9.29/dlls'
make: *** [dlls] Error 2

Wine-0.9.35
Code:
cd /var/tmp/portage/app-emulation/wine-0.9.35/work/wine-0.9.35
./configure 
make depend 
make

Error
Code:
make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-0.9.35/work/wine-0.9.35/dlls/dinput'
Makefile:472: warning: NUL character seen; rest of line ignored
Makefile:477: warning: NUL character seen; rest of line ignored
Makefile:478: warning: NUL character seen; rest of line ignored
Makefile:479: *** missing separator.  Stop.
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.35/work/wine-0.9.35/dlls/dinput'
make[1]: *** [dinput/libdinput.def] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.35/work/wine-0.9.35/dlls'
make: *** [dlls] Error 2


Kind regards,
orange_juice
Back to top
View user's profile Send private message
spoon-man
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2004
Posts: 86
Location: Australia W.A

PostPosted: Wed Apr 18, 2007 10:24 pm    Post subject: Reply with quote

I don't really know all the much on programing :( what version of gcc you running? Mabey try to compile it with a sound system just to see what happens

USE="alsa oss" emerge wine

it looks like its dieing on directx type stuff.
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Wed Apr 18, 2007 11:00 pm    Post subject: Reply with quote

You are right!

I added opengl and alsa in my /etc/make.conf and then emerged --newuse world.

After that I tried to emerge wine but it failed at the directory that included langobj or something like that.

I rebooted the machine.

I recompiled ... and got the error:

Code:

i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o env.o env.c
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.29/work/wine-0.9.29/dlls/ntdsapi'
make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-0.9.29/work/wine-0.9.29/dlls/objsel'
Makefile:462: warning: NUL character seen; rest of line ignored
Makefile:470: warning: NUL character seen; rest of line ignored
Makefile:471: *** missing separator.  Stop.
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.29/work/wine-0.9.29/dlls/objsel'
make[1]: *** [objsel] Error 2
make[1]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o error.o error.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o exception.o exception.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o file.o file.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o handletable.o handletable.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o heap.o heap.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o large_int.o large_int.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o loader.o loader.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o loadorder.o loadorder.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o misc.o misc.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o nt.o nt.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o om.o om.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o path.o path.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o process.o process.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o reg.o reg.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o relay.o relay.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o resource.o resource.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o rtl.o rtl.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o rtlbitmap.o rtlbitmap.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o rtlstr.o rtlstr.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o sec.o sec.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o serial.o serial.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o server.o server.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o signal_i386.o signal_i386.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o signal_powerpc.o signal_powerpc.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o signal_sparc.o signal_sparc.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o signal_x86_64.o signal_x86_64.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o string.o string.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o sync.o sync.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o tape.o tape.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o thread.o thread.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o threadpool.o threadpool.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o time.o time.c
time.c: In function ‘RtlSetTimeZoneInformation’:
time.c:1059: warning: null argument where non-null required (argument 1)
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o version.o version.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o virtual.o virtual.c
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -march=pentium3 -O2 -pipe  -o wcstring.o wcstring.c
../../tools/winebuild/winebuild -D_REENTRANT -fPIC --as-cmd "i686-pc-linux-gnu-as" -o relay32.o --relay32
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ntdll.spec    atom.o cdrom.o critsection.o debugbuffer.o debugtools.o directory.o env.o error.o exception.o file.o handletable.o heap.o large_int.o loader.o loadorder.o misc.o nt.o om.o path.o process.o reg.o relay.o resource.o rtl.o rtlbitmap.o rtlstr.o sec.o serial.o server.o signal_i386.o signal_powerpc.o signal_sparc.o signal_x86_64.o string.o sync.o tape.o thread.o threadpool.o time.o version.o virtual.o wcstring.o    relay32.o   -Wl,--image-base,0x7bc00000 -o ntdll.dll.so     ../../libs/port/libwine_port.a
make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.29/work/wine-0.9.29/dlls/ntdll'
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.29/work/wine-0.9.29/dlls'
make: *** [dlls] Error 2

!!! ERROR: app-emulation/wine-0.9.29 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3303:   Called src_compile
  wine-0.9.29.ebuild, line 107:   Called die

!!! all
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/app-emulation:wine-0.9.29:20070418-221947.log'.


I feel like wine is trying to find a reason to die while being compiled....!

Kind regards,
orange_juice
Back to top
View user's profile Send private message
spoon-man
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2004
Posts: 86
Location: Australia W.A

PostPosted: Thu Apr 19, 2007 5:41 am    Post subject: Reply with quote

its got me stumped :(
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Thu Apr 19, 2007 10:50 am    Post subject: Reply with quote

... and suddenly ...

After 12 hours of sleep ....

It compiled.

OK... :roll:

Thank you anyway!

Kind regards,
orange_juice
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Thu Apr 19, 2007 5:34 pm    Post subject: Reply with quote

orange_juice wrote:
... and suddenly ...

After 12 hours of sleep ....

It compiled.

OK... :roll:


Welcome to Linux! :lol:
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Thu Apr 19, 2007 7:18 pm    Post subject: Reply with quote

sonicbhoc wrote:
Welcome to Linux! :lol:


Lol! :D

I think, this is a strong sign of ... character.

!!!

Kind regards,
orange_juice
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Sat May 05, 2007 3:41 pm    Post subject: Reply with quote

I had the same problem, and it didn't go away after 12 hours... Now I build wine in /dev/shm, succeeded and have badblocks running on my /var partition.
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Sun May 06, 2007 2:00 pm    Post subject: Reply with quote

In my occasion it might have been a problem with the correct driver of my graphics card.

I remember that during compilation I did some modprobes one of which was the correct driver of my graphics card.

I apologize for not clarifying this issue but I cannot say for sure because it was a time when I was under pressure and I was staying overnight to finish that job.

Try to verify that your kernel uses the correct driver.

I had read somewhere that wine also requires direct rendering properly configured. However, I did not manage to enable direct rendering in my laptop. Once wine compiled, I gave it to my mother because she likes to play bridge online, and that was the reason for compiling wine...

...

Anyway. The abstract of the above text is that you should definitely try to configure properly your graphics card before you try to compile wine.

Kind regards,
orange_juice
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Tue Jul 31, 2007 10:48 am    Post subject: Reply with quote

Hallo,

The problem is definitely solved in this post.

Kind regards,
orange_juice
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 140

PostPosted: Wed Dec 26, 2007 4:00 pm    Post subject: Reply with quote

I had the same problem occasionally and found out it has to be a problem with the block size of my /var/tmp ext3 partition. If it was anything different from 4096 bytes, such errors (makefiles containing NUL characters) would occur. Compiling it on a tmpfs did not produce any error, and after recreating the filesystem with a block size of 4096 bytes, the problem never haunted me again. I strongly suppose this is a kernel problem*, though I'm not quite sure. Has anyone else shared similar experience?

*Edit: On the other hand, I don't have any other issues, all other packages compile fine, so this is only related to wine and might have nothing to do with ext3.
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Thu Dec 27, 2007 4:24 am    Post subject: Reply with quote

Small_Penguin wrote:
I had the same problem occasionally and found out it has to be a problem with the block size of my /var/tmp ext3 partition. If it was anything different from 4096 bytes, such errors (makefiles containing NUL characters) would occur.


Thank you!

You are so right!

The problem appeared again when I had to update to wine-0.9.46: It would not compile for anything!

After I mounted a /var/tmp partition with block size 4096 (it previously was 1024) wine compiled like a charm!

And yes, you are right ... this happens only with wine so far ... Amazing!

Kind regards,
orange_juice
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 140

PostPosted: Thu Jan 03, 2008 10:47 am    Post subject: Reply with quote

The wine package generates quite a lot of files and directories; However, I'm using 1024 block size on my root file system and on /usr/src without any problems so far.

This could still mean something is wrong on the kernel / ext3 side. See also https://forums.gentoo.org/viewtopic-t-580564-highlight-quodlibet.html though this could be completely unrelated to this problem.

I will try to use a vanilla kernel first and create a bug report.
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Sat Jan 05, 2008 12:36 pm    Post subject: Reply with quote

Small_Penguin wrote:
The wine package generates quite a lot of files and directories; However, I'm using 1024 block size on my root file system and on /usr/src without any problems so far.


Hallo, happy new year!

I am also using 1024 block size on my root filesystem.
I only modified /var/tmp by mounting a freshly formated partition with 4096 block size and wine compiled flawlessly.

If you can file it as a bug, it would be great, otherwise I can also do it, let me know. Thank you for your help.

Kind regards,
orange_juice
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum