Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sandbox - problem z emerge
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
guziknr1
n00b
n00b


Joined: 23 Jul 2007
Posts: 19
Location: Łaziska Górne

PostPosted: Mon Dec 10, 2007 12:28 pm    Post subject: sandbox - problem z emerge Reply with quote

Zainstalowałem nowy system, zbudowałem jądro (ręcznie z hardened-sources) oraz grub (emerge). System uruchamia się, ale są problemy z przebudową świata i instalacją jakiegokolwiek pakietu. Podczas kompilacji oprogramowania pojawia się:
Code:
libsandbox: Can't resolve getcwd: (null)

a potem błędy inne dla każdego pakietu.
Próbowałem
Code:
FEATURES="-sandbox" emerge -1 sandbox

To przechodzi, ale każdy kolejny pakiet nie. Różne sztuczki robiłem i niestety bez powodzenia. Jak uruchamiam z LiveCD i robię chroot, wszystko przy emerge działa jak należy.
Nie wiem czy ma to jakieś znaczenie (nie powinno), ale system jest w Xen (HVM). AMD64.
Mam inną maszynę, identyczną sprzętowo, bardzo podobna konfiguracja, instalowana jakieś pół roku wcześniej i tam działa!
Próbowałem przebudować gcc i glibc (gdzieś znalazłem zalecenie), ale też /lipa/.
Da się jakoś to naprawić?
(poprzedni wątek: http://forums.gentoo.org/viewtopic-t-628415-highlight-.html)

--
guzik
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2462
Location: Polska / Lenkija

PostPosted: Mon Dec 10, 2007 4:52 pm    Post subject: Reply with quote

guziknr1 wrote:
Jak uruchamiam z LiveCD i robię chroot, wszystko przy emerge działa jak należy.


Podejrzewam jakiś problem z GLibC. Spróbuj wykonać:
Code:
FEATURES="-sandbox" emerge -1 glibc


Perduodu linkėjimus
Arfrever
Back to top
View user's profile Send private message
guziknr1
n00b
n00b


Joined: 23 Jul 2007
Posts: 19
Location: Łaziska Górne

PostPosted: Tue Dec 11, 2007 4:16 am    Post subject: Reply with quote

Nie dało rady. Po przebudowaniu glibc nadal mam problem. Przykład poniżej:
Code:
make: Leaving directory `/var/tmp/portage/sys-libs/com_err-1.40.3/work/e2fsprogs-1.40.3/lib/et'
>>> Source compiled.
>>> Test phase [not enabled]: sys-libs/com_err-1.40.3

>>> Install com_err-1.40.3 into /var/tmp/portage/sys-libs/com_err-1.40.3/image/ category sys-libs
make: Entering directory `/var/tmp/portage/sys-libs/com_err-1.40.3/work/e2fsprogs-1.40.3/lib/et'
        MKINSTALLDIRS /usr/lib64 /usr/lib64
mkdir /var/tmp/portage/sys-libs/com_err-1.40.3/image/usr
mkdir /var/tmp/portage/sys-libs/com_err-1.40.3/image/usr/lib64
        INSTALL-ELF-LIB /usr/lib64/libcom_err.so.2.1
        SYMLINK /usr/lib64/libcom_err.so.2
        SYMLINK /usr/lib64/libcom_err.so
libsandbox:  Can't resolve open: (null)
make: *** [install] Error 1
make: Leaving directory `/var/tmp/portage/sys-libs/com_err-1.40.3/work/e2fsprogs-1.40.3/lib/et'
 *
 * ERROR: sys-libs/com_err-1.40.3 failed.
 * Call stack:
 *               ebuild.sh, line 1701:  Called dyn_install
 *               ebuild.sh, line 1138:  Called qa_call 'src_install'
 *               ebuild.sh, line   44:  Called src_install
 *   com_err-1.40.3.ebuild, line   59:  Called die
 * The specific snippet of code:
 *      make -C lib/et DESTDIR="${D}" install || 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/sys-libs/com_err-1.40.3/temp/build.log'.
 *

A przebudowa sandbox standardowo kończy się tak:
Code:
[...]
checking for style of include used by make... GNU
checking dependency style of gcc... libsandbox:  Can't resolve getcwd: (null)
../sandbox-1.2.18.1//configure: line 2967: sub/conftest.c: No such file or directory

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/sys-apps/sandbox-1.2.18.1-r2/work/build-x86-x86_64-pc-linux-gnu/config.log
 *
 * ERROR: sys-apps/sandbox-1.2.18.1-r2 failed.
 * Call stack:
 *                    ebuild.sh, line 1701:  Called dyn_compile
 *                    ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                    ebuild.sh, line   44:  Called src_compile
 *   sandbox-1.2.18.1-r2.ebuild, line   87:  Called econf '--libdir=/usr/lib32' '--enable-multilib'
 *                    ebuild.sh, line  638:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * 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/sys-apps/sandbox-1.2.18.1-r2/temp/build.log'.
 *

A budowa screen tak (FEATURES="ccache", goły system):
Code:
[...]
checking whether we are cross compiling... no
checking for suffix of executables... configure: error: cannot compute suffix of executables: cannot compile and link
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/app-misc/screen-4.0.3/work/screen-4.0.3/config.log
 *
 * ERROR: app-misc/screen-4.0.3 failed.
 * Call stack:
 *             ebuild.sh, line 1701:  Called dyn_compile
 *             ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *             ebuild.sh, line   44:  Called src_compile
 *   screen-4.0.3.ebuild, line   85:  Called econf '--with-socket-dir=/var/run/screen' '--with-sys-screenrc=/etc/screenrc' '--with-pty-mode=0620' '--with-pty-group=5' '--enable-rxvt_osc' '--enable-telnet' '--enable-colors256' '--enable-pam'
 *             ebuild.sh, line  638:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * 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/app-misc/screen-4.0.3/temp/build.log'.
 *

A tak bez ccache:
Code:
[...]
>>> Unpacking source...
>>> Unpacking screen-4.0.3.tar.gz to /var/tmp/portage/app-misc/screen-4.0.3/work
libsandbox:  Can't resolve open: (null)
tar: Child returned status 1
tar: Error exit delayed from previous errors
 *
 * ERROR: app-misc/screen-4.0.3 failed.
 * Call stack:
 *             ebuild.sh, line 1701:  Called dyn_unpack
 *             ebuild.sh, line  817:  Called qa_call 'src_unpack'
 *             ebuild.sh, line   44:  Called src_unpack
 *   screen-4.0.3.ebuild, line   32:  Called unpack 'screen-4.0.3.tar.gz'
 *             ebuild.sh, line  475:  Called die
 * The specific snippet of code:
 *                                      tar zoxf "${srcdir}${x}" ${tar_opts} || die "$myfail"
 *  The die message:
 *   failure unpacking screen-4.0.3.tar.gz
 *
 * 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/app-misc/screen-4.0.3/temp/build.log'.
 *

To się na pewno przyda do diagnozowania:
Code:

Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.23-hardened-r3 x86_64)
=================================================================
System uname: 2.6.23-hardened-r3 x86_64 Intel(R) Xeon(R) CPU X3210 @ 2.13GHz
Timestamp of tree: Tue, 11 Dec 2007 05:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://src.gentoo.pl http://mirror.phy.olemiss.edu/mirror/gentoo ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://ftp.gentoo.or.kr/"
LINGUAS="en en_GB pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 bash-completion berkdb bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs syslog tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB pl" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

--
guzik
Back to top
View user's profile Send private message
guziknr1
n00b
n00b


Joined: 23 Jul 2007
Posts: 19
Location: Łaziska Górne

PostPosted: Thu Jan 03, 2008 9:15 am    Post subject: sandbox - problem z emerge [solved] Reply with quote

Zrobiłem nowe jądro, przy okazji zrestartowałem maszynę i nagle automagicznie wszystko działa (jak w Windows)!

--
guzik
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt 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