LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1448|回复: 13

用loongson-overlay应该用overlay里面的profile么?

[复制链接]
发表于 2008-1-19 11:00:27 | 显示全部楼层 |阅读模式
godson ~ # ln -sf /usr/local/portage/profiles/default-linux/mips/2007.0/loongson/o32 /etc/make.profile  
godson ~ # emerge -Dup world

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

Calculating world dependencies |
!!! All ebuilds that could satisfy "dev-libs/libxml2" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-libs/libxml2-2.6.30 (masked by: package.mask)
# for gorg to function properly

- dev-libs/libxml2-2.6.29 (masked by: package.mask)
- dev-libs/libxml2-2.6.28 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by "sys-devel/gettext-0.17" [ebuild])



!!! Problem resolving dependencies for sys-apps/portage
!!! Depgraph creation failed.


package.mask means that the package has been found corrupt, unstable or worse and has been deliberately marked as do-not-use.
dev-libs/libxml2-2.6.29这个包不能用。
但是我用gentoo官方的profile就没这个问题。那我该用哪个profile呢?
发表于 2008-1-19 15:20:14 | 显示全部楼层
同步一下你的overlay
git-clone http://www.gentoo-cn.org/loongson-overlay/.git
现在这个包已经不在package.mask里了
http://www.gentoo-cn.org/gitweb/ ... c1485aaef94;hb=HEAD
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-19 21:10:25 | 显示全部楼层
godson portage # emerge -Dup world

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

Calculating world dependencies... done!
[blocks B     ] <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)
[blocks B     ] sys-kernel/mips-headers (is blocking sys-kernel/linux-headers-2.6.23-r3)
[blocks B     ] sys-kernel/linux-headers (is blocking sys-kernel/mips-headers-2.6.16.16)


搞定了,同步完overlay后,但blocks更多了。我在用godson-mips3el-2006.1.tar.bz2的stage,可能对于现在2008年的portage太旧了.....
我觉得解决那么多block很麻烦,以前我遇到这么多blocks的时候都是下载一个新的stage重新安装的。
回复 支持 反对

使用道具 举报

发表于 2008-1-20 00:48:34 | 显示全部楼层
emerge -C mips-headers
emerge --sync
emerge portage
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-21 13:41:03 | 显示全部楼层
[blocks B ] <sys-apps/portage-2.1.4_rc1 (is blocking app-shells/bash-3.2_p33)

终于解决了这个。nodept 升级了 portage-2.1.4_rc1,再升级bash。然后再rebuild portage。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-21 17:40:20 | 显示全部楼层

升级e2fsprogs-1.40.4出错

        CC tst_uuid.o
        LD tst_uuid
        LD uuid_time
../../lib/libuuid.so: undefined reference to `__tls_get_addr'
collect2: ld returned 1 exit status
make[2]: *** [uuid_time] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.40.4/work/e2fsprogs-1.40.4/lib/uuid'
make[1]: *** [all-libs-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-fs/e2fsprogs-1.40.4/work/e2fsprogs-1.40.4'
make: *** [all] Error 2
*
* ERROR: sys-fs/e2fsprogs-1.40.4 failed.
* Call stack:
*               ebuild.sh, line   46:  Called src_compile
*             environment, line 2297:  Called die
* The specific snippet of code:
*       emake -j1 COMPILE_ET=compile_et || diefunc "$FUNCNAME" "$LINENO" "$?";
*  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-fs/e2fsprogs-1.40.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/e2fsprogs-1.40.4/temp/environment'.
*
* Regenerating GNU info directory index...
* Processed 96 info files.


emerge升级e2fsprogs-1.40.4好几次都是同样的出错。
不知道是什么问题。
回复 支持 反对

使用道具 举报

发表于 2008-1-21 18:08:22 | 显示全部楼层
emerge --info?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-22 10:37:38 | 显示全部楼层
godson ~ # emerge --info
* Overlay eclass overrides eclass from PORTDIR:
*
*   '/usr/local/portage/eclass/cvs.eclass'
*
* It is best to avoid overridding eclasses from PORTDIR because it will
* trigger invalidation of cached ebuild metadata that is distributed with
* the portage tree. If you must override eclasses from PORTDIR then you
* are advised to run `emerge --regen` after each time that you run `emerge
* --sync`. Set PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you
* would like to disable this warning.
Portage 2.1.4 (!/usr/local/portage/profiles/default-linux/mips/2007.0/loongson/o32, gcc-4.1.2, glibc-2.3.6-r4, 2.6.18.1lemote mips)
=================================================================
System uname: 2.6.18.1lemote mips Loongson2 V0.2  FPU V0.1
Timestamp of tree: Sun, 20 Jan 2008 03:00:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.3-r1, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.6
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="mips ~mips"
CBUILD="mipsel-unknown-linux-gnu"
CFLAGS="-O2 -march=mips3 -pipe -mabi=32"
CHOST="mipsel-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/terminfo"
CXXFLAGS="-O2 -march=mips3 -pipe -mabi=32"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo http://ftp.ncnu.edu.tw/Linux/Gentoo"
LINGUAS="zh_CN"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="bitmap-fonts cli dri gdbm iconv isdnlog libwww midi mips mipsel mudflap nls openmp perl pppd readline reflection sdl session spl tcpd truetype-fonts type1-fonts xorg" ALSA_CARDS="via82xx" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

ecompressdir: bzip2 -9 /usr/share/man
ecompressdir: bzip2 -9 /usr/share/info

* QA Notice: The following files contain runtime text relocations
*  Text relocations force the dynamic linker to perform extra
*  work at startup, waste system resources, and may pose a security
*  risk.  On some architectures, the code may not even function
*  properly, if at all.
*  For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
*  Please include this file in your report:
*  /var/tmp/portage/sys-libs/glibc-2.6.1/temp/scanelf-textrel.log
* TEXTREL lib/librt-2.6.1.so
TEXTREL lib/libpthread-2.6.1.so

making executable: usr/lib/libc.so
making executable: usr/lib/libpthread.so
/bin/date: /var/tmp/portage/sys-libs/glibc-2.6.1/image//lib/librt.so.1: version `GLIBC_2.0' not found (required by /bin/date)
*
* ERROR: sys-libs/glibc-2.6.1 failed.
* Call stack:
*               ebuild.sh, line   46:  Called pkg_preinst
*             environment, line 3050:  Called die
* The specific snippet of code:
*           "${D}"/$(get_libdir)/ld-*.so --library-path "${D}"/$(get_libdir) ${x} > /dev/null || diefunc "$FUNCNAME" "$LINENO" "$?" "simple run test (${x}) failed";
*  The die message:
*   simple run test (/bin/date) 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-libs/glibc-2.6.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.6.1/temp/environment'.
*

升级glibc-2.6.1也出错
回复 支持 反对

使用道具 举报

发表于 2008-1-22 13:08:13 | 显示全部楼层
$ ls -l /etc/make.profile
lrwxrwxrwx 1 root root 73 2007-07-12 /etc/make.profile -> ../usr/local/portage/profiles/default-linux/mips/2007.0/loongson/o32/nptl

你的profile搞错了,应该是o32/nptl
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-22 16:25:46 | 显示全部楼层
Post by zhllg;1809918
$ ls -l /etc/make.profile
lrwxrwxrwx 1 root root 73 2007-07-12 /etc/make.profile -> ../usr/local/portage/profiles/default-linux/mips/2007.0/loongson/o32/nptl

你的profile搞错了,应该是o32/nptl


改了这个之后还是不行,这包是否依赖binutils-9999的?
* Copying binutils from /usr/portage/distfiles/cvs-src ...
cp: cannot stat `/usr/portage/distfiles/cvs-src/binutils': No such file or directory
ls: cannot access /usr/portage/distfiles/cvs-src/binutils: No such file or directory
* CVS module binutils is now in /var/tmp/portage/sys-devel/binutils-9999/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-devel/binutils-9999/work/binutils ...
touch: missing file operand
Try `touch --help' for more information.
find: `*/po': No such file or directory
* Sorry, but binutils does not support the LINGUAs: zh_CN

*  CATEGORY: sys-devel
*    CBUILD: mipsel-unknown-linux-gnu
*     CHOST: mipsel-unknown-linux-gnu
*   CTARGET: mipsel-unknown-linux-gnu
*    CFLAGS:  -O2 -march=mips3 -pipe -mabi=32
*   LDFLAGS:

/var/tmp/portage/sys-devel/binutils-9999/temp/environment: line 3465: cd: /var/tmp/portage/sys-devel/binutils-9999/work/build: No such file or directory
./configure --prefix=/usr --host=mipsel-unknown-linux-gnu --target=mipsel-unknown-linux-gnu --datadir=/usr/share/binutils-data/mipsel-unknown-linux-gnu/cvs --infodir=/usr/share/binutils-data/mipsel-unknown-linux-gnu/cvs/info --mandir=/usr/share/binutils-data/mipsel-unknown-linux-gnu/cvs/man --bindir=/usr/mipsel-unknown-linux-gnu/binutils-bin/cvs --libdir=/usr/lib/binutils/mipsel-unknown-linux-gnu/cvs --libexecdir=/usr/lib/binutils/mipsel-unknown-linux-gnu/cvs --includedir=/usr/lib/binutils/mipsel-unknown-linux-gnu/cvs/include --enable-64-bit-bfd --enable-shared --disable-werror --without-included-gettext --build=mipsel-unknown-linux-gnu
/var/tmp/portage/sys-devel/binutils-9999/temp/environment: line 3475: /var/tmp/portage/sys-devel/binutils-9999/work/binutils/configure: No such file or directory
*
* ERROR: sys-devel/binutils-9999 failed.
* Call stack:
*               ebuild.sh, line   46:  Called src_compile
*             environment, line 2937:  Called toolchain-binutils_src_compile
*             environment, line 3475:  Called die
* The specific snippet of code:
*       "${S}"/configure ${myconf} || diefunc "$FUNCNAME" "$LINENO" "$?" "configure failed";
*  The die message:
*   configure 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-devel/binutils-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-9999/temp/environment'.
* This ebuild used the following eclasses from overlays:
*   /usr/local/portage/eclass/cvs.eclass
* This ebuild is from an overlay: '/usr/local/portage/'
*
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表