[ELDK] Problem installing eldk 4.1 arm

Gerhard Uttenthaler uttenthaler at ems-wuensche.com
Fri Mar 27 15:38:07 CET 2009


Dear Wolfgang,

> > Try omitting the "/home/eldk/bin" part from your PATH
(or at least put
> > it at the end, i. e. after "/bin") during installation.
I have done this, but nothing changed. "/home/eldk/bin" is
empty anyhow.

> >
>> >> Maybe I am wrong, but as far as I know does the 4.2
version
>> >> only support PPC CPUs.
> >
> > You are wrong; ARM is also supported. Please see
> > http://www.denx.de/en/News/WebHome#NewsEldk42Arm
Fine!

I've downloaded and tried it, but I got even more trouble.
Besides the known "Disabling installation script message", I
got: "error: can't create transaction lock on /". Nothing
changes if I execute install as root.

I have attached the strace output of the installation
process, maybe it is of help. You can see that
/home/eldk/usr/usr/lib/rpm/rpmq is not found. This is true,
because it is not there, not even on a different location
found in PATH.

eldk at mingus:/mnt> strace ./install -v -d /home/eldk/usr/ arm
execve("./install", ["./install", "-v", "-d",
"/home/eldk/usr/", "arm"], [/* 65 vars */]) = 0
fcntl64(0, F_GETFD)                     = 0
fcntl64(1, F_GETFD)                     = 0
fcntl64(2, F_GETFD)                     = 0
uname({sys="Linux", node="mingus", ...}) = 0
geteuid32()                             = 1543
getuid32()                              = 1543
getegid32()                             = 100
getgid32()                              = 100
brk(0)                                  = 0x80ae000
brk(0x80ae020)                          = 0x80ae020
brk(0x80af000)                          = 0x80af000
brk(0x80b1000)                          = 0x80b1000
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2),
...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ff2000
write(1, "\n", 1
)                       = 1
write(1, "\n", 1
)                       = 1
fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2),
...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ff1000
write(1, "Do you really want to install in"..., 67Do you
really want to install into /home/eldk/usr directory[y/n]?:
) = 67
read(0, y
"y\n", 1024)                    = 2
write(1, "\n", 1
)                       = 1
access("/home/eldk/usr", F_OK)          = 0
access("/home/eldk/usr", W_OK)          = 0
access("/home/eldk/usr/bin", F_OK)      = 0
write(1, "Installing cross RPMs\n\n", 23Installing cross RPMs

) = 23
open("./etc/rpm_cross.list", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=503, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ff0000
read(3, "rpm-4.4.2-46_2.i386.rpm\nrpm-buil"..., 2048) = 503
stat64("/home/eldk/usr/usr/lib/rpm/rpmq", 0xbf9992e0) = -1
ENOENT (No such file or directory)
write(1, "/home/eldk/usr/bin/rpm -ihv --no"...,
69/home/eldk/usr/bin/rpm -ihv --nodeps
./RPMS/rpm-4.4.2-46_2.i386.rpm
) = 69
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
fork()                                  = 27723
wait4(27723, warning: Package rpm built on native i386
architecture, disabling install scripts.
error: can't create transaction lock on /
[{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 27723
rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
munmap(0xb7ff0000, 4096)                = 0
munmap(0xb7ff2000, 4096)                = 0
_exit(1)                                = ?


Best Regards
Gerhard Uttenthaler
-- 
EMS Dr. Thomas Wuensche e.K.
Sonnenhang 3
85304 Ilmmuenster
HRA Neuburg a.d. Donau, HR-Nr. 70.106
Phone: +49-8441-490260
Fax  : +49-8441-81860
http://www.ems-wuensche.com


More information about the eldk mailing list