Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
imake fails when emerging Xaw3d
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Wed Dec 10, 2008 12:05 am    Post subject: imake fails when emerging Xaw3d Reply with quote

Hello,

hopefully i'm right here with my problem.

On my Neo Freerunner i'm trying to emerge xvkbd which depends on Xaw3d, but emerging it fails with:
Code:
Geneo ~ # emerge -av fluxbox xvkbd

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-libs/Xaw3d-1.5-r1  0 kB
[ebuild  N    ] x11-misc/xvkbd-2.8  0 kB
[ebuild  N    ] media-libs/imlib2-1.4.2-r1  USE="X bzip2 gif jpeg mp3 nls png tiff zlib -doc (-mmx)" 0 kB
[ebuild  N    ] app-vim/genindent-1.0  0 kB
[ebuild  N    ] app-vim/fluxbox-syntax-1.5  0 kB
[ebuild  N    ] x11-wm/fluxbox-1.1.1  USE="imlib nls slit toolbar truetype vim-syntax -gnome -xinerama" 0 kB

Total: 6 packages (6 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 6) x11-libs/Xaw3d-1.5-r1
 * Xaw3d-1.5.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking Xaw3d-1.5.tar.gz to /var/tmp/portage/x11-libs/Xaw3d-1.5-r1/work
 * Applying Xaw3d-xfree86.diff ...                                                                                                                       [ ok ]
 * Applying Xaw3d-out-of-tree.diff ...                                                                                                                   [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-libs/Xaw3d-1.5-r1/work/xc/lib/Xaw3d ...
imake -DUseInstalled -I/usr/lib/X11/config
/usr/bin/xmkmf: line 57: 10926 Aborted                 imake $imake_defines $args
 *
 * ERROR: x11-libs/Xaw3d-1.5-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2033:  Called die
 * The specific snippet of code:
 *       xmkmf || die;
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/Xaw3d-1.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/Xaw3d-1.5-r1/temp/environment'.
 *

 * Messages for package x11-libs/Xaw3d-1.5-r1:

 *
 * ERROR: x11-libs/Xaw3d-1.5-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2033:  Called die
 * The specific snippet of code:
 *       xmkmf || die;
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/Xaw3d-1.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/Xaw3d-1.5-r1/temp/environment'.
 *
Geneo ~ #


If i try to run imake -DUseInstalled -I/usr/lib/X11/config in /var/tmp/portage/x11-libs/Xaw3d-1.5-r1/work/xc/lib/Xaw3d it fails with "Aborted". A look into /usr/lib/X11/config shows an empty directory.

I guess /usr/lib/X11/config should not be empty, so maybe this is it why imake fails.
Does sonmeone know what do i have to do to get xvkbd emerged?

Thanks in advance.

Evil
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
hippy-ted
n00b
n00b


Joined: 13 Sep 2007
Posts: 24

PostPosted: Thu Dec 11, 2008 2:43 am    Post subject: Reply with quote

That error message seems strangely unhelpful, have you copied it right or is there a bit missing in the middle?

Anyway, imake expects to find a template file (amongst other things) in /usr/lib/X11/config so something is very wrong if that directory is empty. It should have been populated when you emerged xorg-X11. Try emerge -1 x11-misc:xorg-cf-files first.

-Ted
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Thu Dec 11, 2008 1:12 pm    Post subject: Reply with quote

Hello.

Yes i've copied the errormessage right from the console. There is nothing missing.
I will follow your instructions and emerge x11-misc:xorg-cf-files.


Evil
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Sat Dec 13, 2008 1:44 pm    Post subject: Reply with quote

Okay, thanks for that tip. /usr/lib/X11/config is now populated, but it did not help :(

The relevant part of emerge xvkbd is:
Code:
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-libs/Xaw3d-1.5-r1/work/xc/lib/Xaw3d ...
imake -DUseInstalled -I/usr/lib/X11/config
/usr/bin/xmkmf: line 57:  7426 Aborted                 imake $imake_defines $args
 *
 * ERROR: x11-libs/Xaw3d-1.5-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2032:  Called die
 * The specific snippet of code:
 *       xmkmf || die;
 *  The die message:
 *   (no error message)


Running imake by hand looks like this.
Code:
Geneo Xaw3d # pwd
/var/tmp/portage/x11-libs/Xaw3d-1.5-r1/work/xc/lib/Xaw3d
Geneo Xaw3d # imake -DUseInstalled -I/usr/lib/X11/config -v
Aborted
Geneo Xaw3d #


It should be more verbose, but the manpage doesn't know something about -v or --verbose to trace the error.

What else can i do to get Xaw3d compiled?

Evil
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Sat Dec 13, 2008 2:10 pm    Post subject: Reply with quote

Here's the output from strace. Maybe it will help:
Code:
Geneo ~ # cd /var/tmp/portage/x11-libs/Xaw3d-1.5-r1/work/xc/lib/Xaw3d
Geneo Xaw3d # strace imake -DUseInstalled -I/usr/lib/X11/config
execve("/usr/bin/imake", ["imake", "-DUseInstalled", "-I/usr/lib/X11/config"], [/* 25 vars */]) = 0
brk(0)                                  = 0x16000
uname({sys="Linux", node="Geneo", ...}) = 0
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=19540, ...}) = 0
mmap2(NULL, 19540, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001d000
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(\0\1\0\0\0\24P\1\0004\0\0\0\254"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1164252, ...}) = 0
mmap2(NULL, 1167440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40026000
mmap2(0x4013e000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x118) = 0x4013e000
mmap2(0x40141000, 8272, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40141000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40022000
set_tls(0x400227e0, 0x400227e0, 0x690, 0x40022eb8, 0x40025000) = 0
mprotect(0x4013e000, 8192, PROT_READ)   = 0
mprotect(0x14000, 4096, PROT_READ)      = 0
mprotect(0x40024000, 4096, PROT_READ)   = 0
munmap(0x4001d000, 19540)               = 0
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0xaa54, [INT], SA_RESTART|0x4000000}, {SIG_IGN}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
access("Imakefile", R_OK)               = 0
access("Imakefile.c", F_OK)             = 0
brk(0)                                  = 0x16000
brk(0x37000)                            = 0x37000
open("Imakefile.c", O_RDONLY)           = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=645, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
read(3, "/* imake - temporary file */\n#def"..., 4096) = 645
close(3)                                = 0
munmap(0x4001d000, 4096)                = 0
open("Makefile", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
open("Imakefile", O_RDONLY)             = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=4054, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=4054, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
read(4, "XCOMM $XConsortium: Imakefile,v 1"..., 4096) = 4054
close(4)                                = 0
munmap(0x4001d000, 4096)                = 0
open("Imakefile.c", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
uname({sys="Linux", node="Geneo", ...}) = 0
lstat64("/etc/SuSE-release", 0xbe90b0d8) = -1 ENOENT (No such file or directory)
lstat64("/etc/redhat-release", 0xbe90b0d8) = -1 ENOENT (No such file or directory)
lstat64("/etc/debian_version", 0xbe90b0d8) = -1 ENOENT (No such file or directory)
gettimeofday({1229168965, 601887}, NULL) = 0
getpid()                                = 18119
open("/tmp/imakeWTfneS", O_RDWR|O_CREAT|O_EXCL, 0600) = 5
close(5)                                = 0
pipe([5, 6])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40022388) = 18120
close(5)                                = 0
fstat64(6, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000
write(6, "#include <stdio.h>\n#include <ctyp"..., 1024) = 1024
write(6, "define DefaultLinuxCLibTeenyVersi"..., 71) = 71
close(6)                                = 0
wait4(18120, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 18120
--- SIGCHLD (Child exited) @ 0 (0) ---
munmap(0x4001e000, 4096)                = 0
pipe([5, 6])                            = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40022388) = 18126
close(6)                                = 0
fstat64(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000
read(5, ""..., 1024)                    = 0
close(5)                                = 0
wait4(18126, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGILL}], 0, NULL) = 18126
--- SIGCHLD (Child exited) @ 0 (0) ---
munmap(0x4001e000, 4096)                = 0
unlink("/tmp/imakeWTfneS")              = 0
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
write(4, "/* imake - temporary file */\n#def"..., 645) = 645
tgkill(18119, 18119, SIGABRT)           = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Geneo Xaw3d #

_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
hippy-ted
n00b
n00b


Joined: 13 Sep 2007
Posts: 24

PostPosted: Mon Dec 15, 2008 6:55 pm    Post subject: Reply with quote

Well that strace only shows a part of it, most of the work is done by forked children (see -f flag to strace). However it seems to show that imake wasn't running on freshly unpacked source code, because it found an Imakefile.c file already created there.

I can't see why it failed though. Maybe some more of your x11 installation is not right. One thing that does occur to me is that Gentoo recently switched to a modular installation of x11 and I wonder if you followed that upgrade fully. Do you know how /usr/lib/X11/config came to be empty before? Will other X11 programs build correctly?

-Ted.
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Tue Dec 16, 2008 12:08 am    Post subject: Reply with quote

In the meanwhile i tried to upgrade to Xorg 7.4 (x11-base/xorg-server-1.5.2) because i guessed this would go right if something with the installation of 7.3 is wrong. But now its more worse than before.
Shame on me :(

The x11-base/xorg-server-1.5.2 did not build because of
Code:
In file included from glxdriswrast.c:39:
/usr/include/GL/internal/dri_interface.h:45:17: error: drm.h: No such file or directory
In file included from glxdriswrast.c:39:
/usr/include/GL/internal/dri_interface.h:285: error: expected declaration specifiers or '...' before 'drm_clip_rect_t'
/usr/include/GL/internal/dri_interface.h:287: error: expected declaration specifiers or '...' before 'drm_clip_rect_t'
/usr/include/GL/internal/dri_interface.h:341: error: expected declaration specifiers or '...' before 'drm_clip_rect_t'
/usr/include/GL/internal/dri_interface.h:603: error: expected declaration specifiers or '...' before 'drm_drawable_t'
/usr/include/GL/internal/dri_interface.h:611: error: expected declaration specifiers or '...' before 'drm_context_t'
In file included from glxdricommon.c:35:
/usr/include/GL/internal/dri_interface.h:45:17: error: drm.h: No such file or directory
In file included from glxdricommon.c:35:
/usr/include/GL/internal/dri_interface.h:285: error: expected declaration specifiers or '...' before 'drm_clip_rect_t'
/usr/include/GL/internal/dri_interface.h:287: error: expected declaration specifiers or '...' before 'drm_clip_rect_t'
/usr/include/GL/internal/dri_interface.h:341: error: expected declaration specifiers or '...' before 'drm_clip_rect_t'
/usr/include/GL/internal/dri_interface.h:603: error: expected declaration specifiers or '...' before 'drm_drawable_t'
/usr/include/GL/internal/dri_interface.h:611: error: expected declaration specifiers or '...' before 'drm_context_t'
make[1]: *** [glxdriswrast.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [glxdricommon.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.5.2/work/xorg-server-1.5.2/glx'
make: *** [all-recursive] Error 1


I read that this is an dri issue. So now i unmasked dri and compile xorg with dri now.

Don't know if it will work. If not i will go back to old xorg and look why i make fails.
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
hippy-ted
n00b
n00b


Joined: 13 Sep 2007
Posts: 24

PostPosted: Tue Dec 16, 2008 2:11 am    Post subject: Reply with quote

The very 1st error message there,
Quote:

/usr/include/GL/internal/dri_interface.h:45:17: error: drm.h: No such file or directory

suggests that drm.h, from the x11-libs/libdrm package (according to equery belongs drm.h), may not installed. This is a dependency of xorg-server when the dri flag is set, which it is by default on my system.

I do still wonder why things like /usr/lib/X11/config were missing too.

-Ted.
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Tue Dec 16, 2008 8:41 pm    Post subject: Reply with quote

Okay, unmasking the dri use flag made the xorg-server to compile successful.

Now, i'm back on the imake problem.
I ran strace -f imake... and got many output.
The last lines are:
Code:
[pid 11913] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40022000
[pid 11913] set_tls(0x400227e0, 0x400227e0, 0x690, 0x40022eb8, 0x40025000) = 0
[pid 11913] mprotect(0x4013e000, 8192, PROT_READ) = 0
[pid 11913] mprotect(0x10000, 4096, PROT_READ) = 0
[pid 11913] mprotect(0x40024000, 4096, PROT_READ) = 0
[pid 11913] munmap(0x4001d000, 20270)   = 0
[pid 11913] --- SIGILL (Illegal instruction) @ 0 (0) ---
Process 11913 detached
<... read resumed> ""..., 1024)         = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(5)                                = 0
wait4(11913, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGILL}], 0, NULL) = 11913
munmap(0x4001e000, 4096)                = 0
unlink("/tmp/imake5kS4YQ")              = 0
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
write(4, "/* imake - temporary file */\n#def"..., 645) = 645
tgkill(11906, 11906, SIGABRT)           = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
[click for whole output]

So this SIGILL made the whole imake stop. It looks to me that the imake does not run on ARM processor :-( on my freerunner.

hippy-ted wrote:
However it seems to show that imake wasn't running on freshly unpacked source code, because it found an Imakefile.c file already created there.

Right. I'm running it in the portage tmp dir > /var/tmp/portage/x11-libs/Xaw3d-1.5-r1/work/xc/lib/Xaw3d < because portage tried to run imake first there is an Imakefile.c
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
hippy-ted
n00b
n00b


Joined: 13 Sep 2007
Posts: 24

PostPosted: Wed Dec 17, 2008 3:31 am    Post subject: Reply with quote

Quote:

Okay, unmasking the dri use flag made the xorg-server to compile successful.

Great! Maybe you're making some progress then. :)

Quote:

[pid 11913] --- SIGILL (Illegal instruction) @ 0 (0) ---

I wonder what pid 11913 was - imake, cpp, gcc?
On x86 architectures there may be an execve system call near the start of that thread.

Anyway, I'm getting a bit out of my depth on this, I'm not familiar with linux on ARM processors. What can cause a SIGILL? What is in that Imakefile.c file? Does imake work on anything else? Check it on a simpler X11 program.

-Ted.
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Wed Dec 17, 2008 9:04 pm    Post subject: Reply with quote

hippy-ted wrote:
I wonder what pid 11913 was - imake, cpp, gcc?
On x86 architectures there may be an execve system call near the start of that thread.


As i read somewhere else, imake creates sgell scripts un /tmp and executes them.
I'm not sure, but this can be a separate child which runs some shell scripts:
Code:
munmap(0x4001e000, 4096)                = 0
pipe([5, 6])                            = 0
clone(Process 11934 attached (waiting for parent)
Process 11934 resumed (parent 11928 ready)
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x40022388) = 11934
[pid 11934] close(5)                    = 0
[pid 11934] dup2(6, 1)                  = 1
[pid 11934] close(6)                    = 0
[pid 11934] execve("/bin/sh", ["sh", "-c", "/tmp/imakeoF0aaJ"], [/* 27 vars */] <unfinished ...>
[pid 11928] close(6 <unfinished ...>
[pid 11934] <... execve resumed> )      = 0
[pid 11928] <... close resumed> )       = 0
.
.
.


Or not?

hippy-ted wrote:
What can cause a SIGILL?


Okay. I've totally no idea. I've not much knowledge in specific processor architectures and opcodes :-/

hippy-ted wrote:
What is in that Imakefile.c file?


[url=http://rafb.net/p/4CGruJ67.html|look here[/url]

hippy-ted wrote:
Does imake work on anything else?


As i know, it creates a Makefile for using with normal make routine.

hippy-ted wrote:
Check it on a simpler X11 program.


Hmm. Which other program uses imake?
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
hippy-ted
n00b
n00b


Joined: 13 Sep 2007
Posts: 24

PostPosted: Wed Dec 17, 2008 11:11 pm    Post subject: Reply with quote

Quote:

I'm not sure, but this can be a separate child which runs some shell scripts:
Code:
...

Yes, it was. I tried running your 'strace -f imake' command and counted a total of 23 execve system calls, but how does your excerpt relate to pid 11913? I dont know if I can help here, but if you dump a full strace output on the web somewhere we may answer that one.

Quote:

hippy-ted wrote:
What is in that Imakefile.c file?

[url=http://rafb.net/p/4CGruJ67.html|look here[/url]

That's an icomplete Imakefile.c, here's my differences:
Quote:

# diff Imakefile.c Imakefile.evil
2c2
< #define DefaultOSName Linux 2.6.23-gentoo-r9-tamma-033 i686
---
> #define DefaultOSName Linux 2.6.24-mystable_cfea911c6c57eebd armv4tl
5c5
< #define DefaultOSTeenyVersion 23
---
> #define DefaultOSTeenyVersion 24
22,34d21
< #define DefaultLinuxCLibMajorVersion 6
< #define DefaultLinuxCLibMinorVersion 6
< #define DefaultLinuxCLibTeenyVersion 1
< #define DefaultLinuxBinUtilsMajorVersion 218
< #define HasGcc 1
< #define HasGcc2 1
< #define HasGcc3 1
< #define GccMajorVersion 4
< #define GccMinorVersion 1
< #define DefaultGccIncludeDir "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include"
< #define INCLUDE_IMAKEFILE <Imakefile>
< #define IMAKE_TEMPLATE "Imake.tmpl"
< #include IMAKE_TEMPLATE


So it doesn't look as though you have a working imake yet.

Quote:

hippy-ted wrote:
Check it on a simpler X11 program.

Hmm. Which other program uses imake?


Ha! :) Good question! It turns out that far fewer X11 programs in Portage do, than I thought, but you could try emerging x11-misc/dclock.

-Ted.
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Wed Dec 17, 2008 11:30 pm    Post subject: Reply with quote

hippy-ted wrote:
Yes, it was. I tried running your 'strace -f imake' command and counted a total of 23 execve system calls, but how does your excerpt relate to pid 11913? I dont know if I can help here, but if you dump a full strace output on the web somewhere we may answer that one.


Didn't you notice http://rafb.net/p/6csniT50.html ? Or didn't it help?
Ah. I see. It's gone :-(

hippy-ted wrote:
Ha! :) Good question! It turns out that far fewer X11 programs in Portage do, than I thought, but you could try emerging x11-misc/dclock.


Okay. Same error:
Screenlog: http://rafb.net/p/FrrSW259.html
strace: http://rafb.net/p/GBRoMG60.html

Looks like the same SIGILL than before.


Evil
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
hippy-ted
n00b
n00b


Joined: 13 Sep 2007
Posts: 24

PostPosted: Thu Dec 18, 2008 1:11 am    Post subject: Reply with quote

Quote:

Didn't you notice http://rafb.net/p/6csniT50.html ? Or didn't it help?
Ah. I see. It's gone :-(
...
Okay. Same error:
Screenlog: http://rafb.net/p/FrrSW259.html
strace: http://rafb.net/p/GBRoMG60.html

Sorry I missed the full dump previously. The failing program is on line 2091 of that one. /tmp/imakeWdtPtD, which was compiled by gcc for imake. My guess is that it used an incomplete Imakefile.c to build it, again.

You never commented on how you came to have an X11 installation without /usr/lib/X11/config. Maybe your imake was not correctly installed, too. Try emerge-ing x11-misc/imake-1.0.2, and see if that works any better. :)

-Ted.
Back to top
View user's profile Send private message
Evil.2000
n00b
n00b


Joined: 08 Jul 2006
Posts: 68
Location: Germany

PostPosted: Sun Dec 21, 2008 5:46 pm    Post subject: Reply with quote

hippy-ted wrote:
You never commented on how you came to have an X11 installation without /usr/lib/X11/config.


Because i didn't know how...
I just ran "emerge -av xorg-x11", checked if the correct use flags were set (kdrive dri directfb truetype tslib) and started to emerge it.

hippy-ted wrote:
Maybe your imake was not correctly installed, too. Try emerge-ing x11-misc/imake-1.0.2, and see if that works any better. :)


I did that already after the first imake problem appeared. Here is the info about it.
Code:
=================================================================
                        Package Settings
=================================================================
x11-misc/imake-1.0.2 was built with the following:
CFLAGS="-O2 -g -march=armv4t -mtune=arm920t"
CXXFLAGS="-O2 -g -march=armv4t -mtune=arm920t"
USE="debug"
As you can see, i enabled the debug USE-Flag.
_________________
- All is a file. And if not, it should be.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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