Sie sind nicht angemeldet.

1

04.04.2011, 22:07

busybox von static auf -static funktioniert nicht mehr

Hallo Forum,

nach dem Ihr mir so fleissig mit der Verschlüsselung geholfen habt (und dies wunderbar funktioniert) habe ich dennoch ein anderes Problem:
Für die Verschlüsselung musste ich die busybox "static" kompilieren damit diese in die initramfs funktioniert. Klappte damals auch.

Heute wollte ich ein
emerge -aDNuv world
machen, aber es schlug bereits beim ersten Packet "glibc" fehl und ich erinnerte mich an meine statische busybox und wollte diesen Fehler ausschliessen.
aber auch ein reBuild der busybox schlug fehlt (also habe ich sie mal deinstalliert 'emerge -aCv') aber jetzt bekomme ich sie nicht einemal mehr installiert: ?( ;(


Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[ebuild  N	] sys-apps/busybox-1.17.4  USE="mdev pam -debug -ipv6 -make-symlinks -savedconfig (-selinux) -static" 0 kB

>>> Emerging (1 of 1) sys-apps/busybox-1.17.4
 * busybox-1.17.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                         	[ ok ]
 * Package:	sys-apps/busybox-1.17.4
 * Repository: gentoo
 * Maintainer: embedded@gentoo.org
 * USE:    	amd64 elibc_glibc kernel_linux mdev multilib pam userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking busybox-1.17.4.tar.bz2 to /var/tmp/portage/sys-apps/busybox-1.17.4/work
>>> Source unpacked in /var/tmp/portage/sys-apps/busybox-1.17.4/work
>>> Preparing source in /var/tmp/portage/sys-apps/busybox-1.17.4/work/busybox-1.17.4 ...
 * Applying busybox-1.17.0-bb.patch ...                                                                                                                                                                                           	[ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/busybox-1.17.4/work/busybox-1.17.4 ...
 * Could not locate user configfile, so we will save a default one
make -j2 -j1 allyesconfig 
scripts/basic/split-include.c: In function ‘main’:
scripts/basic/split-include.c:134: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:104: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:359: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/mconf.c: In function ‘exec_conf’:
scripts/kconfig/mconf.c:470: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result
scripts/kconfig/mconf.c: In function ‘show_textbox’:
scripts/kconfig/mconf.c:836: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
In file included from scripts/kconfig/zconf.tab.c:2168:
scripts/kconfig/confdata.c: In function ‘conf_write’:
scripts/kconfig/confdata.c:492: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
scripts/kconfig/confdata.c:494: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
In file included from scripts/kconfig/zconf.tab.c:2169:
scripts/kconfig/expr.c: In function ‘expr_print_file_helper’:
scripts/kconfig/expr.c:1083: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
 * # CONFIG_DMALLOC is not set
 * # CONFIG_FEATURE_SUID_CONFIG is not set
 * Could not find CONFIG_BUILD_AT_ONCE ...
 * # CONFIG_BUILD_LIBBUSYBOX is not set
 * # CONFIG_NOMMU is not set
 * # CONFIG_MONOTONIC_SYSCALL is not set
 * CONFIG_ASH=y
 * # CONFIG_HUSH is not set
 * # CONFIG_FEATURE_IPV6 is not set
 * # CONFIG_TRACEROUTE6 is not set
 * # CONFIG_PING6 is not set
 * CONFIG_PAM=y
 * # CONFIG_STATIC is not set
 * # CONFIG_DEBUG is not set
 * # CONFIG_SELINUX is not set
 * # CONFIG_CRONTAB is not set
 * # CONFIG_DC is not set
 * # CONFIG_DEVFSD is not set
 * # CONFIG_DNSD is not set
 * # CONFIG_DPKG is not set
 * # CONFIG_FAKEIDENTD is not set
 * # CONFIG_FBSPLASH is not set
 * # CONFIG_FOLD is not set
 * # CONFIG_FTPGET is not set
 * # CONFIG_FTPPUT is not set
 * # CONFIG_HOSTID is not set
 * # CONFIG_HUSH is not set
 * # CONFIG_INETD is not set
 * # CONFIG_INOTIFYD is not set
 * # CONFIG_IPCALC is not set
 * # CONFIG_LASH is not set
 * # CONFIG_LOCALE_SUPPORT is not set
 * # CONFIG_LOGNAME is not set
 * # CONFIG_LPD is not set
 * # CONFIG_MSH is not set
 * # CONFIG_OD is not set
 * # CONFIG_RFKILL is not set
 * # CONFIG_SLATTACH is not set
 * # CONFIG_SULOGIN is not set
 * # CONFIG_TASKSET is not set
 * # CONFIG_TCPSVD is not set
 * # CONFIG_RPM is not set
 * # CONFIG_RPM2CPIO is not set
 * # CONFIG_UDPSVD is not set
 * # CONFIG_UUDECODE is not set
 * # CONFIG_UUENCODE is not set
make -j2 -j1 oldconfig 
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/busybox-1.17.4/work/busybox-1.17.4 ...
make -j2 busybox 
  SPLIT   include/autoconf.h -> include/config/*
  HOSTCC  applets/usage
  HOSTCC  applets/applet_tables
applets/usage.c: In function ‘main’:
applets/usage.c:52: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
applets/applet_tables.c: In function ‘main’:
applets/applet_tables.c:138: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
  GEN 	include/usage_compressed.h
  GEN 	include/applet_tables.h
  GEN 	include/bbconfigopts.h
  HOSTCC  applets/usage_pod
applets/usage_pod.c: In function ‘main’:
applets/usage_pod.c:74: warning: format not a string literal and no format arguments
ISE UTIMENSAT((null)): Success
	abs_path: (null)
	res_path: (null)
/usr/lib/libsandbox.so(+0x37e2)[0x7f19a1c2a7e2]
/usr/lib/libsandbox.so(+0x3853)[0x7f19a1c2a853]
/usr/lib/libsandbox.so(+0x50d7)[0x7f19a1c2c0d7]
/usr/lib/libsandbox.so(+0x595a)[0x7f19a1c2c95a]
/usr/lib/libsandbox.so(+0x5ee7)[0x7f19a1c2cee7]
/usr/lib/libsandbox.so(+0x68bd)[0x7f19a1c2d8bd]
/usr/lib/libsandbox.so(execvp+0x72)[0x7f19a1c2eb12]
make[0x40cf4b]
make[0x40d889]
make[0x40e45d]
/proc/22498/cmdline: touch include/config/MARKER 

/usr/lib64/portage/bin/ebuild-helpers/emake: line 25: 21920 Segmentation fault  	${MAKE:-make} ${MAKEOPTS} ${EXTRA_EMAKE} "$@"
emake failed
 * ERROR: sys-apps/busybox-1.17.4 failed (compile phase):
 *   build failed
 * 
 * Call stack:
 * 	ebuild.sh, line  56:  Called src_compile
 *   environment, line 2604:  Called die
 * The specific snippet of code:
 *   	emake busybox || die "build failed";
 * 
 * If you need support, post the output of 'emerge --info =sys-apps/busybox-1.17.4',
 * the complete build log and the output of 'emerge -pqv =sys-apps/busybox-1.17.4'.
 * The complete build log is located at '/var/tmp/portage/sys-apps/busybox-1.17.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/busybox-1.17.4/temp/environment'.
 * S: '/var/tmp/portage/sys-apps/busybox-1.17.4/work/busybox-1.17.4'
  CC  	applets/applets.o
  LD  	applets/built-in.o



vielne Dank im vorraus

ein verzweifelter IonMed : ?(

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Ionmed« (06.04.2011, 20:49) aus folgendem Grund: "gelöst"


2

04.04.2011, 22:27

Quellcode

1
2
3
4
5
6
7
8
9
10
# emerge -pvC sys-apps/busybox
 * This action can remove important packages! In order to be safer, use
 * `emerge -pv --depclean <atom>` to check for reverse dependencies before
 * removing packages.

>>> These are the packages that would be unmerged:                                                                                          
                                                                                                                                            
                                                                                                                                            
!!! 'sys-apps/busybox' is part of your system profile.                                                                                      
!!! Unmerging it may be damaging to your system.
Puhh..., warum deinstalliert du Pakete des system Sets...
Die Warnung sollte doch deutlich genug sein....

Was war denn der Fehler bei glibc ? Könntest du dazu etwas genaueres posten

3

05.04.2011, 05:39

Naja ich dachte ich könnte es neu emergen :-( und es würde hängen weil es vlt. statisch im weg hängt)

emerge glibc ergibt ein:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[ebuild 	U ] sys-libs/glibc-2.11.3 [2.11.2-r3] USE="(multilib) nls -debug -gd -glibc-omitfp (-hardened) -profile (-selinux) -vanilla" 0 kB
#
# snip
#
make -j2 
make -r PARALLELMFLAGS="" CVSOPTS="" -C /var/tmp/portage/sys-libs/glibc-2.11.3/work/glibc-2.11.3 objdir=`pwd` all
make[1]: Entering directory `/var/tmp/portage/sys-libs/glibc-2.11.3/work/glibc-2.11.3'
(echo 'sysd-rules-sysdirs := sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet ports/sysdeps/unix/sysv/i386 sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic';		  	\
	 for dir in sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet ports/sysdeps/unix/sysv/i386 sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic; do				  	\
	   case "$dir" in						  	\
	   /*) ;;							  	\
	   *) dir="\$(..)$dir" ;;					  	\
	   esac;							  	\
	   asm='.S .s';							  	\
	   						  	\
	   for o in .o .os .op .og .ob .oS; do				  	\
	 	set % % rtld-% rtld-% rtld-% % m_% s_% ptw-% %;			  	\
	 	while [ $# -ge 2 ]; do					  	\
	   	t=$1; shift; 						  	\
	   	d=$1; shift;						  	\
	   	v=${t%%%}; [ x"$v" = x ] || v="\$(${v}CPPFLAGS)";	  	\
	   	for s in $asm .c; do					  	\
		 echo "\$(objpfx)$t$o: $dir/$d$s \$(before-compile)";  \
		 echo "	\$(compile-command$s) $v";			  	\
	   	done;							  	\
	 	done;							  	\
	   done;							  	\
	   echo "\$(inst_includedir)/%.h: $dir/%.h \$(+force)";	  	\
	   echo "	\$(do-install)"; 				  	\
	 done;								  	\
	 echo 'sysd-rules-done = t') > /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/sysd-rulesT
mv -f /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/sysd-rulesT /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/sysd-rules
for dir in /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet ports/sysdeps/unix/sysv/i386 sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic  nptl  ports; do \
	  test -f $dir/syscalls.list && \
	  { sysdirs='sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet ports/sysdeps/unix/sysv/i386 sysdeps/unix/sysv/i386 nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/i386 nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686 sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic' \
		asm_CPP='x86_64-pc-linux-gnu-gcc -m32 -c  -Iinclude  -I/var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl -Isysdeps/i386/elf -Inptl/sysdeps/unix/sysv/linux/i386/i686 -Isysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux/i386 -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Iports/sysdeps/unix/sysv/linux -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Iports/sysdeps/unix/sysv/i386 -Isysdeps/unix/sysv/i386 -Inptl/sysdeps/unix/sysv -Iports/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Inptl/sysdeps/unix -Iports/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Inptl/sysdeps/i386/i686 -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Inptl/sysdeps/i386 -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl -Iports   -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include include/libc-symbols.h   	-U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -DASSEMBLER  -DGAS_SYNTAX  -Wa,--noexecstack   -E -x assembler-with-cpp' \
		/bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \
	  test $dir = sysdeps/unix && break; \
	done > /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/sysd-syscallsT
mv -f /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/sysd-syscallsT /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/sysd-syscalls
gawk -f scripts/gen-sorted.awk \
	   	-v subdirs='csu assert ctype locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manual shadow gshadow po argp crypt nss localedata rt conform debug c_stubs libidn dlfcn elf' \
	   	-v srcpfx='' \
	   	nptl/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs assert/Depend intl/Depend catgets/Depend stdlib/Depend stdio-common/Depend libio/Depend malloc/Depend string/Depend wcsmbs/Depend time/Depend posix/Depend iconvdata/Depend nss/Depend localedata/Depend rt/Depend debug/Depend > /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/sysd-sorted-tmp
mv -f /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/sysd-sorted-tmp /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/sysd-sorted
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.11.3/work/glibc-2.11.3'
make[1]: Entering directory `/var/tmp/portage/sys-libs/glibc-2.11.3/work/glibc-2.11.3'
{ echo '#include "posix/bits/posix1_lim.h"';		\
	  echo '#define _LIBC 1';					\
	  echo '#include "misc/sys/uio.h"'; } |			\
	x86_64-pc-linux-gnu-gcc -m32 -E -dM -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.dT -MT '/var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.h /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.d' 	\
	  	-Iinclude  -I/var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl -Isysdeps/i386/elf -Inptl/sysdeps/unix/sysv/linux/i386/i686 -Isysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux/i386 -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Iports/sysdeps/unix/sysv/linux -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Iports/sysdeps/unix/sysv/i386 -Isysdeps/unix/sysv/i386 -Inptl/sysdeps/unix/sysv -Iports/sysdeps/unix/sysv -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Inptl/sysdeps/unix -Iports/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Inptl/sysdeps/i386/i686 -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Inptl/sysdeps/i386 -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -Inptl -Iports   -Ilibio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/include-fixed -isystem /usr/include -xc - -o /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.hT
sed -e 's@ /var/tmp/portage/sys-libs/glibc-2\.11\.3/work/build-x86-x86_64-pc-linux-gnu-nptl/@ $(common-objpfx)@g' -e 's@^/var/tmp/portage/sys-libs/glibc-2\.11\.3/work/build-x86-x86_64-pc-linux-gnu-nptl/@$(common-objpfx)@g' -e 's@  *\([^ \/$][^ 	\]*\)@ $(..)\1@g' -e 's@^\([^ 	\/$][^ 	\]*\)@$(..)\1@g'			\
		/var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.dT > /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.dt
mv -f /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.dt /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.d
fopen_max=`sed -n 's/^#define OPEN_MAX //1p' /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.hT`; 	\
	filename_max=`sed -n 's/^#define PATH_MAX //1p' /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.hT`;	\
	iov_max=`sed -n 's/^#define UIO_MAXIOV //p' /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.hT`;	\
	fopen_max=${fopen_max:-16};					\
	filename_max=${filename_max:-1024};				\
	if [ -z "$iov_max" ]; then					\
	  define_iov_max="# undef IOV_MAX";				\
	else								\
	  define_iov_max="# define IOV_MAX $iov_max";			\
	fi;								\
	sed -e "s/@FOPEN_MAX@/$fopen_max/"				\
		-e "s/@FILENAME_MAX@/$filename_max/"			\
		-e "s/@L_tmpnam@/20/"				\
		-e "s/@TMP_MAX@/238328/"				\
		-e "s/@L_ctermid@/9/"				\
		-e "s/@L_cuserid@/9/"				\
		-e "s/@define_IOV_MAX@/$define_iov_max/"			\
		stdio-common/stdio_lim.h.in > /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.h.new
/bin/sh scripts/move-if-change /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.h.new /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.h
rm -f /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.hT /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.dT /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.dt
touch /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.st
ISE UTIMENSAT((null)): Success
	abs_path: (null)
	res_path: (null)
/usr/lib/libsandbox.so(+0x37e2)[0x2b94d5ec87e2]
/usr/lib/libsandbox.so(+0x3853)[0x2b94d5ec8853]
/usr/lib/libsandbox.so(+0x50d7)[0x2b94d5eca0d7]
/usr/lib/libsandbox.so(+0x595a)[0x2b94d5eca95a]
/usr/lib/libsandbox.so(+0x5ee7)[0x2b94d5ecaee7]
/usr/lib/libsandbox.so(+0x68bd)[0x2b94d5ecb8bd]
/usr/lib/libsandbox.so(execvp+0x72)[0x2b94d5eccb12]
make[0x40cf4b]
make[0x40d889]
make[0x40e45d]
/proc/824/cmdline: touch /var/tmp/portage/sys-libs/glibc-2.11.3/work/build-x86-x86_64-pc-linux-gnu-nptl/bits/stdio_lim.st 

make: *** [all] Segmentation fault
emake failed
 * ERROR: sys-libs/glibc-2.11.3 failed (compile phase):
 *   make for x86 failed
 * 
 * Call stack:
 *       	ebuild.sh, line   56:  Called src_compile
 *     	environment, line 3684:  Called eblit-run 'src_compile'
 *     	environment, line 1101:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  204:  Called src_compile
 *     	environment, line 3684:  Called eblit-run 'src_compile'
 *     	environment, line 1101:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  212:  Called toolchain-glibc_src_compile
 *   src_compile.eblit, line  124:  Called die
 * The specific snippet of code:
 *   		emake || die "make for ${ABI} failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-libs/glibc-2.11.3',
 * the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.11.3'.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.11.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.11.3/temp/environment'.
 * S: '/var/tmp/portage/sys-libs/glibc-2.11.3/work/glibc-2.11.3'

aber ist das denn soschlimm mit der busybox? wenn ich die doch neu emerge müsste die sich doch wieder in das System einpassen? oder?

vielen Dank schonmal für Deine Hilfe

4

05.04.2011, 11:29

Nunja, es bringt nichts Pakete einfach zu deinstallieren, I.d.R hilft das nicht um sie neu zu bauen. Und gerade bei Paketen des Basissystem ist vom deinstallieren abzuraten denn das Basissystem wird doch noch benötigt um sie neu zu bauen.... ;) (du schießt dir damit nur ins eigene Knie...)

Magst du bitte noch deine "emerge --info" Ausgabe mit anhängen.

5

05.04.2011, 11:40

Verwendest Du ccache? Wenn ja, solltest Du es mal ausschalten bzw. deaktivieren.

Manchmal bringt es auch was einfach eine Höhere Version zu verwenden. Kannst ja mal nachsehen was verfügbar ist un es in die /etc/portage/package.keywords eintragen.

Viele Grüße
Alienware 17 R3 16 GB RAM
NVIDIA GTX970 Optimus
Intel Corporation Wireless 8260 AC
Blu-ray Disc ROM & DVD+/-RW
Ubuntu Gnome Desktop
+
Samsung Aktivbook 8, 16 GB DDR3-1666, 2000 GIG SATA
ATI Radeon HD 8870M
Intel Corporation Centrino Advanced-N 6235
Blu-ray Disc ROM & DVD+/-RW
Xbuntu mit debootstrap
+
Intel Core 2 Duo
2 GB MB RAM
ca. 3,5 TB SATA
TBS6980 Dual DVB S2
YaVDR amd64 + VDR1.7.x + XBMC + VDPAU


Mein Overlay:

Quellcode

1
layman -a amielke-overlay

6

05.04.2011, 20:10

FEATURES="-sandbox" emerge busybox

ein

Quellcode

1
FEATURES="-sandbox" emerge busybox

hat bei der busybox geholfen...
bei dem Update von glibc auch...
jetzt weiss ich allerdings nicht sorecht, was dies genau bedeutet. Wär nett wenn Ihr mir hier aufklörung verschaffen könntet.

Ich will dieses nicht fest in die MAKE.Conf einstellen, aber warum klappt es ohne Sandbox?
So wie ich es verstanden habe schreibt die sandbox die dinge erst dann in das System, wenn es Emerge erfolgreich war?

danke schonmal

7

06.04.2011, 07:17

Die Saandbox auszuschalten, würde ich dir nicht empfehlen. Mit der Sandbox werden die Pakete sozusagen abgeschottet gebaut und erst wenn das erfolgreich war wird das Paket auch emerged. Dabei findet noch eine Überprüfen der Dateien statt die überschrieben werden.

Also bitte nicht ausschalten
Alienware 17 R3 16 GB RAM
NVIDIA GTX970 Optimus
Intel Corporation Wireless 8260 AC
Blu-ray Disc ROM & DVD+/-RW
Ubuntu Gnome Desktop
+
Samsung Aktivbook 8, 16 GB DDR3-1666, 2000 GIG SATA
ATI Radeon HD 8870M
Intel Corporation Centrino Advanced-N 6235
Blu-ray Disc ROM & DVD+/-RW
Xbuntu mit debootstrap
+
Intel Core 2 Duo
2 GB MB RAM
ca. 3,5 TB SATA
TBS6980 Dual DVB S2
YaVDR amd64 + VDR1.7.x + XBMC + VDPAU


Mein Overlay:

Quellcode

1
layman -a amielke-overlay

8

06.04.2011, 20:33

Danke für die Antwort,

ich habe es ja nicht generell ausgeschaltet. Aber dann habe ich es ja doch richtig verstanden, dass "Sandbox" nur für den "Installationszeitpunkt" notwendig ist.
Also hat es nachher - sofern der emerge busybox [ohne sandbox] fehlerfrei lief - im System keine auswirkungen mehr ob ich mit oder ohne Sandbox kompiliert habe?

grüsse

IonMed

9

07.04.2011, 08:05

im System keine auswirkungen mehr ob ich mit oder ohne Sandbox kompiliert habe?



Nein auf das laufende System sollte es keine Auswirkung haben, außer durch das ausschalten der Sandbox wurden Dateien überschrieben die hätten nicht überschrieben werden dürfen.

Ist aber nicht so oft der Fall.

Gruß
Alienware 17 R3 16 GB RAM
NVIDIA GTX970 Optimus
Intel Corporation Wireless 8260 AC
Blu-ray Disc ROM & DVD+/-RW
Ubuntu Gnome Desktop
+
Samsung Aktivbook 8, 16 GB DDR3-1666, 2000 GIG SATA
ATI Radeon HD 8870M
Intel Corporation Centrino Advanced-N 6235
Blu-ray Disc ROM & DVD+/-RW
Xbuntu mit debootstrap
+
Intel Core 2 Duo
2 GB MB RAM
ca. 3,5 TB SATA
TBS6980 Dual DVB S2
YaVDR amd64 + VDR1.7.x + XBMC + VDPAU


Mein Overlay:

Quellcode

1
layman -a amielke-overlay