Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unknow issue after compiling (installing phase) [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
karloff
n00b
n00b


Joined: 22 Jan 2008
Posts: 11

PostPosted: Thu Feb 21, 2013 4:38 pm    Post subject: unknow issue after compiling (installing phase) [SOLVED] Reply with quote

hi,
i have a problem, i can compile whitout error but if system try to install, i recive an error:

Code:

make[1]: Leaving directory `/var/tmp/portage/sys-libs/ncurses-5.9-r2/work/widec/c++'
 * Installing basic terminfo files in /etc...
>>> Completed installing ncurses-5.9-r2 into /var/tmp/portage/sys-libs/ncurses-5.9-r2/image/

/usr/lib64/portage/bin/ebuild-helpers/prepstrip: line 282: : No such file or directory
 * ERROR: sys-libs/ncurses-5.9-r2 failed:
 *   echo failed unexpectedly


the error is everytime the same by emerging other packetes.
line 282 in prepstrip seams to be work with inodes, but i have a lot of inodes free
Code:
df -i
Filesystem       Inodes  IUsed    IFree IUse% Mounted on
rootfs          5472256 536240  4936016   10% /


i hope somebody here can help me, because i have no idea what the problem is

sorry for my bad english ...


Last edited by karloff on Fri Feb 22, 2013 8:29 am; edited 1 time in total
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4348

PostPosted: Thu Feb 21, 2013 7:19 pm    Post subject: Reply with quote

The error message is misleading: The true error is apparently that $inode_link is empty although the previous call to "stat" returned successfully - although apparently without filling the inode number as it should have. Do you perhaps use a strange filesystem for /var/tmp/portage? Does
Code:
stat -c %i /var/tmp/portage
output a number?
Back to top
View user's profile Send private message
karloff
n00b
n00b


Joined: 22 Jan 2008
Posts: 11

PostPosted: Fri Feb 22, 2013 7:59 am    Post subject: Reply with quote

ah okay i think i unterstand ...
maybe this is the problem my stat seams to be broken :/
Code:

boris@IWork ~ $ which stat
/usr/bin/stat
boris@Work ~ $ stat /tmp
boris@Work ~ $ echo $?
0

i can't used stat ... everythink i do the same ... no feedback from stat ..
that looks not good, i tried to remerge coreutils by using chroot, but it's don't work - same error ... okay its my chroot, but it was a idea ...
it is possible to use the stat from gentoo install archiv as a symbol linking?

before i forget it,
my /var/tmp/portage is no seperated filesystem is from / and that is ext4, only my /tmp is tmpfs

edit:
help this?
Code:

strace /usr/bin/stat /tmp/
execve("/usr/bin/stat", ["/usr/bin/stat", "/tmp/"], [/* 59 vars */]) = -1 ENOEXEC (Exec format error)
write(2, "strace: exec: Exec format error\n", 32strace: exec: Exec format error
) = 32
exit_group(1)                           = ?
+++ exited with 1 +++
Back to top
View user's profile Send private message
karloff
n00b
n00b


Joined: 22 Jan 2008
Posts: 11

PostPosted: Fri Feb 22, 2013 8:31 am    Post subject: Reply with quote

its solved
i replaced /usr/bin/stat with the stat from stage3 archiv and recompile coreutils.
Now it works again

thanks =)
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4348

PostPosted: Fri Feb 22, 2013 8:59 am    Post subject: Reply with quote

Now my reply is too late, but anyway for the future: Probably temporarily making a symlink for stat to bb would have worked, as well.
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