Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16355 - winex fails with new glibc (errno)
Summary: winex fails with new glibc (errno)
Status: RESOLVED DUPLICATE of bug 16267
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: phoen][x
URL: http://www.winehq.com/news/?view=155#...
Whiteboard:
Keywords:
: 16955 16977 17081 (view as bug list)
Depends on: 16267
Blocks:
  Show dependency tree
 
Reported: 2003-02-25 11:09 UTC by Peter Ruskin
Modified: 2005-07-17 13:06 UTC (History)
3 users (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 Peter Ruskin 2003-02-25 11:09:33 UTC
$ cd /mnt/win/f/Agent/Pipex
$ winex --managed ../agent.exe
wine: lstat /home/peter/.winex/wineserver-penguin.ruskin/socket : No such file
or directory

# emerge winex
...
make[1]: Entering directory `/var/tmp/portage/winex-20021123/work/wine/miscemu'
LD_LIBRARY_PATH="../unicode:$LD_LIBRARY_PATH" ../tools/winebuild/winebuild -fPIC
-L../dlls -o wine.spec.c -spec wine.spec
gcc -c -I. -I. -I../include -I../include  -g -O2 -Wall
-mpreferred-stack-boundary=2 -D__WINE__ -DNO_DEBUG_MSGS -DNO_TRACE_MSGS
-D_REENTRANT -I/usr/X11R6/include -o wine.spec.o wine.spec.c
gcc -c -I. -I. -I../include -I../include  -g -O2 -Wall
-mpreferred-stack-boundary=2 -D__WINE__ -DNO_DEBUG_MSGS -DNO_TRACE_MSGS
-D_REENTRANT -I/usr/X11R6/include -o main.o main.c
ld -r wine.spec.o main.o      -o miscemu.o
make[1]: Leaving directory `/var/tmp/portage/winex-20021123/work/wine/miscemu'
gcc -o wine miscemu/miscemu.o -L./dlls -lntdll -L./library -lwine -L./unicode
-lwine_unicode -lm
./library/libwine.so: undefined reference to `errno'
./library/libwine.so: undefined reference to `h_errno'
collect2: ld returned 1 exit status
make: *** [wine] Error 1

!!! ERROR: app-emulation/winex-20021123 failed.
!!! Function src_compile, Line 68, Exitcode 2
!!! make depend all failed


Reproducible: Always
Steps to Reproduce:
1. as user, `winex <some-win-exe>`
2. as root, emerge winex
Comment 1 SpanKY gentoo-dev 2003-02-25 12:20:40 UTC

*** This bug has been marked as a duplicate of 16267 ***
Comment 2 SpanKY gentoo-dev 2003-02-26 20:57:13 UTC
time to patch 
Comment 3 john read 2003-02-27 14:15:29 UTC
wine-20030115 compiles ok, but cannot run anymore with glibc-2.3.2-pre1 as it cannot create/find the socket file in /tmp/xxxxxx/socket. After downgrading glibc again the problem disappeared.
Comment 4 phoen][x 2003-03-05 07:59:18 UTC

*** This bug has been marked as a duplicate of 16267 ***
Comment 5 SpanKY gentoo-dev 2003-03-06 14:38:21 UTC
*** Bug 16955 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2003-03-06 14:38:50 UTC
*** Bug 16977 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2003-03-08 16:44:48 UTC
*** Bug 17081 has been marked as a duplicate of this bug. ***
Comment 8 phoen][x 2003-03-23 13:03:41 UTC
Do me a favor and try to delete /home/peter/.winex/wineserver-penguin.ruskin/ 

Does it work?

-phoen][x-
Comment 9 Peter Ruskin 2003-03-24 08:04:49 UTC
No.  In fact since emerging more stuff winex, winex-cvs and wine are all not working: fail loading fonts.  Of course I can't remerge because of the errno bug.
Comment 10 Peter Ruskin 2003-03-24 08:46:21 UTC
This is the error I get:
Building font metrics. This may take some time...
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  45 (X_OpenFont)
  Value in failed request:  0x1a00577
  Serial number of failed request:  4229
  Current serial number in output stream:  4230
Comment 11 Peter Ruskin 2003-03-24 12:20:25 UTC
Gone back to glibc-2.3.1-r3.  No response from winex or winex-cvs (remerged with glibc-2.3.1-r3) commands (command line simply returns).  Here's the strace:

$ strace winex-cvs /mnt/win/c/win/notepad
execve("/usr/bin/winex-cvs", ["winex-cvs", "/mnt/win/c/win/notepad"], [/* 63 vars */]) = 0
uname({sys="Linux", node="penguin", ...}) = 0
brk(0)                                  = 0x80e4bd4
open("/etc/ld.so.preload", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3)                                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=103179, ...}) = 0
mmap2(NULL, 103179, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=11771, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4002e000
mmap2(NULL, 11396, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002f000
mprotect(0x40031000, 3204, PROT_NONE)   = 0
mmap2(0x40031000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x40031000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200Z\1"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1394066, ...}) = 0
mmap2(NULL, 1219780, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40032000
mprotect(0x40154000, 31940, PROT_NONE)  = 0
mmap2(0x40154000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x121) = 0x40154000
mmap2(0x40158000, 15556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40158000
close(3)                                = 0
munmap(0x40014000, 103179)              = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=19146752, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4015c000
close(3)                                = 0
brk(0)                                  = 0x80e4bd4
brk(0x80e5bd4)                          = 0x80e5bd4
brk(0x80e6000)                          = 0x80e6000
getuid32()                              = 501
getgid32()                              = 501
geteuid32()                             = 501
getegid32()                             = 501
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
time(NULL)                              = 1048525802
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1562, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
read(3, "/dev/root / ext3 rw,noatime 0 0\n"..., 4096) = 1562
close(3)                                = 0
munmap(0x40014000, 4096)                = 0
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
read(3, "        total:    used:    free:"..., 1024) = 525
close(3)                                = 0
munmap(0x40014000, 4096)                = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="penguin", ...}) = 0
brk(0x80e7000)                          = 0x80e7000
brk(0x80e8000)                          = 0x80e8000
brk(0x80e9000)                          = 0x80e9000
stat64("/home/peter/.transgaming/c_drive/Program Files/Phenomedia AG/Moorhuhn Winter-Edition", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
getpid()                                = 4310
getppid()                               = 4309
brk(0x80ea000)                          = 0x80ea000
getpgrp()                               = 4309
rt_sigaction(SIGCHLD, {0x8074db0, [], SA_RESTORER, 0x4005b528}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("/usr/bin/winex-cvs", O_RDONLY|O_LARGEFILE) = 3
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "#!/bin/bash\n# The wineX wrapper\n"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET)            = 0
getrlimit(0x7, 0xbffff0a8)              = 0
dup2(3, 255)                            = 255
close(3)                                = 0
fcntl64(255, F_SETFD, FD_CLOEXEC)       = 0
fcntl64(255, F_GETFL)                   = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=1244, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
read(255, "#!/bin/bash\n# The wineX wrapper\n"..., 1244) = 1244
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
brk(0x80eb000)                          = 0x80eb000
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
brk(0x80ec000)                          = 0x80ec000
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
stat64("/home/peter/.winex-cvs/config", {st_mode=S_IFREG|0644, st_size=6914, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
brk(0x80ed000)                          = 0x80ed000
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [RTMIN], 8) = 0
fork()                                  = 4311
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGINT, {0x8073d50, [], SA_RESTORER, 0x4005b528}, {SIG_DFL}, 8) = 0
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 2], 0, NULL) = 4311
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0xbfffecbc, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [RTMIN])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8073d50, [], SA_RESTORER, 0x4005b528}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
read(255, "", 1244)                     = 0
_exit(2)                                = ?
Comment 12 phoen][x 2003-03-25 04:21:23 UTC
The problem with wine* and fonts is in fact an Xfree86 problem.

Check bug #16420 for details. This bug is out of my expertise; we'll have to wait for an xfree maintainer to fix it.

Sorry,

-phoen][x-